Build environment:
Windows 7 Home Premium x64
Codeblocks 17.12
GitHub for Windows
Quick how-to for Windows:
1. Get the GitHub client for windows
I have signed up, since all you have to give away is one email adress. Do not know whether it works without signing up actually:
Link: https://windows.github.com/
2. Clone project on your local PC
I'm still not sure whether I did this completely correct. Anyone may please give advice here. Thanks in advance. However, here's what I've done so far:
- Start GitHub.exe
- Open your browser and go to https://github.com/assaultcube/AC
- On that page change the menu item branch from master to next (not sure about this one)
- Hit the button clone in desktop which can be found on the right side
- You will now have to select GitHub from a menu
- Next (if I remember correctly) you will have to set up a local repository, speak where the stuff will be saved to your local drive
- It should now start downloading the files
3. Get Code:Blocks (freeware)
There are 3 different builds, if you don't know better you may follow the instructions given below the download-links and use the codeblocks-17.12mingw-setup.
Link: http://www.codeblocks.org/downloads/binaries#windows
4. Start the Code:Blocks-project
- Go into the repository you've set up when cloning the project.
- Open the following file using CodeBlocks.exe as standard application:
[your project path here]\AC\source\codeblocks\AssaultCube.cbp
- Now Code:Blocks will start and load the project.
5. Compile cube.exe
- Hit the build button (yellow gear-wheel)
- Now you should see some information about the compiling process while it's running
- Be patient, the build took about 1.5 minutes for me and may take even longer on other systems.
6. Start AssaultCube
- Go into the repository you've set up when cloning the project.
- Now click on assaultcube.bat
- If everything went right, the game should start
****************
Remarks:
- Visual Studio 2012 will spit out a whole lot of issues I can not solve myself, that's why I tried out Code:Blocks which seems to work perfectly fine.
- I don't quite understand whether I've got the master or the next files on my system. How can I find out?
Windows 7 Home Premium x64
Codeblocks 17.12
GitHub for Windows
Quick how-to for Windows:
1. Get the GitHub client for windows
I have signed up, since all you have to give away is one email adress. Do not know whether it works without signing up actually:
Link: https://windows.github.com/
2. Clone project on your local PC
I'm still not sure whether I did this completely correct. Anyone may please give advice here. Thanks in advance. However, here's what I've done so far:
- Start GitHub.exe
- Open your browser and go to https://github.com/assaultcube/AC
- On that page change the menu item branch from master to next (not sure about this one)
- Hit the button clone in desktop which can be found on the right side
- You will now have to select GitHub from a menu
- Next (if I remember correctly) you will have to set up a local repository, speak where the stuff will be saved to your local drive
- It should now start downloading the files
3. Get Code:Blocks (freeware)
There are 3 different builds, if you don't know better you may follow the instructions given below the download-links and use the codeblocks-17.12mingw-setup.
Link: http://www.codeblocks.org/downloads/binaries#windows
4. Start the Code:Blocks-project
- Go into the repository you've set up when cloning the project.
- Open the following file using CodeBlocks.exe as standard application:
[your project path here]\AC\source\codeblocks\AssaultCube.cbp
- Now Code:Blocks will start and load the project.
5. Compile cube.exe
- Hit the build button (yellow gear-wheel)
- Now you should see some information about the compiling process while it's running
- Be patient, the build took about 1.5 minutes for me and may take even longer on other systems.
6. Start AssaultCube
- Go into the repository you've set up when cloning the project.
- Now click on assaultcube.bat
- If everything went right, the game should start
****************
Remarks:
- Visual Studio 2012 will spit out a whole lot of issues I can not solve myself, that's why I tried out Code:Blocks which seems to work perfectly fine.
- I don't quite understand whether I've got the master or the next files on my system. How can I find out?