Jump to content


Return to Castle Wolfenstein Universal Binary?


  • Please log in to reply
51 replies to this topic

#21 Thain Esh Kelch

Thain Esh Kelch

    Uberspewer

  • Members
  • PipPipPipPipPipPip
  • 2460 posts
  • Steam ID:ThainEshKelch
  • Location:Denmark

Posted 13 February 2011 - 12:40 PM

Brad for president!
"They're everywhere!"

And now, time for some Legend of Zelda.

#22 Brad Oliver

Brad Oliver

    Awesome Developer Dude Guy

  • Developer
  • PipPipPipPipPipPip
  • 1691 posts
  • Steam Name:hoserama99
  • Steam ID:hoserama99
  • Location:Glendale, AZ
  • Pro Member:Yes

Posted 14 February 2011 - 12:13 PM

I banged out a build over the weekend. Seems to work OK. Intel-only for now. I did some testing against the PPC version in Rosetta, and honestly it's plenty fast, so ultimately we're talking 255 fps vs. 500 fps. ;)
Brad Oliver
bradman at pobox dot com

#23 the Battle Cat

the Battle Cat

    Sewage Served Raw

  • Admin
  • 14863 posts
  • Location:Citadel City, Lh'owon
  • Pro Member:Yes

Posted 14 February 2011 - 02:18 PM

Thanks!  Got a few glitches though Awesome Developer Dude Guy.  One is a hard crash to the desktop when I try to load a saved game.  Another is the brightness setting.  The brightness control slider jumps to only 2 positions, way too dark and way too light.  I set it to way light because it was so dark I couldn't see my hand in front of my face.  It didn't help until I went to the next level and then it was way too light.  I'll PM you the crash on load report.  Runs slippery fast.
Gary Simmons
the Battle Cat

#24 Brad Oliver

Brad Oliver

    Awesome Developer Dude Guy

  • Developer
  • PipPipPipPipPipPip
  • 1691 posts
  • Steam Name:hoserama99
  • Steam ID:hoserama99
  • Location:Glendale, AZ
  • Pro Member:Yes

Posted 14 February 2011 - 02:42 PM

View Postthe Battle Cat, on 14 February 2011 - 02:18 PM, said:

Thanks!  Got a few glitches though Awesome Developer Dude Guy.  One is a hard crash to the desktop when I try to load a saved game.  Another is the brightness setting.  The brightness control slider jumps to only 2 positions, way too dark and way too light.  I set it to way light because it was so dark I couldn't see my hand in front of my face.  It didn't help until I went to the next level and then it was way too light.  I'll PM you the crash on load report.  Runs slippery fast.

Ah, the saved games from this are likely incompatible with PPC saves from the older Mac port (they were not byte-swapped to be cross-platform compatible originally). I bet they work fine with PC saves. Not sure if I want to "break" it to make PPC saves work - more likely I'd just have it put up a dialog about incompatible saves.
Brad Oliver
bradman at pobox dot com

#25 mattw

mattw

    Legendary

  • Members
  • PipPipPipPipPip
  • 521 posts

Posted 14 February 2011 - 03:08 PM

View PostBrad Oliver, on 14 February 2011 - 02:42 PM, said:

Ah, the saved games from this are likely incompatible with PPC saves from the older Mac port (they were not byte-swapped to be cross-platform compatible originally). I bet they work fine with PC saves. Not sure if I want to "break" it to make PPC saves work - more likely I'd just have it put up a dialog about incompatible saves.

Thanks so much for taking the time to do this Brad. I've removed my old PPC saves to avoid any problems but I get a crash walking up the stairs from the doctors lab on the first level.

The first time:
Thread 4 Crashed:
0   com.aspyr.rtcw_sp             0x0006e7b4 R_CalcBoneLerp + 3771
1   com.aspyr.rtcw_sp             0x0006edd9 R_CalcBones + 1236
2   com.aspyr.rtcw_sp             0x0006f9a9 RB_SurfaceAnim + 69
3   com.aspyr.rtcw_sp             0x0007209c RB_RenderDrawSurfList + 774
4   com.aspyr.rtcw_sp             0x000721f4 RB_DrawSurfs + 119
5   com.aspyr.rtcw_sp             0x000722d5 RB_ExecuteRenderCommands + 212
6   com.aspyr.rtcw_sp             0x0007232a RB_RenderThread + 29
7   com.aspyr.rtcw_sp             0x00009720 GLimp_RenderThreadWrapper(void*) + 70
8   ...ple.CoreServices.CarbonCore 0x9631885a PrivateMPEntryPoint + 68
9   libSystem.B.dylib             0x90a0385d _pthread_start + 345
10  libSystem.B.dylib             0x90a036e2 thread_start + 34

Thread 4 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x00c12c44  ecx: 0x00000024  edx: 0x00c12c20
  edi: 0x00000039  esi: 0x00000000  ebp: 0xb0102cd8  esp: 0xb0102c40
   ss: 0x00000023  efl: 0x00010246  eip: 0x0006e7b4   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000023   gs: 0x0000000f

and then 2nd time:

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   com.aspyr.rtcw_sp             0x0006e7b4 R_CalcBoneLerp + 3771
1   com.aspyr.rtcw_sp             0x0006edd9 R_CalcBones + 1236
2   com.aspyr.rtcw_sp             0x0006f8d1 R_GetBoneTag + 165
3   com.aspyr.rtcw_sp             0x0008bac2 R_LerpTag + 316
4   com.aspyr.rtcw_sp             0x0002d7c2 CL_CgameSystemCalls + 3784
5   com.aspyr.rtcw_sp             0x0002a135 VM_DllSyscall + 20
6   com.wolfenstein.cgame         0x27731b0f trap_R_LerpTag + 54
7   com.wolfenstein.cgame         0x27725c41 CG_GetTag + 160
8   com.aspyr.rtcw_sp             0x0002a579 VM_Call + 182
9   com.aspyr.rtcw_sp             0x0002c8f4 CL_GetTag + 56
10  com.aspyr.rtcw_sp             0x0004ee8d SV_GameSystemCalls + 2425
11  com.aspyr.rtcw_sp             0x0002a135 VM_DllSyscall + 20
12  com.wolfenstein.game           0x2707a358 trap_GetTag + 47
13  com.wolfenstein.game           0x27020899 AICast_CheckVisibility + 582
14  com.wolfenstein.game           0x270215b2 AICast_SightUpdate + 386
15  com.wolfenstein.game           0x27024e3f AICast_StartFrame + 324
16  com.wolfenstein.game           0x27059d48 vmMain + 202
17  com.aspyr.rtcw_sp             0x0002a579 VM_Call + 182
18  com.aspyr.rtcw_sp             0x0004d88f SV_ClientThink + 123
19  com.aspyr.rtcw_sp             0x0004da92 SV_UserMove + 513
20  com.aspyr.rtcw_sp             0x0001960b Com_RunAndTimeServerPacket + 86
21  com.aspyr.rtcw_sp             0x0001abb4 Com_EventLoop + 283
22  com.aspyr.rtcw_sp             0x0001ae28 Com_Frame + 203
23  com.aspyr.rtcw_sp             0x00006df9 carbonTimerCallback(__EventLoopTimer*, void*) + 29
24  com.apple.CoreFoundation       0x96166adb __CFRunLoopRun + 8059
25  com.apple.CoreFoundation       0x96164464 CFRunLoopRunSpecific + 452
26  com.apple.CoreFoundation       0x96164291 CFRunLoopRunInMode + 97
27  com.apple.HIToolbox           0x92993004 RunCurrentEventLoopInMode + 392
28  com.apple.HIToolbox           0x92992dbb ReceiveNextEventCommon + 354
29  com.apple.HIToolbox           0x92b1b1a2 _AcquireNextEvent + 54
30  com.apple.HIToolbox           0x92b10e54 RunApplicationEventLoop + 228
31  com.aspyr.rtcw_sp             0x0000bb54 main + 392
32  com.aspyr.rtcw_sp             0x00002e32 _start + 216
33  com.aspyr.rtcw_sp             0x00002d59 start + 41

This is on a Mac Pro 2009 with 5870, Mac OS X 10.6.6

#26 Brad Oliver

Brad Oliver

    Awesome Developer Dude Guy

  • Developer
  • PipPipPipPipPipPip
  • 1691 posts
  • Steam Name:hoserama99
  • Steam ID:hoserama99
  • Location:Glendale, AZ
  • Pro Member:Yes

Posted 14 February 2011 - 03:20 PM

View Postmattw, on 14 February 2011 - 03:08 PM, said:

Thanks so much for taking the time to do this Brad. I've removed my old PPC saves to avoid any problems but I get a crash walking up the stairs from the doctors lab on the first level.


So did you also manually turn on r_smp? Turn it off - I haven't tested it and the 500 fps you get on your Mac Pro without it are more than enough. ;-)
Brad Oliver
bradman at pobox dot com

#27 mattw

mattw

    Legendary

  • Members
  • PipPipPipPipPip
  • 521 posts

Posted 14 February 2011 - 04:04 PM

Doh! Now I feel stupid - solved by deleting the wolfconfig.cfg file :)

Don't know if it was just the smp multi processing as before I got a bright green screen when loading - now it is back to the yellow one I had with the PPC version. Anyway once again thanks so much for this I can see me playing through it all once again.

#28 the Battle Cat

the Battle Cat

    Sewage Served Raw

  • Admin
  • 14863 posts
  • Location:Citadel City, Lh'owon
  • Pro Member:Yes

Posted 14 February 2011 - 07:19 PM

View PostBrad Oliver, on 14 February 2011 - 02:42 PM, said:

Ah, the saved games from this are likely incompatible with PPC saves from the older Mac port (they were not byte-swapped to be cross-platform compatible originally). I bet they work fine with PC saves. Not sure if I want to "break" it to make PPC saves work - more likely I'd just have it put up a dialog about incompatible saves.
I removed my PPC save folder and created a new empty one in its place.  I can quick save but it crashes when I try to quick load.  It also crashes when I try to save from the menu (esc/save).  Can't play the game in one pass.
Gary Simmons
the Battle Cat

#29 Brad Oliver

Brad Oliver

    Awesome Developer Dude Guy

  • Developer
  • PipPipPipPipPipPip
  • 1691 posts
  • Steam Name:hoserama99
  • Steam ID:hoserama99
  • Location:Glendale, AZ
  • Pro Member:Yes

Posted 14 February 2011 - 07:31 PM

View Postthe Battle Cat, on 14 February 2011 - 07:19 PM, said:

I removed my PPC save folder and created a new empty one in its place.  I can quick save but it crashes when I try to quick load.  It also crashes when I try to save from the menu (esc/save).  Can't play the game in one pass.

Gotcha, I'll take a look. Thanks for the bug reports.
Brad Oliver
bradman at pobox dot com

#30 Diablofett

Diablofett

    Notorious

  • Members
  • PipPipPip
  • 183 posts
  • Location:Hyrule

Posted 14 February 2011 - 09:56 PM

View PostBrad Oliver, on 14 February 2011 - 07:31 PM, said:

Gotcha, I'll take a look. Thanks for the bug reports.


I came here to check on the forums and found what is apparently a UB build of Return to Castle Wolfenstein. That was really awesome of you to take the time to do this, Brad. Thank you!
Now if only we could get a UB of Rainbow Six 3 - Raven Shield...

#31 Smoke_Tetsu

Smoke_Tetsu

    Uberspewer

  • Members
  • PipPipPipPipPipPipPip
  • 2641 posts
  • Steam Name:Tetsuo
  • Steam ID:smoke_tetsu
  • Location:Cyberspace

Posted 20 February 2011 - 07:06 AM

Here I was thinking we'd have to wait for iortcw to come out. :P Although a nice thing about that one is it'd likely have real good multichannel sound support as ioquake3 has. How's the sound on this patch? The multichannel sound support doesn't work properly in most Aspyr versions I'm afraid to say.
--Tetsuo

Alex Delarg, A Clockwork Orange said:

It's funny how the colors of the real world only seem really real when you viddy them on the screen.

the Battle Cat said:

Slower and faster? I'm sorry to hear such good news?

Late '09 27 inch iMac, Core i5 Quad 2.6Ghz, 12GB RAM, ATI Radeon HD4850 512MB, 1TB Hard Drive


#32 mattw

mattw

    Legendary

  • Members
  • PipPipPipPipPip
  • 521 posts

Posted 20 February 2011 - 12:03 PM

OK after starting fresh with a new config file I've played through past the first boss level but the game is crashing when clicking the arrow to start the rocket base mission (Mac Pro 2009 with 5870 and 10.6.6:

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   com.aspyr.rtcw_sp             0x00077e7e R_AddMDCSurfaces + 782
1   com.aspyr.rtcw_sp             0x00085bbd R_AddEntitySurfaces + 557
2   com.aspyr.rtcw_sp             0x00086f25 R_RenderView + 215
3   com.aspyr.rtcw_sp             0x0008dd92 RE_RenderScene + 1001
4   com.aspyr.rtcw_sp             0x0002d64a CL_CgameSystemCalls + 3408
5   com.aspyr.rtcw_sp             0x0002a135 VM_DllSyscall + 20
6   com.wolfenstein.cgame         0x25942a77 trap_R_RenderScene + 33
7   com.wolfenstein.cgame         0x25906f59 CG_DrawActive + 421
8   com.wolfenstein.cgame         0x2594810a CG_DrawActiveFrame + 7438
9   com.wolfenstein.cgame         0x259258c4 vmMain + 134
10  com.aspyr.rtcw_sp             0x0002a579 VM_Call + 182
11  com.aspyr.rtcw_sp             0x0002c4b7 CL_CGameRendering + 66
12  com.aspyr.rtcw_sp             0x0003e4b0 SCR_DrawScreenField + 414
13  com.aspyr.rtcw_sp             0x0003e59c SCR_UpdateScreen + 115
14  com.aspyr.rtcw_sp             0x00038dcc CL_Frame + 366
15  com.aspyr.rtcw_sp             0x0001af67 Com_Frame + 522
16  com.aspyr.rtcw_sp             0x00006df9 carbonTimerCallback(__EventLoopTimer*, void*) + 29
17  com.apple.CoreFoundation       0x96166adb __CFRunLoopRun + 8059
18  com.apple.CoreFoundation       0x96164464 CFRunLoopRunSpecific + 452
19  com.apple.CoreFoundation       0x96164291 CFRunLoopRunInMode + 97
20  com.apple.HIToolbox           0x92993004 RunCurrentEventLoopInMode + 392
21  com.apple.HIToolbox           0x92992dbb ReceiveNextEventCommon + 354
22  com.apple.HIToolbox           0x92b1b1a2 _AcquireNextEvent + 54
23  com.apple.HIToolbox           0x92b10e54 RunApplicationEventLoop + 228
24  com.aspyr.rtcw_sp             0x0000bb54 main + 392
25  com.aspyr.rtcw_sp             0x00002e32 _start + 216
26  com.aspyr.rtcw_sp             0x00002d59 start + 41

and:

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x00000000  ecx: 0x00000000  edx: 0x00000000
  edi: 0x005aa180  esi: 0x005aa180  ebp: 0xbfffe268  esp: 0xbfffe1e0
   ss: 0x00000023  efl: 0x00010202  eip: 0x00077e7e   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x0000005c

#33 the Battle Cat

the Battle Cat

    Sewage Served Raw

  • Admin
  • 14863 posts
  • Location:Citadel City, Lh'owon
  • Pro Member:Yes

Posted 20 February 2011 - 02:10 PM

The rocket base mission is my favorite.  I have a saved game at the beginning of it where I play through.  Once you get inside the base has anybody tried sneaking down to the rail car in the shipment of gas canisters?
Gary Simmons
the Battle Cat

#34 mattw

mattw

    Legendary

  • Members
  • PipPipPipPipPip
  • 521 posts

Posted 20 February 2011 - 03:07 PM

View Postthe Battle Cat, on 20 February 2011 - 02:10 PM, said:

The rocket base mission is my favorite.  I have a saved game at the beginning of it where I play through.  Once you get inside the base has anybody tried sneaking down to the rail car in the shipment of gas canisters?

Hi Battle Cat. Did you get it to load OK with Brad's Intel build then? If so maybe I need to look at my config file and perhaps increase memory allocated to something?

#35 the Battle Cat

the Battle Cat

    Sewage Served Raw

  • Admin
  • 14863 posts
  • Location:Citadel City, Lh'owon
  • Pro Member:Yes

Posted 20 February 2011 - 07:36 PM

View Postmattw, on 20 February 2011 - 03:07 PM, said:

Hi Battle Cat. Did you get it to load OK with Brad's Intel build then? If so maybe I need to look at my config file and perhaps increase memory allocated to something?
The game runs OK so far though the brightness function is hosed and makes the game too bright or too dark to see your knife in front of your face.  Also I cannot save from the menu, quickload,  or load a saved game from the menu so I haven't played past the second level.  There is no way fraking possible I could reach the rocket base mission in one pass so I don't know if it will play past where it is freezing on you.  I was simply commenting that the rocket base mission is my favorite part of the game.
Gary Simmons
the Battle Cat

#36 mattw

mattw

    Legendary

  • Members
  • PipPipPipPipPip
  • 521 posts

Posted 21 February 2011 - 08:17 AM

View Postthe Battle Cat, on 20 February 2011 - 07:36 PM, said:

The game runs OK so far though the brightness function is hosed and makes the game too bright or too dark to see your knife in front of your face.  Also I cannot save from the menu, quickload,  or load a saved game from the menu so I haven't played past the second level.  There is no way fraking possible I could reach the rocket base mission in one pass so I don't know if it will play past where it is freezing on you.  I was simply commenting that the rocket base mission is my favorite part of the game.

Thanks BC. For some reason I had it in my head that it was just the quicksave that was giving you trouble.

Hopefully the crashlogs will mean something to Brad as it's still a fun game.

#37 the Battle Cat

the Battle Cat

    Sewage Served Raw

  • Admin
  • 14863 posts
  • Location:Citadel City, Lh'owon
  • Pro Member:Yes

Posted 21 February 2011 - 09:25 AM

View Postmattw, on 21 February 2011 - 08:17 AM, said:

Thanks BC. For some reason I had it in my head that it was just the quicksave that was giving you trouble.

Hopefully the crashlogs will mean something to Brad as it's still a fun game.
The quicksave is the only thing that doesn't crash it!  =)  I'm looking forward to this too and I hope it's not more trouble than Brad is willing to put up with.  RtCW is one of my all time favorite FPS.
Gary Simmons
the Battle Cat

#38 Tesseract

Tesseract

    Uberspewer

  • Forum Moderators
  • PipPipPipPipPipPipPip
  • 3425 posts
  • Pro Member:Yes

Posted 21 February 2011 - 12:23 PM

View PostBrad Oliver, on 14 February 2011 - 02:42 PM, said:

Ah, the saved games from this are likely incompatible with PPC saves from the older Mac port (they were not byte-swapped to be cross-platform compatible originally). I bet they work fine with PC saves. Not sure if I want to "break" it to make PPC saves work - more likely I'd just have it put up a dialog about incompatible saves.
Could you maybe check the endianness of the save files (magic number?) and byteswap conditionally?

#39 mattw

mattw

    Legendary

  • Members
  • PipPipPipPipPip
  • 521 posts

Posted 21 February 2011 - 01:30 PM

View PostTesseract, on 21 February 2011 - 12:23 PM, said:

Could you maybe check the endianness of the save files (magic number?) and byteswap conditionally?

I deleted my saves folder before replacing the PowerPC app with the Intel one so they have all been created with the new application. I've got 20 saves although I did start overwriting them after a while.

#40 Brad Oliver

Brad Oliver

    Awesome Developer Dude Guy

  • Developer
  • PipPipPipPipPipPip
  • 1691 posts
  • Steam Name:hoserama99
  • Steam ID:hoserama99
  • Location:Glendale, AZ
  • Pro Member:Yes

Posted 21 February 2011 - 05:17 PM

View PostTesseract, on 21 February 2011 - 12:23 PM, said:

Could you maybe check the endianness of the save files (magic number?) and byteswap conditionally?

It's not only byte-swapping, it's structure alignment (gcc vs. CodeWarrior). I'll look at it soon-ish when I get a spare moment. I notice that someone says that quicksave works, and ironically that's the only form of saving I tested with this build. ;)
Brad Oliver
bradman at pobox dot com