Author Topic: attaching the rgssad to the game.exe as a resource?  (Read 2381 times)

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5135
  • LV: 198
  • Gender: Female
  • Wants to write a compiler for fun
    • View Profile
attaching the rgssad to the game.exe as a resource?
« on: March 22, 2010, 02:04:31 AM »
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?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6591
  • LV: 407
  • Gender: Male
    • View Profile
Re: attaching the rgssad to the game.exe as a resource?
« Reply #1 on: March 22, 2010, 02:06:30 AM »
Code: [Select]
if FileTest.exist?('Game.rgssad')
Is that what you're looking for?

Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: attaching the rgssad to the game.exe as a resource?
« Reply #2 on: March 22, 2010, 02:20:15 AM »
He wants to add the .DLL to the executable file as if it were an image/sound file.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5135
  • LV: 198
  • Gender: Female
  • Wants to write a compiler for fun
    • View Profile
Re: attaching the rgssad to the game.exe as a resource?
« Reply #3 on: March 22, 2010, 02:25:51 AM »
not the dll the encrypted rgssad file
even if it was only the scripts.rxdata and it loaded from within the exe
« Last Edit: March 22, 2010, 02:28:52 AM by Professor Ryexander Elm »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6591
  • LV: 407
  • Gender: Male
    • View Profile
Re: attaching the rgssad to the game.exe as a resource?
« Reply #4 on: March 22, 2010, 02:48:38 AM »
Oh I see. Include it all in one exe. Not sure =\

Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: attaching the rgssad to the game.exe as a resource?
« Reply #5 on: March 22, 2010, 04:35:40 AM »
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

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20015
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: attaching the rgssad to the game.exe as a resource?
« Reply #6 on: March 22, 2010, 09: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.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.