ZeroK-RTS / Chobby

Spring RTS Ingame lobby project
17 stars 38 forks source link

Ugly loading of chobby #283

Closed let4be closed 7 years ago

let4be commented 7 years ago

wtf

I see this sh*t for like 2 seconds even with SSD can we do something about it?

GoogleFrog commented 7 years ago

Not without an engine change. The screen occurs before anything that we have control over.

See https://springrts.com/mantis/view.php?id=5632

gajop commented 7 years ago

This is better than just freezing the application. I'm not sure how much can be changed engine-side easily, as you probably can't load the archive before VFS is initialized.

GoogleFrog commented 7 years ago

Engine should have a reasonably nice default screenshot and better text placement. Then I'd like it to read an image (configurable path in springsettings?) and display that instead of its screenshot.

gajop commented 7 years ago

That makes sense. Try to mantis is somewhere if you haven't already.

Licho1 commented 7 years ago

There could be stuff that is not in VFS to be displayed.. for example "base load screen.png" in the data folder (and not in archives) .. engine could just show that.

GoogleFrog commented 7 years ago

Fixed with loadscreen.

let4be commented 7 years ago

I see exactly the same just in smaller white text in the bottom part of the window... How is it fixed?...

GoogleFrog commented 7 years ago

There is also a splashscreen.

let4be commented 7 years ago

loading window still looks totally empty for me, just black empty window with that text werent u going put some background image here or something?...

GoogleFrog commented 7 years ago

Are you running chobby in the standard way?

let4be commented 7 years ago

yea, just opening as I always did (installed from zero-k site) But I did not do a fresh install, but it updated itself a couple of times

edit: just checked once again - same stuff with black screen window during loading (the only difference with initial screenshot is smaller white text located at window's bottom, everything else is exactly the same)

GoogleFrog commented 7 years ago

Do you have a folder called MenuLoadscreens and is anything in it?

GoogleFrog commented 7 years ago

Do you have MenuLoadscreens set as a config value for an appropriate looking key in springsettings?

let4be commented 7 years ago

C:\Users\dev\Documents\My Games\Zero-K\MenuLoadscreens there is file loadscreen.png here

there is no mention of MenuLoadscreens in springsettings.cfg

I think I get it, I told chobby to use my custom springsettings.cfg, could it be because of it? why do we store such config information in springsettings.cfg? isn't it supposed to be used for ingame-only configuration?

let4be commented 7 years ago

hrm, just tried unchecking "neuter settings" and it did not solve the problem

gajop commented 7 years ago

It's not possible to make it game-only as game archives are not yet loaded when that screen is displayed.

I think I get it, I told chobby to use my custom springsettings.cfg, could it be because of it? Quite possibly. If settings were changed outside of Chobby, it kinda voids warranty imo. Please try from a fresh install.

let4be commented 7 years ago

Thanks, will do

GoogleFrog commented 7 years ago

This will be your problem: https://github.com/ZeroK-RTS/Chobby/blob/master/LuaMenu/configs/gameConfig/zk/defaultSettings/springsettings.cfg#L60

With neuter settings disabled that key would have been added to your springsettings on the relevant update. It should be added once you restart chobby with neuter settings disabled.

let4be commented 7 years ago

adding this line manually fixed the problem disabling neuter settings did not fix it automatically though...

gajop commented 7 years ago

Neuter settings not effective enough (make new issue?). Perhaps it's not removing your old settings, such as the custom data dir (with custom spring settings). Or something.