Applying DLCs & Encryption options

Sorry if this has been asked before as I have tried doing a search on this topic but haven't been able to get anywhere.

First, I'll start by saying that I am aware RGSS decrypter exists, so this is not about trying to prevent people from decrypting a project that way, but rather I would like to know is there any encryption method (or other alternatives) that can be used to distribute updates in the form of "Paid" DLCs as patches without leaving the additional assets out in the open for just anyone to grab.

By default, VX Ace's encryption compresses both the Data and Graphics folder into a single archive. While normally fine on its own, albeit troublesome for the user everytime you make an update, this becomes problematic when it comes to paid DLC that must not include the files of the base game (for obvious reasons), yet requires them to run.

There are data patcher scripts (Hime's/Yami's) out there, but as far as I am aware they do not support encryption archives which is the crux of the problem.

If anyone had similar plans or had done this before, I would love to hear your insights or opinions on this matter.
Thanks in advance.
if it's ACE... long time ago i once write this script:

it basically encrypt your files (image / sound / video)... and decrypt it when the game need it... you also can specify where the files will be extracted in user computer (in hidden place so people does not know and grab your resource)... it will also use random generated name (while keeping the references) and could also use custom extension you set... ex: 21sarfasdfa1.est_media

you should also combine that with this script to hide the script data too so people cannot peek which folder you extract the resources to

and i think you can do your scenario above... just distribute the new encrypted sound / graphic / video to your player. make sure the files you distributed did not have same name with old files...
for example
Actor 1 using sprite "Actor_1_1.png"
then in paid DLC you make that actor 1 can change to paladin sprite...
make sure to not use "Actor_1_1.png" as the new sprite name (scenario where you overwrite the old files) since there's possibility that resource already extracted in client computer... and just create a new file maybe named "Actor_1_Paladin.png" and then change the your actor 1 sprite to that... (sorry if it's confusing)

then distribute the changed database / map rvdata (which not encrypted) to your player. you could also distribute what you changed only which will safe lots of space... do not combine this with default RM encryption btw if you want to be able to do patch paid DLC...

there's some catch though...
1) i made that scripts long time ago and i already forget most of it... i also already uninstall my ACE... so no further support than what i wrote in the script header and in the opening post of the script...
2) it extract the resource in client PC... so you might need to tell your client to run as administrator
3) since it's extract resource to client PC... you must delete it manually if you want to delete the resource when uninstalling the game... to be clear... if the player uninstall the game like usual... they will still be left with the resource hidden in their computer... i once thought of creating "uninstaller" which will read the reference file and then deleting the resources... but then my laptop harddisk broke at that time and i lost lots of my data and then later on i'm too busy to work on that again... but maybe you can try making a simple batch file which will erase the folder you extract the resource to...
4) that script might be a bit confusing to use... you might want to read the script page few times and slowly learn how to use it.

hope this help.

edit: you can try the demo in the script page... there's two demo... 1 opened project... 1 encrypted (plus protection from EST_CS2 - Script Control)
That's an interesting script. From what I've seen it's similar to the anti-RGSS Decrypter tool which basically extracts the files to an "hidden" folder and can potentially cause performance drops depending on how much resources it had to decrypt at a time. I'll try experimenting with it。
Thanks alot for your time.
That's an interesting script. From what I've seen it's similar to the anti-RGSS Decrypter tool which basically extracts the files to an "hidden" folder and can potentially cause performance drops depending on how much resources it had to decrypt at a time. I'll try experimenting with it。
Thanks alot for your time.
yes it's basically work like that... encrypt the file... when needed decrypt the file... it's what i designed the script on the first version of the script... but after i read the changelog... i think i have change it a little bit to not work like that again... i think it's because someone give me feedback that it could have performance drop when the sound / movie too large...

so... to avoid performance drop when the sound / movie / image is too large... i move the decryption process at the FIRST time executing the game... it will decrypt all the files to hidden folder...
so only the first time you launch the game it will need some time to load... imagine it's like installing additional files of the game to your client PC for the first time...

there's also a failsafe check though if the file got deleted by some unknown reason when the game needed it... it will decrypt only that missing file... hope this help...
@estriole Thanks, one more thing - as you say this must not be combined with default RM encryption, does this support more than one encrypted graphic rvdata2 file? (Assuming their contents do not have the same file name.)

Just making sure as the nature of DLC means you can't combine them into one single file. (DLC graphic file containing only graphics for the DLC)
what i mean it must not be combined with default RM protection is...
ONLY if you're planning on adding DLC like your scenario above...
the script still work with default RM protection...
but i advice not using it because default RM protection combine all files to one (which can be decrypted easily anyway)... thus if you add more content... you must redistribute the whole thing again...

if i remember correctly... my script will generate each encrypted file for each graphic / sound / movie

so for example if you have
2 movie called opening.ogg and ending.ogg
my script will then generate(by default inside Data Folder and using Z_EST as prefix):
Z_EST_Movies_opening.rvdata2
Z_EST_Movies_ending.rvdata2
and then keep the reference in Z_ListMovie.rvdata2

the same happen with Audio / Graphics...

so if you're adding some new files for DLC...you can just distribute those new files ONLY (after you encrypt it to .rvdata2 files of course)... and don't forget to also distribute the new Z_List files.
there's 3 of them named:
Z_ListAudio.rvdata2
Z_ListGraphic.rvdata2
Z_ListMovie.rvdata2

because it's the reference to decrypt it later in client PC.

hope this help.
Ah that makes sense now. Thanks for the explanation.

Original thread: https://forums.rpgmakerweb.com/threads/applying-dlcs-encryption-options.144690/