10-28-2005, 05:09 PM,
|
|
abs1nth
Senior Member
   
|
Posts: 358
Threads: 5
Joined: Sep 2005
|
|
mac os x port
joevenzon Wrote:What graphics card do you have? ATI X800 XT it may of course be that the low performace is due to some remaining issues with the port....i had a quick look with an profiler but couldn't find anything obvious. thelusiv Wrote:OK I just checked a few things into SVN:Merged Julian's latest OS X patchAdded the OS X tools to tools/osx/ great! thelusiv Wrote:abs1nth: the one part of your patch which I did not include is the part that ignores the data directory in VDrift.config. The build for OS X should runvdrift -defaultdatadir ./datawhen VDrift is compiled so it sets the correct path in the default config file. but this only changes the value in my local config file, and not in the config file that is delivered/packaged...?
|
|
10-29-2005, 01:02 AM,
|
|
thelusiv
Administrator
      
|
Posts: 2,346
Threads: 223
Joined: Jun 2005
|
|
mac os x port
abs1nth Wrote:ATI X800 XT it may of course be that the low performace is due to some remaining issues with the port....i had a quick look with an profiler but couldn't find anything obvious. If you check out the code in SVN HEAD, there are now some different texture settings. Try playing with medium size textures, and see if this is much better. abs1nth Wrote:but this only changes the value in my local config file, and not in the config file that is delivered/packaged...? Well, defaultdatadir changes it wherever you tell it to change it - so giving it a path of ./data will change the config file ./data/settings/VDrift.config to have data_dir = ./data instead of /usr/share/games/vdrift/. Now, if you made a package after compiling with -DDATA_DIR=./data and then running vdrift -defaultdatadir ./data, it will have the ./data is the data path in both the compiled executable and in the default config file. Now, if someone installs it after all this, VDrift will see that they have no ~/.vdrift/ and create it, then copy the file ./data/settings/VDrift.config (and other stuff) to ~/.vdrift/. So, whenever they run it their path will be correct (as long as they run it out of the directory where ./data is...)Running vdrift -defaultdatadir is the same in this case as manually editing data/settings/VDrift.config and changing the line data_dir = ... to data_dir = ./data.Does that make any sense? :wink:
|
|
|