RanTao549

Newbie
Sep 9, 2018
57
92
He probably typed too fast. I know I've done that a few times with Javascript.
Open up that file (game/script Locations.rpy) and on line 652 (Note that it's line 652, not 653), change this:
Code:
 while Present > 2:
to this:
Code:
 while len(Present) > 2:
"Present" is an array/list and he forgot to compare it to the length of the array on 652 but did so on 655.
Do you know what the Mac equivalent to that particular file would be? I'd use the Windows version myself but I'm temporarily stuck with a mac at the moment.
 

sleepingkirby

Active Member
Aug 8, 2017
831
1,317
Do you know what the Mac equivalent to that particular file would be? I'd use the Windows version myself but I'm temporarily stuck with a mac at the moment.
Yes, actually. I use to help admin a mac lab.

So, first off, if you didn't know, a .app file is actually not a file but a folder. You need to navigate into it.

Forgive the windows screen shot as I'm on my windows partition atm to update the PALF cheat injector, but this is the path you need to get into this path to find the archive.rpa file
Screenshot (19).png

archive.rpa is a file in an archive format that you'll need rpatool (or unren) to extract. Once you've downloaded rpatool, you just need to run:
./rpatool -x archive.rpa
(don't forget to add execution privilege to rpatool if it doesn't have it.
chmod a+x ./rpatool
is the unix command)
Once that's, essentially, unzipped, you'll be able to see the file "script Locations.rpy" in that folder.


Actually, while you're there (in the games folder via terminal), you might as well run:
find . -iname "*.rpy" -exec grep -Hwin "DorrenX" {} \;

that will tell you which files Oni typo'ed DoreenX into DorrenX so you can go fix that.
 
Last edited:

imzahai

Active Member
Apr 19, 2019
948
1,284
d version as in v1.51d is 10 levels of Shyte for me, it crashes anytime i go into the classroom, regardless of which time; as soon as i select where to sit [wether with someone, between, or neither] endless loop of crashing...
i had to rollback to version C to get those crashes to stop.

or is this i sign that i have no class??
 

Ray666

New Member
May 27, 2018
10
34
d version as in v1.51d is 10 levels of Shyte for me, it crashes anytime i go into the classroom, regardless of which time; as soon as i select where to sit [wether with someone, between, or neither] endless loop of crashing...
i had to rollback to version C to get those crashes to stop.

or is this i sign that i have no class??
A sign you ought to be crass.
 
  • Haha
Reactions: slowpersun
Oct 6, 2022
66
64
Let's just keep this to Evolution-canon babes of babelicious babeorigin:

Amara Aquilla: Magma-----------------------Rahne Sinclair: Wolfsbane
View attachment 3517781 View attachment 3517784

Raven Darkholme: Mystique-----------------Wanda Maximoff: Scarlett Witch
View attachment 3517787 View attachment 3517798

Tabitha Smith: Boom Boom-----------------Callisto/Japanese porn arms
View attachment 3517802 View attachment 3517829

Danielle Moonstar: Kitty's dream girl-------Viper/Madame Hydra/Evo's Shego
View attachment 3517808 View attachment 3517813

Taryn Fujioka/Miss Handjob-----------------Gabrielle Haller/cucking Xavier
View attachment 3517816 View attachment 3517817

Amanda Sefton/Like's fuzzy dick------------"Margali" Sefton/Not Kurt's Adopted mom no pseudo-incest kink
View attachment 3517822 View attachment 3517821
No matter where the new girls come from, whether they come from the comics or the cartoon, they will all end up in Zero's harem.
 

Nast33

Newbie
Jul 1, 2017
60
52
He probably typed too fast. I know I've done that a few times with Javascript.
Open up that file (game/script Locations.rpy) and on line 652 (Note that it's line 652, not 653), change this:
Code:
 while Present > 2:
to this:
Code:
 while len(Present) > 2:
"Present" is an array/list and he forgot to compare it to the length of the array on 652 but did so on 655.
Thanks for the advice, if I'd decided to engage more with this I'd probably have figured it out by checking what looks out of place around those mentioned lines in the error message, but it's honestly more work than it deserves.

I still unpacked the archive after reading your comment and edited the line, but RPA Extractor apparently missed some files and the game threw errors at launch about missing shit - didn't even read this time, fuck this and I'll wait for a stable release not fixed by me.
 

imzahai

Active Member
Apr 19, 2019
948
1,284
Thanks for the advice, if I'd decided to engage more with this I'd probably have figured it out by checking what looks out of place around those mentioned lines in the error message, but it's honestly more work than it deserves.

I still unpacked the archive after reading your comment and edited the line, but RPA Extractor apparently missed some files and the game threw errors at launch about missing shit - didn't even read this time, fuck this and I'll wait for a stable release not fixed by me.
here is the edited rpy file.
also use UNREN
always use UNREN
 
  • Like
Reactions: 4ereNok and Nast33

Nast33

Newbie
Jul 1, 2017
60
52
here is the edited rpy file.
also use UNREN
always use UNREN
That was nice of you, you didn't have to bother yourself attaching the file. Editing it was simple enough, problem was the shit tool I had, since for some reason I hadn't found the superior unren which is so clean and simple I can't even. Everything was properly unpacked and Rpa extractor has been deleted, thanks.
 
  • Like
Reactions: imzahai and 4ereNok

sleepingkirby

Active Member
Aug 8, 2017
831
1,317
That was nice of you, you didn't have to bother yourself attaching the file. Editing it was simple enough, problem was the shit tool I had, since for some reason I hadn't found the superior unren which is so clean and simple I can't even. Everything was properly unpacked and Rpa extractor has been deleted, thanks.
I was surprised to read this. I've been using rpatool for literal years and never had problems. SLDR's cheat injector actually embeds it as part of the script:


Rpatool isn't even a binary either. It's just a python script. You can literally open it in a text editor and read through what it's doing to reproduce it. I'm surprised a web-based tool like rpa extractor got it so wrong.

Oh, also, renpy has a pretty good feature that it'll look for a source file in several places before saying it can't find it. Like you could extract just the files you want to modify from the archive.rpa and, as long as you keep the archive.rpa where it was, it'll find the rest of the game within the archive.rpa. So for what you described to have happened, you needed to both extract the archive.rpa badly AND have deleted/moved archive.rpa from it's original location.
 
Last edited:
  • Like
Reactions: Nast33
4.40 star(s) 154 Votes