Hi there,
Any idea what causes this problem when running unren V8 & V9
Bean using unren for quite a while now and never got an error like this before.
Did notice that the renpy folder for this game was bigger than others I have seen before.
Tried copying in a different renpy folder same issue.
The decompiler folder appears and then disappears during the run.
Tried running unren on an older version of this game worked OK.
Found it I think.
The lib folder windows-i686 only has 12 files in it.
There is also a windows-x86_64 folder which has the same 12 files in it.
Normally there would be 27 files.
Is this the cause of the issue?
Creating _unrpyc.cab...
Extracting _unrpyc.cab...
Searching for rpyc files...
+ Decompiling "bol.rpyc" - 16844 bytes
Traceback (most recent call last):
File "E:\Downloads\DarkMagic-V.0.13.5-pc\game\..\unrpyc.py", line 32, in <module>
import decompiler
ImportError: No module named decompiler
replaced the lib folder and got this output instead
Decompilation of 0 script file successful
+ Decompiling "characters.rpyc" - 11224 bytes
Decompilation of 1 script file successful
+ Decompiling "corruptions.rpyc" - 24034 bytes
Decompilation of 1 script file successful
+ Decompiling "events1.rpyc" - 1602821 bytes
Error while decompiling E:\Downloads\DarkMagic-V.0.13.5-pc\game\events1.rpyc:
Traceback (most recent call last):
File "E:\Downloads\DarkMagic-V.0.13.5-pc\game\..\unrpyc.py", line 139, in worker
no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
File "E:\Downloads\DarkMagic-V.0.13.5-pc\game\..\unrpyc.py", line 113, in decompile_rpyc
translator=translator, init_offset=init_offset)
File "E:\Downloads\DarkMagic-V.0.13.5-pc\decompiler\__init__.py", line 46, in pprint
decompile_python=decompile_python, translator=translator).dump(ast, indent_level, init_offset)
File "E:\Downloads\DarkMagic-V.0.13.5-pc\decompiler\__init__.py", line 89, in dump
super(Decompiler, self).dump(ast, indent_level, skip_indent_until_write=True)
File "E:\Downloads\DarkMagic-V.0.13.5-pc\decompiler\util.py", line 29, in dump
self.print_nodes(ast)
File "E:\Downloads\DarkMagic-V.0.13.5-pc\decompiler\util.py", line 120, in print_nodes
self.print_node(node)
File "E:\Downloads\DarkMagic-V.0.13.5-pc\decompiler\__init__.py", line 106, in print_node
self.dispatch.get(type(ast), type(self).print_unknown)(self, ast)
File "E:\Downloads\DarkMagic-V.0.13.5-pc\decompiler\__init__.py", line 433, in print_label
self.print_nodes(ast.block, 1)
File "E:\Downloads\DarkMagic-V.0.13.5-pc\decompiler\util.py", line 120, in print_nodes
self.print_node(node)
File "E:\Downloads\DarkMagic-V.0.13.5-pc\decompiler\__init__.py", line 106, in print_node
self.dispatch.get(type(ast), type(self).print_unknown)(self, ast)
File "E:\Downloads\DarkMagic-V.0.13.5-pc\decompiler\__init__.py", line 641, in print_menu
self.advance_to_line(condition.linenumber)
AttributeError: 'unicode' object has no attribute 'linenumber'