Ever since I got my GameShell I’ve been itching to write some simple tools and games. My first project is a simple space trading sim, inspired by games like dopewars. It was written in Rust and uses SDL2 libs. I have a small build server running on my Raspberry Pi which compiles the app and deploys it to itch.io
The game can be downloaded from itch.io. I have some more features to add and stuff to tweak, but this is the current alpha version. I’m planning on writing more games exclusively for the GameShell, especially now I have a good build pipeline.
Just installed it to check it out. Although it’s text-based, it looks quite interesting. Well done! Also it would be interesting to share your dev setup, probably there are lot of us here who would like have a setup similar to yours.
Thanks! I’m going to write a blog post (or a few) which will detail my setup with some steps to set it up yourself. But here is a quick run down.
I code my games in Rust and use SDL2, I don’t use any engines. It’s quite nice to have small binaries compiled for the architecture. My editor is VIM (with a rust-vim plugin) and I code mostly on my Linux machine running openSUSE (Tumbleweed). For source control and CI, I use Gitbucket on my Raspberry Pi. It’s like a mini self hosted Github. I combine that with ngrok so that I can push/pull as well as access the Gitbucket interface when I’m on the move.
I use the Gitbucket CI plugin, which builds the project and packages it up for release on itch. When I build the master branch it also uses butler to upload a new release of the game on itch.
dont yet have my GameShell, but I would love to get involved. the bad part is i don’t know Rust. I’m a C/C++/ ASM guy. but if I like it when I try, i might try for a graphical c++ port.
My background is in C/C++ but switched mostly to Rust over the last couple of years. I’m currently planning my next game, I might go for something a little more graphical, immersive but keeping with a text based sim engine.
Did you unzip it from Windows and then moved the folder to GameShell? If yes then the spacetrader binary is not executable that’s why it crashes when you launch it. Either unzip the zip file in GameShell via ssh and using the unzip command, or either give execution rights to the spacetrader binary by issuing in ssh the following command:
I unzipped it in the right place and I don’t know what you mean by output.txt file I launched it on my GS it went to the loading screen. Two seconds later back at the main menue of the shell. So now whenever I boot the system. It forever loops the loading screen, then after like 20 minutes it just shuts down.
Just had to reset my game shell by re-imaging it. Even when I deleted the application via SSH it just keeps loading forever. Idk if I’m just being dumb and it’s just because I did something wrong (although the actual logo came up on my home screen) or if there is an issue with the game. Has anyone else installed it and if so, dose it crash?
Do you know what OS version you are using? If it’s not the same as mine I’ll try it out on that and see if I can replicate. I’ve had about 30 downloads so far, people have given feedback but nobody has reported this issue.
The game is only around 4mb in size with assets, so it shouldn’t use hardly any memory. I wrote the game in Rust, so memory leaks are almost impossible. I have the latest board, but not sure how the hardware would be an issue in this instance. I am using the stock OS and drivers which came with my device, I’ll dig out more info on what those are so we can compare.