-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No longer able to use symlinks to roms #38
Comments
Thanks for the detailed report and PR. Valid claim. I assume it is ok for you if the relative path would be canonical (everything right of the caret below)? e.g:
I remember having some trouble when the |
I think so, yes |
I followed your reverting, and remembered why I did change it in the first place. Thus I addressed also the corner-case I noticed. |
Updated `aliasMap.csv` comments platform psp: added *.chd Dev Container support w/Dockerfile (Gemba#23) Co-authored-by: retrobit <6226450+retrobit@users.noreply.github.com> Rel 3.10.0 (Gemba#26) * simplified bash completion with built-in/provided functions... plus: - qmake: user defined install path - doc: minor enhancements * Prevention of very unlikely arithmetic overflow: Multiplication result converted to larger type Rel 3.10.0 (Gemba#27) * simplified bash completion with built-in/provided functions... plus: - qmake: user defined install path - doc: minor enhancements * Prevention of very unlikely arithmetic overflow: Multiplication result converted to larger type * Version 3.10.0 Fix issue 28 (Gemba#32) * simplified code with predefined function * Fix Gemba#28 Fix cont. integration workflo (Gemba#33) * update package index before install Being pedantic/consistent Pedantic/clarifying/consistent Removed file used for testing Reverted ES Game List scraper - doesn't make sense to use `aliasMap.csv` with this scraper Not sure why this keeps getting added... I avoid staging it purposefully. Removed. Scummvm: Changes to generate a ROM folder.svm/ as <game/> launcher instead of folder. (Gemba#35) * Scummvm: Changes to generate a ROM `folder.svm/` as `<game/>` launcher instead of folder. update README Update from RetroPie Project (2024-02-22) cf. RetroPie/EmulationStation#866 Cpp Std 17 Add new platforms (Gemba#37) Updated platforms_idmap.csv and peas.json Update docs: - Removed passages about creating a symlink on RetroPie (now part of the scriptmodule). - Edit paragraph about bash_completion on RetroPie Fix Gemba#38 (Gemba#43) Plus cornercase solved: When default ES inputFolder is symlinked from /home/pi/RetroPie/roms to /home/pi/roms f.i. and user provides from that symlink downwards rom files on CLI. Version 3.10.2
Updated `aliasMap.csv` comments platform psp: added *.chd Dev Container support w/Dockerfile (Gemba#23) Co-authored-by: retrobit <6226450+retrobit@users.noreply.github.com> Rel 3.10.0 (Gemba#26) * simplified bash completion with built-in/provided functions... plus: - qmake: user defined install path - doc: minor enhancements * Prevention of very unlikely arithmetic overflow: Multiplication result converted to larger type Rel 3.10.0 (Gemba#27) * simplified bash completion with built-in/provided functions... plus: - qmake: user defined install path - doc: minor enhancements * Prevention of very unlikely arithmetic overflow: Multiplication result converted to larger type * Version 3.10.0 Fix issue 28 (Gemba#32) * simplified code with predefined function * Fix Gemba#28 Fix cont. integration workflo (Gemba#33) * update package index before install Being pedantic/consistent Pedantic/clarifying/consistent Removed file used for testing Reverted ES Game List scraper - doesn't make sense to use `aliasMap.csv` with this scraper Not sure why this keeps getting added... I avoid staging it purposefully. Removed. Scummvm: Changes to generate a ROM folder.svm/ as <game/> launcher instead of folder. (Gemba#35) * Scummvm: Changes to generate a ROM `folder.svm/` as `<game/>` launcher instead of folder. update README Update from RetroPie Project (2024-02-22) cf. RetroPie/EmulationStation#866 Cpp Std 17 Add new platforms (Gemba#37) Updated platforms_idmap.csv and peas.json Update docs: - Removed passages about creating a symlink on RetroPie (now part of the scriptmodule). - Edit paragraph about bash_completion on RetroPie Fix Gemba#38 (Gemba#43) Plus cornercase solved: When default ES inputFolder is symlinked from /home/pi/RetroPie/roms to /home/pi/roms f.i. and user provides from that symlink downwards rom files on CLI. Version 3.10.2
Updated `aliasMap.csv` comments platform psp: added *.chd Dev Container support w/Dockerfile (Gemba#23) Co-authored-by: retrobit <6226450+retrobit@users.noreply.github.com> Rel 3.10.0 (Gemba#26) * simplified bash completion with built-in/provided functions... plus: - qmake: user defined install path - doc: minor enhancements * Prevention of very unlikely arithmetic overflow: Multiplication result converted to larger type Rel 3.10.0 (Gemba#27) * simplified bash completion with built-in/provided functions... plus: - qmake: user defined install path - doc: minor enhancements * Prevention of very unlikely arithmetic overflow: Multiplication result converted to larger type * Version 3.10.0 Fix issue 28 (Gemba#32) * simplified code with predefined function * Fix Gemba#28 Fix cont. integration workflo (Gemba#33) * update package index before install Being pedantic/consistent Pedantic/clarifying/consistent Removed file used for testing Reverted ES Game List scraper - doesn't make sense to use `aliasMap.csv` with this scraper Not sure why this keeps getting added... I avoid staging it purposefully. Removed. Scummvm: Changes to generate a ROM folder.svm/ as <game/> launcher instead of folder. (Gemba#35) * Scummvm: Changes to generate a ROM `folder.svm/` as `<game/>` launcher instead of folder. update README Update from RetroPie Project (2024-02-22) cf. RetroPie/EmulationStation#866 Cpp Std 17 Add new platforms (Gemba#37) Updated platforms_idmap.csv and peas.json Update docs: - Removed passages about creating a symlink on RetroPie (now part of the scriptmodule). - Edit paragraph about bash_completion on RetroPie Fix Gemba#38 (Gemba#43) Plus cornercase solved: When default ES inputFolder is symlinked from /home/pi/RetroPie/roms to /home/pi/roms f.i. and user provides from that symlink downwards rom files on CLI. Version 3.10.2
Updated `aliasMap.csv` comments platform psp: added *.chd Dev Container support w/Dockerfile (Gemba#23) Co-authored-by: retrobit <6226450+retrobit@users.noreply.github.com> Rel 3.10.0 (Gemba#26) * simplified bash completion with built-in/provided functions... plus: - qmake: user defined install path - doc: minor enhancements * Prevention of very unlikely arithmetic overflow: Multiplication result converted to larger type Rel 3.10.0 (Gemba#27) * simplified bash completion with built-in/provided functions... plus: - qmake: user defined install path - doc: minor enhancements * Prevention of very unlikely arithmetic overflow: Multiplication result converted to larger type * Version 3.10.0 Fix issue 28 (Gemba#32) * simplified code with predefined function * Fix Gemba#28 Fix cont. integration workflo (Gemba#33) * update package index before install Being pedantic/consistent Pedantic/clarifying/consistent Removed file used for testing Reverted ES Game List scraper - doesn't make sense to use `aliasMap.csv` with this scraper Not sure why this keeps getting added... I avoid staging it purposefully. Removed. Scummvm: Changes to generate a ROM folder.svm/ as <game/> launcher instead of folder. (Gemba#35) * Scummvm: Changes to generate a ROM `folder.svm/` as `<game/>` launcher instead of folder. update README Update from RetroPie Project (2024-02-22) cf. RetroPie/EmulationStation#866 Cpp Std 17 Add new platforms (Gemba#37) Updated platforms_idmap.csv and peas.json Update docs: - Removed passages about creating a symlink on RetroPie (now part of the scriptmodule). - Edit paragraph about bash_completion on RetroPie Fix Gemba#38 (Gemba#43) Plus cornercase solved: When default ES inputFolder is symlinked from /home/pi/RetroPie/roms to /home/pi/roms f.i. and user provides from that symlink downwards rom files on CLI. Version 3.10.2
Describe the bug
I have my roms on a samba share and mounted to my arcade machine at
/mnt/Emulation/MAME
. Under that I have various subdirectories for roms for different mame versions, such as/mnt/Emulation/MAME/mame-2010
.In my /home/pi/RetroPie/roms/arcade directory, I have symlinks to the appropriate roms, such as:
/home/pi/RetroPie/roms/arcade/romfile.zip -> /mnt/Emulation/MAME/mame-2010/romfile.zip
This used to work just fine and would result in the gamefile.xml file having a path to the rom as
/home/pi/RetroPie/roms/arcade/romfile.zip
(the location of the symlink) but now has/mnt/Emulation/MAME/mame-2013/romfile.zip
(the target of the symlink) along with some odd directories at the bottom of the file such as:This results in emulationstation not working properly and giving a ton of errors that look like:
It seems that 4aff225 is the root cause. Probably the change from using the absolute path to the canonical path around line 180 in the new file.
To Reproduce
See above
Expected behavior
The path to the symlink should be what is reflected in gamelist.xml file, not the target of the symlink which will break emulationstation.
Special circumstances
Described above
Terminal output
[Replace this text with any useful Skyscraper terminal output that might help clarify your issue. For longer output use pastebin.com, ix.io or similiar.]
Technical information
/opt/retropie/supplementary/skyscraper/Skyscraper -p arcade -g /home/pi/.emulationstation/gamelists/arcade -o /home/pi/.emulationstation/downloaded_media/arcade --flags unattend,skipped,videos
I've tried adding flags like relative and nosubdirs to no avail.Additional context
[Replace this text with any additional context that might help understand this issue better. Optional.]
The text was updated successfully, but these errors were encountered: