Suggestions for ports
-
@mitu Do you mind looking at some of mine?
Doom3 BFG:
https://raw.githubusercontent.com/gderber/RetroPie-Setup/feature/doom3_bfg/scriptmodules/ports/rbdoom3_bfg.shPatch for wolf4sdl:
https://github.com/RetroPie/RetroPie-Setup/pull/3163
The following are partially tested. Haven't tried running it yet (I'm on a ssh connection to my retropie system):
Gzdoom:
https://raw.githubusercontent.com/gderber/RetroPie-Setup/feature/gzdoom/scriptmodules/ports/gzdoom.shOpenJK (JediAcademy); build / install tested.:
https://raw.githubusercontent.com/gderber/RetroPie-Setup/feature/openjk_ja/scriptmodules/ports/openjk_ja.shROTT: Updates and bugfixes to ZeroJay's ROTT install script
https://raw.githubusercontent.com/gderber/RetroPie-Setup/feature/rott/scriptmodules/ports/rott.sh -
@mitu I appreciate the offer, as always you are a big help! Now to learn the ins and outs of GitHub. :)
And also a little preview of what I have working
Doom 3 with classic Doom mod:
Jedi knight -jedi academy running in 1600x1200 resolution:
-
@quicksilver dam those look nice.
how well does doom3 play?
-
@ExarKunIv it's playable at 640x480 on lowest graphical settings and with my pi 4 overclocked (I'll try without overclock soon just for a comparative baseline). Game runs pretty much fullspeed this way except when there are a lot of lighting effects happening at once, in which case there are noticable frame-rate dips. So far I haven't encountered any game breaking bugs and I feel like the game can be completed. I also have classic doom mod and resurrection of evil expansion running. Only real issue I have encountered is that when launching the game through runcommand and an x session (x is required, otherwise there are game breaking graphical issues), quitting the game closes the game but not the x session so you are left at a black screen. Cntrl-alt-backspace closes the x session so I'm using that as a work around for right now.
-
@quicksilver very cool
i saw your post about the x session issue. its cool that we can get these working and in the future it will exit smoothly. from my take on what buzz said.
im more the happy to wait as long as there is a work around. which there is.
great work on all of this. im still on the Pi3 so anything i do it dated and most likely not working on my rig.
but hey it all about learning right :) -
@ExarKunIv openjk is running really well on my pi 4 I suspect you could follow my above directions to get it running on your pi 3. I bet it would be playable.
-
@quicksilver might give that a try
-
@quicksilver i get a
internal compiler error
but im still on 4.5.14 since that is the only version i can get Nblood to work on. so im not surprised about getting errors
im not that worried about it. most of these will wait till i have a Pi4. -
@ExarKunIv said in Suggestions for ports:
@quicksilver i get a internal compiler error
It sometimes happens when you're out of memory. Likely un-noticeable on a Pi4 with 2 or 4Gb of RAM.
-
@mitu If thats the case could he just increase the amount of swap?
-
@gderber said in Suggestions for ports:
Doom3 BFG:
https://github.com/gderber/RetroPie-Setup/tree/feature/doom3_bfgLooks good overall.
- Incorrect license header - missing the license type (GPL3). See how other modules are adding it. It's important when generating the package license summary page (https://retropie.org.uk/stats/licences/).
- missing help header (
rp_module_help
) - should at least indicate where you should copy your game files (.pk4
). md_ret_requires
should be a file, not a folder, indicating the build process has completed succesfully.- run
make clean
during the build, so it always starts with a clean build. game_data_doom3_bfg
doesn't do much, fold it intoconfigure
. If the folder should be user writable, usemkUserDir
instead of a simplemkdir
(remember that the setup script runs asroot
).addPort
inconfigure
looks wrong - look up the function definition inhelpers.sh
or how it's used in other scriptmodules. Last parameter should be the launch command.
https://github.com/gderber/RetroPie-Setup/tree/feature/wolf4sdl
Looks fine, but I don't know this port enough to know if the line removed is ok or not.
General comments for all the
.sh
files- use hard tabs for indentation (see the weird spacing in
game_data_doom3..
) - don't have 2 empty new lines.
-
@mitu Thank you!
For the Wolf4SDL script, the removed line, I had based that on this comment on the Hexen2 pull request. I changed it back, and the other non-essential change, swapping the order of the if statement checking for the *.sod and *.sdm files. I swapped the order so it'd match the order for the main wolfenstein data files.
In both cases, they are not a requirement for the actual goal of getting a start-up script for a unified SOD launcher. So now a total of 2 lines added, no other changes.
For the rest thank you for looking at them, the feedback helped me a lot with these.
-
All:
My OpenJK script "works for me"
You can find it here:
https://raw.githubusercontent.com/gderber/RetroPie-Setup/feature/openjk_ja/scriptmodules/ports/openjk_ja.shIf anyone wants to try it, I'd really appreciate the feedback.
-
@gderber Ill try it out on my test setup and report back
-
I have literally spent all day on this, I bring you Morrowind via OpenMW! Currently launching directly through RetroPie with controller support. Performance is good :)
This is the last one on my list for now. So next I plan to do some additional testing and then I will write up build instructions for the ports I have working well.
-
I found a couple bugs in my script. I'll post an update shortly.
-
So for at least three of the ports that I have running through an x session, if I set the in-game video option to fullscreen, the mouse and/or keyboard stop responding in-game. Anyone have any ideas what could be the cause of this? This seems to happen on OpenMW, dhewm3, and openjk.
-
@quicksilver Focus issues ? Try running a minimal window manager and see if it fixes it.
-
@mitu apologies for my ignorance 😬 but would that be something like matchbox? If so how would I get that running in conjunction with XINIT? I played around with matchbox before but was never able to tell if I was doing correctly.
-
@quicksilver Yes, something like
matchbox
should do. Look at thesteamlink
port to see how it's used.
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.