Automated Xonotic Git build system - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10) +--- Forum: Xonotic - Development (https://forums.xonotic.org/forumdisplay.php?fid=12) +--- Thread: Automated Xonotic Git build system (/showthread.php?tid=666) |
Automated Xonotic Git build system - Mr. Bougo - 07-04-2010 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 Code: [size=xx-large][color=#FF0000]NOTE[/color]:[/size] RE: Automated Xonotic Git build system - ArgeadGER - 07-05-2010 I havent tried to much yet, but everything seems to work here (win7 x64) Thankyou for this script - Now I dont have to switch my OS anymore to try out xonotic RE: Automated Xonotic Git build system - noteven - 07-05-2010 thank you, finally something like the Nexuiz SVN build script by Samual! this means, it works great, out of the box, no effort. even didn't break when my connection did! (more or less resumed its job on restart.) there seem to be no maps or such included, so you may have to transfer some from nexuiz-data to xonotic-data dir; or just download it from the game-server. (i did see 2 of them) the promode xonotic-game-server was quite faulty for me, map download did function, but all textures were missing. never mind the awkward gamemode. Thanx again! RE: Automated Xonotic Git build system - Mr. Bougo - 07-05-2010 The online xonotic servers are often a little late on the developments, they aren't updated constantly... So expect some breakage. For maps, you can download a few from this forum and put them in my documents\my games\xonotic\data. That will not always work, for the same reason as above... Paths to assetz might have changed, among other things. There is another solution, but it's not easy to use yet... It involves switching branches in git... If you know how to do that in linux, you can do it in windows too, run shell.bat and cd /xonotic, from that point it's the same process in the two OSes. After switching branches, run build.bat. noteven, you should not modify the contents of the xonotic directory, build.bat might refuse to complete later on... You can reset it in shell.bat, run the following commands: Code: cd /xonotic RE: Automated Xonotic Git build system - dfsp_spirit - 07-05-2010 Great idea but I gotta report an issue. I'm running Windows XP (auto-updates on, latest SP) and put the installer into d:\data\builds\xonotic_build_pack. I started build.bat and it failed twice to grab some tmp_xxxx.pk3 or similar files (a file from the pk3 dir - sorry, don't remember the exact filename, but xxxx were 4 digits), and now all it says after clicking it is: Code: Setting up environment... To answer that question: I double-clicked the script. The same error appears when I try to ./all each git reset --hard btw. I'll start over and see what happens... RE: Automated Xonotic Git build system - Mr. Bougo - 07-05-2010 Ugh. Open shell.bat, and run these commands: EDIT3: first of all, tell me what this tells you: Code: cd /xonotic EDIT: are you sure it was tmp_ followed by just four digits? I have no idea what that could even be... And what tried to grab the files? And did that happen during the first time you ran the script? Did it start downloading the sub-repositories? (that would show bold text with lines starting in * ) EDIT2: did you have 5 gigabytes of disk space? You need that. Did it say why tmp_whatever failed to download? For the record, here is how to reinitialize the repository without re-downloading the huge sub-repositories. Code: cd / RE: Automated Xonotic Git build system - Agamalama - 07-05-2010 Works great! Thanks. RE: Automated Xonotic Git build system - dfsp_spirit - 07-06-2010 (07-05-2010, 02:38 PM)Mr. Bougo Wrote: EDIT: are you sure it was tmp_ followed by just four digits? I have no idea what that could even be... And what tried to grab the files? And did that happen during the first time you ran the script? The file name was something_tmp_yyyy.pk3 I think but I'm not 100% sure. I already deleted the whole folder and started the batch file again, looks like it works this time. It already started compiling. Gotta go now but I'll report if anything else goes wrong. And yes, it started to grab sub-repos I think but I did other things while the script ran and didn't watch very closely (and I also got enough hdd space, ~780 GB on that drive). Thanks for this easy installer! EDIT: Compilation went fine, game works. RE: Automated Xonotic Git build system - Mr. Bougo - 07-06-2010 That's very strange :x I added a small section in the first post to help diagnose the problem if it ever happens again. RE: Automated Xonotic Git build system - noteven - 07-08-2010 just askin': why isn't this Xonotic build compatible to Nexuiz server/ game protokoll? RE: Automated Xonotic Git build system - Mr. Bougo - 07-08-2010 Particle numbers might be different, the weapon model systems are different, and other things that haven't been implemented yet and might make Xonotic even more incompatible. RE: Automated Xonotic Git build system - DiaboliK - 07-09-2010 Mr. Bougo, maybe this thread should be moved to the development section of the forum? RE: Automated Xonotic Git build system - Mr. Bougo - 07-10-2010 Then nobody will look at it I considered that before, maybe I can put a shortcut in dev, but I think it should stay here... RE: Automated Xonotic Git build system - Slup - 07-12-2010 thanks bougo =D i have to try this later ) EDIT: worked great ty RE: Automated Xonotic Git build system - jacob - 07-12-2010 thank you, it worked great, now i dont have to fix my linux computer RE: Automated Xonotic Git build system - rainerzufalldererste - 07-21-2010 Trying it out! Seems to work RE: Automated Xonotic Git build system - rainerzufalldererste - 07-22-2010 It worked!!! When it was finished it worked!!! can't believe it thx for doing this! RE: Automated Xonotic Git build system - Mr. Bougo - 07-23-2010 Hehe, my pleasure RE: Automated Xonotic Git build system - noteven - 07-27-2010 since a while the script does not work anymore. it ends with this: Quote:========== darkplaces-sdl.exe (debug) ========== in between are also a few pulling errors like: Quote:+ git pull RE: Automated Xonotic Git build system - Mr. Bougo - 08-03-2010 Strange.... Can you open shell.bat, and type those commands: cd /xonotic ./all each git reset --hard ./all update And also, open a windows command prompt (that depends on your windows version, in XP Start>Run>cmd.exe, in Vista/7 just type cmd.exe in the start menu text zone and press enter) and type this command in the prompt: dir c:\games\xonoti~1\sdl\include\sdl\sdl.h Tell me what it says. I'd also like to know what "Short path name" shell.bat or build.bat gives you when you start it. RE: Automated Xonotic Git build system - noteven - 08-04-2010 (08-03-2010, 03:34 AM)Mr. Bougo Wrote: Strange.... Can you open shell.bat, and type those commands: done, same effects/errors as above, no build ;( Quote:And also, open a windows command prompt (that depends on your windows version, in XP Start>Run>cmd.exe, in Vista/7 just type cmd.exe in the start menu text zone and press enter)it says 'directory or filename not found' (or so) Quote:I'd also like to know what "Short path name" shell.bat or build.bat gives you when you start it.c:\Games\xonotic 'xonotic' is 8 chars, so no truncation to 6+~1 anyway ;-/ i might repeat, that it did work with the same environment settings [/quote]before. RE: Automated Xonotic Git build system - Mr. Bougo - 08-04-2010 So you renamed xonotic_build_pack to xonotic? I don't understand why msys behaves this way then... Can you come to IRC? (quakenet, channel #xonotic, webchat link) RE: Automated Xonotic Git build system - Cortez666 - 08-11-2010 worked flawless RE: Automated Xonotic Git build system - noteven - 08-11-2010 i will redownload and reinstall the whole package, although i didnt change anything (except directory name). maybe something got somehow corrupted. RE: Automated Xonotic Git build system - Mr. Bougo - 08-11-2010 Can you come on IRC instead? I'd like to troubleshoot that issue for future occurences. EDIT: told me on IRC he deleted the old one, new one works well... MYSTERY If this happens to somebody else, don't try anything and come see me on IRC, or PM me. |