CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Tool Ren'Py UnRen.bat v1.0.11d - RPA Extractor, RPYC Decompiler, Console/Developer Menu Enabler

5.00 star(s) 9 Votes

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
11,009
16,295
For example, after running it on MILF City it will say "1.jpg We can't open this file"

Any ideas? Again its not all games just some of the newer ones.
Probably because they aren't legit JPEG files but WEBP files with a "jpg" extension.
 
  • Like
Reactions: bas

mdspt

Newbie
Feb 21, 2018
24
166
When using it with the latest four elements trainers I found an error in the unblock code.

Code:
While running game code:
  File "renpy/common/00start.rpy", line 281, in script
    python:
  File "renpy/common/00start.rpy", line 282, in <module>
    renpy.block_rollback(purge=True)
TypeError: unren_noblock() takes no arguments (1 given)
I fixed it by editing the rollback script function to
Code:
def unren_noblock(*args, **kwargs):
    return
cheers
 
  • Like
Reactions: bas and at433

bigbant76

Newbie
Oct 6, 2017
21
2
it might not be related here..
but is there any tool or script to extract content from RPGM games?
 

TCMS

Quote my posts if you want an answer
Donor
Former Staff
Aug 5, 2016
5,797
30,934
Fixed the problem with the program not exiting when pressing enter after making two or more choices.
Line 85:
Code:
:menu
REM --------------------------------------------------------------------------------
REM Menu selection
REM --------------------------------------------------------------------------------
set exitoption=
echo   Available Options:
 

Deleted member 40068

Active Member
May 22, 2017
878
801
This might be a really dumb question, but I'm kinda new to this. Ive accessed the console in Ren'py and know the variable names, but once I change them, how do I make it stick/permanent? Even after I change it, press enter, and exit, the values are the same.
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
11,009
16,295
This might be a really dumb question, but I'm kinda new to this. Ive accessed the console in Ren'py and know the variable names, but once I change them, how do I make it stick/permanent? Even after I change it, press enter, and exit, the values are the same.
Wait an "interaction" before doing anything else. So, basically, click to pass to the next dialog line.
 

anonymouslee

Newbie
Apr 27, 2017
68
51
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 281, in script
    python:
  File "renpy/common/00start.rpy", line 282, in <module>
    renpy.block_rollback(purge=True)
TypeError: unren_noblock() takes no arguments (1 given)

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00start.rpy", line 281, in script
    python:
  File "D:\Downloads\LustCity-0.2-pc\renpy\ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\Downloads\LustCity-0.2-pc\renpy\python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/00start.rpy", line 282, in <module>
    renpy.block_rollback(purge=True)
TypeError: unren_noblock() takes no arguments (1 given)

Windows-8-6.2.9200
Ren'Py 7.0.0.196
LustCity 0.2
Fri Jun 22 04:05:31 2018
 

pornuser411

Newbie
May 7, 2017
40
16
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 281, in script
    python:
  File "renpy/common/00start.rpy", line 282, in <module>
    renpy.block_rollback(purge=True)
TypeError: unren_noblock() takes no arguments (1 given)

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00start.rpy", line 281, in script
    python:
  File "D:\Downloads\LustCity-0.2-pc\renpy\ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\Downloads\LustCity-0.2-pc\renpy\python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/00start.rpy", line 282, in <module>
    renpy.block_rollback(purge=True)
TypeError: unren_noblock() takes no arguments (1 given)

Windows-8-6.2.9200
Ren'Py 7.0.0.196
LustCity 0.2
Fri Jun 22 04:05:31 2018
Usually when that happens, my workaround is rollback, then ignore, and it starts the game. Happens more frequently now, but I believe they are working on a fix.
 
  • Like
Reactions: kiteares

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
11,009
16,295
File "renpy/common/00start.rpy", line 282, in <module>
renpy.block_rollback(purge=True)
TypeError: unren_noblock() takes no arguments (1 given)
The fix is to declare unren_noblock with unfixed arguments. Time for unren to be fixed, you must edit "[name of the game]/game/unren-rollback.rpy" and change line 5 from :
Code:
  def unren_noblock():
to :
Code:
  def unren_noblock( *args, **kwargs ):
@Sam while I'm at it, unren-quick.rpy:
Code:
  try:
    config.underlay[0].keymap["quickSave"] = QuickSave()
    config.keymap["quickSave"] = "K_F5"
    config.underlay[0].keymap["quickSave"] = QuickLoad()
    config.keymap["quickSave"] = "K_F9"
  except:
    pass
Is more compliant with how Ren'py works, still ensure the backward compatibility (confirmed back to at least 6.15.0), and will not crash if the author removed QuickSave/QuickLoad.


[Edit: Oops, a "/code" missed its "/", which messed with the presentation ; haven't seen it before]
 

amanapanama

Newbie
Apr 22, 2018
27
237
I ported UnRen.bat into a bash script for linux, I've only tested it on ubuntu based systems (linux mint 18.3, xubuntu 18.04) but I think it should work with any distro that has bash and coreutils. Just run it from the game's base directory.
 

kiteares

Well-Known Member
Nov 15, 2017
1,028
1,238
The fix is to declare unren_noblock with unfixed arguments. Time for unren to be fixed, you must edit "[name of the game]/game/unren-rollback.rpy" and change line 5 from :
Code:
  def unren_noblock():
[code]
to :
[code]
  def unren_noblock( *args, **kwargs ):
<snip>
Thank you anne, once I understood what you meant...
I couldn't see [name of game] in or near line 5 but found unren-rollback and unren_noblock at lines 285 and 294.
Added the content in brackets and saved as and problem solved!
Thank you so much a minor issue, but a niggle all the same!
 

JustADude321

Newbie
Feb 23, 2018
69
84
Thanks for the script. Man, I really wanna learn how to do things like this someday.

All I know is some measly Python, Javascript, PHP and MySQL. Perhaps someday I'll learn how to write code like this.
 
5.00 star(s) 9 Votes