eukara / freecs

Clean-room Counter-Strike 1.5 in QuakeC, using Nuclide SDK. Previously known as OpenCS! (2016)
https://www.frag-net.com/projects.html
ISC License
183 stars 16 forks source link

settings not saved #37

Closed atomGit closed 3 months ago

atomGit commented 4 months ago

i believe i have all the latest files from FreeHL, FreeCS and FTEQW as of today

starting game with: ./fteqw64 -game cstrike

in the configuration menu, none of the settings are saved when exiting the game (key binds for ex.)

(the same is true for ./fteqw64 -game valve)

eukara commented 4 months ago

Looks like cfg_save_auto being set to 1 by the menu is no longer being respected by the engine? I do force it to 1 upon menu init: https://github.com/VeraVisions/nuclide/blob/master/src/menu-fn/entry.qc#L119

atomGit commented 4 months ago

hmmm ... according to fteqw.org the last build was 10/23 and i'm pretty certain that settings were saved prior to the latest builds of FreeCS/HL

another thing i noticed is that a config.cfg is not created if it's missing (maybe that's intentional?)

atomGit commented 4 months ago

cstrike/config.cfg is read by FTE, but if i cfg_save the settings are written to fte.cfg

dunno if that helps sort things out or not

autoexec.cfg is read as expected but some settings are not applied, such as con_textsize - i tried adding that to different files in different directories but i couldn't get it to work

atomGit commented 3 months ago

looks like this is fixed