The official "ZDoom on Mac OS X" thread.

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

Re: ZDoom for Mac OS X

Postby Johann Smidt » Mon Oct 06, 2008 4:44 pm

I think a lot of the reason the last attempt at making ZDoom work for OS X failed is because there was a lot of work being put into trying to make ZDoom work with PPC. I guess it would be nice, but I'd rather there be a fully functional Intel port than a semi-functional Universal port. You could probably compile it with the 10.4u SDK though. :P
Johann Smidt
Banned User
 
Joined: 05 Oct 2008

Re: ZDoom for Mac OS X

Postby k0da » Mon Oct 06, 2008 5:02 pm

I think a lot of the reason the last attempt at making ZDoom work for OS X failed is because there was a lot of work being put into trying to make ZDoom work with PPC.

What do you mean "last attempt"? Mine, Neil's, ...someone elses? Neil didn't have an Intel Mac when I emailed him last year, which was way after he'd lost interest in creating a complete port of ZDoom to Mac. Why WOULDN'T he concentrate on PPC when that's all he had? When I was trying to improve on Neil's work I didn't really give a damn about PPC - all I wanted was working sound and look up/down. Sound I got working to some degree, but crashed on some WADs. The look up/down is what got me stumped and made me loose interest. Personally, I would be VERY motivated to clean up my CMake changes and finish my IWAD selector if the look/up and down issue gets resolved.

BTW, when I emailed Neil last year he told me ACS might not work 100% on big endian processors.
User avatar
k0da
 
Joined: 25 Jan 2007

Re: ZDoom for Mac OS X

Postby Johann Smidt » Mon Oct 06, 2008 5:11 pm

I'm not terribly in touch with the zcommunity, I meant Neils attempt. Obviously him having a PPC Mac was a good reason for him to want it to work on a PPC processor, but that doesn't mean that trying to make it work on PPC was one of the reasons it had as many problems as it did.
Johann Smidt
Banned User
 
Joined: 05 Oct 2008

Re: ZDoom for Mac OS X

Postby sniperchance » Tue Oct 07, 2008 12:57 am

I've fixed the look down bug. The cause was in the initialization of the finetangent table, which is used for vertical looking. Basically, the first half of the table was set to 0 due to a typecast mixup (unsigned vs. signed ints). I also noticed the same problem with finesine, and resolved that as well. If you know what the graphs for sine and tangent functions look like, then you'll see the problem. It's strange that this bug only occurred in OS X, yet was fine in Windows and Linux. Seriously though, I love having mouselook back.

I'm still trying to figure out the missing MUS/MIDI instruments bug. I think it has something to do with Mac OS X's DLS instrument bank, because I tried GM.DLS from Windows and the missing instruments came back. However, I think a working launcher is the highest priority.
sniperchance
 
Joined: 06 Apr 2008

Re: ZDoom for Mac OS X

Postby sniperchance » Tue Oct 07, 2008 7:47 am

Speaking of which, here's the latest build with a nice launcher:

zdoomac_0.3a.dmg (3.6 MB)
sniperchance
 
Joined: 06 Apr 2008

Re: ZDoom for Mac OS X

Postby Enjay » Tue Oct 07, 2008 8:08 am

sniperchance wrote:If you know what the graphs for sine and tangent functions look like, then you'll see the problem. It's strange that this bug only occurred in OS X, yet was fine in Windows and Linux.

Is it something that should be reported as a bug?
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: ZDoom for Mac OS X

Postby sniperchance » Tue Oct 07, 2008 8:16 am

Yeah, I already reported it and it got fixed.
sniperchance
 
Joined: 06 Apr 2008

Re: The unofficial "ZDoom on Mac OS X" thread.

Postby Skunk » Tue Oct 07, 2008 10:26 am

Dude, I tried to test this at school...


...these computers won't run it. :(
I need something to do between classes damnit.

And these are Intels running Leopard. So I dunno wtf.

EDIT: This is from the system info:
System Version: Mac OS X 10.4.11 (8S2167)
Kernel Version: Darwin 8.11.1
Is this not Leopard? I was told these were Leopards. I KNOW they're Intels.
Last edited by Skunk on Tue Oct 07, 2008 10:32 am, edited 1 time in total.
User avatar
Skunk
 
Joined: 18 Jan 2005

Re: The unofficial "ZDoom on Mac OS X" thread.

Postby sniperchance » Tue Oct 07, 2008 10:31 am

Yeah, 10.5 is Leopard, and 10.4 is Tiger. Sucks that you're one version away from Leopard.
sniperchance
 
Joined: 06 Apr 2008

Re: The unofficial "ZDoom on Mac OS X" thread.

Postby esselfortium » Tue Oct 07, 2008 11:42 am

I just tested out out the latest version of this with KDiZD on my MacBook Pro, and had no problems at all. Everything seemed to be working exactly like in the Windows version :)
User avatar
esselfortium
 
Joined: 19 Sep 2006

Re: The unofficial "ZDoom on Mac OS X" thread.

Postby Skunk » Tue Oct 07, 2008 12:31 pm

PISS.
Thanks for the update on that.
Is there a version of ZDoom OSX that runs in Tiger? I'd really appreciate that.
I'm trying to find a time killer at college for times like this when I'm sitting around doing jack squat waiting for classes.
User avatar
Skunk
 
Joined: 18 Jan 2005

Re: The unofficial "ZDoom on Mac OS X" thread.

Postby sniperchance » Tue Oct 07, 2008 4:06 pm

I'm gonna try and figure out how to compile a program on 10.5 with 10.4 support. It kept failing for me due to some "missing header" with the 10.4 SDK, but there should be a way to fix that.

EDIT: Sweet, I got it to compile against the 10.4 SDK. And I didn't even have to change the gcc version.
sniperchance
 
Joined: 06 Apr 2008

Re: The unofficial "ZDoom on Mac OS X" thread.

Postby Skunk » Tue Oct 07, 2008 7:23 pm

So now a later build will run in 10.4?
Damn straight.
User avatar
Skunk
 
Joined: 18 Jan 2005

Re: The unofficial "ZDoom on Mac OS X" thread.

Postby sniperchance » Tue Oct 07, 2008 7:56 pm

As a matter of fact, this one should. I hope.
sniperchance
 
Joined: 06 Apr 2008

Re: The unofficial "ZDoom on Mac OS X" thread.

Postby Skunk » Wed Oct 08, 2008 5:31 am

I'll let you know. I got a long 2+ hours between classes today, I'll need something to do.
User avatar
Skunk
 
Joined: 18 Jan 2005

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 4 guests