Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic Reply to topic  [ 3 posts ] 
    Drago del Fato
  Sat Dec 03, 2011 7:19 pm
Dark Slayer
User avatar
Member

L1 Slime

Location: Somewhere with a heater on...
I was fiddling around API Hooks these few days and decided to try this. All the encryption/decryption process is provided completely separate from the actual game, so you won't have to worry about needing installing additional scripts etc..

It's currently a WIP, but I hope it will actually be of some use. :)

The idea was to hook onto CreateFileA function on windows api to intercept all calls for that function, decrypt the file, then allow the function to continue. Then later when the loading is finished, to initialize either temporary file deletion or decryption (this is on TODO list).

Currently the project is working properly. It decrypts resources when they are requested, but only encrypts them back when the project is actually closed (I know, i know... but as I said - this is Work in Progress).

Oh and this works ONLY on RPG Maker XP games (currently). The reason why is because RMVX uses CreateFileW (unicode version of the function) which this encryption system doesn't support.

I would need this feedback:

- Does it work on Windows XP?
- Any errors?
- Does any antivirus find any of the exe files as a virus (I actually sent the exe to Virus total and got - not detected from all major popular antiviruses, but some of them mysteriously checked this as a virus [heuristically of course, probably because of the way it interacts with Game.exe] - you can check the results here. Of course the exe is clean. I have KIS 2012 on my system and it checked program as clean.)
- Suggestions.

You can download the project demo here - http://www.mediafire.com/?wic1bk1ahnjma3d

_________________
RAGE - A 2D Game Engine with Ruby scripting!. 0.0.3 - beta out!
Check it out here! https://github.com/ArekX/RAGE#releases


Visit my little scripts corner here. :)


Top Top
Profile      
 

    Dahrkael
  Sat Dec 03, 2011 8:07 pm
VOC@LOID #01
User avatar
Member


Location: SPain :D
decrypting the physical file is a big hole, everything should be done in memory, hooking the read function too.

_________________
You prefer 2D
Content Hidden

or 3D?
Content Hidden


Top Top
Profile      
 

    Drago del Fato
  Sun Dec 04, 2011 12:32 am
Dark Slayer
User avatar
Member

L1 Slime

Location: Somewhere with a heater on...
Actually you've given me an idea. :D

I think that should be possible. If i hook on to ReadFile and WriteFile window functions. That way I don't need to bother much with later encryption. :D :D

Thx, I'll try that and write the results here. :D

_________________
RAGE - A 2D Game Engine with Ruby scripting!. 0.0.3 - beta out!
Check it out here! https://github.com/ArekX/RAGE#releases


Visit my little scripts corner here. :)


Top Top
Profile      
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

We are an independent, not-for-profit game making community.
Homepage
Board Index
About Us
Downloadable Games
Free Browser Games
Games in Development
RPG Maker Support
Game Maker Support
Construct 2 Support
HBGames the eZine
Advanced RPG Maker
Site Announcements
Powered by phpBB © phpBB Group