elfs: (Default)
[personal profile] elfs
Grr. It's 1:30 in the morning and I'm still up. I've just spent the last hour trying to figure out where in its wack-ass mind the old Apple program Marathon is clearing its sound manager values before it enters the music initialization loop. I'm getting pretty good at this GDB stuff; never had much need for it when I was just a Perl geek.

Having the source code to Marathon is kinda nice. Having it actually f#@!%ing work would be much nicer!

And I really have to say, GDB 6.0 is so much more amazingly better than GDB 5.0. Line completion, variable suggestion, thread functionality. Totally rocks.

Date: 2005-12-23 10:09 am (UTC)
From: (Anonymous)
Hmm, I remember submitted a patch to Aleph that fixed the volume issue (checkbox to scale playback volume by the volume slider instead of set system volume), and it was pretty significant IIRC. Try looking for ... SetDefaultOutputVolume maybe?

Date: 2005-12-23 11:13 am (UTC)
From: [identity profile] duskwuff.livejournal.com
Marathon or Marathon 2? There's a rather significant difference.

Date: 2005-12-24 12:45 am (UTC)
From: [identity profile] elfs.livejournal.com
Marathon, Marathon2, and Marathon Infinity have all been ported. The engine supposedly supports all three.

Date: 2005-12-24 08:47 am (UTC)
From: [identity profile] duskwuff.livejournal.com
Mmm... not really.

Marathon 2 and Infinity used the same engine. The only major difference was that Infinity came with a different set of levels, and included a level editor.

Marathon, however, was a completely different beast. Never ported off the Mac. Word is that it would have been a bitch to port, anyway - had lots of hand-coded 68000 assembly in the tight bits. Most of the same functionality was available in the M2 engine, although some unusual features never got implemented.

Now that you've mentioned that you're working on Aleph One, though, it's pretty clear that you're talking about the M2 engine.

So. On to the problem. Tried using a watch on some of the values in the SoundManager structure?

Date: 2005-12-23 03:33 pm (UTC)
From: [identity profile] funos.livejournal.com
GDB supports threads now? Finally!

Date: 2005-12-23 05:32 pm (UTC)
From: [identity profile] lucky-otter.livejournal.com
Ah, Marathon. Such an excellent game. I hope that Aleph One is some day actually ported to Linux. I don't have high hopes, though. They presently list it as "Coming Soon".

Irritatingly, archive.org doesn't have the "get Marathon" page archived, so I can't check how long they've had that for. I remember it being there some years ago, though.

Date: 2005-12-24 12:44 am (UTC)
From: [identity profile] elfs.livejournal.com
I has been ported to Linux. People claim it works. The problem is that when I try to run it throws an exception, and when I go to look why in the debugger I see that the sound manager object has been initialized, but all of its values have been set to zero. If i follow the defaulting code, the initializer seems to be working fine. I need to figure out where the code is "getting lost".

Date: 2005-12-24 01:09 am (UTC)
From: [identity profile] lucky-otter.livejournal.com
So I noticed when I set out to seriously look for it. It runs here, but very slowly with either the software or OpenGL renderers. I think my OpenGL setup must be not quite right.

The audio, however, works just fine.

Profile

elfs: (Default)
Elf Sternberg

December 2025

S M T W T F S
 12345 6
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 31st, 2025 09:26 pm
Powered by Dreamwidth Studios