HFO4/gameboy.live

No such file or directory

ezrizhu opened this issue · 2 comments

I run gameboy on docker. docker run --name gbdotlive -v /[REDACTED]/gameboy:/data -p 1989:1989 shokinn/docker-gameboy.live

After selecting a game and press enter at the 'here is the controls' page, container crashes w/
open 'Pokemon - Red Version (USA, Europe).gb': no such file or directory in container log

drwxrwxr-x  2 eric eric 4.0K May 14 23:43  .
drwxrwxr-x 14 eric eric 4.0K May 14 23:30  ..
-rwxr-xr-x  1 eric eric 512K May 14 23:30 'Donkey Kong (JU) (V1.1) [S][!].gb'
-rwxr-xr-x  1 eric eric 512K May 14 23:30 'Legend of Zelda, The - Link'\''s Awakening (U) (V1.2) [!].gb'
-rwxr-xr-x  1 eric eric 1.0M May 14 23:30 'Pokemon - Red Version (USA, Europe).gb'
-rwxr-xr-x  1 eric eric  32K May 14 23:30 'Tetris (World).gb'
-rw-rw-r--  1 eric eric  348 May 14 23:40  gamelist.json

gamelist.json

[{
        "Title": "Tetris",
        "Path": "Tetris (World).gb"
}, {
        "Title": "Donkey Kong",
        "Path": "Donkey Kong (JU) (V1.1) [S][!].gb"
}, {
        "Title": "Legend of Zelda - Link's Awakening",
        "Path": "Legend of Zelda, The - Link's Awakening (U) (V1.2) [!].gb"
}, {
        "Title": "Pokemon - Red",
        "Path": "Pokemon - Red Version (USA, Europe).gb"
}]
HFO4 commented

Try to change Path in gamelist.json to the absolute path to the rom file. The Path should be relative to the executable file, not gamelist.json.

Worked, ty - closing ticket