Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
zmook
- Veteran
- Posts: 421
- Joined: Wed Aug 26, 2020 6:44 pm
-
Contact:
#1
Post
by zmook » Sat May 15, 2021 12:44 pm
I am helping with a game that has got some rather slow reload times.
Code: Select all
Bootstrap to the start of init.init took 0.09s
Early init took 0.00s
Loader init took 0.20s
Loading error handling took 0.11s
Loading script took 2.80s
Loading save slot metadata. took 0.47s
…
Total time until interface ready: 7.06171584129s
The worst single offender is "Loading script", second worst is "save slot metadata". What can I do to get more information about what to fix?
There are 85 total .rpy files. The largest is 650 kB, and then there are several in the 200 kB range. Would it help to split them up? Is there any way to mark things to delay parsing?
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM
-
zmook
- Veteran
- Posts: 421
- Joined: Wed Aug 26, 2020 6:44 pm
-
Contact:
#2
Post
by zmook » Wed May 26, 2021 9:31 am
I'm still hoping someone has an answer to this question.
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM
-
emz911
- Regular
- Posts: 103
- Joined: Fri Jun 23, 2017 2:23 pm
-
Contact:
#3
Post
by emz911 » Wed May 26, 2021 1:31 pm
Tom has said that multiple smaller scripts load faster than a long one, so splitting them up probably would help.
I'll also wait here for more ways to reduce loading time because my game is huge and loads even longer lol!
-
zmook
- Veteran
- Posts: 421
- Joined: Wed Aug 26, 2020 6:44 pm
-
Contact:
#4
Post
by zmook » Tue Jun 01, 2021 8:39 am
I guess PyTom is the only one who can provide any more of an answer to this one, then. Anyone know how to politely draw his attention to it?
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM
-
henne
- Newbie
- Posts: 11
- Joined: Tue May 25, 2021 6:10 am
-
Contact:
#5
Post
by henne » Tue Jun 01, 2021 9:37 am
Guess, you could try using Discord?
Users browsing this forum: Google [Bot]