ironwail icon indicating copy to clipboard operation
ironwail copied to clipboard

[FeatReq] autosave/ and screenshots/ should be organized diffrently

Open lavenderdotpet opened this issue 2 years ago • 4 comments

autosave/ should either be saved in as a .autosave/ [hidden folder]

or the way i would prefer in /home/user/.local/share/ironwail/ screenshots/ should either do the same or put it in the dir the engine is running from and for windows u could go the route of putting stuff in the Documents\ folder its just annoying to keep having to delete the auto saves folder from my mod dir

lavenderdotpet avatar Nov 30 '23 19:11 lavenderdotpet

I'm not fond of creating more hidden files, but I do like the idea of using a subdirectory of $HOME/.local/share ala the XDG proposal instead of polluting the mod directory.

In the meantime, there is a script I wrote that strips out extraneous files

====

However, theoretically assets (the entirety of the .ironwail directory) should be under $HOME/.local/share... perhaps generated files could go to $HOME/.cache?

4LT avatar Nov 30 '23 20:11 4LT

yeah i prefer the freedesktop specifications setup i just said the top one if they wanted to do the bare minimum

id also suggest addons.json and addons.url.dat should also go into ./local/share/ironwail image

lavenderdotpet avatar Nov 30 '23 21:11 lavenderdotpet

What about implementing fs_savepath to give the user the option to specify a write path, in the manner that later Quake/idTech engines do?

mmillar-bolis avatar Dec 06 '23 03:12 mmillar-bolis

honestly, I would love a -userdir command-line argument to specify the folder where ironwail.cfg, autosaves, screenshots etc go.

Not only will this not pollute mod directories, it also lets us use the same settings file for multiple mods.

Ideally, the engine would load cfg files in -userdir first, then would use the XDG path, then the mod directory, so mod developers can include autoexec.cfg and etc to apply various needed settings without interrupting our user configs.

tunbridgep avatar Dec 16 '23 00:12 tunbridgep