ruanformigoni / gameimage

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

FlatImage GUI launcher disable #85

Open UserName-Null0 opened 1 month ago

UserName-Null0 commented 1 month ago

Hello, I was wondering if there's a way to disable the GUI Window that appears when launching a FlatImage and load directly into the program. The window is unnecessary for the use cases of my Flatimages and I am unable to access the versions of this program prior to the GUI being the default. Any and all help with this will be greatly appreciated!

ruanformigoni commented 1 month ago

Thanks for reporting this usability gap @UserName-Null0 ! I will update this issue when there are updates on the matter.

Prommko commented 1 month ago

If there is an option to load directly a program like mentioned in issue#82 it'l be awesome. Right now i'm trying flatimages on Batocera pc and it works, the game start properly when it's started outside of EmulationStation frondend. I can even build the image on batocera, albeit slowly (the GUI itself is slow under Batocera, the image builds quickly). But when i try to start from ES it doesn't work and i think its because it cant start or display the flatimage gui window.

ruanformigoni commented 1 month ago

I'll test it on batocera as well. Thanks for that info!

MRDeu commented 1 month ago

If there is an option to load directly a program like mentioned in issue#82 it'l be awesome. Right now i'm trying flatimages on Batocera pc and it works, the game start properly when it's started outside of EmulationStation frondend. I can even build the image on batocera, albeit slowly (the GUI itself is slow under Batocera, the image builds quickly). But when i try to start from ES it doesn't work and i think its because it cant start or display the flatimage gui window.

How did you launch a flatimage on Batocera?

Do u use an .sh? Can you share the code?

Thanks.

Prommko commented 1 month ago

You can start the flatimage from file browser after making it executable. As for ES frontend, flatimage and .sh file need to be in one folder and placed in roms/ports. The code for .sh is the same as for appimage: cd "$(dirname "$(realpath "$0")")/" || exit

chmod +x "game-title.flatimage" exec "game-title.flatimage./" "$@"

Flatimage starts from ES, but it's slow and you need mouse for the gui launcher.