Closed clort81 closed 2 years ago
That was 0.8.0.85 btw.
with git master I tried running from build dir.
Tried a ./build.sh uqm install (into /usr/local/games/). And that can go into Setup. There I enabled HD.
gdb --args /usr/local/games/lib/uqm-megamod/UrQuanMasters "--contentdir=/usr/local/games/share/uqm-megamod/content"
Got the Hmm... again http://0x0.st/-dW_.webp
No indication in gdb or console what causes this.
strace /usr/local/games/lib/uqm-megamod/UrQuanMasters "--contentdir=/usr/local/games/share/uqm-megamod/content" 2>&1 |grep mm-0.8
write(2, "uio_open mm-0.8.0.85-3dovoice.uq"..., 34uio_open mm-0.8.0.85-3dovoice.uqm
newfstatat(AT_FDCWD, "/usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-3dovoice.uqm", {st_mode=S_IFREG|0644, st_size=130621289, ...}, 0) = 0
openat(AT_FDCWD, "/usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-3dovoice.uqm", O_RDONLY) = 11
write(2, "uio_open mm-0.8.0.85-content.uqm"..., 33uio_open mm-0.8.0.85-content.uqm
newfstatat(AT_FDCWD, "/usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-content.uqm", {st_mode=S_IFREG|0644, st_size=32754511, ...}, 0) = 0
openat(AT_FDCWD, "/usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-content.uqm", O_RDONLY) = 12
write(2, "uio_open mm-0.8.0.85-hd.uqm\n", 28uio_open mm-0.8.0.85-hd.uqm
newfstatat(AT_FDCWD, "/usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-hd.uqm", {st_mode=S_IFREG|0644, st_size=296559012, ...}, 0) = 0
openat(AT_FDCWD, "/usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-hd.uqm", O_RDONLY) = 13
Looks to me like it's opening content!
Is it open when I New Game? Let's list open files.
UrQuanMas 585727 me 11r REG 179,2 130621289 193881 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-3dovoice.uqm
UrQuanMas 585727 me 12r REG 179,2 32754511 192302 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-content.uqm
UrQuanMas 585727 me 13r REG 179,2 296559012 193880 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-hd.uqm
UrQuanMas 585727 585731 Starcon2M me 11r REG 179,2 130621289 193881 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-3dovoice.uqm
UrQuanMas 585727 585731 Starcon2M me 12r REG 179,2 32754511 192302 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-content.uqm
UrQuanMas 585727 585731 Starcon2M me 13r REG 179,2 296559012 193880 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-hd.uqm
UrQuanMas 585727 585732 SDLHotplu me 11r REG 179,2 130621289 193881 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-3dovoice.uqm
UrQuanMas 585727 585732 SDLHotplu me 12r REG 179,2 32754511 192302 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-content.uqm
UrQuanMas 585727 585732 SDLHotplu me 13r REG 179,2 296559012 193880 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-hd.uqm
UrQuanMas 585727 585733 SDLAudioP me 11r REG 179,2 130621289 193881 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-3dovoice.uqm
UrQuanMas 585727 585733 SDLAudioP me 12r REG 179,2 32754511 192302 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-content.uqm
UrQuanMas 585727 585733 SDLAudioP me 13r REG 179,2 296559012 193880 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-hd.uqm
UrQuanMas 585727 585734 UrQuanMas me 11r REG 179,2 130621289 193881 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-3dovoice.uqm
UrQuanMas 585727 585734 UrQuanMas me 12r REG 179,2 32754511 192302 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-content.uqm
UrQuanMas 585727 585734 UrQuanMas me 13r REG 179,2 296559012 193880 /usr/local/games/share/uqm-megamod/content/packages/mm-0.8.0.85-hd.uqm
Issue was caused by using 0.8.0.85 content zips with git master build.
The git master megamod should be played with the content from a git clone of this repo. https://github.com/Serosis/UQM-MegaMod-Content
Result: "Hmm... You were trying to run the game in HD mode, but the game couldn't find the HD addon .uqm package."
Yet strace shows it found
openat(AT_FDCWD, "/home/me/uqm-megamod/UQM-MegaMod-0.8.0.85/content/packages/mm-0.8.0.85-hd.uqm", O_RDONLY) = 13