Suggestions for ports
-
@quicksilver said in Suggestions for ports:
However Im not able to load the first level because my 2gb pi 4 runs out of ram! I guess its time to get a 4gb model.
Wouldn't really help, since a 32bit program wouldn't be able to allocate more than 2Gb or memory.
-
@mitu hahaha I didn't even think about that. Thanks for saving me $50! I thought Eben Upton said 3gb per process for a 32bit system. It's only 2gb?
Source:
https://www.raspberrypi.org/blog/8gb-raspberry-pi-4-on-sale-now-at-75/"Our default operating system image uses a 32-bit LPAE kernel and a 32-bit userland. This allows multiple processes to share all 8GB of memory, subject to the restriction that no single process can use more than 3GB."
Even still, for emulation purposes that means a whole gb of ram is essentially wasted...not sure if it's worth the money.
-
@quicksilver You don't really notice a difference unless you use Desktop a lot. I do, so YES the 4gb really helps.
-
@quicksilver said in Suggestions for ports:
@mitu hahaha I didn't even think about that. Thanks for saving me $50! I thought Eben Upton said 3gb per process for a 32bit system. It's only 2gb?
Could be 3Gb, but how much memory do you really need for the process ?
-
@mitu Is there a way to know? I just know that 2gb apparently isn't enough. It's probably still not worth spending the money on a new pi just to get one mod to work. Though I do like new pi... :)
-
How are you determining it's an out-of-memory problem ? These OOM issues are usually logged by the kernel and appear via
dmesg
. -
@mitu the loading bar froze while trying to load the first level so I checked the runcommand log and it said something to the effect that it ran out of memory. When I launched the game/mod again, this time I monitored it using htop via ssh. And sure enough the memory usage just climbs until it runs out.
-
I remember playing Ancient Domains of Mystery back in my Amiga days, it appears there is a Rasbian native port here https://www.adom.de/home/downloads.html hopefully it wouldn't be that hard to make an installation script for.
-
A quick summary of ports I've created for any who are looking for ports.
- OpenJK: Jedi Academy
- OpenJK: Jedi Outcast
- Doom 3
- Doom 3 BFG Currently x86 only. It is in the Raspbian repos, but I haven't gotten it to work on a pi yet.
- ET: Legacy
Other scripts I have created but haven't posted yet because I am still debugging:
- OpenMW: Morrowind
- Rise of the Triad, Fixed and updated from Zerojay's repo
- OpenLara
- OpenTomb
- GZDoom
- Libretro Doom 3
Others I am thinking about:
- Unreal (x86 only)
- Unreal Tournament (x86)
- Unreal Tournament 2004 (x86)
- Quake 4 (x86)
- Libretro ECWolf
- Unreal Tournament 4 Beta (x86)
I thought about the Star Trek Elite Forces series, but the only ports I can find are multiplayer only.
-
@gderber said in Suggestions for ports:
A quick summary of ports I've created for any who are looking for ports.
- OpenJK: Jedi Academy
- OpenJK: Jedi Outcast
- Doom 3
- Doom 3 BFG Currently x86 only. It is in the Raspbian repos, but I haven't gotten it to work on a pi yet.
- ET: Legacy
Other scripts I have created but haven't posted yet because I am still debugging:
- OpenMW: Morrowind
- Rise of the Triad, Fixed and updated from Zerojay's repo
- OpenLara
- OpenTomb
- GZDoom
- Libretro Doom 3
Others I am thinking about:
- Unreal (x86 only)
- Unreal Tournament (x86)
- Unreal Tournament 2004 (x86)
- Quake 4 (x86)
- Libretro ECWolf
- Unreal Tournament 4 Beta (x86)
I thought about the Star Trek Elite Forces series, but the only ports I can find are multiplayer only.
Will box86 or QEMU work from a Retropie installation script or does that require a desktop install? I've played around a bit with box86 but not QEMU.
-
@gderber said in Suggestions for ports:
OpenMW: Morrowind
If you need any help with this one let me know. I have it running nicely on my pi.
I also was unable to find any single player elite force ports available unfortunately.
-
@VictimRLSH I am not sure. I am not familiar enough with either of them to do more than speculate.
-
I have been trying to compile Aquaria, an old (but still very pretty) indie game:
https://github.com/AquariaOSE/Aquaria
Unfortunately, I've not been very successful with the following error at 33%:
SIGTRAP was not declared in this scope raise(SIGTRAP)
Any tips on how to solve this? You may be able to tell that I barely have a clue of what I am doing.
-
Well, that was easy to solve after some ducking: added signal.h to the includes of the file Aquaria/BBGE/Base.cpp , it now builds fully!
New problem: when attempting to run I get the error:
Error!: SDL_GL_LoadLibrary Error: No dynamic GL support in video driver
Does that mean I am out of luck here?
-
@Impy are you running this on a pi 4? If so you'll need to try running the game in an x session. Looking at some of the issue reports on GitHub I don't think this game is OpenGL ES compatible and is using desktop GL. Try launching the game with the command
startx
before your launching instructions. You may need to install xorg from the apt repository to get startx to work. -
@quicksilver Wow! That actually worked (yes, compiling on a Pi4). Still looking at tweaking the performance (lower res, image quality settings, and/or overclocking), but 720p already runs fairly well.
-
@Impy awesome! It's a good feeling when it all finally comes together and works. :) I have recently started going down the rabbit hole of compiling games for my pi 4 and it is quite addicting.
-
@quicksilver said in Suggestions for ports:
@Impy awesome! It's a good feeling when it all finally comes together and works. :) I have recently started going down the rabbit hole of compiling games for my pi 4 and it is quite addicting.
Same here, just getting started seeing what I can get to run. Maybe we can throw together a list of what may be possible and start in on it.
-
@VictimRLSH sounds good. Should we keep discussing here or start a new thread?
-
@quicksilver Indeed! I think I have also found a repo for a gles version:
https://github.com/lunixbochs/aquaria
It doesn't mention it in the readme, but I suspect those are the sources for the openpandora (hence gles) port.
I tried building that one too, but it's based on an earlier source, so it starts the errors even earlier. Would it be worthwhile to try to solve them (ie, could I expect better performance with that version)?
As for a new thread; a "Great Porting Threat" to share potential sources and tips&tricks to get them working would be welcome, I think.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.