I have a bunch of .png files that start with 16bytes of ID string that should be removed from the result followed by 16 bytes of xored data and the rest of the file in plain format. I managed to find the xor string but now I need help in writing the bms script to do the decryption that i plan to run using a .bat file.
for %%i in (*.ext) DO quickbms.exe -o script.bms "%%i" "%CD%\out"
Can anyone tell me what I'm missing? I prefer to learn how to do this myself than have someone give me the script but so far reading the quickbms.txt or other people scripts isn't helping.
There are no other ways to speed up the script, there are only few instructions without loops so it's fine. I guess the slowness you have experienced is related to the calling of quickbms on every single file.
Try to use: quickbmsexe -o -F "{}.rpgmv{}" RPGMakerMV.bms INPUT_FOLDER OUTPUT_FOLDER
-d automatically create an additional output folder with the name of the input folder and file processed, eg. models/mychar/mychar.arc/FILES, -d works also if input and output folders are the same (rename folder)
-D similar to -d but will not create the folder with the filename
I added them some years ago just to maintain the original directory tree and they are two separate options for meeting the different needs of the users.