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

5.00 star(s) 3 Votes

-CookieMonster666-

Devoted Member
Nov 20, 2018
11,862
17,585
New to all this, is there a reason why only images unlock and not animations? example https://f95zone.to/threads/ahsoka-in-exxxile-v1-0-apulaz.120500/ all the images unlocked but the animations are broken up into single images.

Again I am new to this and I will admit not very smart :/
I haven't looked and don't want to go to the effort, but very often developers — especially those who might use something like Daz3D — will create animations as something other than a complete video file that comes with the game. Instead, they often have scripts they use that call each frame of an animation sequence, with pause statements in between so a frame will show for 10 milliseconds or something before moving to the next one. One reason for this is that if you buy a Daz3D asset (a character model, for instance), there are varying license levels (as explained ). If the intention is to use the asset in an automated animation and not manually done by a developer, it costs more money.

So, a lot of developers will do all of the frame rendering themselves and then string them together via their own code. The animations in these cases don't exist in a single file, but rather as a series of images called in a specific order to be played in the game. If Ahsoka in Exxxile has only images that have been unpacked, it's almost certain that's how this developer did it in their game.
 

Removingmage

Newbie
Jul 1, 2022
27
32
I haven't looked and don't want to go to the effort, but very often developers — especially those who might use something like Daz3D — will create animations as something other than a complete video file that comes with the game. Instead, they often have scripts they use that call each frame of an animation sequence, with pause statements in between so a frame will show for 10 milliseconds or something before moving to the next one. One reason for this is that if you buy a Daz3D asset (a character model, for instance), there are varying license levels (as explained ). If the intention is to use the asset in an automated animation and not manually done by a developer, it costs more money.

So, a lot of developers will do all of the frame rendering themselves and then string them together via their own code. The animations in these cases don't exist in a single file, but rather as a series of images called in a specific order to be played in the game. If Ahsoka in Exxxile has only images that have been unpacked, it's almost certain that's how this developer did it in their game.
ok thank you
 
  • Like
Reactions: -CookieMonster666-

RabidSloth

Well-Known Member
Dec 4, 2018
1,108
1,443
I'm still very much a layman when it comes to the more technical aspects of it, but I've often used unren (one version or another) to extract rpa files for the purpose of editing either images or script files. The latter so that I can clean up or alter dialogue. Anyway I recently started playing Straitened Times and unfortunately it's one of the few games that are problematic for reasons beyond my limited understanding.

So TL;DR does anyone have a suggestion for how I might be able to successfully extract editable script files with this game so that I can edit dialogue? Right now there's no real reason for me to do it yet, since the game is not yet completed. But I'd still like to have the problem figured out just in case I encounter it again. Any help or insight would be appreciated.
 
Last edited:
  • Thinking Face
Reactions: Twistty

Twistty

The Happy Beaver
Donor
Respected User
Former Staff
Sep 9, 2016
4,389
39,286
RabidSloth
I know nothing about that game - but UnRen-forall (v8.10) did work without any issue?
Hit 1) Extract RPA packages - worked
Hit 2) Decompile rpyc files - worked

Not sure what went wrong on your end.
Untitled.jpg
Untitled.jpg
 
  • Like
Reactions: -CookieMonster666-

Twistty

The Happy Beaver
Donor
Respected User
Former Staff
Sep 9, 2016
4,389
39,286
VepsrP

Cuckies & Cream Maids for Milking
Ren'py Version 8, 1, 1

UnRen-forall does not extract the .rpa files.
I tried UnRen-forall versions 8.7, 8.9 and 8.10.

But UnRen-v.0.13.bat posted below - did extract the .rpa files.
However, UnRen-v.0.13 did not - Decompile the rpyc files?

And UnRen-forall 8.10 did! YaY!!! (y)

So weird - not sure why that is?

Edit:
- Why is that?
Because I never changed the *& to *and - lol
Bad beaver!!! lol
 
Last edited:
  • Yay, new update!
  • Like
Reactions: rKnight and Balu83

RabidSloth

Well-Known Member
Dec 4, 2018
1,108
1,443
RabidSloth
I know nothing about that game - but UnRen-forall (v8.10) did work without any issue?
Hit 1) Extract RPA packages - worked
Hit 2) Decompile rpyc files - worked

Not sure what went wrong on your end.
View attachment 2956972
View attachment 2956976
Thank you for checking and responding. Hopefully I can elaborate the problem better using screenshots.

So here is what the folder looks like when I run an extraction on Sisterly Lust, just to use as an example (I edited parts of the image out just so that no one will make fun of me for my filing system or other games in my library lol):

Image 001.jpg

The RPY files are now accessible, and able to be opened and edited using WordPad. As shown here:

Image 002.jpg

That's the normal, easy, baseline experience that I have most of the time when I set out to mod dialogue. All I have to do is drop the new edited file somewhere in the game folder. Even images, if I want to edit those too.

But here is what I get when I run an extract and decompile on Straitened Times (as well as a couple of other games now and then):

Image 003.jpg

I just get a bunch of RPYC files instead, which I either can't, or just don't know how to access. If I try to open these kinds of files with WordPad, Notepad, NotePad++, etc. all I get is this:

Image 004.jpg

Edit: I meant to use the other Spoiler format to keep the post shorter. Apologies.
 
  • Thinking Face
Reactions: Twistty

Tiur

Well-Known Member
Nov 13, 2021
1,210
3,331
Thank you for checking and responding. Hopefully I can elaborate the problem better using screenshots.

So here is what the folder looks like when I run an extraction on Sisterly Lust, just to use as an example (I edited parts of the image out just so that no one will make fun of me for my filing system or other games in my library lol):

The RPY files are now accessible, and able to be opened and edited using WordPad. As shown here:

That's the normal, easy, baseline experience that I have most of the time when I set out to mod dialogue. All I have to do is drop the new edited file somewhere in the game folder. Even images, if I want to edit those too.

But here is what I get when I run an extract and decompile on Straitened Times (as well as a couple of other games now and then):

I just get a bunch of RPYC files instead, which I either can't, or just don't know how to access. If I try to open these kinds of files with WordPad, Notepad, NotePad++, etc. all I get is this:

Edit: I meant to use the other Spoiler format to keep the post shorter. Apologies.
So you've only been doing half of what Twistty said to do. You're using Unren's "Extract RPA packages" step and only that step. That just removes files from rpa archives. It does not do anything else. If a dev removed the rpy files before archiving the game into rpa, you'll get what you described above (and the game would work fine; games do not require RPYs if they have RPYCs). You should follow that with "Decompile rpyc files" like Twistty said to do in the post you're replying to. That will generate rpys out of the rpycs. Alternately, you could just use the option "Extract and Decompile" to do both those steps in sequence without having to manually select each.

In general, if you're going to be working wirh Ren'Py, it is pretty important to know the differences between these three types of files:
  • RPY = Ren'Py script files. Actual Python code, readable and editable by humans. Can also be compiled into an RPYC and can also be archived into an RPA (often alongside other files, including RPYCs). Note: IIRC, these are automatically compiled into RPYCs when launching a game, if the RPYCs do not exist or the RPY has been altered.
  • RPYC = Compiled/encoded script files. As you've seen, not human-readable, but can be decompiled, and can also be archived into an RPA (often alongside other files).
  • RPA = Archive, can include many types of files, including RPY, RPYC, images, audio, etc. Can be extracted to get the original files in whatever format those original files were in before being archived into the RPA.
 
  • Hey there
  • Like
Reactions: VepsrP and Twistty

RabidSloth

Well-Known Member
Dec 4, 2018
1,108
1,443
You should follow that with "Decompile rpyc files" like Twistty said to do in the post you're replying to. That will generate rpys out of the rpycs. Alternately, you could just use the option "Extract and Decompile" to do both those steps in sequence without having to manually select each.
Then I'm not sure what else the problem is on my end, because that's exactly what I did. I actually tried it both ways. Running an extract, followed up by a decompile. And then another attempt just using 8) Extract and Decompile after the first method didn't work.

Also thank you for the info breakdown =)
 

gnadudu

Well-Known Member
Aug 31, 2018
1,895
2,798
Then I'm not sure what else the problem is on my end, because that's exactly what I did. I actually tried it both ways. Running an extract, followed up by a decompile. And then another attempt just using 8) Extract and Decompile after the first method didn't work.

Also thank you for the info breakdown =)
Does the console throw any errors when choosing option #2?
Also not sure, but maybe the path where your game is stored is too long or has some special characters in it? (Can't say for sure, because you removed it from your screenshots...)
 

RabidSloth

Well-Known Member
Dec 4, 2018
1,108
1,443
Does the console throw any errors when choosing option #2?
Also not sure, but maybe the path where your game is stored is too long or has some special characters in it? (Can't say for sure, because you removed it from your screenshots...)
Here was the result:
You don't have permission to view the spoiler content. Log in or register now.
 

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,384
VepsrP

Cuckies & Cream Maids for Milking
Ren'py Version 8, 1, 1

UnRen-forall does not extract the .rpa files.
I tried UnRen-forall versions 8.7, 8.9 and 8.10.

But UnRen-v.0.13.bat posted below - did extract the .rpa files.
However, UnRen-v.0.13 did not - Decompile the rpyc files?

And UnRen-forall 8.10 did! YaY!!! (y)

So weird - not sure why that is?
I checked, everything unpacks, even if it swears at the damn ampersand.:HideThePain:
 

yamabear

Member
Dec 27, 2020
216
94
I created this topic to simplify updating and maintaining the tool, so that people no longer have to search for the current version among the messages.
I am also ready to present a version of the tool with a graphical interface. Like the main tool, this version comes in two variants.

Here is a link Unren by Sam to the original topic, the tool was not invented by me, I'm just trying to keep it up-to-date as much as possible. You can also see there that for about the last six months I have been trying to keep this tool in operation.
Here is a link to repo if anyone is interested.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
Known Issues:
- Having parentheses and some other special characters in your folder path may cause issues.
Attention. The name of the tool indicates the minimum version of RenPy required for working. The version can be found in the file "game/script_version.txt"
My mod supports only Windows, for Linux and Mac you can go to this thread and search for messages from dikau.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
I created this topic to simplify updating and maintaining the tool, so that people no longer have to search for the current version among the messages.
I am also ready to present a version of the tool with a graphical interface. Like the main tool, this version comes in two variants.

Here is a link Unren by Sam to the original topic, the tool was not invented by me, I'm just trying to keep it up-to-date as much as possible. You can also see there that for about the last six months I have been trying to keep this tool in operation.
Here is a link to repo if anyone is interested.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
Known Issues:
- Having parentheses and some other special characters in your folder path may cause issues.
Attention. The name of the tool indicates the minimum version of RenPy required for working. The version can be found in the file "game/script_version.txt"
My mod supports only Windows, for Linux and Mac you can go to this thread and search for messages from dikau.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.

Hi!
I am experiencing the following issue below when trying to use the tool. Note that I use Win10 (if this is relevant...).
As you can see, the attempted use is inside the necessary folder (game).


What am I not doing correct? Or how can I fix this?:(
Thanks in advance!
 

Tiur

Well-Known Member
Nov 13, 2021
1,210
3,331
Hi!
I am experiencing the following issue below when trying to use the tool. Note that I use Win10 (if this is relevant...).
As you can see, the attempted use is inside the necessary folder (game).


What am I not doing correct? Or how can I fix this?:(
Thanks in advance!
Unren needs to be in the parent folder where the game executable is, not inside the game folder.
 

yamabear

Member
Dec 27, 2020
216
94
Unren needs to be in the parent folder where the game executable is, not inside the game folder.
Hi again! As I understood, copy the package .RPA (804,018 Kb) for the root folder and i obtain the tool menu.
Now,still without success the main need: extract RPA.
More help?;)
 

Tiur

Well-Known Member
Nov 13, 2021
1,210
3,331
Hi again! As I understood, copy the package .RPA (804,018 Kb) for the root folder and i obtain the tool menu.
Now,still without success the main need: extract RPA.
More help?;)
Don't move the RPA. The game's RPA files should remain right where they were, inside the game folder. All you needed to do is to put Unren inside that root folder, and run it from there. It can then operate on the files in the game folder.
 

yamabear

Member
Dec 27, 2020
216
94
Don't move the RPA. The game's RPA files should remain right where they were, inside the game folder. All you needed to do is to put Unren inside that root folder, and run it from there. It can then operate on the files in the game folder.

Tks again,Again!!!
Operation was a success(y);)(y)
 
5.00 star(s) 3 Votes