Page 2 of 2

Posted: Tue 04 Apr 2006, 16:55
by kirk
The sound problem could be SDL mixer. I never could get the latest version of SDL mixer to play MOD files. MU has the ppracer.pup (0.5) that I compiled using an older version of SDL mixer.

http://dotpups.de/dotpups/Games/William/

I've posted a question about unmounting loop devices that have been added and removed from the unionfs. Please see my post under "Users (For the regulars)"

thanks

Posted: Tue 04 Apr 2006, 20:34
by MU
yes, it was the SDL_mixer.
Update of the SDL-libraries:
http://www.murga.org/~puppy/viewtopic.php?p=44571#44571
Mark

Posted: Wed 05 Apr 2006, 00:20
by tempestuous
Thanks MU and kirk for solving the music problem.
I forgot to mention that PlanetPenguin Racer is a fork of Tux Racer (and more modern) but it's worth comparing the two.

Based on your information, I did a websearch about SDLmixer. Is this the SDLmixer patch? - http://www.tt-forums.net/viewtopic.php?t=13037
Without the SDLmixer patch, it appears "standard" that libSDL/SDLmixer would pass music modules to Timidity to be played ... does this sound right?

To assemble these games, I had to get 3D acceleration working with an old nVidia TNT graphics card.
Once I retrace my steps, I will post some details about the proprietary nVidia driver.

Posted: Wed 05 Apr 2006, 00:35
by MU
no, timidity is used for midi-playback.
But you don't need to install timidity, just the midi-instruments (that I added as an additional dotpup). But just for games that use Midi, like Doom. PPracer/Tuxracer don't use Midi. They use MikMod (.it).

MikMod is different.
It is a kind of enhanced midi with embedded soundsamples, if I see it right.
Compared to midi, the files are really huge (typically 2 MB for a song), but still smaller than a mp3 (3-4 MB).
examples:
http://www.murga.org/~puppy/viewtopic.php?t=7145
Mod came from the Amiga, when harddisk-space was expensive, but midi not sufficient for "scene-songs".

The web is full of messages concerning problems with SDL_mixer and mikmod.
This seems to be especially 1.2.6, but I also had problems with 1.2.5.
So the Debian-patch just seems to fix an error (but I'm not shure).

Patched binary:
http://packages.debian.org/stable/libs/libsdl-mixer1.2
Diff for sourcecode (I don't know how to apply that, so I used the compiled binary)
http://packages.debian.org/stable/source/sdl-mixer1.2

There was no change needed in your gamefiles.

Your OpenGL-versions run fine on my ATI-card with the free Xorg DRI-driver :)

Mark

Posted: Wed 05 Apr 2006, 01:35
by kirk
I used SDL_mixer-1.2.5 from:

http://www.libsdl.org/projects/SDL_mixer/release/

I've updated the game ISO to include Tempestuous' driver updates and the proprietary Nvidia driver. I removed the Reaction quake mod and added usr_devx, glxgears, and the pup001 zip file for NTFS. So now it's 260MB. If you select the Nvidia option from the xorgwizard it mounts usr_devx from the CD and runs the Nvidia installer / compiler. The problem I'm having with this is that I can't unmount the CD. If you're running ram only it's kind of anoying , but it works. If you have a pup001 file then you can reboot and it's fine. I tested it on my brother-in-law's laptop with a Nvidia Geforce fx go5200 and it worked well. It took a miniute for the JWM taskbar to come up, maybe because the CD was mounted. On reboot it came up right away. Very good speed, glxgears reported 3800 fps. I'll upload it soon to babbs server (If he's still willing)

Posted: Wed 05 Apr 2006, 04:26
by tempestuous
Well I just tried MU's updated 428KB libSDL package, and now I have music! Great! It was not necessary to install the 8.8MB LibSDL1.2-MIDI-forDoom.pup.
For those people confused (like me) by the whole libSDL/libmikmod/musicmodules/midi situation, all you need to know is that Tux Racer 0.61 (7.2MB) and PlanetPenguin Racer 0.3.1 (6.5MB) both require libstdc++-6.0.3 PupGet(258KB) plus LibSDL1.2-forDoom.pup (428KB).

I now wonder what is contained in kirk's ppracer DotPup to make it 13MB?

But I'm not entirely happy with my ver 0.3.1 ppracer - it "flickers" on one of my monitors, while Tux Racer is fine. So I will soon try to compile ppracer-0.5alpha.

Posted: Wed 05 Apr 2006, 08:34
by Sage
Gee! Thanks guys - genius is spewing out all over! Tuxracer has to be the action Solitaire. No-one need be without either any longer.
Don't relax yet - there's still FlightGear to tackle......

Posted: Wed 05 Apr 2006, 14:26
by kirk
I now wonder what is contained in kirk's ppracer DotPup to make it 13MB?


The ppracer pup I compiled is 0.5 alpha, I think they added more screens, but I might have forgot to strip it.

Posted: Wed 05 Apr 2006, 14:46
by kirk
Forgot to strip it. It should be 6.8MB

Posted: Thu 06 Apr 2006, 05:38
by tempestuous
I just compiled ppracer-0.5alpha, and I see that it's no different to kirk's (apart from size) so there's no need to upload it to MU.
I quite enjoy swapping between Tux Racer and PPRacer just for the different ski slopes.
And I found the reason for the flicker, and will report it in the "(Game) Tuxracer / PPracer" thread.