ruanformigoni / gameimage

Gameimage - FlatImage Game Packer
Apache License 2.0
258 stars 2 forks source link

[Bugs] in version 1.4.1 Game not loading + mime type and file association still active. #109

Open malnaanah opened 5 days ago

malnaanah commented 5 days ago

I made Aladdin 3D flatimage in version 1.4.1, the GUI runs but the game doesn't, i have this error:

./Aladdin-3D-X2.flatimage I :: Open file '"/opt/gameimage-games/Aladdin-3D/gameimage.env.json"' as READ I :: Could not set environment: Failed to open '/opt/gameimage-games/Aladdin-3D/gameimage.env.json' I :: FlatImage distribution: ARCH I :: Open file '"/opt/gameimage-games/Aladdin-3D/gameimage.json"' as READ I :: Open file '"/opt/gameimage-games/Aladdin-3D/gameimage.json"' as READ I :: Open file '"/opt/gameimage-games/Aladdin-3D/gameimage.wine.args.json"' as READ I :: Optional (caught): Failed to open '/opt/gameimage-games/Aladdin-3D/gameimage.wine.args.json' I :: No arguments for "wine/drive_c/Aladdin Nasira's Revenge Pc Repack/aladdin.exe" I :: Spawn command: /opt/wine/bin/wine.sh,/opt/gameimage-games/Aladdin-3D/wine/drive_c/Aladdin Nasira's Revenge Pc Repack/aladdin.exe I :: [o]: I :: Invalid environment variable 'PROFILEHOME=' I :: [o]: I :: execve() failed: No such file or directory

Also, I deactivated creating start menu icon, there is no start menu icon but the mime types, file association and app icon is still active and that that clutters the system and messes with my custom KDE service menu. I think these configurations should be optional and disabled by default.

Regards,

ruanformigoni commented 5 days ago

Thanks for the feedback @malnaanah . I'll include more options to disable integrations in the wizard in v1.4.2 and dig into this issue.

malnaanah commented 5 days ago

Please make no integration (just like any normal file) the default option.

Tell-Sackett commented 5 days ago

I have a similar issue (if not the same), it would seem.

Decided it would be a good idea to try and re-package "Tomb Raider: Anniversary", since we knew that worked well with the previous version of GameImage. Note: In case it matters, I am on Arch now (as opposed to Debian, which was being used during my last few posts).

Terminal output for the build process of the flatimage copied to the attatched file build.txt.

Terminal output for attempting to run the flatimage:

$ ./anniversary.flatimage
I :: Open file '"/opt/gameimage-games/tomb/gameimage.env.json"' as READ
I :: Could not set environment: Failed to open '/opt/gameimage-games/tomb/gameimage.env.json'
I :: FlatImage distribution: ARCH
I :: Open file '"/opt/gameimage-games/tomb/gameimage.json"' as READ
I :: Open file '"/opt/gameimage-games/tomb/gameimage.json"' as READ
I :: Open file '"/opt/gameimage-games/tomb/gameimage.wine.args.json"' as READ
I :: Optional (caught): Key 'wine/drive_c/GOG Games/Tomb Raider Anniversary/tra.exe' not present in db file
I :: No arguments for "wine/drive_c/GOG Games/Tomb Raider Anniversary/tra.exe"
I :: Spawn command: /opt/wine/bin/wine.sh,/opt/gameimage-games/tomb/wine/drive_c/GOG Games/Tomb Raider Anniversary/tra.exe
I :: [o]: I :: Invalid environment variable 'XDG_SESSION_DESKTOP='
Tell-Sackett commented 5 days ago

Sorry, the above "run.txt" is flashing an error about "XDG_SESSION_DESKTOP" because I'm new to Window Managers; I didn't set those environment variables properly before running.

I properly set them and here is the updated output:

$ ./anniversary.flatimage
Not executable was selected
I :: Open file '"/opt/gameimage-games/tomb/gameimage.env.json"' as READ
I :: Could not set environment: Failed to open '/opt/gameimage-games/tomb/gameimage.env.json'
I :: FlatImage distribution: ARCH
I :: Open file '"/opt/gameimage-games/tomb/gameimage.json"' as READ
I :: Open file '"/opt/gameimage-games/tomb/gameimage.json"' as READ
I :: Open file '"/opt/gameimage-games/tomb/gameimage.wine.args.json"' as READ
I :: Optional (caught): Failed to open '/opt/gameimage-games/tomb/gameimage.wine.args.json'
I :: No arguments for "wine/drive_c/GOG Games/Tomb Raider Anniversary/tra.exe"
I :: Spawn command: /opt/wine/bin/wine.sh,/opt/gameimage-games/tomb/wine/drive_c/GOG Games/Tomb Raider Anniversary/tra.exe
Not executable was selected