zerojay / RetroPie-Extra

A collection of unofficial scripts for adding more emulators/ports/games to RetroPie.
MIT License
309 stars 101 forks source link

Building JFSW, Shadow Warrior port #269

Open dudleydes opened 6 years ago

dudleydes commented 6 years ago

As jfsw, the Shadow Warrior port is on the To Do list, I though I'd take a look to see if I could build a working binary and, maybe, create a scriptmodule.

These are the steps I took on my RPi 2 running RetroPie v4.3.7.

  1. Get Dependencies
sudo apt-get install build-essential libgl1-mesa-dev libgtk2.0-dev libsdl1.2-dev libvorbis-dev nasm timidity freepats git
  1. Get Sources
git clone https://github.com/jonof/jfsw.git
cd jfsw
git clone https://github.com/jonof/jfbuild.git
git clone https://github.com/jonof/jfaudiolib.git
git clone https://github.com/jonof/jfmact.git
  1. Compile Source Code
make

When I try to compile the code, I get the error message below:

/usr/bin/ld: jfbuild/src/libengine.a(a.o): Relocations in generic ELF (EM: 3)
jfbuild/src/libengine.a: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Makefile:225: recipe for target 'sw' failed
make: *** [sw] Error 1

Any advice on how this can be fixed would be appreciated. Thanks.

symbios24 commented 6 years ago

also blood is a good addition to the ports

https://sourceforge.net/p/blood/code/ci/default/tree/

zerojay commented 6 years ago

I have very little time these days. Pull requests are accepted.

lashower commented 6 years ago

Seems this is related to 64-bitish Pi OS. snowboy seems to have the same issue. I recommend reaching out to both jfsw and snowboy to see if there is something you can work out.

symbios24 commented 3 years ago

A guy ported shadow warrior to retropie if you can please add it to the script

https://retropie.org.uk/forum/topic/20369/jsfw-source-port-for-shadow-warrior-now-available