Hi. It would be awesome if the data stored on the Roaming folder (folders "Logs" & "Saved games" and the scummvm.ini), were located on the same folder where SVM is, so that way it can be used as portable on a USB thumbdrive, and leave no traces when is used on a different computer.
In part, I've solved it creating a shortcut with the -c parameter pointing to the .ini that I have in the install folder (ScummVM.exe -c scummvm.ini), so its not created anymore on Roaming, but still are created the folders "Logs" and "Saved games" (which I've already assigned it with "savepath=F:\Games\Saved" on scummvm.ini). Using WinHex and replacing "\Saved games" (Hex: 5C53617665642067616D6573) with zeros fixed that and the folder is no longer created, while the autosaves and saved games are stored on the path assigned on the .ini file. However, the Logs folder still is created; there should exist a checkbox for let the user choose if want that Logs files are created o not, like Stella has. Till then, I'll add the "C:\Users\UserName\AppData\Roaming\ScummVM" path to CCleaner for remove it.
SVM Portable - No more "Logs" & "Saved games" folders
Moderator: ScummVM Team
-
- Posts: 3
- Joined: Fri Feb 21, 2020 5:39 pm
Re: SVM Portable - No more "Logs" & "Saved games" folders
create .bat
.ini example:
[scummvm]
savepath=.\Saved games
[comi-es]
path=.\games\Monkey Island 3 - The Curse of Monkey Island
dimuse_tempo=10
description=Monkey Island 3: The Curse of Monkey Island
mute=false
speech_volume=192
talkspeed=60
engineid=scumm
subtitles=true
gameid=comi
language=es
object_labels=true
sfx_volume=192
music_volume=192
platform=windows
music_driver=auto
opl_driver=auto
speech_mute=false
guioptions=sndNoMIDI noAspect lang_English
[dig-es]
path=.\games\The Dig
dimuse_tempo=10
description=The Dig
mute=false
speech_volume=192
talkspeed=85
Code: Select all
@echo off
start scummvm.exe --no-console -c ".\scummvm.ini"
[scummvm]
savepath=.\Saved games
[comi-es]
path=.\games\Monkey Island 3 - The Curse of Monkey Island
dimuse_tempo=10
description=Monkey Island 3: The Curse of Monkey Island
mute=false
speech_volume=192
talkspeed=60
engineid=scumm
subtitles=true
gameid=comi
language=es
object_labels=true
sfx_volume=192
music_volume=192
platform=windows
music_driver=auto
opl_driver=auto
speech_mute=false
guioptions=sndNoMIDI noAspect lang_English
[dig-es]
path=.\games\The Dig
dimuse_tempo=10
description=The Dig
mute=false
speech_volume=192
talkspeed=85
Re: SVM Portable - No more "Logs" & "Saved games" folders
Also about a month ago I added the possibility to specify the path for the log file:
I have not tested it, but I think it should work if you set it in the scummvm.ini file as well.
This is available in recent daily builds and will be in the next release as well.
Code: Select all
scummvm.exe --logfile=.\scummvm.log
This is available in recent daily builds and will be in the next release as well.
- Raziel
- ScummVM Porter
- Posts: 1539
- Joined: Tue Oct 25, 2005 8:27 am
- Location: a dying planet
- Contact:
Re: SVM Portable - No more "Logs" & "Saved games" folders
Can this be made into a launcher/.ini option aswell?
I don't start scummvm from console, but always loose focus of the game window when some debug stuff gets printed.
I don't start scummvm from console, but always loose focus of the game window when some debug stuff gets printed.
Re: SVM Portable - No more "Logs" & "Saved games" folders
This is already in the .ini file, and as I wrote above I think it should work if you manually edit your ini file to add it.
However this option does not prevent messages being printed in a console or terminal. By default the SDL backend sends those both to stdout/stderr and to a log file. This option only controls where that log file is created.
However this option does not prevent messages being printed in a console or terminal. By default the SDL backend sends those both to stdout/stderr and to a log file. This option only controls where that log file is created.
- Raziel
- ScummVM Porter
- Posts: 1539
- Joined: Tue Oct 25, 2005 8:27 am
- Location: a dying planet
- Contact:
Re: SVM Portable - No more "Logs" & "Saved games" folders
Ah, should have correctly used my glasses then...sorry, next time i'll think of it, promise
Thank you
Thank you