Skip to content

Conversation

@pogman-code
Copy link
Contributor

The miyoogamelist_gen script used rompath as basepath instead of gamelist.
This was fine for most systems since rompath is usually at the root of /Roms/<system> but it is problematic with systems with unusual structures (such as SCUMMVM, see below).

        ...
	"rompath":	"../../Roms/SCUMMVM/Shortcuts_Standalone",
	"imgpath":	"../../Roms/SCUMMVM/Imgs",
	"gamelist":	"../../Roms/SCUMMVM/miyoogamelist.xml",
        ...

fixes #1816

@andremedeiros
Copy link

This is what I get when I run your updated script:

/mnt/SDCARD/Roms # /mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create ../../Roms/SCUMMVM/miyoogamelist.xml: nonexistent directory
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: cd: line 103: can't cd to /.../../App/Search/data
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create /miyoogamelist.xml: Read-only file system
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create /miyoogamelist.xml: Read-only file system
/mnt/SDCARD/.tmp_update/script/miyoogamelist_gen.sh: line 103: can't create /miyoogamelist.xml: Read-only file system

@pogman-code
Copy link
Contributor Author

This is what I get when I run your updated script:

Thanks for the feedback, I pushed an update, could you test it? I don't have a lot of experience with SCUMMVM so I am not sure my tests with it matches a real use case :D

@andremedeiros
Copy link

Update: @pogman-code tested the new fix on my device and it worked perfectly, so this should be good to go!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

miyoogamelist_gen.sh misplaces miyoogamelist.xml and fails to match Skraper’s image folder structure for SCUMMVM

2 participants