Hello fellow colonists of this rimworld!
Latel i've been adding many mods to my game, and the loading times went from a minute to two in the vannila game to almost 25m now, with all the mods installed, is it possible to lower the loading times? 25m is just way too much.
25 minutes, are you being serious? You've timed it? Something's badly off with the mods you run. Even 1-2 minutes for vanilla is a long time to load, you might consider upgrading your hardware. An SSD drive is one of the cheapest improvements any computer can get, even laptops.
My load time for the largest map size possible, with a 5+ year running colony, was about 20-30 seconds. About a dozen or so mods.
I've noticed that if you tab out and just hover over tab checking if its loaded it will always show that is still loading until you fully maximise game window, maybe thats your issue, you just tab out of the game while loading and just hovering to see if its loaded ( something I do as well )
Quote from: Smikis on April 07, 2015, 08:49:03 AM
I've noticed that if you tab out and just hover over tab checking if its loaded it will always show that is still loading until you fully maximise game window, maybe thats your issue, you just tab out of the game while loading and just hovering to see if its loaded ( something I do as well )
This may be the culprit. There's an option to run the game in the background that's deselected by default. It won't load if you minimize unless that's turned on.
I remember reading awhile back about VPN programs (hamachi, tuungle, ect) causing some serious increase of loadtimes. I used to have god-awful loadtimes like yours, but after removing every VPN program I had installed, it went from 5-10 minutes to around 30-60 seconds.
So yeah, if you have anything like that installed, uninstall it and try again.
Modded with 50+ mods takes 2 mins max...something is wrong, that isnt normal. Not sure what bar the above checks though.
My game takes a few minutes to load, enough that I can go make a quick sandwich and still be back in time to catch it loading in. Didn't do that before with A7, even on a 3 year colony that ran like crap with TTM and a whole lotta extras
Same problem as Goo Poni, a few alphas back loading was fine, now it takes some minutes to load. I can tell when the loading is almost done though, I can hear the geothermals starting up ^^
Unfortunately there seems to be a bug in the Unity code that loads images and sounds for mods that can make it take up to 20s per image.
https://ludeon.com/mantis/view.php?id=506
I may have to write some new code to work around the Unity image loading code entirely because yeah, it's pretty bad.
Yikes. That's a heck of a loading time/bug. I think I'd leave the game running all the time if I had that happen.
I guess i'll try to stop running skype and bittorrent to see how my loading times roll, also, I meant the time it takes for the game to start(double-click the .exe until main menu, the game itself once loaded takes 40s at max to load a save), let's see how allowing it to run in background affects my loading times, thanks for the answers ;D
Don't see any noticeable difference when not running VPN programs, also toggling on to run on background makes no difference on the startup time or the time it takes to open/close the mods menu
I found a blog post (http://blogs.unity3d.com/2015/01/10/curious-case-of-slow-texture-importing-and-xperf/) on this issue, by the way. :)
At least, I'm guessing it is, based on the symptoms.
So i've decided to realltime how long it takes to load my game, from starting the application until the main menu, my original mod list is http://pastebin.com/KWDvdBtY]here (http://pastebin.com/KWDvdBtY).
So I decided to time how long it takes to load this list, and when it hit 36m I gave up, so my max time is 36m.
Measuring time until main menu:
- Base game no mods on the list: 29s(30s for reference);
- Base game with 1 mod(3D Print Guns & Armors(1.01) (https://ludeon.com/forums/index.php?topic=10862.0))=45s(+15s) :o;
- Base game with 2 mods(Less Incident Trolling V 1.2.3 (https://ludeon.com/forums/index.php?topic=6892.0))=45s, I guess overhaul mods don't need to load textures so the blog post from MarvinKosh explains this result;
- Base game with 3 mods(Auto-hunt Beacon v2.0 (https://ludeon.com/forums/index.php?topic=8930.0))=1m 5s(+20s), didn't read the requirements on the forum post, i'll add the mod mentioned and see if the time improves;
- Base game with 4 mods(Common(CY) (https://ludeon.com/forums/index.php?topic=11949.0))=1m 5s, no change, I'm guessing times only gets worse if the mods adds any graphics, staying true to the blog post again;
- Base game with 5 mods(Cybernetic Storm v3.5 (https://ludeon.com/forums/index.php?topic=7970.0))=6m 49s(+5m 44s) :o :o :o, now that's unexpected, bad thing is I enjoy this mod very much, as a matter of fact i was gathering enough cloth to make the nanosteel basing from it :-\, the blog post states loading times of textures so perhaps if i compress the mod image files it can get smaller?;
- Full modded game: 36m+.
Now i'll enable the mods one at a time and see which one adds the more startup time.
Just noticed a major flaw in my testing methodology from above, i was adding all mods, one at a time and the time kept scaling up, although what i wanted to know in reality was how long that mod took to load, not how long the whole game took to load, as such from now on i'll only add the mod mentioned and subtract from the base, that way I can get results faster:
Same settings as up except that i subjected all imaged from cybernetics storm mod to the .png compressing service of this website (https://tinypng.com/)=
6m 48s(-1s) from previous time :'(
try deleting the texture folder, itll error but see if its any quicker.
^
^
^
Basically the Unity image loader reads in three bytes at a time, with no buffer. At least that's what I read. Understandably, this means textures take far longer to load than they should.
Yeah, I'm going to try to fix this bug for A10.
Unfortunately it'll mean working around some breakage in Unity. Got to see if I can read PNG files using my own code without touching the Unity stuff.
everything i read about that bug stated it was in the editor only, are you sure its the same bug, im sure there is something wrong but is it this exact issue?
Quote from: skullywag on April 09, 2015, 02:31:02 PM
everything i read about that bug stated it was in the editor only, are you sure its the same bug, im sure there is something wrong but is it this exact issue?
Editor only? I've never seen this bug in the editor, actually. So yes I'm quite sure.
Strange. Before, I was able to start the game up in a few seconds and it was just the actual loading into a game that took a little while, checking the mod folder also took a little while as well. But now, Rimworld has just been taking it's time to load up at all. I deleted my mod config and after leaving it for a few minutes, I got to the main menu. Re-enabled my mods and... well it's been mulling that over for the better part of an hour now. It is still working, trying to load assets (http://puu.sh/h7E4b/3e6fde9cf0.png), but it's going about it so slowly. Not sure what I changed to make Rimworld wanna act differently today. A restart didn't do much for me either.
Quote from: Tynan on April 09, 2015, 02:38:18 PM
Quote from: skullywag on April 09, 2015, 02:31:02 PM
everything i read about that bug stated it was in the editor only, are you sure its the same bug, im sure there is something wrong but is it this exact issue?
Editor only? I've never seen this bug in the editor, actually. So yes I'm quite sure.
theres a comment on that blog post from the author stating its in the editor only, hence me saying yes you have an issue but are you sure its this.
I didn't see that when I was reading the first time. Still, as Tynan says, he'd noticed a Unity problem with images before. Some of the performance testing steps in the article could be useful to determine where the problem lies and evaluate the fix code.
I've reworked the code (circumventing Unity) so this should be addressed.