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

Jump to content

 Login | Register 
Advertisement
  • (19 Pages)
  • +
  • « First
  • 13
  • 14
  • 15
  • 16
  • 17
  • 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

#141 User is offline   zyu Icon

  •   clan leader   
  • Account: zyu
  • Main tag: =vSC=
  • Country:
  • Joined: 02-September 10
  • Posts: 72

Posted 02 January 2011 - 11:40 PM

Any news? :)

#142 User is offline   voidref Icon

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

Posted 03 January 2011 - 06:02 AM

View Postzyu, on 02 January 2011 - 11:40 PM, said:

Any news? :)


FS fixed the master server issue, I get the list with the current build, you should too.

#143 User is offline   zyu Icon

  •   clan leader   
  • Account: zyu
  • Main tag: =vSC=
  • Country:
  • Joined: 02-September 10
  • Posts: 72

Posted 03 January 2011 - 03:04 PM

Ye I am. I just wanted to ask whether there are some news or not :P

#144 User is offline   voidref Icon

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

Posted 03 January 2011 - 06:54 PM

New is: No HD builds for mac, but I got it running very poorly under Wine and posted a fix for a glsl shader issue.

Happy?

=)

#145 User is offline   zyu Icon

  •   clan leader   
  • Account: zyu
  • Main tag: =vSC=
  • Country:
  • Joined: 02-September 10
  • Posts: 72

Posted 03 January 2011 - 07:14 PM

Yes my lord :D

bullet_loaderAdvertisement

#146 User is offline   jtn191 Icon

  • Account: jtn191
  • Joined: 02-November 10
  • Posts: 81

Posted 04 January 2011 - 10:08 PM

Is there any full list of CVARS for this particular .app for Mac?

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 User is offline   fiorix Icon

  • Account: fiorix
  • Joined: 08-January 11
  • Posts: 7

Posted 08 January 2011 - 03:36 PM

View Postvoidref, on 21 March 2010 - 12:05 AM, said:

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:

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 User is offline   voidref Icon

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

Posted 08 January 2011 - 09:56 PM

View Postfiorix, on 08 January 2011 - 03:36 PM, said:

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

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 User is offline   raperaperape Icon

Posted 12 January 2011 - 09:30 AM

I managed to get an optimized fully-64bit build of ioURT & SDL 1.2.14 (haven't applied the shift+mousewheel patch yet though) compiled with the Intel C++ Compiler working on OSX 10.5

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 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 12 January 2011 - 07:48 PM

View Postraperaperape, on 12 January 2011 - 09:30 AM, said:

Anybody interested in it when I'm finished?

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


  • (19 Pages)
  • +
  • « First
  • 13
  • 14
  • 15
  • 16
  • 17
  • 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-2024 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