I tried running the linux build and it does run with the following command in ssh: SDL_VIDEODRIVER=x11 DISPLAY=:0 bin/tic80 but the screen size is wrong. I can only see part of the TIC-80 screen.
Does adding the â-fullscreenâ command line argument help? (Havenât tried it yet.)
I got PICO-8 sized well because it has more specific command line args for resizing the display. Maybe Tic-80 needs a similar feature. (I donât see one in the code beyond -fullscreen.)
It is targetting the PICO-8 but most of the information is valid for TIC-80.
For the launcher, create a script with the following content (replace <path/to/tic80> witht the actual path to the binary): <path/to/tic80> -uiscale 1 -fullscreen -surf
For the TIC-80 to recognize the GameShell button, we need to change the keymap.
Download the keymap matching your buttons layout (I made them on my computer as a convenience):
Copy your keymap file to this location: ./.local/share/com.nesbox.tic/TIC-80/.local/keymap.dat
I also made a small icon to fit in the GameShell launcher:
Now you can run TIC-80 on your GameShell.
There are some limitations though:
you canât exit TIC-80, you will need to reboot the GameShell to quit
There is no menu item to quit TIC-80, but the main developer is working on it
You need to be online
The -surf argument starts a browsing mode, but if you want to download tic cartridges, it should be trivial to do so. I am not sure how to have a single launcher to do both.
It does not take the whole screen
The screen resolution of TIC-80 only fits once in the GameShell screen. Thatâs what the -uiscale 1 argument is for. We cannot easily scale the screen to match the GameShell while keeping the aspect ratio.
The -fullscreen argument means the app is not windowed but I think thatâs the default on the GameShell, so it doesnât do much.
TIC-80 runs in multiple of 240x136 pixels, so it adds a lot of padding around the screen with a scale of 1x, and it doesnât fit in the GameShell screen anymore at 2x.
I tried commenting out the v3.9 requirement line in CMakeLists.txt. Thatâs building now so weâll see if that works. How did you install this cmake 3.9 build? (Linux noob hereâŚ)
EDIT: Building worked with cmake v3.7, which was surprising.
I created an issue on the TIC-80 repo on GitHub. I may try my hand at fixing it myself but weâll see how much time I have on my hands in the coming weeks.