Opened 3 years ago

Last modified 2 months ago

#9664 new defect

Conf parameter still creates files in %appdata%

Reported by: lwcorp Owned by:
Priority: normal Component: Port: Win64
Keywords: portable Cc:
Game:

Description

Using --config="conf\scummvm.ini" means I get to use a portable version for an INI file under ScummVM's own folder.

But using it still creates %appdata%\ScummVM.
Under it are Logs and Saved games.
The former contains scummvm.log and the latter is empty, probably because the portable scummvm.ini contains alternative locations for extrapath and savepath.

Change History (6)

comment:1 by csnover, 2 years ago

Keywords: conf config removed

comment:2 by digitall, 14 months ago

Component: ToolsPorts

comment:3 by digitall, 14 months ago

This is for usage of ScummVM as a portable application, so it needs to not create files outside of it's own installation folder:
https://en.wikipedia.org/wiki/Portable_application

This is mainly for Win32 when running off a USB stick, but ensuring this kind of operation is useful for debugging / development even on other operating systems.

comment:4 by digitall, 14 months ago

Component: PortsPort: Win32

comment:5 by lwcorp, 3 months ago

Component: Port: Win32Port: Win64

Actually it's true for Win64 too (which so far only exists as a daily build).
It's a bit ironic that the forbidden scummvm.log documents "Using configuration file: conf\scummvm.ini" which could have been an indicator that there's a folder clash.

I wonder if what this ticket describes is part of what stopped the ScummvVM PortableApps version.

Last edited 3 months ago by lwcorp (previous) (diff)

comment:6 by henke37, 2 months ago

Keywords: portable added
Note: See TracTickets for help on using tickets.