maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Maemo 5] Descent 1 (DXX-Rebirth) port (https://talk.maemo.org/showthread.php?t=51753)

eiraku 2010-05-14 18:17

Re: DXX-Rebirth for the N900
 
Hmm... Will try out the timidity solution first... Though GamboyRMH's solution also deserves a sticky...

On a side note, how have you guys mapped the keys? Accelemymote seems to be funky last I checked, it went everywhere and then stopped working.

Funny that a great solution might be to map the mouse-touchscreen controls to be CENTERED somewhere around the bottom right corner somehow, acting like a virtual thumbstick so to speak.

Right now, depending on awkwardly placed fingers and weird keyboard mappings to prevent finger cramps lol.

EDIT: egads, Duke3D-Timidity is 14 megs large. Hope its optified.

GameboyRMH 2010-05-14 18:32

Re: DXX-Rebirth for the N900
 
There's no nice way to set the controls. I use IJKL for yaw/pitch, WASD for vertical/horizontal strafe, Z and X for roll, Q and E for primary and secondary weapons, and the volume rocker for forward/reverse.

eiraku 2010-05-14 18:43

Re: DXX-Rebirth for the N900
 
And it seems that the Duke3D-Timidity package did the trick. MIDI music working fabulously, no sound fx stutters, no nothing (except the occasional Timidity rendering oddness).

Funny that I don't have to install any other parts of Duke3D. Hmm, maybe the Timidity package is, well, just Timidity?

Getting into Lvl1 and hearing the music play, I realized that the guy a few pages back was right: Descent isn't Descent without the MIDI music.

Also, there seems to be some weird bug causing the menu music NOT to play after starting D1X. After you get into a game it's all dandy and exiting to the menu starts the menu music fine.

Plus the Timidity package ate up all of 1MB from rootfs... :D

Funny that D1X is running better on the N900 then it ever did on my old Ubuntu box (never got Timidity to run back then. Had to resort to MP3s).

Now lets squash them bugs and get to D2X!

EDIT 1: Ladies and gents, we've got ourselves a bug with the Timidity solution.

Try it on level 2, around 2-3 minutes into the level, the music (I'm sure, as I tried it WHILE being fragged by some of the orange bots, and a second time while hiding in the spawn room) triggers a high pitched whistling sound that persists until you:

1) Finish the level
2) Abort the mission or
3) Go mad.

It's there in level three as well, only a tad further in. Reproducibility is a 100%, I've done a couple of runs through levels 2 and 3 and it happens every time.

Bug in the Timidity sample set? Don't know.

Will try out the OGG solution next.

GameboyRMH 2010-05-14 19:37

Re: DXX-Rebirth for the N900
 
Quote:

Originally Posted by eiraku (Post 658732)
Plus the Timidity package ate up all of 1MB from rootfs... :D

Wow, that's actually a lot for one package :eek:

I'll have to try it when it's optified, the quality should be better than the rips.

GameboyRMH 2010-05-14 19:38

Re: DXX-Rebirth for the N900
 
Quote:

Originally Posted by eiraku (Post 658732)
EDIT 1: Ladies and gents, we've got ourselves a bug with the Timidity solution.

Try it on level 2, around 2-3 minutes into the level, the music (I'm sure, as I tried it WHILE being fragged by some of the orange bots, and a second time while hiding in the spawn room) triggers a high pitched whistling sound that persists until you:

1) Finish the level
2) Abort the mission or
3) Go mad.

It's there in level three as well, only a tad further in. Reproducibility is a 100%, I've done a couple of runs through levels 2 and 3 and it happens every time.

Bug in the Timidity sample set? Don't know.

Will try out the OGG solution next.

Yep known bug in Timidity:

http://boards.dingoonity.org/dingoon...tion=printpage

eiraku 2010-05-14 19:53

Re: DXX-Rebirth for the N900
 
Quote:

Originally Posted by GameboyRMH (Post 658811)

Proposed solution? http://welltemperedstudio.wordpress....oblems-solved/

Anyhow, does the N900 port of D1X supports MP3 as it does Oggs? Or does the Jukebox function need to be enabled first?

And is it internal or do I need to install Ogg codecs into my N900?

Bundyo 2010-05-14 20:42

Re: DXX-Rebirth for the N900
 
I tried Zeemote and it works, but not very playable since the steering keys are 6, not 4... Maybe better than the keyboard though...

LordNelson 2010-05-14 21:20

Re: DXX-Rebirth for the N900
 
Interresting results, did you have significantly lower framerates with timidity music? (the -fps parameter will show it)

Quote:

Originally Posted by eiraku (Post 658711)
On a side note, how have you guys mapped the keys? Accelemymote seems to be funky last I checked, it went everywhere and then stopped working.

I prefer Accelemymote, my settings are:
offset_pitch = 35
max_roll = 25
max_pitch = 25
Turning the phone upside down will disable Accelemymote, so maybe that's why it stopped working?
My other keymappings are the ones that are set as defaults in D1X-Rebirth now.

Quote:

Originally Posted by eiraku (Post 658711)
Funny that a great solution might be to map the mouse-touchscreen controls to be CENTERED somewhere around the bottom right corner somehow, acting like a virtual thumbstick so to speak.

That's a nice idea for the touchsceen-users, maybe I can get that into the next release.

Quote:

Originally Posted by eiraku (Post 658823)
Anyhow, does the N900 port of D1X supports MP3 as it does Oggs? Or does the Jukebox function need to be enabled first?

And is it internal or do I need to install Ogg codecs into my N900?

You have to install the codecs, I think libsmpeg0 is needed for mp3 playback.

Thanks to everyone for your anwers, will try around with the music-thingy when I have some time :)

eiraku 2010-05-15 02:33

Re: DXX-Rebirth for the N900
 
Hmm, will do some more testing in regards of MIDI vs Ogg performance impact.

As for the virtual thumbstick idea, centering it above the secondary weapons monitor seems to be a good bet, because a point of reference is needed.

Ideally, we could have a semi-transparant overlay ala iphone controls to do this, but it might not be that easy to put elements like that into the game file.

F2thaK 2010-05-15 03:03

Re: DXX-Rebirth for the N900
 
i cannot get this to run......... followed instructions on 1st post..

eiraku 2010-05-15 04:21

Re: DXX-Rebirth for the N900
 
@f2hak: Things to check.

1) Did you wipe clean both /home/user/.d1x-rebirth/ AND /opt/d1x-rebirth/ before installing the package in extras-devel? If the dirs don't exist to begin with and it's your first time installing D1X than it's fine.

2) Did you put the 2 data files in EITHER /home/user/.d1x-rebirth/ or /opt/d1x-rebirth/ ?

3) Are they full retail (not shareware) Descent data files patched to at least ver 1.4a (last ver is 1.5 IINM)? I've done this because DXX and D2X-XL for my old Ubuntu needs this as well.

4) Are they properly named? Make sure they are in full lowercase (descent.pig and descent.hog).

And as for MIDI impact on performance, I'm clocking an average of 36-38 FPS with the cockpit on, 44-46 with it off. Running at normal stock clockspeed, also with 'presistant debris' in misc options enabled (levels filled with the floating parts of enemiy bots are great fun).

I'd say it's acceptable, besides the level 2-3 madness inducing music problem. Levels 1, 4 and 5 has beem fine so far, no timitidy craziness going on.

But the timidity rendering is good, if not great. The Oggs and my old Sound Blaster 16 on the first PC i played it on are trumped easily.

F2thaK 2010-05-15 04:31

Re: DXX-Rebirth for the N900
 
1) Did you wipe clean both /home/user/.d1x-rebirth/ AND /opt/d1x-rebirth/ before installing the package in extras-devel? If the dirs don't exist to begin with and it's your first time installing D1X than it's fine.

3) Are they full retail (not shareware) Descent data files patched to at least ver 1.4a (last ver is 1.5 IINM)? I've done this because DXX and D2X-XL for my old Ubuntu needs this as well.

I think these may be the probs, its full version, but unsure what version..

thanks.

F2thaK 2010-05-15 05:33

Re: DXX-Rebirth for the N900
 
this sux...............

tried to patch game files, but no go

tried all above , still does not work

eiraku 2010-05-15 06:04

Re: DXX-Rebirth for the N900
 
Check threads about getting D1X or D2X-XL running in Ubuntu or other desktop *nix, they should be applicable in terms of giving you the required steps to patch the data files.

LordNelson 2010-05-15 12:26

Re: DXX-Rebirth for the N900
 
Quote:

Originally Posted by f2thak (Post 659243)
this sux...............

tried to patch game files, but no go

tried all above , still does not work

Could you run the command d1x-rebirth in xterm and check if it gives an error message?

F2thaK 2010-05-15 12:36

Re: DXX-Rebirth for the N900
 
problem has been solved, i had incorrect version data files

OP should make a note saying "needs version x"

thanks

megaexer 2010-05-15 13:13

Re: DXX-Rebirth for the N900
 
Could someone port D2X-XL? I like good graphics!

Screenshots

eiraku 2010-05-15 13:18

Re: DXX-Rebirth for the N900
 
Quote:

Originally Posted by f2thak (Post 659542)
problem has been solved, i had incorrect version data files

OP should make a note saying "needs version x"

thanks

To be exact, like I said before, DXX ports usually require the data files from a PATCHED version of Descent, IINM, version 1.4 or something.

As for music, sticking with MIDI for now. It just sounds better (besides the glitches in levels 3 and 2, Timidity sounds marvellous) plus I don't have to install OGG support. CPU hogging is also low enough with MIDI.

Quote:

Originally Posted by megaexer (Post 659566)
Could someone port D2X-XL? I like good graphics!

Screenshots

Havta ask Lord Nelson but I don't really think so. It's SLOW even on my CURRENT PC, I really do think it will fry the N900, even OCed.

But if it could be optimised enough to run well, we'll have a killer showoff game for the N900.

LordNelson 2010-05-15 14:15

Re: DXX-Rebirth for the N900
 
Quote:

Originally Posted by megaexer (Post 659566)
Could someone port D2X-XL? I like good graphics!

Screenshots

I don't like the D2X-XL-graphics, so no - I will not port it :D
And don't think that it would run very well anyway so this would be a waste of time in my opinion ;)

F2thaK 2010-05-15 14:17

Re: DXX-Rebirth for the N900
 
also, thats not original descent 2, it has hi res textures

megaexer 2010-05-15 14:58

Re: DXX-Rebirth for the N900
 
Lol, i know you play it for nostalgia, but I'd like other games than Quake 3 which has good graphics.

megaexer 2010-05-15 16:23

Re: DXX-Rebirth for the N900
 
Quote:

Originally Posted by LordNelson (Post 659623)
And don't think that it would run very well anyway so this would be a waste of time in my opinion ;)

No i didn't mean to run it with Maximum details, gfx like hardware accelerated Quake II is good enough, textures a bit blurry though. I still appreciate your work!

GameboyRMH 2010-05-18 16:54

Re: DXX-Rebirth for the N900
 
Question, what audio formats does the stock libsdl-mixer support vs. the custom one? This custom one is causing me some package management issues.

LordNelson 2010-05-19 13:59

Re: DXX-Rebirth for the N900
 
Quote:

Originally Posted by GameboyRMH (Post 664468)
Question, what audio formats does the stock libsdl-mixer support vs. the custom one? This custom one is causing me some package management issues.

The default one doesn't support OGG/Vorbis and mp3, so the Jukebox is rather useless. The mp3-support in my build doesn't have any hardware-acceleration though afaik, but it's better than nothing...
The rebuild was done in 5 minutes to try out the Jukebox so it's rather experimental and may cause problems. What issues did you have, dependencies?

GameboyRMH 2010-05-19 14:10

Re: DXX-Rebirth for the N900
 
Yeah if I tried to install anything with apt-get, I got the error that mp-fremantle-002-pr depends on libsdl-mixer1.2 where the version equals 1:1.2.6-5+0m5.

Reinstalling the stock libsdl-mixer from a .deb fixed the issue.

arkanoid 2010-05-20 22:19

Re: DXX-Rebirth for the N900
 
Cannot get accelerometer to work. Upgraded to -power34 kernel and d1x-rebirth does not work anymore at all, just black screen, rm -rf .d1x-rebirth does not help :-(

UPD: just ignore this, reboot fixed the problem

GameboyRMH 2010-05-21 13:59

Re: DXX-Rebirth for the N900
 
Hey just thought I'd share these keybindings I came up with while playing on a BT keyboard, but I discovered they work quite well with the N900's keyboard as well:

Pitch/Yaw: IJKL
Roll L/R: U/O
Slide (strafe): WASD
Forward/Reverse: E/Q

Fire primary: Space
Fire Secondary: C
Flare: F
Bomb: B

LordNelson 2010-05-27 21:07

Re: DXX-Rebirth for the N900
 
Released a new version that works with PR 1.2, can't get it into extras-devel though, so you have to get it from garage up to now.
Looks like OpenGL ES 1 support was dropped with PR 1.2, at least the dev-packages are missing. Will see how this can be fixed when I have some time...

GameboyRMH 2010-05-27 23:51

Re: DXX-Rebirth for the N900
 
I installed the version from extras-devel after PR1.2 and it works fine...

legoman666 2010-05-28 01:24

Re: DXX-Rebirth for the N900
 
Awesome, get the accelerometer control working as well as midi support. Getting the midis working was as simple as installing the duke nukem timidity package and then moving the midis to /opt/d1x-rebirth/music. I didn't even have to make any changes in the game, it just worked.

Now all I need to do is master the controls, the accelerometer is too sensitive.

Patola 2010-06-21 21:28

Re: DXX-Rebirth for the N900
 
Quote:

Originally Posted by legoman666 (Post 684483)
Awesome, get the accelerometer control working as well as midi support. Getting the midis working was as simple as installing the duke nukem timidity package and then moving the midis to /opt/d1x-rebirth/music. I didn't even have to make any changes in the game, it just worked.

Now all I need to do is master the controls, the accelerometer is too sensitive.

Where are these midis? Couldn't find them on my Descent installation.

legoman666 2010-06-22 15:04

Re: DXX-Rebirth for the N900
 
Quote:

Originally Posted by Patola (Post 724160)
Where are these midis? Couldn't find them on my Descent installation.

I think I got them from that DXX website.

Flandry 2010-06-22 17:14

Re: [Maemo 5] Descent 1 (DXX-Rebirth) port
 
I missed this thread due to being overwhelmed with Real Life. Good work and i'll add the link to the Accelemymote thread as a supported app. I also finally got around to changing the title, but FYI it's now possible to do that yourself as of this week.

burntbit 2010-06-23 18:10

Re: [Maemo 5] Descent 1 (DXX-Rebirth) port
 
I know I have version 1.4... I don't know if I have 1.4a. The game loads fine, but when I go to configure controls the program gets stuck when I try to input any controls. I haven't tried getting the sound set up yet... but I can't get any controls configured because it locks up. Help will be appreciated. Thanks.

LordNelson 2010-06-24 11:58

Re: [Maemo 5] Descent 1 (DXX-Rebirth) port
 
Quote:

Originally Posted by burntbit (Post 726650)
I know I have version 1.4... I don't know if I have 1.4a. The game loads fine, but when I go to configure controls the program gets stuck when I try to input any controls. I haven't tried getting the sound set up yet... but I can't get any controls configured because it locks up. Help will be appreciated. Thanks.

Hmm, didn't have any problems when setting up the controls. What do you mean with "stuck"? Did it freeze? You can go back to the previous menu with Shift+Backspace if this is your problem.

cddiede 2010-06-28 10:57

Re: [Maemo 5] Descent 1 (DXX-Rebirth) port
 
Anyone else getting "illegal instruction" when they try to launch this?

I have the .pig and .hog files and I think they're patched to at least 1.4a. After that it complained about not being able to access the descent.mid file in my home directory, but after clearing that by downloading a the full set of .midi files I still get an illegal instruction error.

fwrnando 2010-06-28 21:19

Re: [Maemo 5] Descent 1 (DXX-Rebirth) port
 
So I got everything running just fine, looks beautiful. But... what's the best way to control it? I'll be literally spinning around non-stop with the touchscreen and accelerometer, and I'm not fast enough with the keyboard to use just it.

I don't think I was that bad on this when I played on my PC back in the day. :P

cddiede 2010-06-29 04:30

Re: [Maemo 5] Descent 1 (DXX-Rebirth) port
 
Quote:

Originally Posted by fwrnando (Post 733217)
So I got everything running just fine, looks beautiful. But... what's the best way to control it? I'll be literally spinning around non-stop with the touchscreen and accelerometer, and I'm not fast enough with the keyboard to use just it.

I don't think I was that bad on this when I played on my PC back in the day. :P

can you post the checksums for the descnt .pg and .hog files that worked for you? I've tried three different sets and am still stuck at "illegal instruction".

Also, did you download the entire set of .mid sound files for the game or just using the delivered descent.mid?

LordNelson 2010-06-29 17:57

Re: [Maemo 5] Descent 1 (DXX-Rebirth) port
 
Quote:

Originally Posted by fwrnando (Post 733217)
So I got everything running just fine, looks beautiful. But... what's the best way to control it? I'll be literally spinning around non-stop with the touchscreen and accelerometer, and I'm not fast enough with the keyboard to use just it.

I don't think I was that bad on this when I played on my PC back in the day. :P

I'm using Accelemymote, not with the default settings though. These worked for me pretty good:
offset_pitch = 35
max_roll = 25
max_pitch = 25

Quote:

Originally Posted by cddiede (Post 733514)
can you post the checksums for the descnt .pg and .hog files that worked for you? I've tried three different sets and am still stuck at "illegal instruction".

Also, did you download the entire set of .mid sound files for the game or just using the delivered descent.mid?

$ md5sum descent.*
c792a21a30b869b1ec6d31ad64e9557e descent.hog
fa7e48b7b1495399af838e31ac13b7da descent.pig

I wonder why it complains about a illegal instruction... could you try to reinstall d1x-rebirth? Maybe your binary got damaged and causes this error...

cddiede 2010-06-30 00:16

Re: [Maemo 5] Descent 1 (DXX-Rebirth) port
 
Quote:

Originally Posted by LordNelson (Post 734409)

$ md5sum descent.*
c792a21a30b869b1ec6d31ad64e9557e descent.hog
fa7e48b7b1495399af838e31ac13b7da descent.pig

I wonder why it complains about a illegal instruction... could you try to reinstall d1x-rebirth? Maybe your binary got damaged and causes this error...

Well here's my md5sum:
074200a7dc73162b0149b7c66421f333 descent.hog
3050b0b21f7fbc4e7ecadcc3306c3914 descent.pig

So I guess the illegal instruction is what you see when using the wrong game data files. :(

Anyone wanna help a brother out in updating his .pig and .hog files?


All times are GMT. The time now is 16:24.

vBulletin® Version 3.8.8