Create and Fuck your AI Slut -70% OFF
x

Tool Ren'Py UnRenGUI, UnRen-forall(v9.4), UnRen-Powershell-forall(v9.4), UnRen-old

5.00 star(s) 3 Votes

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,430
391
I am of the opinion there should be some "default" code thingy to deal with all the user statements and such, instead writing for every new one separate code. :unsure:
So this is not a user statements, these are innovations of RenPy itself. There are changes in all engine files, especially in Ast.py and atl.py files. :HideThePain:
 

JugarComica

Member
Sep 13, 2017
345
305
284
Stuff from the museum is just for looking at, not for use. Maybe try something from this century. :sneaky:
Edit: Ups. He answered it already. Overlooked it. :giggle:

I noticed also the game you cited has after the unpacking single quotes(') in the game name, which caused with my tool problems as i unpacked. You could try and remove them. Maybe this fixes it for you also... for me unpacking worked then, however i use my own tool.
Ok used version 8.2 for all, which I assume is the latest. I removed the single quotes from the filename (which I must admit never picked up) but still will not extract the images. FWIW I looked at the RPA file using a hex editor and seen the filename version also inside single quotes.

Anyway thanks for your help.

BTW the ancient tool has been working fine for me since I got it about 6 months ago. Today was the first time it failed on me.

Cheers
 

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,430
391
Ok used version 8.2 for all, which I assume is the latest. I removed the single quotes from the filename (which I must admit never picked up) but still will not extract the images. FWIW I looked at the RPA file using a hex editor and seen the filename version also inside single quotes.

Anyway thanks for your help.

BTW the ancient tool has been working fine for me since I got it about 6 months ago. Today was the first time it failed on me.

Cheers
Checked and corrected the processing of needless indexes in the archive (which were links to the "current folder"). Now unpacking.
 

JugarComica

Member
Sep 13, 2017
345
305
284
Checked and corrected the processing of needless indexes in the archive (which were links to the "current folder"). Now unpacking.
Confirmed, ver 8.3 works fine. Thank you very much for your help and prompt fix. You Sir are a legend.

Cheers
 

Madeddy

Well-Known Member
Dec 17, 2017
1,016
735
244
these are innovations of RenPy itself. There are changes in all engine files, especially in Ast.py and atl.py files.
Yeah, you're right. I think i found it:
This should possible corrected with a change in the ast.transform method at this code pos:
Adding this "store" thing in there should do it, or what you think?

BTW the ancient tool has been working fine for me since I got it about 6 months ago.
Strangely true.
For some people old tool versions work for a long time without a hitch and other users have all the time problems and need updates. Maybe its the choice of their games or just bad luck. Anyway good it works now for you. Keep a eye on the path chars - this saves you some headache.

Greets
 
  • Like
Reactions: Boehser Onkel

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,430
391
Yeah, you're right. I think i found it:
This should possible corrected with a change in the ast.transform method at this code pos:
Adding this "store" thing in there should do it, or what you think?

Strangely true.
For some people old tool versions work for a long time without a hitch and other users have all the time problems and need updates. Maybe its the choice of their games or just bad luck. Anyway good it works now for you. Keep a eye on the path chars - this saves you some headache.

Greets
In some cases, such a decision was enough.
1677139944034.png
1677139987452.png

But in this case, I had to duplicate the code, since there was at least one small difference. But I'm not sure that there was only one, because the code processed here is not very natural, but there is nothing to compare it with.
1677140039527.png
And for the store.ast.Camera element in general need to write a handler from scratch, because it was not in the engine before, nor, of course, in the decompiler. :HideThePain:
 
  • Like
Reactions: Madeddy

Madeddy

Well-Known Member
Dec 17, 2017
1,016
735
244
Ok. Interesting. The second looks like it should be worked in one code block somehow. There must be a way to integrate this "loc" thing with the other. :unsure:

Anyway, i think i have seen something in the code of renpy which suggests it could instead of store.atl.xxx be renpy.store.atl.xxx needed. Not sure. Don't remember where it was.

Also there is even more of this problems coming i think: <-- this look like the issue we did have last year with the changes in extrapos and extrakw vars and their empty init state. :confused:
 

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,430
391
Ok. Interesting. The second looks like it should be worked in one code block somehow. There must be a way to integrate this "loc" thing with the other. :unsure:

Anyway, i think i have seen something in the code of renpy which suggests it could instead of store.atl.xxx be renpy.store.atl.xxx needed. Not sure. Don't remember where it was.

Also there is even more of this problems coming i think: <-- this look like the issue we did have last year with the changes in extrapos and extrakw vars and their empty init state. :confused:
Well, so far it is, but I'm not sure that this is all the difference. I don't like the decompiled code obtained in this place, but there is nothing to compare it with, so I don't know what else is required.
 

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,430
391
v8.3 doesn't work on many VN's. It's borked, especially for scripts inside subfolders within "game".
This is the first time I hear about such a problem. In all the games that I decompiled, all the files with scripts were safely located, no matter how deep they sat.
 

Sancho1969

Message Maven
Modder
Donor
Jan 19, 2020
12,382
49,488
892
This is the first time I hear about such a problem. In all the games that I decompiled, all the files with scripts were safely located, no matter how deep they sat.
Try the latest University of Problems for an example (the OEM version, not the compressed). I try your project periodically but I've run into issues depending on the version. I used v8.3 "console" with it and it crashes during decompile of rpyc... but unarchiving of rpa works fine in this particular case. I went back to using my decomp to sort it but am not able to keep mine updated due to mod update obligations (there's only so many hours in a day, you get it). Give that a shot and let me know your outcome.

Edit: The VN is built on R7.11.4 btw.
 
Last edited:

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,430
391
Try the latest University of Problems for an example (the OEM version, not the compressed). I try your project periodically but I've run into issues depending on the version. I used v8.3 "console" with it and it crashes during decompile of rpyc... but unarchiving of rpa works fine in this particular case. I went back to using my decomp to sort it but am not able to keep mine updated due to mod update obligations (there's only so many hours in a day, you get it). Give that a shot and let me know your outcome.

Edit: The VN is built on R7.11.4 btw.
I checked. All archives were unpacked and all script files were processed without errors. The game has started. The only problem that was is the brackets in the folder name, which, unfortunately, are not handled correctly. If you remove them, the script works fine.
In addition, the engine version was 7.4.4. I don't know why it is more recent in your version of the game. :unsure:
 

Madeddy

Well-Known Member
Dec 17, 2017
1,016
735
244
this tool doesn't work with Depraved Awakening
This game is nearly 5 years old which means its in a old RenPy version made - in fact a v6.99. For this you should need a older UnRen version like the original one from User Sam. Its pinned here in this subforum.

Edit: The VN is built on R7.11.4 btw.
There is AFAIK no such RenPy version. I think you have transposed digits there. The v7.4.11 exists instead and is the last version before the new RenPy 7.5.x and 8.x branches(lots of changes).
the engine version was 7.4.4. I don't know why it is more recent in your version of the game.
As explained above...
 

Sancho1969

Message Maven
Modder
Donor
Jan 19, 2020
12,382
49,488
892
There is AFAIK no such RenPy version. I think you have transposed digits there. The v7.4.11 exists instead and is the last version before the new RenPy 7.5.x and 8.x branches(lots of changes).
Obviously it was a typo bud, I'm quite aware of all the versions. The point remains, the issues I described are factual as of UFAv8.3
 

Walter Victor

Conversation Conqueror
Dec 27, 2017
6,535
21,846
904
Where should I press Shift O to open the Console?
As long as you have enabled Option 3 of the Unren tool before starting the game, you should be able to do it any time after the game starts up. There are a few exceptions. If the game is asking for console input, like to enter the MC's name, it won't work. Or if the game has disabled rollback, pressing Shift-O could cause problems. This latter one is especially notable in free-roam sections, as in Being A DIK.
 

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,430
391
Obviously it was a typo bud, I'm quite aware of all the versions. The point remains, the issues I described are factual as of UFAv8.3
As I said, everything worked fine for me. The only problem is the parentheses in the path, unfortunately, I can't help here. Only Powershell handles them.
 

Madeddy

Well-Known Member
Dec 17, 2017
1,016
735
244
Obviously it was a typo bud, I'm quite aware of all the versions.
Yes, i said this with the typo and with my (unknowingly unnecessary) explanation about the versions i meant no offense.

Does cleaning the path of this game (just use letters, numbers, underline) anything against the problem you encounter? I tested it with the unren linux version(based on this version here) and it works even on the unchanged path without hitch.
 

Sancho1969

Message Maven
Modder
Donor
Jan 19, 2020
12,382
49,488
892
As I said, everything worked fine for me. The only problem is the parentheses in the path, unfortunately, I can't help here. Only Powershell handles them.
Yes, i said this with the typo and with my (unknowingly unnecessary) explanation about the versions i meant no offense.

Does cleaning the path of this game (just use letters, numbers, underline) anything against the problem you encounter? I tested it with the unren linux version(based on this version here) and it works even on the unchanged path without hitch.
Good morning. I will concede that I did not test with alternately named directory pathing. I will certainly do this when I get a chance and do the same with the other VN's I tested and had UFA fail. I don't have my notes with me at this location to give you the titles of those other failures at the moment... they might have had non-alpha-numerics in them as well.

But the question now presents itself: Why though is this not a problem with any other decompiling code, including all the others that work just fine with these characters in the directory/file names?
 
5.00 star(s) 3 Votes