CensoredUsername / unrpyc

A ren'py script decompiler
Other
824 stars 149 forks source link

Names for user-defined screen displayable objects #148

Closed NyashniyVladya closed 4 months ago

NyashniyVladya commented 1 year ago

Added the ability to pass the names of screen displayable objects added by game authors via renpy.register_sl_displayable.

Examples:

python unrpyc.py filename1 filename2 --sl-displayable-classes SomeDispClass=nameInScreen-many
python unrpyc.py filename1 filename2 --sl-displayable-classes SomeDispClass=nameInScreen-1
python unrpyc.py filename1 filename2 --sl-displayable-classes SomeDispClass=nameInScreen
CensoredUsername commented 8 months ago

Thanks for the pull request, this seems like a good addition. I'll take a look at it.

cherifVN commented 8 months ago

Thanks for the pull request, this seems like a good addition. I'll take a look at it Then can you publish this update because it's merged

CensoredUsername commented 4 months ago

I've adapted this work in 2ec255b as it needed some cleanup and conflicts resolved. I didn't add it to un.rpyc as well, if you have the knowledge of how to compile that you can just use the command line tool anyway.