Quantcast

Forums | MacLife

You are not logged in.

#1 2006-05-31 12:06 pm

lostgame
Member
Registered: 2006-05-31
Posts: 4

Sonic Robo Blast 2 : Mac

Hey, guys. Lostgame here.

Well, this is a combination of many things, for the mac part, it's a combination of Logan's code and mine, a bizzare hybrid-but here are the facts.

SRB2 is an online fangame project by Sonic Team Junior. The team's website is at www.srb2.org

Information about the game, as well as Windows support should be addressed to Sonic team Junior and contacts at SRB2.org

ALL MAC QUESTIONS SHOULD BE ADDRESSED TO ME.

System requirements:

I've tested it and guarantee it to work on the following:

iBook G3 900 Mhz, 384 MB RAM, 10.4.6
Mac Mini G4, 1.25 Ghz, 1 GB RAM, 10.4.6
iMac G4 (round base), 800 Mhz, 256 MB RAM, 10.3.9 (slightly laggy at times)

So, it seems to work on a variety of hardware, which is good.

If you have questions regarding compiling this from the official source, don't look at me, I'll just hand you mine. =P

This works with LAN netplay with other macs and windows.

I have not yet tested online netplay. I would appreciate comments in that area, though I am sure it will be fine.

Thanks, guys.

-Nic "Lostgame" Newman

Comments? Questions? E-mail me at: "nic@thechaoseffect.ca"

Download here





Frequently asked question:

the one and only question I get is simply because of users not reading the contents of the archive.

ARCHIVE.ZIP MUST BE UNZIPPED TO YOUR LIBRARY/FRAMEWORKS FOLDER!

That's all.

Offline

 

#2 2006-05-31 1:18 pm

akb825
ph34r teh master sword
From: In a secluded room
Registered: 2003-12-25
Posts: 6465
Website

Re: Sonic Robo Blast 2 : Mac

Crashes on startup on my PowerMac:
Dual 2.7 GHz
Radeon X800
1.5 GB of RAM

Here's the stack trace.

Code:

Date/Time:      2006-05-31 11:14:34.677 -0700
OS Version:     10.4.6 (Build 8I127)
Report Version: 4

Command: Srb2
Path:    /Games/Srb2.app/Contents/MacOS/Srb2
Parent:  WindowServer [57]

Version: 1.09 (1.09)

PID:    2433
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004

Thread 0 Crashed:
0   Srb2                          0x00046458 VID_GetModeForSize + 120
1   Srb2                          0x00048328 VID_SetMode + 768
2   Srb2                          0x000af4f8 SCR_SetMode + 92
3   Srb2                          0x00007d70 D_SRB2Loop + 232
4   Srb2                          0x00041ca8 I_InitNetwork + 0
5   Srb2                          0x000b19e8 -[SDLMain applicationDidFinishLaunching:] + 120
6   com.apple.Foundation          0x92975ad8 _nsnote_callback + 180
7   com.apple.CoreFoundation      0x9080b010 __CFXNotificationPost + 368
8   com.apple.CoreFoundation      0x908030ec _CFXNotificationPostNotification + 684
9   com.apple.Foundation          0x9295fee0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
10  com.apple.AppKit              0x93722338 -[NSApplication _postDidFinishNotification] + 112
11  com.apple.AppKit              0x93722224 -[NSApplication _sendFinishLaunchingNotification] + 92
12  com.apple.AppKit              0x93721d6c -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 264
13  com.apple.AppKit              0x93721914 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 92
14  com.apple.Foundation          0x92976ae4 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 380
15  com.apple.Foundation          0x92976944 _NSAppleEventManagerGenericHandler + 92
16  com.apple.AE                  0x91534960 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 208
17  com.apple.AE                  0x915347fc dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
18  com.apple.AE                  0x91534654 aeProcessAppleEvent + 284
19  com.apple.HIToolbox           0x932200e0 AEProcessAppleEvent + 60
20  com.apple.AppKit              0x9372005c _DPSNextEvent + 856
21  com.apple.AppKit              0x9371fb48 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
22  com.apple.AppKit              0x9371c08c -[NSApplication run] + 472
23  Srb2                          0x000b1fec main + 1244
24  Srb2                          0x00002454 _start + 344 (crt.c:272)
25  Srb2                          0x000022f8 start + 60

Thread 1:
0   libSystem.B.dylib             0x9001f5ec select + 12
1   SDL                           0x30009944 SDL_Delay + 264
2   SDL                           0x30009acc RunTimer + 80
3   SDL                           0x30027ef8 SDL_RunThread + 72
4   SDL                           0x3002a0a0 RunThread + 16
5   libSystem.B.dylib             0x9002ba68 _pthread_body + 96

Thread 2:
0   libSystem.B.dylib             0x9000b0a8 mach_msg_trap + 8
1   libSystem.B.dylib             0x9000affc mach_msg + 60
2   com.apple.opengl              0x93679d60 glcDebugListener + 252
3   libSystem.B.dylib             0x9002ba68 _pthread_body + 96

Thread 3:
0   libSystem.B.dylib             0x9000b0a8 mach_msg_trap + 8
1   libSystem.B.dylib             0x9000affc mach_msg + 60
2   com.apple.CoreFoundation      0x907e3b78 __CFRunLoopRun + 832
3   com.apple.CoreFoundation      0x907e347c CFRunLoopRunSpecific + 268
4   com.apple.audio.CoreAudio     0x9148c83c HALRunLoop::OwnThread(void*) + 264
5   com.apple.audio.CoreAudio     0x9148c5dc CAPThread::Entry(CAPThread*) + 96
6   libSystem.B.dylib             0x9002ba68 _pthread_body + 96

Thread 4:
0   libSystem.B.dylib             0x90054fc8 semaphore_timedwait_signal_trap + 8
1   libSystem.B.dylib             0x90071648 pthread_cond_timedwait_relative_np + 556
2   com.apple.audio.CoreAudio     0x9149d970 CAGuard::WaitFor(unsigned long long) + 204
3   com.apple.audio.CoreAudio     0x9149d880 CAGuard::WaitUntil(unsigned long long) + 304
4   com.apple.audio.CoreAudio     0x9149bac4 HP_IOThread::WorkLoop() + 852
5   com.apple.audio.CoreAudio     0x9149b75c HP_IOThread::ThreadEntry(HP_IOThread*) + 16
6   com.apple.audio.CoreAudio     0x9148c5dc CAPThread::Entry(CAPThread*) + 96
7   libSystem.B.dylib             0x9002ba68 _pthread_body + 96

My software

"Standards are for n00bs!!!" -Microsoft

Offline

 

#3 2006-05-31 1:46 pm

lostgame
Member
Registered: 2006-05-31
Posts: 4

Re: Sonic Robo Blast 2 : Mac

Try making a new OpenGL profile in your video settings.

I had another G5 user with a similar problem with video settings.

Offline

 

#4 2006-05-31 1:57 pm

akb825
ph34r teh master sword
From: In a secluded room
Registered: 2003-12-25
Posts: 6465
Website

Re: Sonic Robo Blast 2 : Mac

If you mean a new profile from ATI displays, it didn't do anything. Of course, from the looks of the stack trace, it appears that it's having problems wen initializing the network.

BTW, do you depend on any of the other threads for that initialization? I know one large problem with threads happens by not having variables used by multiple threads declared as volatile, so when they are changed in one thread the other thread doesn't see the change if it's still cached. It has to wait for it to become uncached before it sees the difference, which would happen in time for slower machines, but not faster machines. (such as the G5s. I had a similar problem before I even knew about volatile, and I ended up fixing it by putting in a delay; of course, it was probably better to have the delay in there in the first place)


My software

"Standards are for n00bs!!!" -Microsoft

Offline

 

#5 2006-06-04 1:06 pm

lostgame
Member
Registered: 2006-05-31
Posts: 4

Re: Sonic Robo Blast 2 : Mac

Well, I've had next to no problems with G3/G4s and all the problems in the world with G5's...

So I'm totally removing G5 support, I have no way to support it-I know nobody with a G5, so I have no way to test it or compile it for G5s. I apologize profusely. I don't know what else to do with this problem. *insert pathetic smiley here*

Peace out...

-Nic "Lostgame" Newman

Questions? Comments?

AIM or MSN me at l0stgame or lostgame@hotmail.com

Offline

 

#6 2006-06-04 2:20 pm

akb825
ph34r teh master sword
From: In a secluded room
Registered: 2003-12-25
Posts: 6465
Website

Re: Sonic Robo Blast 2 : Mac

I don't really think giving out is really the best option. I suggest you look at some of the crash logs (hell, if you send me a version with debug symbols enabled, then I can run it for you and send you the stack trace with line numbers) and can narrow down the problem, you can ask around on sites such as iDevGames. If you look around, I'm sure there's plenty of people who would help you.

BTW, it would help if you checked if it breaks on single processor G5s, like the iMac G5, but not on the dual processor. I've seen problems before caused because the processor was fast enough to reveal a fault in the code. I've noticed it in one of my programs (which I managed to fix) and in others. You won't learn anything if you don't learn from your mistake and find out how to fix it. You can't go out not supporting any newer systems just because you don't know what to do, that will pretty much destroy any newer project you work on.

Last edited by akb825 (2006-06-04 2:21 pm)


My software

"Standards are for n00bs!!!" -Microsoft

Offline

 

#7 2006-06-05 12:35 am

lostgame
Member
Registered: 2006-05-31
Posts: 4

Re: Sonic Robo Blast 2 : Mac

No, no, it wasn't that it was like "ZOMG EMO LIEK IT DOZN'T WORK ONOS ILL GO KILL MYSELF NOW1!!111!!!111", it's just I really don't have time to fix it, I have a lot of other projects I work on, and let's face it, very few people have dual-core G5's, you're right, by the way. It works fine on a single-core iMac G5, which confuses me, but whatever. MSN or AIM me, man, I'd like to talk, and hell, maybe I can get this thing solved.

Offline

 

#8 2006-06-05 2:54 pm

teitoku
Sinner
From: Power Mac G4
Registered: 2006-03-01
Posts: 190

Re: Sonic Robo Blast 2 : Mac

Starts up, loads some files, crashes with this in the log:

Code:

SetStates()
HWR_Startup()
InitMD2()...
Error while loading md2.dat

Offline

 

#9 2006-06-08 10:27 pm

skorche
Member
From: Minnesota
Registered: 2002-11-05
Posts: 460
Website

Re: Sonic Robo Blast 2 : Mac

Runs fine on my MacBook under Rosetta. There's a couple of graphical glitches, but I've never run it on a PPC.

Also, you aren't bundling SDL. I had to install SDL_Mixer before it would work.


Howling Moon Software and Chipmunk Physics: Fast 2D Rigid Body Physics in C

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson