Re #683 Updated INSTALL.txt instruction for 'selected contents' builds
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4972 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: d004def4e79daad709bff36802c94293d2048a05 Former-commit-id: 7b4d05483764f4255d3a7c559dbd66ff0aa7ba7a
This commit is contained in:
parent
27f2b89a91
commit
4fdc297dec
1 changed files with 47 additions and 27 deletions
68
INSTALL.txt
68
INSTALL.txt
|
@ -71,31 +71,50 @@ The Speed Dreams Team.
|
||||||
|
|
||||||
and you should find :
|
and you should find :
|
||||||
|
|
||||||
speed-dreams-src-base-<version>.tar.xz
|
speed-dreams-src-base-2.0.0-r4687.tar.xz
|
||||||
speed-dreams-src-hq-cars-and-tracks-<version>.tar.xz
|
speed-dreams-src-hq-cars-and-tracks-2.0.0-r4687.tar.xz
|
||||||
speed-dreams-src-more-hq-cars-and-tracks-<version>.tar.xz
|
speed-dreams-src-more-hq-cars-and-tracks-2.0.0-r4687.tar.xz
|
||||||
speed-dreams-src-wip-cars-and-tracks-<version>.tar.xz
|
speed-dreams-src-wip-cars-and-tracks-2.0.0-r4687.tar.xz
|
||||||
speed-dreams-src-unmaintained-<version>.tar.xz
|
speed-dreams-src-unmaintained-2.0.0-r4687.tar.xz
|
||||||
|
|
||||||
where <version> is something like "2.0.0-rc1-r4420", "2.0.0-r4687", ...
|
and
|
||||||
|
|
||||||
Warning: you must download them all, as our current build system
|
speed-dreams-src-partial-build-patch-2.0.0-r4687.tar.xz
|
||||||
can't cope with missing files.
|
|
||||||
|
|
||||||
Let's say that :
|
At this point, you have 2 options :
|
||||||
* you downloaded them all in $HOME/sd,
|
1. you want full game contents : you need to download the 4 first source packages
|
||||||
* and that <version> is x.y.z-rabcd.
|
("base", "hq-cars-and-tracks", "more-hq-cars-and-tracks", "wip-cars-and-tracks"),
|
||||||
|
and even the 5th "unmaintained" one (if you really need it, you know it :-)
|
||||||
|
2. you don't need full game contents : you need at least the "base" package,
|
||||||
|
along with the "partial-build-patch" one ; you can optionnaly add 1 or more of any
|
||||||
|
of the other source packages to you basket, as you like.
|
||||||
|
|
||||||
|
Let's say that you downloaded your packages in $HOME/sd
|
||||||
|
and that we'll extract them in the "2.0.0-r4687" folder
|
||||||
(you can do as you like, but we'll use this folder in the explanations below).
|
(you can do as you like, but we'll use this folder in the explanations below).
|
||||||
|
|
||||||
b - uncompress the tarballs :
|
b - uncompress the tarballs :
|
||||||
|
|
||||||
|
|
||||||
|
Whatever the chosen option (1 or 2) :
|
||||||
|
|
||||||
$ cd $HOME/sd
|
$ cd $HOME/sd
|
||||||
$ mkdir x.y.z-rabcd
|
$ mkdir
|
||||||
$ cd x.y.z-rabcd
|
$ cd 2.0.0-r4687
|
||||||
$ for file in ../*.xz; do tar xvfa $file; done
|
$ for file in ../*.xz; do tar xvfa $file; done
|
||||||
|
|
||||||
|
If you chose option 2 (selected content), then you also have to :
|
||||||
|
$ tar xvfa speed-dreams-src-partial-build-patch-2.0.0-r4687.tar.xz
|
||||||
|
|
||||||
You should now see "cmake", "data" and "src" folders (among others).
|
You should now see "cmake", "data" and "src" folders (among others).
|
||||||
|
|
||||||
|
Advanced: If you chose option 2, and want to add another source package
|
||||||
|
after following the above extraction instructions, always
|
||||||
|
extract again at the end the "partial-build-patch" package
|
||||||
|
before configuring and building ; you can even add contents
|
||||||
|
like this after configuring and building ... of course you'll
|
||||||
|
then need to configure and build again.
|
||||||
|
|
||||||
c - configure :
|
c - configure :
|
||||||
|
|
||||||
1. create the build dir for CMake
|
1. create the build dir for CMake
|
||||||
|
@ -107,11 +126,11 @@ The Speed Dreams Team.
|
||||||
|
|
||||||
- for a Release build using default 3rd party libs
|
- for a Release build using default 3rd party libs
|
||||||
|
|
||||||
|
Option 1 (full contents) :
|
||||||
$ cmake -D OPTION_OFFICIAL_ONLY:BOOL=ON ..
|
$ cmake -D OPTION_OFFICIAL_ONLY:BOOL=ON ..
|
||||||
|
|
||||||
Note: This "OFFICIAL_ONLY" stuff is mandatory, otherwise
|
Option 2 (selected contents) :
|
||||||
you'll get errors saying that some (unofficial contents) folders
|
$ cmake .. # Don't care about "missing files / folder" messages, this is expected :-)
|
||||||
are missing, just because the official tarballs don't include them.
|
|
||||||
|
|
||||||
- you may also want to override some default settings :
|
- you may also want to override some default settings :
|
||||||
|
|
||||||
|
@ -269,7 +288,7 @@ The Speed Dreams Team.
|
||||||
or our bug tracker at http://sourceforge.net/apps/trac/speed-dreams/report.
|
or our bug tracker at http://sourceforge.net/apps/trac/speed-dreams/report.
|
||||||
|
|
||||||
|
|
||||||
II - Windows installation from sources
|
III - Windows installation from sources
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
Note that these instructions work under Windows XP 32 SP2/SP3 ; some tweaks wight be needed for newer / wider versions.
|
Note that these instructions work under Windows XP 32 SP2/SP3 ; some tweaks wight be needed for newer / wider versions.
|
||||||
|
@ -282,9 +301,11 @@ Note that these instructions work under Windows XP 32 SP2/SP3 ; some tweaks wigh
|
||||||
http://sourceforge.net/projects/speed-dreams/files/2.0.0
|
http://sourceforge.net/projects/speed-dreams/files/2.0.0
|
||||||
(speed-dreams-src-<package>-<version>.tar.xz)
|
(speed-dreams-src-<package>-<version>.tar.xz)
|
||||||
|
|
||||||
|
Note: See II.2.a above about which packages you really need.
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
Get the latest trunk from SVN for building with MinGW (was not ready for 2.0.0).
|
Get the latest trunk from SVN (needed for building with MinGW : was not supported by 2.0.0).
|
||||||
|
|
||||||
TODO: Add instructions explaining how to do so, including the minimal list
|
TODO: Add instructions explaining how to do so, including the minimal list
|
||||||
of files and sub-dirs needed (not all trunk is needed, from far).
|
of files and sub-dirs needed (not all trunk is needed, from far).
|
||||||
|
@ -292,8 +313,7 @@ Note that these instructions work under Windows XP 32 SP2/SP3 ; some tweaks wigh
|
||||||
c. Extract their contents to your local disk all in the same target folder
|
c. Extract their contents to your local disk all in the same target folder
|
||||||
(7Zip is an excellent tool for that http://www.7-zip.org/).
|
(7Zip is an excellent tool for that http://www.7-zip.org/).
|
||||||
|
|
||||||
Warning: You need to extract all of the source packages in order to start building
|
Note: See II.2.b above about the order in which you need to extract the packages.
|
||||||
(see above 2-a chapter for more).
|
|
||||||
|
|
||||||
1) CMake and MinGW :
|
1) CMake and MinGW :
|
||||||
|
|
||||||
|
@ -601,7 +621,7 @@ Note: If you use an "Express" version, don't forget to install also the Windows
|
||||||
j. Select the build configuration (Debug, Release, ...).
|
j. Select the build configuration (Debug, Release, ...).
|
||||||
k. Build the whole Solution (Build / Build Solution)
|
k. Build the whole Solution (Build / Build Solution)
|
||||||
l. Build the 'INSTALL' project (right click on it and select Build).
|
l. Build the 'INSTALL' project (right click on it and select Build).
|
||||||
m. Double-click on speed-dreams-2.exe in c:\Program Files\speed-dreams-2\bin
|
m. Double-click on speed-dreams-2.exe in c:\speed-dreams-2-build\bin
|
||||||
|
|
||||||
Note: First-ever startups sometimes fail to correctly write the necessary stuff
|
Note: First-ever startups sometimes fail to correctly write the necessary stuff
|
||||||
into <My documents>\speed-dreams-2.settings and this prevents the game from starting.
|
into <My documents>\speed-dreams-2.settings and this prevents the game from starting.
|
||||||
|
@ -632,8 +652,8 @@ Note: If you use an "Express" version, don't forget to install also the Windows
|
||||||
|
|
||||||
3) MS VC++ 6 : No more supported.
|
3) MS VC++ 6 : No more supported.
|
||||||
|
|
||||||
III - FreeBSD installation from sources
|
IV - FreeBSD installation from sources
|
||||||
---------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
Mostly the same as for "Linux installation from sources" ...
|
Mostly the same as for "Linux installation from sources" ...
|
||||||
|
|
||||||
|
@ -658,7 +678,7 @@ Some specific details though :
|
||||||
TO BE COMPLETED
|
TO BE COMPLETED
|
||||||
|
|
||||||
|
|
||||||
IV - MacOS X installation from sources
|
V - MacOS X installation from sources
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
To do ...
|
To do ...
|
||||||
|
|
Loading…
Reference in a new issue