Skip to content
Browse files

- let's try a README in markdown for github's sake

  • Loading branch information...
1 parent 16f9d84 commit 0c83edd1c0317c1280ede463bb3f979854935187 @camillol committed
Showing with 40 additions and 31 deletions.
  1. +38 −0 README.md
  2. +0 −29 README.rtf
  3. +2 −2 Torcs.xcodeproj/project.pbxproj
View
38 README.md
@@ -0,0 +1,38 @@
+How to install
+--------------
+- Download the Torcs 1.3.1 source package from SourceForge: [torcs-1.3.1.tar.bz2][1]
+- Extract it, and put the MacTorcs folder inside the torcs-1.3.1 folder
+- Open the Torcs project
+- Build the "Apply patch" target to patch the source code for Mac support
+- Build the "Torcs.app" target to build Torcs as a Mac application
+- Enjoy!
+
+About
+-----
+The Xcode project is based on previous work by [Stephen Hudson][2] and others, with vast changes to
+streamline the build, leverage the existing Torcs makefiles for installing data, and reduce the size
+of the final application bundle. The Mac-specific changes to the source code have been redone to
+minimize impact (for instance, there is now no need to change the way learning and tmath headers are
+included). As a result, this port should be easier to maintain and adapt to future versions of Torcs.
+
+How to add a driver
+-------------------
+- Duplicate one of the existing driver targets (eg "tita.so") and rename it as appropriate
+ (eg "newdriver.so")
+- Double-click the new target, go to the "Build" tab and change the product name (eg "newdriver")
+- Expand the new target and remove all files from the Compile Sources phase
+- Add the new driver's source files to the project; choose to add them to the new target you just
+ set up
+- Add the new target to "All Dynamic Libraries" (drag it)
+- Double-click on the "Install drivers" phase in the "Torcs.app" target and add your newdriver.so to
+ the input files (follow the pattern).
+
+TODO
+----
+- Save settings in the Preferences folder instead of modifying the application bundle.
+
+Camillo Lugaresi
+
+
+[1]: http://sourceforge.net/projects/torcs/files/all-in-one/1.3.1/torcs-1.3.1.tar.bz2/download
+[2]: http://publish.uwo.ca/~shudson2/Home/Blog/7805725A-C647-41F0-B9C2-B91E8388D4EC.html
View
29 README.rtf
@@ -1,29 +0,0 @@
-{\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf540
-{\fonttbl\f0\fnil\fcharset0 Monaco;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
-
-\f0\fs20 \cf0 How to install:\
-- Download the Torcs 1.3.1 source package from SourceForge: <{\field{\*\fldinst{HYPERLINK "http://sourceforge.net/projects/torcs/files/all-in-one/1.3.1/torcs-1.3.1.tar.bz2/download"}}{\fldrslt torcs-1.3.1.tar.bz2}}>\
-- Extract it, and put the MacTorcs folder inside the torcs-1.3.1 folder\
-- Open the Torcs project\
-- Build the "Apply patch" target to patch the source code for Mac support\
-- Build the "Torcs.app" target to build Torcs as a Mac application\
-- Enjoy!\
-\
-The Xcode project is based on previous work by Stephen Hudson and others (<{\field{\*\fldinst{HYPERLINK "http://publish.uwo.ca/~shudson2/Home/Blog/7805725A-C647-41F0-B9C2-B91E8388D4EC.html"}}{\fldrslt read more...}}>), with vast changes to streamline the build, leverage the existing Torcs makefiles for installing data, and reduce the size of the final application bundle. The Mac-specific changes to the source code have been redone to minimize impact (for instance, there is now no need to change the way learning and tmath headers are included).\
-As a result, this port should be easier to maintain and adapt to future versions of Torcs.\
-\
-How to add a driver:\
-- Duplicate one of the existing driver targets (eg "tita.so") and rename it as appropriate (eg "newdriver.so")\
-- Double-click the new target, go to the "Build" tab and change the product name (eg "newdriver")\
-- Expand the new target and remove all files from the Compile Sources phase\
-- Add the new driver's source files to the project; choose to add them to the new target you just set up\
-- Add the new target to "All Dynamic Libraries" (drag it)\
-- Double-click on the "Install drivers" phase in the "Torcs.app" target and add your newdriver.so to the input files (follow the pattern).\
-\
-TODO:\
-- Save settings in the Preferences folder instead of modifying the application bundle.\
-\
-Camillo Lugaresi\
-}
View
4 Torcs.xcodeproj/project.pbxproj
@@ -1803,6 +1803,7 @@
1362F80411AF009300AF3D9A /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
1362F80511AF009300AF3D9A /* osspec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = osspec.h; sourceTree = "<group>"; };
1362F80611AF009300AF3D9A /* torcs.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = torcs.in; sourceTree = "<group>"; };
+ 13C0995F11C8254F006B57C4 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.md; sourceTree = "<group>"; };
13FFA4FE11B091C700DFC073 /* data */ = {isa = PBXFileReference; lastKnownFileType = folder; name = data; path = ../data; sourceTree = SOURCE_ROOT; };
13FFAD9611B091DD00DFC073 /* doc */ = {isa = PBXFileReference; lastKnownFileType = folder; name = doc; path = ../doc; sourceTree = SOURCE_ROOT; };
13FFB01511B0952900DFC073 /* isnan.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = isnan.h; sourceTree = "<group>"; };
@@ -1822,7 +1823,6 @@
13FFB02511B0952900DFC073 /* v4_t.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = v4_t.h; sourceTree = "<group>"; };
13FFB04F11B0964200DFC073 /* mac_setup_resources.mk */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = mac_setup_resources.mk; sourceTree = "<group>"; };
13FFB05011B0964200DFC073 /* torcs-1.3.1-mac.diff */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "torcs-1.3.1-mac.diff"; sourceTree = "<group>"; };
- 13FFB95911B2AF6600DFC073 /* README.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = README.rtf; sourceTree = "<group>"; };
8D1107320486CEB800E47090 /* Torcs.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Torcs.app; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
@@ -4400,7 +4400,7 @@
29B97314FDCFA39411CA2CEA /* Torcs */ = {
isa = PBXGroup;
children = (
- 13FFB95911B2AF6600DFC073 /* README.rtf */,
+ 13C0995F11C8254F006B57C4 /* README.md */,
0FEAC82D0DADBF0700FE87DD /* src */,
13FFAD9611B091DD00DFC073 /* doc */,
13FFA4FE11B091C700DFC073 /* data */,

0 comments on commit 0c83edd

Please sign in to comment.
Something went wrong with that request. Please try again.