RetroPie-Extra icon indicating copy to clipboard operation
RetroPie-Extra copied to clipboard

Building JFSW, Shadow Warrior port

Open dudleydes opened this issue 7 years ago • 4 comments

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.

dudleydes avatar Dec 20 '17 13:12 dudleydes

also blood is a good addition to the ports

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

symbios24 avatar Dec 21 '17 18:12 symbios24

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

zerojay avatar Dec 21 '17 19:12 zerojay

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.

lashower avatar Dec 28 '17 16:12 lashower

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

symbios24 avatar Sep 22 '20 06:09 symbios24