Sure. Extract the RPAs, delete them, move the folder into the relevant Ren'Py SDK folder (make sure you use the same version that the author used), tell it to make RPAs, and build distributions.any way to import images back into the RPA and replace old ones?
ah so i need the SDKSure. Extract the RPAs, delete them, move the folder into the relevant Ren'Py SDK folder (make sure you use the same version that the author used), tell it to make RPAs, and build distributions.
If I remember correctly, unren use unrpa to extract the archive, which in a extractor only tool. But if you have some notions about Python, you can usei thought the tool would have a way.
all i know about Python is it's the #1 cause for headaches.If I remember correctly, unren use unrpa to extract the archive, which in a extractor only tool. But if you have some notions about Python, you can useYou must be registered to see the linksinstead of the Ren'py's SDK.
If you think Python causes headaches, just wait until you look at Perl...all i know about Python is it's the #1 cause for headaches.
wasted 4 years studying programming and im not going back.
I need a beer just thinking about it.
I highly disagree, it's the sweetest language you can find. And obviously it's absolutely not because it's my main language since more or less 20 yearsIf you think Python causes headaches, just wait until you look at Perl...
The 'hardest' thing is setting up Python path variables, after that either use bat or cmd with 'py rpatool -c'.all i know about Python is it's the #1 cause for headaches.
wasted 4 years studying programming and im not going back.
I need a beer just thinking about it.
So I have tried both the OP version and this version of the tool on the game Sisterly Lust and I have 4 files that fail to decompile.Hi, I modified UnRen.bat 0.7 - now working with Layered Images
+ integration un.rpyc 1.0.12
Usage!!!
After decompiling un.rpyc launch the game (like early unRen.bat versions).
Update 5:03 (GMT +2):
+ update rpatool in program code
Failed at decompiling ...\Sisterly Lust\SL-0.20-Extra Scenes Edition (PC)/game\day01.rpyc
Traceback (most recent call last):
File "<unrpyc>", line 30, in decompile_game
File "<unrpyc>", line 22, in decompile_rpyc
File "<unrpyc>", line 17, in read_ast_from_file
File "<magic>", line 141, in safe_loads
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 858, in load
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 1206, in load_setitems
TypeError: 'RevertableDict' object does not support item assignment
I ran the Mac/Linux version on the Mac version of SL 0.20, and it worked fine. The Mac/Linux version is functionally equivalent to 0.7 in the OP. The main differences are it lets you specify the path to the game, and it uses the system python, instead of the python in the game.So I have tried both the OP version and this version of the tool on the game Sisterly Lust and I have 4 files that fail to decompile.
I was hoping the layered images stuff in this version was the problem with the original tool. here is a snip of the error messages.
The other three have the same error. Thoughts?Code:Failed at decompiling ...\Sisterly Lust\SL-0.20-Extra Scenes Edition (PC)/game\day01.rpyc Traceback (most recent call last): File "<unrpyc>", line 30, in decompile_game File "<unrpyc>", line 22, in decompile_rpyc File "<unrpyc>", line 17, in read_ast_from_file File "<magic>", line 141, in safe_loads File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 858, in load File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 1206, in load_setitems TypeError: 'RevertableDict' object does not support item assignment
Yes that is the path in the error but that path is not on my system. I would need to check if I have a python install outside of all the renpy games. Plus it is only four of the 45 .rpyc files in the extracted game directory. It's just odd.I ran the Mac/Linux version on the Mac version of SL 0.20, and it worked fine. The Mac/Linux version is functionally equivalent to 0.7 in the OP. The main differences are it lets you specify the path to the game, and it uses the system python, instead of the python in the game.
The path in the error:
/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py
Is that correct?
What happens if you run the Mac/Linux version in an Ubuntu shell?
What happens if you install Python 2.7.x from python.org, and modify the bat file to use that instead of the python in the game?
Yes but no. In case like this, the path given is the one stored in the pyo file. It correspond to the path when the file was "compiled", and can be totally independent of the effective path where the file is located when the error happen. In this particular case, it's a path on pyTom's computer.The path in the error:
/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py
Is that correct?
And it don't happened when I tried it with the Windows version of unren, nor when Goobdoob tried it with the Mac/Linux one ; the version of the game not being significant here since the content of "lib/pythonlib2.7/" is shared between them.Plus it is only four of the 45 .rpyc files in the extracted game directory. It's just odd.
And if you put the attached file directly in the game folder (where there's the rpa file), then launch the game, does all the rpy files are "uncompiled" correctly or not ?I tried it on Win 7 64 bit with both the OP version of unren.bat 0.7 which does not support RenPy 7 layered images and kwazimoda's version that I found a few pages back which says it does.
With Girl house I had to useAnd if you put the attached file directly in the game folder (where there's the rpa file), then launch the game, does all the rpy files are "uncompiled" correctly or not ?
And you didn't answered, is the game working correctly or not ?
init:
layeredimage curbg:
if hour in [22,23,24,0,1,2,3,4,5,6]:
"images/mainmenu/mainmenu_bg_night.png"
if hour in [20,21] or hour in [7,8]:
"images/mainmenu/mainmenu_bg_sunset.png"
if hour in [9,10,11,12,13,14,15,16,17,18,19]:
"images/mainmenu/mainmenu_bg_day.png"
Except that there's no layered images in Sisterly Lust, and files "decompile" correctly for at least two persons. Therefore, to reduce the field of search, I want to know if it works with the (very old) version of un.rpyc that works for me, in which case the problem come from unren.With Girl house I had to useYou must be registered to see the links(game works ... ) for layered image problem
I can't try just your version of un.rpyc as the script files are in an archive format so I would have to use some version of unren.bat to extract the files from the archive first and that could be the problem step as well.And if you put the attached file directly in the game folder (where there's the rpa file), then launch the game, does all the rpy files are "uncompiled" correctly or not ?
And you didn't answered, is the game working correctly or not ?