ckkm3

Newbie
Aug 13, 2017
63
128
I doubt Ren'Py has a built in function for this (you'd probably have to delve pretty deep into AST shit or make your own parsing script) but a variant which creates a tree of labels based on how they follow each other in the game, and optionally outputs some sort of a visualization based on that would be insanely helpful.

View attachment 502875

Something to work on if anyone here is familiar with Ren'Py and has too much free time on their hands.
Dunno about the visualization, but it should be fairly simple to extract each labels data out into individual files. From there, could generate a table of each jump entry from within that label. Then join them. . .

Edit: having each label as its own file would also help identify which variables are referenced for each scene.
 

Herysa Archie

Newbie
Sep 17, 2017
23
2
Is it just me or the android version of the game doesn't work? Anyone else got the same problem?
I can't even install the game.
 
Last edited:

ckkm3

Newbie
Aug 13, 2017
63
128
Issue. The game won't save. (The PC version) It just won't let me!
Likely caused by a corrupted install/haywire mods/etc. Install/extract the game to a brand new folder and try to run it there and see if that fixes it.

Edit: Keep it stock -- try it before running unren etc.
 

ckkm3

Newbie
Aug 13, 2017
63
128
I doubt Ren'Py has a built in function for this (you'd probably have to delve pretty deep into AST shit or make your own parsing script) but a variant which creates a tree of labels based on how they follow each other in the game, and optionally outputs some sort of a visualization based on that would be insanely helpful.

View attachment 502875

Something to work on if anyone here is familiar with Ren'Py and has too much free time on their hands.
Got a script extracting labels into unique files for further processing.

Wait. . .it froze on a file. . .what?

Oh, right. Just 18000 lines of manual variable declarations instead of sensible math for the crab minigame that nobody likes. Dope.
1577848976977.png
 
Last edited:
  • Like
Reactions: kanatik_
D

Deleted member 436513

Guest
Guest
Got a script extracting labels into unique files for further processing.

Wait. . .it froze on a file. . .what?

Oh, right. Just 18000 lines of manual variable declarations instead of sensible math for the crab minigame that nobody likes. Dope.
View attachment 503077
Heh. Check out the code for the blackjack game from Book 2 if you haven't already, that's always fun.

If you're serious about working on this thing btw, it might be worth looking into the actual Ren'Py parser before doing anything. As far as I remember it does store things like lines, labels, jumps and variables in some kind of data structure, so there might already be a list containing every label as a list of dictionaries or something similar.
 

ckkm3

Newbie
Aug 13, 2017
63
128
Heh. Check out the code for the blackjack game from Book 2 if you haven't already, that's always fun.

If you're serious about working on this thing btw, it might be worth looking into the actual Ren'Py parser before doing anything. As far as I remember it does store things like lines, labels, jumps and variables in some kind of data structure, so there might already be a list containing every label as a list of dictionaries or something similar.
Ooh. Checking it out.
 

ckkm3

Newbie
Aug 13, 2017
63
128
Heh. Check out the code for the blackjack game from Book 2 if you haven't already, that's always fun.

If you're serious about working on this thing btw, it might be worth looking into the actual Ren'Py parser before doing anything. As far as I remember it does store things like lines, labels, jumps and variables in some kind of data structure, so there might already be a list containing every label as a list of dictionaries or something similar.
Got my script working and completed (with parallel processing, ooOOooOoo) and have the individual labels as .rpy files. Attached in case you want to take a peek. Previous upload was only half-complete because of a dumb logic error in my script (skipped every other label because stupid). Edit: removed some test labels I was using that aren't stock.

Included the label separator powershell script for reuse/posterity.


Haven't looked enough into the renpy parser to see if it can be used for mapping specifically.
 

Nickzz235

Newbie
Sep 9, 2018
37
79
so 4 month / 80,000$ of worth just to get water tribe sub-chapter, messy code but still wanted to push those siege mini-game (no wonder coder got burn-out). grateful for the update, but at least I know what to expect for the next update, maybe around april.
 
4.50 star(s) 287 Votes