Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / GameCrypt. Asset protection and file archiving system for DarkBASIC Pro

Author
Message
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 23rd Feb 2007 01:24
@Juso
Well... 570k is compromised of the EXE, and SDKs which are used. So, whatever SDK he is using should be the main contributor to this. I'm sure he has already optimised his plugin as much as possible before releasing.

@Mnemonix
I must say that the whole "Age of broadband" thing was a bit rude. Many people only have enough money to use a 56k dial-up modem internet connection. (Even though, I do have broadband) No offense intended.



Cheers,

-db


Enter my forums here.
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 23rd Feb 2007 02:49
It wasn't meant to be rude. Even on 56k its only going to cost a couple of minutes extra in time, but what it costs in size it makes up for in its ability to compress other game assets, so once any assets being compressed have lost 570kb off their original size, your doing ok

Sorry if this seems like a daft analogy. I didn't let the size of the resulting plugin be a factor during development as I didn't expect the size of the plugin to detriment the usability of it.

Olby
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 23rd Feb 2007 08:50 Edited at: 23rd Feb 2007 08:51
@Mnemonix - Could I ask you to send me a unique copy of your dll so I can efficiently protect my FPS engine. (check my profile for my e-mail)

Thanks in advance,
I really look into wokring with your plugin.

Olby

AMD Sempron 3.1+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP SP2, DirectX 9.0c, DBP 6.2
http://www.myspace.com/producerolby
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 22nd Mar 2007 03:16
Is this not going on anymore? I would love to see where this goes.



Cheers,

-db


Enter my forums here.
Juso
22
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 15th Apr 2007 14:52
I cant get images packet at all. Whats wrong with this code, it crashes immediately.

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 16th Apr 2007 04:31
Try this:


Cheers,

-db


Albert Einstein believed that imagination is more important than knowledge.
Juso
22
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 17th Apr 2007 17:10
Argh, I forgot those memblocks, now it works!
Thanks DB user 2006+, you are Einstein!

It seems to handle only 256x256, 512x512 etc images. Not even 256x512
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 18th Apr 2007 03:26
Thank you. As for only handling square power of 2 images, it would seem that asking for a fix to this is a lost cause considering that this project appears to be dead.

Cheers,

-db


Albert Einstein believed that imagination is more important than knowledge.
Juso
22
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 18th Apr 2007 11:04
Too many fine ideas and nice dlls seems to be interrupted when they are 90% ready.

Someone c++ student should make working crypting and packing dll. There is even well working and free zlib.dll http://www.zlib.net/ which someone could include or wrap to DBPro.
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 18th Apr 2007 11:13
I used zlib in this project.

I promise I will complete this project eventually and try and work out the little bugs that are in it!

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 18th Apr 2007 11:17
YAY! Mnemonix IS alive!!!

Cheers,

-db


Albert Einstein believed that imagination is more important than knowledge.
Juso
22
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 19th Apr 2007 12:39
French gui
20
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 19th Apr 2007 13:26
Oh, and don't forget the MD5 please Mnem...
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 20th Apr 2007 17:56
Yea, the MD5 functionality is already there, just needs to be wrapped in. Sorry I have not had much access to my development pc lately, and im on holiday as of tomorrow, so don't expect anything for a couple of weeks

Commander in Chief
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: Carbondale, PA, USA
Posted: 5th May 2007 23:36
*bump* I really want to see this go further! It's a great plugin, and I hope that Mnemonix will finish this!

---PARANOID PRODUCTIONS---
Omen
17
Years of Service
User Offline
Joined: 7th Nov 2006
Location: Maple Grove, MN US
Posted: 18th May 2007 00:08 Edited at: 18th May 2007 00:09
I'm really glad to see that this thread is alive - this plugin is great as-is, but I too would like to see it finished. By the way, Great Job Mnemonix!!!

One of the things a couple of people have brought up is that a poorly designed key might be easy to find in a HEX editor. A real common solution (not saying this is the best solution, mind you) is to make a key that, in HEX, looks just like another section of your code.

You could, for example, use something like this as your key:



Well, you'd probably want to do something a little longer and more elaborate than this, maybe even copy/pasting a real loop that's used a lot in another part of your program ... but that's the BASIC idea. Once this compiles, it'll be practically impossible for a l33t h4x0r to find it in the HEX dump
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 18th May 2007 00:11 Edited at: 18th May 2007 00:12
Omen, that wouldn't work as it is because the actual DBP code gets translated to machine code, so it doesn't look like that anyway. I get what you're saying though.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
sp3ng
18
Years of Service
User Offline
Joined: 15th Jan 2006
Location:
Posted: 29th May 2007 08:53
i dont really understand how it prevents people stealing media, wouldnt the media be installed with the exe and then pointlessly placed into a protected file when the game runs? (or do you use an exe with all media inside it)
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 29th May 2007 10:06
@sp3ng
You can EASILY get data out of the DBP EXE. the_winch provided a tool, I made a tool, etc. DBP's EXE stuff is pointless.

Cheers,

-db

MartinS
18
Years of Service
User Offline
Joined: 15th Dec 2005
Location: Rochester, NY
Posted: 29th May 2007 17:59 Edited at: 29th May 2007 18:02
Excellent! This DLL is proving to be more and more useful. One question: how would I make it so it could print the entire contents of a file? I tried doing it with a while loop, like this:


However when it is finished reading the contents of the file, it churns up an "Unexpected error was found in" my exe. I'm thinking it has something to do with trying to read a string that doesn't exist, but I don't know any way to get around that. Can you help?

G2L

edit: typo

GatorHex
19
Years of Service
User Offline
Joined: 5th Apr 2005
Location: Gunchester, UK
Posted: 24th Jul 2007 03:59 Edited at: 24th Jul 2007 13:07
Oh wierd, i didn't know anyone else was doing encryption for DBP

Games 2 Live, you probably need to use..



I've got a text file encrypter/decrypter and rolled it up into a simple to use function like...

EncryptTextFile("unencrypted.txt","encrypted.txt")
DecryptTextFile("encrypted.txt","decrypted.txt")

but people are complaining it makes large files. Does anyone know how i can save DWORD as binary to a file instead of saving them as HEX strings?

My little project is here:
http://forum.thegamecreators.com/?m=forum_view&t=109067&b=5&p=0

In return I've posted a link back to your project. Hope you don't mind.

DinoHunter (still no nVidia compo voucher!), CPU/GPU Benchmark, DarkFish Encryption DLL, War MMOG (WIP), 3D Model Viewer
Lover of games
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 15th Sep 2007 08:48
when I download the file and try to open it it says "Unexpected end of archive" or something what's wrong with this?

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 15th Sep 2007 09:03
Probably just a corrupt download. Also, this project seems to be pretty dead.

DBP, $80. DBP's plugins, $320. Watching DBP Crash, Priceless.
NG Website Aex.Uni forums
deadlyduck
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: United Kingdom
Posted: 20th Sep 2007 02:26
A verry usefull DLL, now all I need to do is write a function to export all my objects into meshes seperating there limb's into meshes to be reattached at load time. Anyone done this already?

Oh think I have spotted an error, if you try:-

I have attached the offending bitmap.


at least on my vista system it crashes.
I haven't tried it out on any other real small textures, this is a 8x8 and may be too small to work correctly.

keep up the good work!

Attachments

Login to view attachments
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 28th Sep 2007 00:40
Sorry to say this, but I lost the sourcecode like an idiot.

Soon I will be working on a database plugin though

TheSturgeon(playing me at chess) : I will use my powers of the horse and pwnzor you.

Login to post a reply

Server time is: 2024-09-30 00:22:18
Your offset time is: 2024-09-30 00:22:18