Chaos Project

General => Electronic and Computer Section => Topic started by: Ryex on March 21, 2010, 07:04:31 pm

Title: attaching the rgssad to the game.exe as a resource?
Post by: Ryex on March 21, 2010, 07:04:31 pm
now I know it can be done but can it be done in a way that the exe recognizes that it is there?
if so, how?
Title: Re: attaching the rgssad to the game.exe as a resource?
Post by: G_G on March 21, 2010, 07:06:30 pm
if FileTest.exist?('Game.rgssad')


Is that what you're looking for?
Title: Re: attaching the rgssad to the game.exe as a resource?
Post by: fugibo on March 21, 2010, 07:20:15 pm
He wants to add the .DLL to the executable file as if it were an image/sound file.
Title: Re: attaching the rgssad to the game.exe as a resource?
Post by: Ryex on March 21, 2010, 07:25:51 pm
not the dll the encrypted rgssad file
even if it was only the scripts.rxdata and it loaded from within the exe
Title: Re: attaching the rgssad to the game.exe as a resource?
Post by: G_G on March 21, 2010, 07:48:38 pm
Oh I see. Include it all in one exe. Not sure =\
Title: Re: attaching the rgssad to the game.exe as a resource?
Post by: fugibo on March 21, 2010, 09:35:40 pm
It depends on how .exe contents are referenced from the Win32API side. If they aren't presented as local files then you might be able to hack in some code to "virtually" present the contents to the .exe code.

/i have no guarantees that i am sane at the moment
Title: Re: attaching the rgssad to the game.exe as a resource?
Post by: Blizzard on March 22, 2010, 02:46:45 am
You could include the scripts in a file externally and in the actual game only have the loading of the actual scripts if people using a decryptor is your concern. It's not much, but people using a decryptor usually have no idea about hacking software anyway.