Is it due to some obfuscation tool/code in scripts.rpa?
Code:
I'm sorry, but an uncaught exception occurred.
[...]
File "/home/artcore/Downloads/Games/AEAC2-pc/renpy/main.py", line 357, in main
renpy.loader.index_archives()
[...]
error: Error -3 while decompressing data: incorrect header check
Do
not edit directly the
rpa
files, they are binary, slightly compressed, archives.
Even if you're careful, editing them with a binary editor and taking care to change a string by a string of the exact same length, the result will still have a different checksum (value that permit to know if the file have been corrupted or not).
Use unren.bat (for
You must be registered to see the links
, also exist for
You must be registered to see the links
), to both extract the scripts from the
rpa
files and, if needed, "uncompress" the
rpyc
files. This will give you access to the source that, then and only then, you can edit.
This said, if you just want to change some style, you don't necessarily need to go this far. While the game is playing, put the mouse cursor over the part you want to change, then press
SHIFT
+ [/icode]i[/icode]. You'll get a screen like this one :
Where the style you hovered is the last one. This will give you the style name (here "page_label_text"). Then, click on the said style name, and you get a screen like that one :
Where you'll find the property defined by this style, and their actual value.
Once this is done, create a file, "myStyle.rpy" by example, and fill it with your changes :
Python:
# Tell Ren'py to proceed this after the default init level, therefore
# after the original styles are defined.
init offset = 100
# This will edit the "page_label_text" style
style page_label_text:
# And change the value for its "hover_color" property.
hover_color "#FF0000"
Put the file in the game directory, so for this game "/home/artcore/Downloads/Games/AEAC2-pc/game", and just launch the game. It will now play with your changes in the style.
Don't forget to keep a copy of "myStyle.rpy" somewhere, in order to just have to copy/paste it when playing the next update. And give him a more explicit name for you to remember to which game it apply.