Tool RPGM Ren'Py [RPA] [RGSS3A] [RPYC] Online Viewer & Save editor

chrisb

Newbie
Nov 1, 2017
97
105
Thanks for the feedback and example file.
This issue is fixed now.
Much appreciated! I thought I was just using it wrong for a while. Again, thanks so much for this tool! It's very helpful in understanding how these games work.
 

Dinaki

Member
Game Developer
Aug 18, 2017
111
815
Not working anymore!!!

Creates empty archives when trying to extract an rpa file
Just tested it.

It doesn't work only if I use "Export selected" with 10+ .rpyc files selected.
Meanwhile "Export all" and "Export active tab" works as expected.

Does this your case?

A bug with "Export selected" would be fixed asap.
 

cooperdk

Engaged Member
Jul 23, 2017
3,375
4,902
Just tested it.

It doesn't work only if I use "Export selected" with 10+ .rpyc files selected.
Meanwhile "Export all" and "Export active tab" works as expected.

Does this your case?

A bug with "Export selected" would be fixed asap.
Oh, sorry. Nothing wrong with your code. The issue is that I tested it with a game which has it's own archive protection which is why your app returned false.
Also, that archive WAS uncompressable, but only with the newest and modded UnRen.
 

Dinaki

Member
Game Developer
Aug 18, 2017
111
815
is this site not available on phone? i cant edit files on this site dunno why pls fix it
That’s because it doesn’t support editing files. You can open rpyc file on website, export it so it will convert to rpy file and edit it on your phone with any text editor
 

Dinaki

Member
Game Developer
Aug 18, 2017
111
815
New tool allows you to merge multiple image parts into the whole image.

Useful for a hand-drawn games where usually arts are splitted by layers.

Files -> Merge Images.

OykOWZ12C5.gif
 

Dinaki

Member
Game Developer
Aug 18, 2017
111
815
New tool - RPA Repack
chrome_tgOgiz7Kt0.png

This tool is used to reduce Ren'Py .rpa archive size by converting heavy (.png, .jpg) images to the lightweight format (.webp).

File extension won't be changed to avoid script errors. This means even if file is called image.png, it's actually a .webp image. It will work in the game because Ren'py ignores file extention.

Examples from different games

explorer_47lSUgShKk.png
explorer_ATdykvzKUw.png
explorer_i4wqikGlpv.png
explorer_IaxwiyChbb.png
explorer_Zyd1xbfjbR.png

How to use
  • Open/Drop .rpa file
  • Open Repack RPA tool (File - Repack RPA)
  • Select .rpa archive
  • Adjust settings (optional)
  • Click "Repack RPA" button
  • Save archive somewhere. DO NOT OVERWRITE ORIGINAL .RPA!
  • Wait for the process to complete
  • Make a backup of the original .rpa file somewhere outside of the game folder
  • Replace original .rpa inside the game folder with a repacked .rpa
  • Test the game
Settings

In the formats list you could select which formats will be converted to the .webp

Image quality slider is responsible for the final quality of the .webp file. Optimal values without artifacts are 85-95.

Minimum size difference to convert value is used to compare the original image size with the converted image size. If original size devided by converted size is less than specified value, image won't be converted.
 

molitar

Engaged Member
Sep 22, 2016
3,236
3,097
wow.. this one is totally useless.. I just needed to change number of fish in inventory to 0 because of a bug.. there is no damn fish or inventory listed. This one isn't worth even using.
 
  • Like
Reactions: derfirm

McLOVINu

Active Member
Mar 18, 2018
565
314
trying to view an .rpyc, not working, getting this:

Code:
Traceback (most recent call last):
  File "/home/pyodide/unrpyc/__init__.py", line 165, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "/home/pyodide/unrpyc/__init__.py", line 138, in read_ast_from_file
    data, stmts = magic.safe_loads(raw_contents, class_factory, {"_ast", "collections"})
  File "/home/pyodide/unrpyc/decompiler/magic.py", line 601, in safe_loads
    return SafeUnpickler(StringIO(string), class_factory, safe_modules, use_copyreg,
  File "/lib/python3.9/pickle.py", line 1212, in load
    dispatch[key[0]](self)
  File "/lib/python3.9/pickle.py", line 1589, in load_reduce
    stack[-1] = func(*args)
  File "/home/pyodide/unrpyc/decompiler/magic.py", line 113, in __new__
    raise FakeUnpicklingError("{0} was instantiated with unexpected arguments {1}, {2}".format(cls, args, kwargs))
unrpyc.decompiler.magic.FakeUnpicklingError: <class '__builtin__.set'> was instantiated with unexpected arguments ([],), {}