DO NOT USE THIS
This autobuild pack is outdated. If you want an easy way to play dev builds, use autobuilds. See this thread. If you want to compile the game, check the wiki for more info.
Old post archived in code block below
This autobuild pack is outdated. If you want an easy way to play dev builds, use autobuilds. See this thread. If you want to compile the game, check the wiki for more info.
Old post archived in code block below
Code:
[size=xx-large][color=#FF0000]NOTE[/color]:[/size]
[size=large][i]This pack does [b]NOT[/b] compile a beta version of Xonotic. It builds Xonotic from the [b]development repository[/b] which might be [b]incomplete and/or buggy[/b]. It serves to facilitate testing before releases (beta or not). [b]The builds produced by the pack will not be the same as the official releases[/b] (e.g. uncompressed textures, dev build watermark, etc.)[/i][/size]
[hr]
[b]IMPORTANT[/b]: if you want to contribute to the project, I suggest you follow [url=http://dev.xonotic.org/projects/xonotic/wiki/Compiling_in_Windows]this guide (link)[/url] to get and compile the project sources. The tools are the same, but the pack presented in this thread is a portable setup, which is therefore not integrated in the environment and thus less practical to use for development (TortoiseGit won't work with it for example)
I have been working today on adapting divVerent's [url=http://www.alienTRAP.org/forum/viewtopic.php?f=13&t=3887]Nexuiz build system[/url] for Xonotic and Git.
The addition of Git binaries in the system has been a little problematic in terms of size, they come packaged in a 7zip archive... very efficiently compressed. The Git part is around 150 megabytes, the uncompressed totality of the pack is 225 megabytes.
7zip compression allowed me to pack this into a 22 megabyte archive.
The pack is a self-extracting 7z archive, it can be downloaded here:
[url=http://www.mediafire.com/?ptr763gf7vobhcb]xonoticbuildsystem-b02.7z.exe[/url] (Mediafire link)
Documentation is included in the html file in the root directory. There are two .bat files in that directory that you can run: build.bat and shell.bat
shell.bat will open a MSYS shell for those of you who like playing around in unix environments. It is not essential in the build process.
build.bat will download the Xonotic sources and data (approximately 2 gigabytes, however you will need more than the double of this of free space on your harddrive, 4.7 at the time of writing this)
It will then compile Xonotic and make two new .bat files available, starting with run-
One is for glx, the other for sdl, pick the one you prefer, or the one that works the best if you're not sure :P
I think that's all you need to know... Please reply to this thread if you tried this, even if it works, as I didn't try it a lot. It should work on 64bit systems too.
[size=x-large][u][b]Possible errors[/b][/u][/size]
[size=large]The main repo is not...[/size]
[quote]The main repo is not xonotic.git, what have you done?
An error has occured (see above).[/quote]
I have not solved this yet, and have no idea why it happens. If you get this error, please do this to help me diagnose it:
Open shell.bat and type those commands:
[code]
cd /xonotic
git config remote.origin.url
[/ code]
Post the result of the last command in this thread.