Including other folders in encryption.

● ARCHIVED · READ-ONLY
Started by ?????? 8 posts View original ↗
  1. So, as the title suggests, I am raising inquiry into whether it would be possible to simply include another folder within the default 'encryption' process of ace.

    Obviously, I could just put my folder within the data folder or something, but I don't really want to do that. I would much rather be able to simply include another folder into the process.

    Anyone know how i would go about this task?
  2. Not possible beyond writing your own packer.
  3. Sigh... I feared as much..

    Slightly unrelated question.. If I included a folder of .rb files in with the data folder - and thus it became encrypted. If I then done something like

    Code:
    require "Data/FolderName/Filename.rb"
    What kind of issues would be caused by that? If any :p
  4. That isn't much different from how the Graphics folder looks, unless you are talking about putting a script in there?
  5. Yea, I am suggesting putting a regular ruby script file into the data folder and then accessing it from within the internal scripts.rvdata2 file (by using require within an actual script included within the script editor)
  6. Likely won't work.


    Require doesn't know how to read from the encrypted archive.
  7. Yea, I figured it wouldnt work lol... Guess this thread can be closed then :D

    Thanks for your replies Tsuki.
  8. You could try embedding your raw script in a marshalled file, then load_data its contents and 'eval()' it.

    Btw. I have a small C utility that let's you pack as many files and folders into a Game.rgssad as you want (no RGSS3 support yet), but I'm not sure if I'm allowed to post something like that.