Optimized .app; builds of ioq3 engine
Mac64 Snow Leopard support, Fixes and Improvements
#143
Posted 03 January 2011 - 03:04 PM
#146
Posted 04 January 2011 - 10:08 PM
And this might apply to this thread: Occasionally I get dropped from a server with the message "CL_Getserver a reliable command was cycled out"
This post has been edited by jtn191: 04 January 2011 - 11:01 PM
#147
Posted 08 January 2011 - 03:36 PM
voidref, on 21 March 2010 - 12:05 AM, said:
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:
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)
I've been using this optimized build for a while, and it rocks!
However, there is an issue with SDL where mouse scrolling doesn't work while holding down the Shift key. More information about this can be found here:
http://old.nabble.co...td18732562.html
Because I use the mouse wheel to change weapons, and Shift to sprint, it's really annoying that I can't change weapons while rushing. The same thing used to happen while holding down the Control key - but this one is easily fixed when you go to the Mouse Preferences Pane and disable the Zoom function, which defaults to Control + Mouse Scroll.
So far, I have written a very simple patch for the Quartz video driver of SDL 1.2.14 and now it works just fine.
Below are the links to the patched version:
Quartz patch for SDL 1.2.14: http://ut.fiorix.net...rtzevents.patch
Patched source code: http://ut.fiorix.net...uartzevents.tgz
Optimized build, tested on OSX 10.6.6: http://ut.fiorix.net...nTerror.app.zip
By the way, if you have experienced wall hack issues with the Kingdom map on Mac (more info), there is a simple way to fix it. Just download the file below and copy to ~/Library/Application Support/Quake3/q3ut4 and Kingdom will have walls again.
Kingdom textures: http://ut.fiorix.net...ixkingserie.pk3
Another important thing to do, is to set the SDL_HAS3BUTTONMOUSE environment variable before running Urban Terror, otherwise SDL will modify MOUSE1 (fire!) to other mouse buttons while holding down Alt or Command keys. I did this in the latest ioUrbanTerror.app, using OSX's Info.plist within the app.
Cheers
This post has been edited by fiorix: 18 January 2011 - 10:17 PM
#148
Posted 08 January 2011 - 09:56 PM
fiorix, on 08 January 2011 - 03:36 PM, said:
However, there is an issue with SDL where mouse scrolling doesn't work while holding down the Shift key. More information about this can be found here:
http://old.nabble.co...td18732562.html
Because I use the mouse wheel to change weapons, and Shift to sprint, it's really annoying that I can't change weapons while rushing. The same thing used to happen while holding down the Control key - but this one is easily fixed when you go to the Mouse Preferences Pane and disable the Zoom function, which defaults to Control + Mouse Scroll.
So far, I have written a very simple patch for the Quartz video driver of SDL 1.2.14 and now it works just fine.
Below are the links to the patched version:
Quartz patch for SDL 1.2.14: http://ut.fiorix.net...rtzevents.patch
Patched source code: http://ut.fiorix.net...uartzevents.tgz
Optimized build, tested on OSX 10.6.6: http://ut.fiorix.net...nTerror.app.zip
By the way, if you have experienced wall hack issues with the Kingdom map on Mac (more info), there is a simple way to fix it. Just download the file below and copy to ~/Library/Application Support/Quake3/q3ut4 and Kingdom will have walls again.
Kingdom textures: http://ut.fiorix.net...ixkingserie.pk3
Cheers
Fix works well! Thank you, I will put the link in the original topic post, if that's ok. I will also point people to your post.
#149
Posted 12 January 2011 - 09:30 AM
I could only get SDL linking as an external dylib so it wasn't included in whole program optimization (IPO) which I suspect would lead to a few small speedups, and I might try running it for a few days with the profiler enabled to see if profile guided optimization makes much difference.
Otherwise it seems to work well and is very snappy (80+ fps instead of ~50 with the normal UT 4.1 i386 build).
Anybody interested in it when I'm finished?
#150
Posted 12 January 2011 - 07:48 PM
raperaperape, on 12 January 2011 - 09:30 AM, said:
If you make a post with it I'll link it.
edit: oh, ioUrT. I thought ioq3-urt.
This post has been edited by mitsubishi: 12 January 2011 - 07:49 PM
- Optimized exe; builds of ioq3 engine for urt With GoogleTranslate, Bumpy, dmaHD, iKALiZER, Raw Mouse, Bug Fixes, ..
- Networking, lag meter, and gaming consistency guide