zerojay / RetroPie-Extra

A collection of unofficial scripts for adding more emulators/ports/games to RetroPie.
MIT License
311 stars 103 forks source link

creating ports #304

Closed symbios24 closed 4 years ago

symbios24 commented 6 years ago

Hi, i managed to create an install script for a port for simutrans game

the thing is the game upon run after a minute it stuck/hang and i have to remove the power

if i put the command xinit in the script eg ""xinit /usr/games/simutrans" it works perfect but the resolution is smaller in a windows in the middle is that normal?
can the resolution be normal with the xinit command? i`m planning to do many ports in scripts but how do i know if a game needs the xinit or not? do i put xinit to every game?

thanks

zerojay commented 6 years ago

When it comes to whether or not you know if a game requires xinit or not, it's more or less trial and error, to be honest with you. In cases where a game doesn't go fullscreen, it's possible to try different resolutions through runcommand until you find one that fits... or the other option is to try including a window manager such as matchbox. There are a few ports in the repo that use matchbox and request a full screen window, so you should be able to find examples. I think the Theme Hospital clone uses it.

zerojay commented 6 years ago

Sorry, misspoke. Looks like Chromium, weechat, deadbeef and a few others use matchbox, not the Theme Hospital clone.

symbios24 commented 5 years ago

nevermind i figured it out

zerojay commented 4 years ago

I'm going to try a port for simultrans soon.