Comments (11)
Hey.
- Please try and format the error cite up there so it's readable.
- Which unrpyc version did you use? For such a old game, it could be required to apply a way older unrpyc as v1.2.0
from unrpyc.
Hey.
* _Please_ try and format the error cite up there so it's readable. * Which unrpyc version did you use? For such a old game, it could be required to apply a way older unrpyc as v1.2.0
I'm used "legacy (ren'py 6/7)" branch from repo. I've formatted the error text for easy reading
from unrpyc.
I've formatted the error text for easy reading
Cool, thanks!
I'm used "legacy (ren'py 6/7)" branch from repo.
Thats v1.3.0 and could be a bit too "modern". Try with v1.0.15
Edit: No, this version does also not work. v0.4 also not. Could be a so far unknown bug... Lets wait what @CensoredUsername says as he knows the code way better.
from unrpyc.
I've formatted the error text for easy reading
Cool, thanks!
I'm used "legacy (ren'py 6/7)" branch from repo.
Thats v1.3.0 and could be a bit too "modern". Try with v1.0.15
Unfortunately it doesn't work, i get the same error:
~/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019): python2 unrpyc.py options.rpyc
Decompiling options.rpyc to options.rpy...
Error while decompiling options.rpyc:
Traceback (most recent call last):
File "unrpyc.py", line 146, in worker
no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
File "unrpyc.py", line 119, in decompile_rpyc
translator=translator, init_offset=init_offset)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/init.py", line 46, in pprint
decompile_python=decompile_python, translator=translator).dump(ast, indent_level, init_offset)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/init.py", line 89, in dump
super(Decompiler, self).dump(ast, indent_level, skip_indent_until_write=True)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/util.py", line 29, in dump
self.print_nodes(ast)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/util.py", line 120, in print_nodes
self.print_node(node)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/init.py", line 106, in print_node
self.dispatch.get(type(ast), type(self).print_unknown)(self, ast)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/init.py", line 590, in print_init
self.print_nodes(ast.block)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/util.py", line 120, in print_nodes
self.print_node(node)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/init.py", line 106, in print_node
self.dispatch.get(type(ast), type(self).print_unknown)(self, ast)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/init.py", line 841, in print_screen
self.printlock)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/screendecompiler.py", line 39, in pprint
ast, indent_level, linenumber, skip_indent_until_write)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/screendecompiler.py", line 63, in dump
self.print_screen(ast)
File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc-legacy(2019)/decompiler/screendecompiler.py", line 116, in print_screen
value = getattr(ast, key)
AttributeError: 'ScreenLangScreen' object has no attribute 'variant'
from unrpyc.
Lets wait what @CensoredUsername says as he knows the code way better.
Thanks!
from unrpyc.
@madeddy legacy should support every ren'py 6, there should be no reason to use an older version.
@KennedyMcMillan Seems you hit a previously unknown issue that only affects 6.11! Screen language was originally introduced in 6.11, and the property that the code is expecting to find was introduced in 6.12. Should be a reasonably easy fix, I'll let you know when it's done.
from unrpyc.
@madeddy legacy should support every ren'py 6, there should be no reason to use an older version.
@KennedyMcMillan Seems you hit a previously unknown issue that only affects 6.11! Screen language was originally introduced in 6.11, and the property that the code is expecting to find was introduced in 6.12. Should be a reasonably easy fix, I'll let you know when it's done.
Thank you very much!
from unrpyc.
@madeddy legacy should support every ren'py 6, there should be no reason to use an older version.
Ah, ok. Didn't know it reaches this far back. Anyway a interesting find after so much time, huh.
from unrpyc.
@KennedyMcMillan the fix should be out, could you confirm it works?
from unrpyc.
@KennedyMcMillan the fix should be out, could you confirm it works?
Yes, the file decompiles successfully. Thank you very much!
from unrpyc.
Perfect.
from unrpyc.
Related Issues (20)
- Legacy-backports HOT 4
- Dev_py3: Possible missing colons in decompiled v8.2 files HOT 5
- Check for manipulated header fails sometimes HOT 7
- AttributeError: 'RawBlock' object has no attribute 'statements' HOT 12
- AttributeError: 'module' object has no attribute '_loads' with Ren'Py 6.99.12.4.2187 HOT 5
- Instaliation issues HOT 6
- Translate feature is in both unrpyc branches error prone implemented HOT 17
- Sugar syntax error in the SL2 decompiler HOT 7
- Interleaved output when multiprocessing is used. HOT 2
- Python string RegEx does not match multiline strings HOT 3
- How to unrpyc a single file during runtime in a rpy file HOT 13
- Missing guards after argparse for bad arg combinations HOT 1
- Safepickler in Py3 possibly broken HOT 10
- Uncaught exception while running a game with un.rpy HOT 10
- Sometimes "elif True" if generated HOT 3
- ModuleNotFoundError: No module named 'renpy' HOT 4
- After decompiled .rpy files, the game crashed. HOT 10
- Module Not Found Error HOT 4
- Cannot import as a library; fails at importing 'renpy' HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unrpyc.