jfsw icon indicating copy to clipboard operation
jfsw copied to clipboard

Raspberry Pi 4 issue

Open symbios24 opened this issue 2 years ago • 9 comments

Hello

I compiled successful sw using the latest raspbian buster

But upon running and using the full game version

When i try to select the second episode (code of honor) Its not selectable anyway enter does nothing all it shows me this message down: full version only call this number and order the game etc

I have build it with : RELEASE=1 USE_POLYMOST=1 USE_OPENGL=USE_GLES2 WITHOUT_GTK=1

Im 100% i put the full game version,upon testing with a sw build over a year old everything works perfect

Is this a bug??

Edit: I managed to run the full version of sw by using the old source code "20211225"

Also wanton destruction expansion worked But the twin dragon expansion is not working,is there an info somewhere to make it work???

Thank you

symbios24 avatar Nov 24 '22 13:11 symbios24

I had the registered/shareware tests backwards when I updated the detection code. That's now fixed.

Twin Dragon is most easily played by putting its files in a ZIP (e.g. td.zip), putting that ZIP in the directory where sw.cfg lives, and running the game with ./sw -gtd.zip. Starting Episode 2 starts the expansion.

jonof avatar Dec 09 '22 08:12 jonof

This is my files in the shadowwarrior folder

dragon.zip sw.grp sw.rts wt.grp

what it works so far and how it works is:

Wanton works if you have only the wt.grp and the sw executable only in the same folder and not another file/s, if you have all the game files and type: sw -wt.grp it just loads the normal game.

Twin dragon did not work no mater what i did its like the "-" switch is not acceptable or something,it keeps running the normal game, the dragon.zip has 73 files in it without any folder is that correct?

Also by putting the zip in the folder that includes sw.cfg file did not work

All the files are taken from the gog release of the game,and the engine is your latest build

Thank you

symbios24 avatar Dec 09 '22 09:12 symbios24

If you're typing -wt.grp or -dragon.zip, then you're missing the g after the hyphen. i.e. -gwt.grp or -gdragon.zip

jonof avatar Dec 10 '22 23:12 jonof

Thanks it worked, although its not loading the dragon.zip at all its getting a bus error,but its loading the td.grp file, but upon in the episodes menu the first episode its invisible although if i have the arrow up and press enter it loads the shareware levels only the menu entry is missing/not shown for the shareware episode/s

Apparently my dragon.zip file is not correct,is it possible to give me the link to download the correct dragon.zip file?

symbios24 avatar Dec 11 '22 10:12 symbios24

Could you email me ([email protected]) your copy of the zip (a Dropbox etc link to be safe) giving you the bus error and I'll see what's breaking the game.

jonof avatar Dec 13 '22 01:12 jonof

Well, I hate to say it, but that zip works fine for me. Is there anything in the text written to the terminal leading up to the failure that looks suggestive?

jonof avatar Dec 14 '22 08:12 jonof

Very strange,no the only thing i get is a bus error message,the tdragon.grp file works as i said before but with the shareware first episode menu entry been there but invisible.you can select it through and play if you click in it.

I run everything from raspbian lite(no desktop) Can that been the issue??

Thanks

symbios24 avatar Dec 14 '22 14:12 symbios24

Anyway leave it its probably my side.

About jfwhaven and jftekwar,i tried to compile them using different compinations of commands after make but it always stops with different kind of errors,does it need any special command after make im missing or anything else??

symbios24 avatar Dec 15 '22 09:12 symbios24

Here's what I just re-tested: I found a spare µSD card and wrote the current RPi OS 64-bit Lite image onto it, did apt install build-essential libsdl2-dev git, cloned the current rev 65bd2bb code, put into ~/.jfsw the sw.grp of the registered version and dragon.zip from where you pointed, and built it with the same make command as above, and I'm afraid to say it worked absolutely fine. V3D GLES driver, ALSA sound too if I pointed it to the right HDMI port. :-\

As for JFWhaven and JFTekWar, they're varying degrees of incomplete. JFTekWar is much farther along as I was tinkering with it over the last week. JFWhaven is still really rough. Both games will fail to compile their map editors, but the main game ought to build.

jonof avatar Dec 20 '22 11:12 jonof