Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi 4 issue #35

Open
symbios24 opened this issue Nov 24, 2022 · 9 comments
Open

Raspberry Pi 4 issue #35

symbios24 opened this issue Nov 24, 2022 · 9 comments

Comments

@symbios24
Copy link

symbios24 commented Nov 24, 2022

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

@jonof
Copy link
Owner

jonof commented Dec 9, 2022

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.

@symbios24
Copy link
Author

symbios24 commented Dec 9, 2022

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

@jonof
Copy link
Owner

jonof commented Dec 10, 2022

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

@symbios24
Copy link
Author

symbios24 commented Dec 11, 2022

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?

@jonof
Copy link
Owner

jonof commented Dec 13, 2022

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
Copy link
Owner

jonof commented Dec 14, 2022

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?

@symbios24
Copy link
Author

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
Copy link
Author

symbios24 commented Dec 15, 2022

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??

@jonof
Copy link
Owner

jonof commented Dec 20, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants