Added GCW Zero / OpenDingux Port


This is a tiny update, it doesn't affect the other versions so i didn't change the version number.

I just ported Post Apocalyptic Petra to the open source handheld GCW Zero which is running a Linux distribution called OpenDingux (originally made for the Dingoo handheld but nowadays works in several other MIPS-based gaming handhelds). This was... interesting since the official SDK is a bit old and doesn't support Free Pascal so i had to build a cross compiler inside a i386 Linux VM (the SDK runs on 32bit Linux, at least officially) and *smash* it together with the SDK :-P. And modify Free Pascal's SDL bindings to not assume there is an X11 library around.

Also i spent way too much time trying to figure out how to properly make the binary actually run with proper dynamic dependencies and GCW Zero's uClibc+busybox userland displaying the most helpful message "not found" without any further info.

Anyway, the Petra099jGCW0.zip archive contains both the modified source code and the Petra099j.opk file that can be copied to GCW Zero's /apps directory.

I haven't tried it since i do not own those, but this might also work with more recent JZ4770-based OpenDingux handhelds like those by Anbernic (some can be seen here).

Files

Petra099jGCW0.zip 885 kB
Dec 01, 2020

Get Post Apocalyptic Petra

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

(1 edit)

Wow, cool!

Besides the GCW0, I also have the RG350 from Anbernic so I'll try it myself and see if it works correctly.

UPDATE: Just tried. RG350 displays the colors wrong. I see now maybe the SDL port on RG350 does not convert correctly from 8bpp palletized to 16bit? I could try on dingoonity forum and ask the devs (not sure if it's an issue of opendingux or the rogue firmware I used on my RG350).

Even more funny, it does actually work nicely on GameKiddy 350h. GKD can run OPKs from GCW0/RG350 but is less compatible than both of this (other emuls just fail sometimes), I wasn't even initially expecting to run it there, but I guess their SDL implementation was more correct.