|
Crash
Oct 1, 2017 11:37:17 GMT -8
Post by jesusalva on Oct 1, 2017 11:37:17 GMT -8
Still on topic about memory leaks, this can be somewhat prevented by casting Python function
renpy.free_memory()
after and before a battle. Just like Magpie said. Also, quoting Ren'Py website, this function is “Useful before running a renpygame-based minigame.”
An ack-grep on Beta 7.2 returned that this function is (most probably) never called. If you haven't tried before, you should consider giving this function a go. (It shouldn't take more than two script lines, anyway, and I'm 100% sure it was already mentioned before)
|
|
|
Post by jesusalva on Sept 25, 2017 20:28:56 GMT -8
>how the sunrider crew survived Well, it barely did. How many men that blasted boat had on board and how many we know have survived? Seven out of how many, hundreds? I think that PACT ship was distracted with blasting other life pods from the sky (potentially hundreds of them), which allowed the girls to snatch the important ones away. The Sunrider can (or could?) be operated with a crew of just fifty. (That's what Ava told me, anyways) While it is rather unlikely to be on minimum capacity, you can expect that the crew would not be above 300 (random guess). That doesn't seems to be correct, because PACT said “Captain, we detect enemy escape pods.” in plural. Also, by the background, you can judge a few pods had to be launched, not just one. Besides, the PACT officer told to prepare to fire on his mark. A cutscene (let's ignore it), and next thing is PACT reporting the ryders approach. After that, the ryders are instructed to protect the life pods. It is also worthy noticing that previously, Fontana told about correcting wrong ways, and later Kuushana says: “mistreating prisoners of war” in the list of sins. Therefore, it is a possibility that the officer hesitated before murdering people who were fleeing defenseless. There's even the odd that the PACT Officer didn't wanted to kill anyone - he/she is a human, right? - So when enemies appeared, the decision was to focus on fighting where honor is. As for survival odds, Icari says “"What!? But we just finished tying up all the life pods!"” before Asaga rushing to Kayto. Therefore, it's secure to assume that most if not the whole crew survived. ...Well, this is how I've read this scene, at least.
|
|
|
Post by jesusalva on Sept 25, 2017 20:12:14 GMT -8
this tends to happen on Linux, not sure why I also don't really have any idea why this would happen. I recommend trying to run the game through an emulator or something It's not “No idea why this would happen”, it's called “poorly written code.” If you are stuck with version 3.00, all you need to do is change game/functions.rpy", around line 1885 from x = [x for x in renpy.list_files() if 'Character' in x and '.png' in x] to x = [x for x in sorted(renpy.list_files()) if 'Character' in x and '.png' in x] After all, an OS is not forced to serve the files in alphabetical order. sorted() function fixes this. This is actually a simple bug but took me some prints to figure it out. Seriously, you should try to get a virtual machine. Or even install Linux with dual-boot xD I also... hope this is fixed in latest build. Eh. I'm definitely NOT going to check.
|
|
|
Post by jesusalva on Sept 25, 2017 7:35:03 GMT -8
SOLVED!!!!! So... All the files in the two folders darwin-x86_64 and linux-x86_64 as well as in the MacOS were supposed to be executables, yet for some reason when I got them they were all simply text files. Converting them into executables fixed them completely. Game runs fine as far as I can tell. And I guess for future reference, chmod +x in Terminal with all the files after it converted them to executables. And probably a problem with my comp, turning them all into text files instead of executables. This is a common error if someone extracts the file Ren'Py generates on a Windows computer. Windows does not know about permission, that exist only in Linux and Mac. Therefore, if you uncompress in Windows and compress it again - regardless if you did any changes - permission will not be saved, and the .sh file won't run. There is also lib/ folder to care about. It should have a file with the same name as the sh file (without extension). Marking it as executable too should make the game run, both on Linux and on Mac. Another viable alternative is replacing all files but game/ folder with one provided by Ren'Py. You can check on game/script_version.txt what Ren'Py version is expected. Uhm... hope to be of help?
|
|