Difference between revisions of "Source Setup"

From Tales of Maj'Eyal
Jump to: navigation, search
(Created page with "You can access the ToME source code using Subversion or Git. (ToME's Subversion repository is the official version, although the Git repository offers several advantages.) =...")
 
(Linux)
Line 28: Line 28:
 
=== Linux ===
 
=== Linux ===
  
Here's an example of what to do.
+
Install subversion (your distribution may call it by a different name, possibly svn).
 
+
Check for svn and http(s) support in svn.  (This is almost certainly unnecessary; http support is standard.)
+
 
+
<code>
+
  $ svn --version
+
  svn, version x.x.x
+
    compiled xxx
+
 
+
  Copyright (C) 2000-xxxx CollabNet.
+
  Subversion is open source software, see http://subversion.apache.org/
+
  This product includes software developed by CollabNet (http://www.Collab.Net/).
+
 
+
  The following repository access (RA) modules are available:
+
 
+
  * ...
+
  * ...
+
  * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
+
    - handles 'http' scheme
+
    - handles 'https' scheme
+
  * ...
+
  * ...
+
</code>
+
 
+
The thing your looking for isn't ra_neon, but http support.
+
  
 
Make a directory to plop t-engine into:
 
Make a directory to plop t-engine into:
  
 
<code>
 
<code>
   $ cd ~/
+
   $ cd
 
   $ mkdir tomedev
 
   $ mkdir tomedev
 
   $ cd tomedev
 
   $ cd tomedev
 
</code>
 
</code>
  
Download the bleeding edge source, and hope it's bug free :)
+
Download the bleeding edge source, and hope it's not bug free. :)
  
 
<code>
 
<code>
Line 68: Line 44:
 
</code>
 
</code>
  
Should see a bunch of stuff filling up the directory, weeh! Now get to work, and fix some bugs for us. :)
+
Should see a bunch of stuff filling up the directory, whee! Read [[How to compile]] to build the game.
 +
 
 +
Now get to work, and fix some bugs for us. :)
  
 
== Git ==
 
== Git ==

Revision as of 02:28, 4 June 2013

You can access the ToME source code using Subversion or Git. (ToME's Subversion repository is the official version, although the Git repository offers several advantages.)

Subversion

Short version

(if you're already familiar with Subversion)

Windows Details

Download and install TortoiseSVN. It's a shell extension, so you may need to reboot when this is done. After you've rebooted your computer, make a directory somewhere where you can find it, like "C:\tomedev". Using Windows Explorer, navigate to this folder and right-click in the empty space where there isn't anything there yet, and select "SVN Checkout..." to give you TortiseSVN's checkout dialog box. In the blank URL text box, put in the following address and click OK, presuming you haven't changed any of the default settings:

http://svn.net-core.org/repos/t-engine4

A second dialog box will pop up, asking for a username and password. Use these:

  • Username: guest
  • Password: guestor

OS X

Use a Mac Subversion client of your choice, or use the Linux command-line instructions below.

Linux

Install subversion (your distribution may call it by a different name, possibly svn).

Make a directory to plop t-engine into:

 $ cd
 $ mkdir tomedev
 $ cd tomedev

Download the bleeding edge source, and hope it's not bug free. :)

 $ svn checkout --username guest --password guestor http://svn.net-core.org/repos/t-engine4

Should see a bunch of stuff filling up the directory, whee! Read How to compile to build the game.

Now get to work, and fix some bugs for us. :)

Git

The Git repository of ToME is available from http://git.develz.org/.

If you need a Git client for Windows, you can download TortoiseGit.