30 Second AutoReload Times While Coding[CLOSED]

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.
Post Reply
Message
Author
User avatar
Geckos
Veteran
Posts: 471
Joined: Fri Aug 17, 2012 8:33 am
Completed: Brilliant Shadows, Perceptions of the Dead, The Phantom Icecream Truck
Projects: Embers of Magic, Pale Spectrum, Perceptions of the Dead
Organization: Ithaqua Labs
Tumblr: geckosart
Deviantart: sitaart
Contact:

30 Second AutoReload Times While Coding[CLOSED]

#1 Post by Geckos »

As my game has been getting larger the reload time for it has been increasing as well. It takes about 20-30 seconds to open from Ren'Py Launcher and about as long to reload the game when I'm coding it as it's set to autoreload whenever I save.


It started doing this before my game was around 180mb and now it's around 240mb in size.

Note: The game also soft crashes if I make another change/save before the 1st one is done reloading. It just sits on the Reloading screen forever until I close out of the game and reopen it.

The long reload times make it very hard to make tiny tweaks, and in general makes it slow down coding a great deal.

Is this normal? Just something to be expected as I work on larger games, or is there anything I can do to troubleshoot this?
Last edited by Geckos on Fri Oct 09, 2015 7:15 pm, edited 1 time in total.
Image ImageImage

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: 30 Second AutoReload Times While Coding

#2 Post by PyTom »

You can look at log.txt to see what's taking the time. It usually isn't this slow.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Geckos
Veteran
Posts: 471
Joined: Fri Aug 17, 2012 8:33 am
Completed: Brilliant Shadows, Perceptions of the Dead, The Phantom Icecream Truck
Projects: Embers of Magic, Pale Spectrum, Perceptions of the Dead
Organization: Ithaqua Labs
Tumblr: geckosart
Deviantart: sitaart
Contact:

Re: 30 Second AutoReload Times While Coding

#3 Post by Geckos »

PyTom wrote:You can look at log.txt to see what's taking the time. It usually isn't this slow.
Is this bit the total load time?

Code: Select all

Thu Oct 08 22:25:25 2015
Windows-8-6.2.9200
Ren'Py 6.99.6.739
 

Bootstrap to the start of init.init took 0.08s
Early init took 0.01s
Loader init took 0.03s
Loading error handling took 0.02s
Loading script took 0.27s
Loading persistent took 0.20s
Importing _renpysteam: ImportError('No module named _renpysteam',)
Running init code took 0.12s
Loading analysis data took 2.39s
Analyze and compile ATL took 0.05s
Index archives took 0.00s
Dump and make backups. took 0.04s
Cleaning cache took 0.00s
Making clean stores took 0.00s
Creating interface object took 0.05s
Cleaning stores took 0.00s
Init translation took 0.01s
Build styles took 0.00s
Load screen analysis took 0.03s
Analyze screens took 0.00s
Save screen analysis took 0.00s
Prepare screens took 0.04s
Save pyanalysis. took 0.00s
Save bytecode. took 0.00s
Running _start took 0.00s
Interface start took 0.02s
Image ImageImage

User avatar
Geckos
Veteran
Posts: 471
Joined: Fri Aug 17, 2012 8:33 am
Completed: Brilliant Shadows, Perceptions of the Dead, The Phantom Icecream Truck
Projects: Embers of Magic, Pale Spectrum, Perceptions of the Dead
Organization: Ithaqua Labs
Tumblr: geckosart
Deviantart: sitaart
Contact:

Re: 30 Second AutoReload Times While Coding[CLOSED]

#4 Post by Geckos »

After discovering that my partner could open the same game in around 4 seconds, I went and deleted and reinstalled Ren'Py and now it opens and refreshes the game in just a few seconds. Mystery problem solved!
Image ImageImage

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Ocelot