56 | | === Acquiring the code === |
57 | | The game's code, data and build environment are stored on a Subversion server. The recommended way to get an up-to-date copy is with TortoiseSVN: |
58 | | |
59 | | * Download and install [https://tortoisesvn.net/ TortoiseSVN]. (Make sure you reboot when it asks you to.) |
60 | | * Use TortoiseSVN to check out `https://svn.wildfiregames.com/public/ps/trunk/`. This may take a while, and will use around 5GB of disk space. If there are errors during the checkout, use TortoiseSVN's "update" to resume downloading. |
61 | | |
62 | | The [https://tortoisesvn.net/docs/release/TortoiseSVN_en/index.html TortoiseSVN manual] has information on [https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-checkout.html checking out], as well as [https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-update.html updating] and [https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-patch.html creating patches]. |
63 | | |
64 | | (This is the read-only public SVN URL. If you have commit access, you need to use `https://svn.wildfiregames.com/svn/ps/trunk/` instead.) |
65 | | |
66 | | If you only wish to play the most cutting-edge version, this is all you have to do (other than [#Keepinguptodate Keeping up to date]). The executable will be located at `binaries\system\pyrogenesis.exe`. |
| 56 | === Getting the code === |
| 57 | |
| 58 | See [wiki:BuildInstructionsGettingTheCode Getting the Code]. |
379 | | 0 A.D. is primarily developed on SVN. To checkout the latest code from SVN, run this command: |
380 | | |
381 | | {{{ |
382 | | #!sh |
383 | | svn co https://svn.wildfiregames.com/public/ps/trunk/ 0ad |
384 | | }}} |
385 | | '''Note:''' Sometimes SVN stops before it has downloaded all files. You should check that it outputs something like `at revision rXXXX`. Otherwise run |
386 | | |
387 | | {{{ |
388 | | #!sh |
389 | | svn up 0ad |
390 | | }}} |
391 | | '''Note:''' Make sure that the checkout directory doesn't contain special characters (spaces or non-ASCII characters) |
392 | | |
393 | | There are also Git mirrors, which may be slightly less up-to-date but usually offers faster downloads. To use a Git mirror, use one of the following commands instead: |
394 | | |
395 | | {{{ |
396 | | #!sh |
397 | | git clone https://github.com/0ad/0ad.git |
398 | | }}} |
399 | | or |
400 | | |
401 | | {{{ |
402 | | #!sh |
403 | | git clone https://gitlab.com/0ad/0ad.git |
404 | | }}} |
| 371 | |
| 372 | See [wiki:BuildInstructionsGettingTheCode Getting the Code]. |
| 373 | |
469 | | 0 A.D. is primarily developed on SVN. To checkout the latest code from SVN, run this command: |
470 | | |
471 | | {{{ |
472 | | #!sh |
473 | | svn co https://svn.wildfiregames.com/public/ps/trunk/ 0ad |
474 | | }}} |
475 | | '''Note:''' Sometimes SVN stops before it has downloaded all files. You should check that it outputs something like `at revision rXXXX`. Otherwise run |
476 | | {{{ |
477 | | #!sh |
478 | | svn up 0ad |
479 | | }}} |
480 | | |
481 | | There is also a Git mirror, which may be slightly less up-to-date but usually offers faster downloads. To use the Git mirror, use this command instead: |
482 | | |
483 | | {{{ |
484 | | #!sh |
485 | | git clone https://github.com/0ad/0ad.git |
486 | | }}} |
| 438 | See [wiki:BuildInstructionsGettingTheCode Getting the Code]. |