ren'py packs the filesWhat's the difference between rpy,rpyc and rpa file.
how can i pack my script.rpy to archies.rpa and how can i read rpa rpyc file ?
sorry for my bad english
As @Hones indicates:What's the difference between rpy,rpyc and rpa file.
how can i pack my script.rpy to archies.rpa and how can i read rpa rpyc file ?
sorry for my bad english
Here it can be confusing. They are achives, but not compressed ones. Generally the size of a RPA file is higher (but not this much) than the sum of all its files' size. This because the interest of those archives is more to optimize the loading time of game's elements, than effectively reduce the size of the game..rpa files are archives, sort of like ZIP files.
Note that some dev like to mess with the world and try to make RPA/RPYC files none reversible. [ads]But for the RPYC files it can be correct by usingTo go in the opposite direction:
- To extract the contents of a .rpa file, use unren or "rpatool -x archive.rpa"
- To "decompile" .rpyc files back into .rpy files, use unren or unrpyc
If you mean "from my game", you don't need to. It's totally transparent for Ren'py, and it will search by itself for a file in RPA archive and the disk. In fact it's so transparent that Ren'py don't even have a function for this.[...] how can i read rpa rpyc file ?
You could have found exactly the same thing in the official documentation (that come with the SDK) in the "I was just trying to figure how to archive (basically just make it take a couple extra steps to copy or alter) and found what I wanted onYou must be registered to see the links, scroll down to donmai's response.
you can'thello i would like to know how to put rpy or rpyc in rpa? thanks
hello i would like to know how to put rpy or rpyc in rpa? thanks
Or even better, as anne O'nymous said, read the official docs: "
It's less definitive than this. Ren'Py being Open Source, many tools exist to manipulate RPA files.you can't
And ? My post clearly and explicitly answer your question...Yes but I don't want to extract but recompile, because I know unren
rpatool works perfectly to compile, it's what rpa.bat use...Hello, ok for rpa.bat but how to compile the specific files of the folder tl\french, for the other software it does not work to compile but just extract thanks
So, line 31:Replace 'NAME OF YOUR ARCHIVE' by the name you want to give to the archive WITHOUT the leading '.rpa'. For an archive named "my patch.rpa", you MUST have:
set "dest=my patch"
Add the path to the directory where the files you want to archive are located. Note that '%gamedir%' already point to the 'GAME'S NAME\game' directory. For files located in 'GAME'S NAME\game\images\my patch" you MUST have:
cd "%gamedir%images\my patch"
set "dest=french"
cd "%gamedir%tl\french"