I want to create an external application that is launched through RPG Maker to overcome the max. 640 resolution for a specific part of the game. However, when the game is encrypted that will be problematic. I can not read the image files from inside the encryption and the encryption itself is not public.
Is it possible to mark certain folders as "do not encrypt" so that I can apply my own encryption to it?
I could probably just unpack the game and then distribute it like that. But then I still need a custom installer to check if the RTP is installed and such... Is there any guide on how to check if the RTP is installed and if not, to automatically (silently perhaps) install it if I have the RTP setup package included?
Or I need to manually include all the RTP files in my project right? That would perhaps also work...
I also noticed that launching another fullscreen application from within a fullscreen RM game (used alt+enter, no script) causes a freeze.
Calling it from a windowed RM game works but when I press alt+enter in the RM window after the other fullscreen application closed RM crashes...
Is this whole concept even possible?
RM Encryption & External app?
● ARCHIVED · READ-ONLY
-
-
I can't answer your questions, but I might be able to provide a tip for the encryption problem.
SES External Text had the same problem with reading encrypted files, and they added code to the script that would use a playtest run to encrypt the external text file - after that, the script was capable of using RM's functions to load the encrypted text.
You might want to check how they handled that, perhaps it can help you as well... -
He serializes it as a binary file (which can be read by Ace through it's internal code). I however need an external executable that will read those files. The files are basically shared between both Ace and the external application then while still encrypted. Unless I can call the methods to de-encrypt it somehow legally from the Ace DLL file (extremely unlikely) this method probably won't do me any good.
I am however much more concerned about the freezes/crashes when launching another full-screen application through Ace which makes me believe that this whole idea might be impossible. It was the only legal way I could think of to get it working though... The other script that is floating on these forums somewhere that increases the resolution by modifying some hex values directly causes lots of bugs randomly across the project at the weirdest places.
I did perform the test with an Empty DirectX project that does nothing but display a colored screen and wait for a key-press to close itself. -
The RPG Maker RTP adds entries into the Windows registry when it's installed -- finding them should be extraordinarily simple and at least fairly reliable. These keys will even point to the directory where the RTP was installed, and which RTP it is.
I'd give you the keys myself, but at present, I don't have my VM open and I really don't feel particularly well -- but I hope that at least points you in the right direction. -
There should be DLL's available that provide file loading functionality from encrypted archives.
I've got one that I use for creating custom patch archives.
Last time I checked though people were talking about how it infringes the EULA etc but it's still pretty much a blackbox (you pass in a string, it returns a byte stream) so I'm not sure what the issue could be.
I think there was a custom RGSS3 player that was under development; if the source is available you could probably just look there to see how they're loading rgss3 archives.