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

5.00 star(s) 3 Votes

JugarComica

Member
Sep 13, 2017
339
303
H There:

I'm using Ultrahack V2 to extra images form a game titled "Coming Back Home" released today. Supposedly this game uses renpy ver 7.5.0 but is unable to extract any images.

Any suggestions.

Cheers and thank you.
 

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,367
H There:

I'm using Ultrahack V2 to extra images form a game titled "Coming Back Home" released today. Supposedly this game uses renpy ver 7.5.0 but is unable to extract any images.

Any suggestions.

Cheers and thank you.
Look at what version of the tool is now and how many more were in changelog. Maybe you should use something newer? :HideThePain:
 
  • Haha
Reactions: "CJ"

Madeddy

Active Member
Dec 17, 2017
814
468
I'm using Ultrahack V2
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.
 
Last edited:
  • Haha
Reactions: "CJ"

Madeddy

Active Member
Dec 17, 2017
814
468
... As for nightly builds, their use has become more and more frequent lately, so there is nothing left but to keep up with the times. :HideThePain:
I admit this behavior of this so called "devs" pisses me of. Its base knowledge and even mentioned by the RenPy author to use just stable software version for productive work.
Actually, apart from the new ast and atl nodes, there are no other problems. ...
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:
 

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,367
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
339
303
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,367
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
339
303
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

Active Member
Dec 17, 2017
814
468
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,367
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

Active Member
Dec 17, 2017
814
468
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,367
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,367
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,272
47,239
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,367
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

Active Member
Dec 17, 2017
814
468
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,272
47,239
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
 
5.00 star(s) 3 Votes