maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [OS2008] Shadow Warrior (https://talk.maemo.org/showthread.php?t=17420)

ukki 2008-03-01 23:05

[OS2008] Shadow Warrior
 
http://nakkiboso.com/sw2.jpg
Ok, first the facts:

1. Ninjas are mammals.
2. Ninjas fight ALL the time.
3. The purpose of the ninja is to flip out and kill people.

Create a directory /media/mmc[1-2]/share/sw and put sw.grp, sw.rts in there. Install the deb and run. Be sure to delete the old sw.cfg before first run if you are updating. I made some changes in it.

Now go and flip out.

Link updated: 2008-03-04

qwerty12 2008-03-01 23:10

Re: New port: Shadow Warrior
 
thanks mate, you are on fire!

I will obtain a copy of thiis game and try it/out...

CyberCat 2008-03-01 23:55

Re: New port: Shadow Warrior
 
Thanks a lot for all your hard work, can't wait to try it out! :D

pipeline 2008-03-01 23:57

Re: New port: Shadow Warrior
 
You have ascended to the rank of `ukki daimyo' in my short term memory for this ;

Best icon evAR too!

Now to remap the flight simulator control mappings...

Pushwall 2008-03-02 00:05

Re: New port: Shadow Warrior
 
You wanta some wang? Yes I wanta some wang!

I've got the Shadow Warrior box right behind me. I'll have to reinstall this to my PC and see how this runs. Very cool! Thanks ukki!! :cool:

Pushwall 2008-03-02 00:34

Re: New port: Shadow Warrior
 
I tried running it and it was a no go. I got no result from the menu so I ran it in xterm. It said it "Detected registered GRP". Next there was a "STUB: AlphaMessage (AlphaMessage, game.c:3744)". Then it said to "Type 'SW-?' for command line options". And then a "STUB_ CONTROL_ClearAssignments (CONTROL_ClearAssignments, control,c:222)". And then "STUB: CD audio init (CDAudio_Init, cd.c:1183)". And then ..."Fatal signal: Floating Point Exception (SDL Parachute Deployed)". And final line..."Floating point exception".

Doesn't sound good. :(

If you need to borrow my registered version, pm me.

ukki 2008-03-02 00:46

Re: New port: Shadow Warrior
 
That's what I was afraid of. Is your game patched to 1.2 ? If I'm not mistaken, the source is 1.2 and who knows, maybe the datafiles are different in earlier versions. And did you use your own config? If so, please remove it and try the game again.

Pushwall 2008-03-02 04:38

Re: New port: Shadow Warrior
 
Success! It was the config file. I was using the config file from the PC install. Once I copied your config file over to the sw directory on my internal card the game worked. It takes a good 10-15 seconds for the main menu to pop on (running from the tablet menu), but it works. I was able to go into the 1st registered episode without a problem. Wow, really great graphics and action! I'll mess with the config file tomorrow and see how well this game works with my N800 controls. BTW, the game from the registered CD was already version 1.2.

ukki 2008-03-02 09:38

Re: New port: Shadow Warrior
 
Glad to hear it. I'll work on it some more then, try to fix the menus, remove the hardcoded funtion key bindings and make the save game work.

qwerty12 2008-03-02 11:21

Re: New port: Shadow Warrior
 
I tried out full version with your config.

I started registered level and controls seem ok to me IMHO. Gameplay is pretty good actually, sometimes it lags for half a second but it is not really noticeable.

Thanks! :)

iontruo2 2008-03-02 12:39

Re: New port: Shadow Warrior
 
Wow, what a difference a night sleep makes! Voila, Shadow Warrior.
Thanks for the efforts!
I'm still pretty newb for command line entries, any chance of 'an installable' at a future point, of the shareware version?

tsvest 2008-03-02 13:36

Re: New port: Shadow Warrior
 
Keep on the good work!
I'll try it when I got my N800.
How about porting Serious Sam? I am afraid that it will be quite dificult ...

Ray 2008-03-02 13:48

Re: New port: Shadow Warrior
 
Wow, another excellent port:-)

One thing I noticed so far:
Pressing the menu key (N810) starts the SW sound options dialog,
but I wasn't able to get out of this dialog again.
At least the escape button didn't work.

Any hints?

BTW: I have the full retail version, which was available here for a very short period only...

Johnx 2008-03-02 14:16

Re: New port: Shadow Warrior
 
@tsvest: Sorry, but there is no way you'll ever see Serious Sam on hardware with the performance of the N800/N810. The requirements are at least 1 or 2 orders of magnitude off.

-John

ukki 2008-03-02 17:38

Re: New port: Shadow Warrior
 
Made menus work better, updated config, fixed aiming, added ability to save, but game crashes if you try to load them :( I'm still investigating it, but it should work quite nicely otherwise. Get it from the first post. Remember to delete old sw.cfg before updating.

tsvest 2008-03-02 19:30

Re: New port: Shadow Warrior
 
Quote:

Originally Posted by Johnx (Post 150103)
@tsvest: Sorry, but there is no way you'll ever see Serious Sam on hardware with the performance of the N800/N810. The requirements are at least 1 or 2 orders of magnitude off.

-John

That's what I was afraid of. :(
Anyway there are several more good games from that time (and some of them use the same game engine called BUILD, which will make it easier to port them). So far, thanks to ukki, there are Duke Nukem 3D and Shadow Warrior ported. The others I had good time with are:

- Blood
- Hexen
- Heretic
- Chasm

There might be even more, but my CDs are deeply packed in some boxes... Maybe I'll need to dig them out soon :rolleyes:

Come on ukki :D

ukki 2008-03-02 20:05

Re: New port: Shadow Warrior
 
Haha, I'd be happy to get Shadow Warrior fixed, but that's it for me for now. I think the way to go with these would be trying to port JonoF's (http://jonof.id.au/index.php?p=build.games) engine to tablets, properly package the libraries and then port the games. The ones I used were pretty ugly and Shadow Warrior seems to be too unfinished for a proper port. Also my winter vacation is over so don't expect new games in the near future. And I don't think we need anymore first person shooters as they are pretty terrible on the tablet controls wise. I'd like to see a car game though, but I really haven't found a decent canditate.

Pushwall 2008-03-02 20:08

Re: New port: Shadow Warrior
 
According to Wikikpedia, the only games based on the Build engine besides Duke Nukem 3D and Shadow Warrior with source code released are Witchaven, Witchaven II, Tekwar and Corridor 8. So I don't think we'll see Blood which is unfortunate since I loved that game.

Pushwall 2008-03-02 20:18

Re: New port: Shadow Warrior
 
Quote:

Originally Posted by ukki (Post 150176)
Also my winter vacation is over so don't expect new games in the near future.

Damn! The well has run dry. I was hoping for a port of Rise of the Triad since that source is available too! ;) Seriously though, ukki you've done a fantastic job on porting these games in such a short time. It's much appreciated.

Quote:

And I don't think we need anymore first person shooters as they are pretty terrible on the tablet controls wise. I'd like to see a car game though, but I really haven't found a decent canditate.
A car game would be cool. OMG I better look quick before your vacation ends! :D

Pushwall 2008-03-02 21:16

Re: New port: Shadow Warrior
 
For some reason I can't get Jump or Crouch to work in this game. I assume the keys across the top of the N800 are "-" = F8, "FullScreen" = F6, and "+" = F7. I've tried setting Jump equal to any of these keys and it doesn't work, while Next_Weapon does. Is there something in the config file I'm missing?

ukki 2008-03-02 21:24

Re: New port: Shadow Warrior
 
Pushwall, delete the config and update the package. I accidentally left them out.

Pushwall 2008-03-02 21:52

Re: New port: Shadow Warrior
 
Thanks, that did the trick. :)

Here's a list of open source car games to tackle before your break ends :D:
http://www.associatedcontent.com/art...free_open.html

ukki 2008-03-02 23:05

Re: New port: Shadow Warrior
 
Sorry to tell you this, but the save game function of this version is really broken and there's no way I'm able to fix it. Hopefully someone will build the Jonof's version of the game for you.

Pushwall 2008-03-03 00:52

Re: New port: Shadow Warrior
 
Yikes! :eek:

I guess for now I'll use my bluetooth keyboard with cheat codes if I want to get through the game. It's a shame that the save game problem is there, but that's the way it is. Thanks for trying though.

tsvest 2008-03-03 15:43

Re: New port: Shadow Warrior
 
Thanks anyway Ukki.
Regarding the racing game candidate - I remember a small, but addictive Formula 1 game called Speed Haste. It wasn't quite demanding on CPU power. It will be nice to see it ported.

ukki 2008-03-03 16:17

Re: New port: Shadow Warrior
 
I can't just go around porting games without linux source of the game.

I'd hate to leave Shadow Warrior this way so I was thinking of trying to add a menu to the game that lists and let's you select maps. Maybe bump up the default arsenary a bit too to compensate the lousy controls.

Pushwall 2008-03-03 16:53

Re: New port: Shadow Warrior
 
ukki that'd be pretty cool! At least it would be easier to navigate through the game without cheat codes.

ukki 2008-03-03 21:15

Re: New port: Shadow Warrior
 
New release. Removed few menu items (load/save/oh dear). Created map selection screens for both episodes. Second episode has so many maps, that you now need 480 height for the game and you still don't see the last one, but it is selectable. So remove your old config before running or just change the screen height to 480. Also resolution switch is now possible inside the game (doesn't save it though). Last but not least, I added a third new menu... ;)

Didn't test it very well so report if my changes break something. Get it from the first post.

Pushwall 2008-03-03 22:17

Re: New port: Shadow Warrior
 
Wow! Cool! I'm off to try it! :)

Pushwall 2008-03-03 22:33

Re: New port: Shadow Warrior
 
OMG yes! This is way cool, ukki!! And that third menu is fantastic too. Haha I've got a feeling everyone is going to want that in the Duke Nukem 3D port too. :)

Thanks for going the extra mile when you didn't have to. For special reasons both Duke and Shadow Warrior are 2 of my favorite games from the past. And now I've got them on my N800. Thank you!! :cool:

ukki 2008-03-04 21:38

Re: New port: Shadow Warrior
 
Enabled pixel doubling for 400x240 resolution, but it's not enabled on default. If you want it, just change to that resolution in your config. Gives better fullscreen framerate.

Pushwall 2008-03-05 02:05

Re: New port: Shadow Warrior
 
Yeah that is much better. I was using 800x480 and now pixel doubling at 400x240 is much smoother. Rock on ukki! :cool:

ArnimS 2008-03-05 22:30

Re: New port: Shadow Warrior
 
Argh. Thanks for those cheats. Not easy this one. I am little grashoppah

italodance 2008-03-16 05:07

Re: New port: Shadow Warrior
 
guys i have a problem for plat the game


well i am a new user here


i downloaded and installed deb file to my n800 os2008

then where are sw.grp, sw.rts? please share here


and what about /media/mmc[1-2]/share/sw ?

i made a folder called share on my Removable Disk (my sdhc 4 gb) and then sw folder into that!

please help and guide me now

tnx

italodance 2008-03-20 08:11

Re: New port: Shadow Warrior
 
Quote:

Originally Posted by Johnx (Post 150103)
@tsvest: Sorry, but there is no way you'll ever see Serious Sam on hardware with the performance of the N800/N810. The requirements are at least 1 or 2 orders of magnitude off.

-John

the game can't quit? what can i do?

wazd 2008-03-20 09:04

Re: New port: Shadow Warrior
 
People want to run Serious Sam on n8*0?)) Why not Crysis?))

Natehunderd 2008-03-22 03:06

Re: New port: Shadow Warrior
 
ukki - lovin it!!!

tsvest 2008-10-17 19:24

Re: New port: Shadow Warrior
 
@italodance
sw.grp and sw.rts should be taken from the PC game.

To quit the game press the home button on the D-pad and then click on the x

mikkov 2008-10-17 19:30

Re: New port: Shadow Warrior
 
Quote:

Originally Posted by tsvest (Post 234373)
@italodance
To quit the game press the home button on the D-pad and then click on the x

Actually this only closes the window but the process left running in the background with 100% cpu and it will kill the battery fast.

This is the behaviour I get from the extras-devel version.

FRZ 2008-12-13 05:29

Re: New port: Shadow Warrior
 
Quote:

Originally Posted by tsvest (Post 234373)
@italodance
sw.grp and sw.rts should be taken from the PC game.

To quit the game press the home button on the D-pad and then click on the x

I was wondering why the game never starts after I installed it. I don't have these files.


All times are GMT. The time now is 02:39.

vBulletin® Version 3.8.8