QEMU and GameMaker ?
mickabrig7 last edited by
I've recently been trying to run Undertale on my Pi with QEMU for a RetroPie project, and I think I might have gotten close to doing it (but still not quite yet). Here's how it went :
First I copied the (legally-obtained) game's "data.win" to the Pi and renamed it to "game.unx". I put it in an "assets" folder along with "credits.txt" and all the musics. I then copied the GameMaker Linux runner (in AppData\Roaming\GameMaker-Studio\Linux\runner.zip) to the parent directory and chmod'ed it. I installed QEMU and after hours of hair pulling I finally managed to add the SHIT TON of libraries and their i386 version required to run all this. Trust me when I say that this process was really long and frustrating, I had unmet dependencies everywhere and nothing would install (sometimes it wouldn't even find the library !). I eventually stumbled upon this life-saving article (https://www.lhinderberger.de/pi/2016/01/27/raspberry-pi-binary-x86-drivers.html) and also stopped using "apt-get" in favor of "aptitude".
So now all I had to do was executing the runner and (hopefully) play, but here's what I got : http://i.imgur.com/CUsVLxX.jpg
The first error is okay according to the article, so we'll be ignoring this one. You can see that Steam is missing but it's not the problem here since I got the same result with a homemade, Steam-free "data.win". The real problem here is the crash at the end, right after the initialization. The runner seems to work just fine but something seems to be preventing the game from starting. So I've done my little research and found that QEMU has troubles working with multithread applications, GameMaker being one (I think so).
That's why I'm turning to you guys, I'd like to know if anyone can make this work one way or another, even by using bochs or ExaGear Desktop (cough expensive cough).
I also wonder if the runners they released with the 3 Pi games are reverse engineering-able to work with any game just like the Linux runner.
Pi Model: 3 B
RetroPie Version Used: latest (4.1)
Built From: Pre made SD Image on RetroPie website
PokeEngineer last edited by PokeEngineer
I have already tried to port this natively, there is just not enough RAM to run it...
(BTW Undertale needs OpenGL, which is only compatible with the stock Raspbian image, not the RetroPie image)
You can see my failed attempt here: https://retropie.org.uk/forum/topic/2704/undertale-for-retropie-raspberry-pi