Urban Terror Forums: Optimized .app; builds of ioq3 engine - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (19 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • This topic is locked

Optimized .app; builds of ioq3 engine Rate Topic: ***** 4 Votes

Mac64 Snow Leopard support, Fixes and Improvements

#1 User is offline   voidref Icon

  • Account: voidref
  • Country:
  • Joined: 28-February 10
  • Posts: 133
  • Notoriety: basic

Posted 21 March 2010 - 12:05 AM

Hi all,

I was inspired by mitsubishi and grabbed his sources and compiled for 64 bit Mac aka Snow Leopard (after much jumping through hoops with SDL, cUrl and such).

You will probably want to save your old version before trying this out, there is at least one issue with the brightness being higher at the same settings, and the image loading for the menus and splash screens seems overly dithered.

When you replace the app, it seems that you also lose your favorites list, but I guess I am used to that. ;)

There may be more problems, but I haven't run into any.

It does, however have all the features (sans ikalizer =( ), that are posted in this thread: http://forums.urbant...of-ioq3-engine/

You can find the .app here:


Update: fiorix has fixed an issue in the sdl and made the app available here (updated link, the fiorix link is 404 now):
http://norcalurt.com/ioUrbanTerror.zip
His post about it with some other good stuff is here: http://forums.urbant...post__p__298402


My version, if anything goes wrong with that, is still available here:

http://www.voidref.c...UrbanTerror.zip

Just save your old ioUrbanTerror.app and unzip this into your /Applications/UrbanTerror dir.

If enough people are interested, I'll clean up the source (had to hack some mac specific stuff in there), and make the sources available too)




This post has been edited by voidref: 31 July 2012 - 08:41 AM


#2 User is offline   voidref Icon

  • Account: voidref
  • Country:
  • Joined: 28-February 10
  • Posts: 133
  • Notoriety: basic

Posted 21 March 2010 - 04:35 AM

I figured out the problem with the dithered textures, it happens when you select the "Compress Textures" option.

Leave that off and every thing is fine.

Just as a reminder, this is Snow Leopard only, it will probably not work in Leopard as it is 64 bit.

On the plus side it feels a lot faster, I can run high quality textures in 32 bit and my framerate stays at 125 most of the time.

This is on the 256 meg ATI Radeon HD 2600 Pro on a 3.06 Ghz 24" iMac core 2 duo.

Haven't tried smp yet, I'll fire that up and report back soon.

#3 User is offline   strepidus Icon

  • Account: strepidus
  • Joined: 28-February 10
  • Posts: 11
  • Notoriety: missing

Posted 21 March 2010 - 04:50 PM

Tried it on my 24" iMac w/ Radeon HD 2600pro and 10.6.2, and it crashed instantly. Do you want the crash report?

#4 User is offline   voidref Icon

  • Account: voidref
  • Country:
  • Joined: 28-February 10
  • Posts: 133
  • Notoriety: basic

Posted 21 March 2010 - 08:25 PM

Yeah, that would be good!

I probably missed some library that's on my system but not on yours.

#5 User is offline   strepidus Icon

  • Account: strepidus
  • Joined: 28-February 10
  • Posts: 11
  • Notoriety: missing

Posted 21 March 2010 - 10:12 PM

I think this has the relevant info:

Process: ioUrbanTerror.ub [1112]
Path: /Applications/Games/Quake3/ioUrbanTerror.app/Contents/MacOS/ioUrbanTerror.ub
Identifier: net.urbanterror.www
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [199]

Date/Time: 2010-03-21 14:08:37.318 -0700
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6

Interval Since Last Report: 642171 sec
Crashes Since Last Report: 3
Per-App Crashes Since Last Report: 2
Anonymous UUID: F3D53B6E-2FDC-4F0D-AF50-760CB8994C1C

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
Library not loaded: /usr/local/lib/libSDL-1.2.0.dylib
Referenced from: /Applications/Games/Quake3/ioUrbanTerror.app/Contents/MacOS/ioUrbanTerror.ub
Reason: image not found

#6 User is offline   voidref Icon

  • Account: voidref
  • Country:
  • Joined: 28-February 10
  • Posts: 133
  • Notoriety: basic

Posted 21 March 2010 - 10:43 PM

Hmm, that lib is in the package in the right place.

This can be solved by installing the latest 65bit SDL on your machine, but I should be able to make it stand alone.

I'm looking into it.

#7 User is offline   say Icon

  • Account: say
  • Joined: 21-March 10
  • Posts: 3
  • Notoriety: gone

Posted 21 March 2010 - 11:08 PM

View Postvoidref, on 21 March 2010 - 10:43 PM, said:

Hmm, that lib is in the package in the right place.

This can be solved by installing the latest 65bit SDL on your machine, but I should be able to make it stand alone.

I'm looking into it.


Heya void,

Mind posting your modified sources somewhere?

#8 User is offline   voidref Icon

  • Account: voidref
  • Country:
  • Joined: 28-February 10
  • Posts: 133
  • Notoriety: basic

Posted 21 March 2010 - 11:17 PM

Ok, I have updated the .zip from the link above. I actually changed 2 things:

* Enabled the use of SMP, this was not enabled for some reason in the previous build
* Statically linked to the SDL

Please try this, I tested on another mac (why didn't I do that before? I'm lazy.) and it worked without having the SDL installed locally.

Please let me know!

#9 User is offline   voidref Icon

  • Account: voidref
  • Country:
  • Joined: 28-February 10
  • Posts: 133
  • Notoriety: basic

Posted 22 March 2010 - 12:25 AM

View Postsay, on 21 March 2010 - 11:08 PM, said:

Heya void,

Mind posting your modified sources somewhere?


Ok, sources are available here:

http://www.voidref.c...t-git-mac64.zip

You should be able to cd to the dir with the makefile and just make.

I removed all the win32/64 libs to make it smaller, and also so people don't think this is official or would even be appropriate for windows/anything-else

#10 User is offline   strepidus Icon

  • Account: strepidus
  • Joined: 28-February 10
  • Posts: 11
  • Notoriety: missing

Posted 22 March 2010 - 01:41 AM

voidref, thanks so much for updating the .app! I've never seen UrT be so smooth on 1920x1200...I think I should actually try sniping now :-)

  • (19 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2017 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942