Xonotic Forums
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)

Pages: 1 2 3


RE: Automated Xonotic Git build system - Mr. Bougo - 11-17-2010

The script expects a clone hierarchy to be located in a subdirectory of the pack's directory called "xonotic".
So it expects the file "xonotic_build_pack\xonotic\all". You can move your clone directory inside the pack directory and name it "xonotic" if it isn't already Smile


RE: Automated Xonotic Git build system - aCROX999 - 11-17-2010

Ok, thanks for the info. Big Grin Got it running but wtf? DP in Xonotic is way more powerful than in Nexuiz 2.5.2. The game is choppy even at the lowest settings. D:


RE: Automated Xonotic Git build system - Mr. Bougo - 11-18-2010

As the first post of this thread says, you're not playing an actual release of Xonotic, those will come in different packages with different levels of texture compression.
The git test version uses the full-sized raw textures, so yeah performance isn't as good.

What FPS do you get? Please also say in what situation you get that FPS (or just take a screenshot).


RE: Automated Xonotic Git build system - aCROX999 - 11-18-2010

I play in CTF with 9 bots at space elevator(something like that). And I get 5-15 FPS at the highest setting in Linux(its a lot faster if I'm looking at a wall) and hanged in Windows.

I got 110 fps at the lowest settings on Linux at the same map with no bots. But I forgot how it was on Windows.


RE: Automated Xonotic Git build system - Cortez666 - 11-18-2010

the performance depends mostly on your hardware.
im not sure how optimized space elevator is but im sure its not that bad


RE: Automated Xonotic Git build system - aCROX999 - 11-18-2010

Nexuiz runs like 20-30 fps at the highest settings. Maybe its because of the textures like what Bougo said.


RE: Automated Xonotic Git build system - Expertsetup - 12-05-2010

On _para's suggestion, I d/ld the build pack and gave it a run on my Xp system, worked great. Now I can have some lan matches and get my friends used to the game.


RE: Automated Xonotic Git build system - Creation - 12-16-2010

Congrat`s for the build pack, it works for me under windows 7 ultimate, 32 bits. But i have no music.

   
   

Any ideas on how can i solve this?


LATER EDIT: i bet it is a compilation issue or something that i don`t have, because the beta version downloaded works fine.


RE: Automated Xonotic Git build system - Friskydingo - 12-16-2010

Hm, I'd have to say that there are 2 possible causes:

1. The Vorbis DLL's are either missing or out of date.
2. There's an internal problem with the Git System (this one is less likely than #1).

Can't really be sure if these really are the causes, though. Undecided


RE: Automated Xonotic Git build system - xaN1C4n3 - 01-20-2011

Hello!

I tried build the game, but always get this ugly message:
Quote:error: Untracked working tree file 'env/calm_sea/calm_sea_bk.jpg' would be overwritten by merge. Aborting
Pulling failed. Press ENTER to continue, or Ctrl-C to abort.

What can I do now?
I don't really understand what is it meaning.


RE: Automated Xonotic Git build system - Mr. Bougo - 01-20-2011

Since you're saying you don't understand the error, I assume you didn't make intentional changes to the files inside the xonotic directory. If this is right then you can reset the thing following this process:

Start the shell.bat file
In the window that opens, type the following commands (capitalization is important):
Code:
cd /xonotic
./all clean -fU
When it's done you can type "exit" and press enter, or close the window. Then, start build.bat and see if it works. If it still doesn't, repeat the process one more time (doing this more than twice is useless).


On another note, I think you realized Xonotic 0.1 was released? If you're still having issues with git, consider using that instead.


RE: Automated Xonotic Git build system - Samual - 01-20-2011

Oh I didn't even notice this previously, thanks for reviving the build system Mr.Bougo -- I never could get it to work properly with xonotic git (more precisely, the ./all script) as a standalone package...

Anyway, i'll check it out later on a VM or another computer or something (Can't use it on my main PC as that already has msys and etc installed, so no point) - If I see anything which could use fixing/improving i'll let you know


RE: Automated Xonotic Git build system - Mr. Bougo - 01-20-2011

I have this too, if you want to test (I think you use/used Arch Linux ?) http://aur.archlinux.org/packages.php?ID=36001


RE: Automated Xonotic Git build system - xaN1C4n3 - 01-23-2011

(01-20-2011, 05:42 AM)Mr. Bougo Wrote: When it's done you can type "exit" and press enter, or close the window. Then, start build.bat and see if it works. If it still doesn't, repeat the process one more time (doing this more than twice is useless).
Thanks...."The main repo is not xonotic.git, what have you done?" Sad

(01-20-2011, 05:42 AM)Mr. Bougo Wrote: On another note, I think you realized Xonotic 0.1 was released? If you're still having issues with git, consider using that instead.
Well...maybe i stay by 0.1...But thank a lot for you helping.


RE: Automated Xonotic Git build system - Mr. Bougo - 01-23-2011

Aha!
Can you try this in shell.bat ?
Code:
cd /xonotic
git config remote.origin.url
And tell me what it answers. You can copy-paste text from the console by right-clicking the window, clicking "select" (something like that), select it and press enter.


RE: Automated Xonotic Git build system - xaN1C4n3 - 01-23-2011

git://git.xonotic.org/xonotic/xonotic-maps.pk3dir.git


RE: Automated Xonotic Git build system - Mr. Bougo - 01-23-2011

Fun, that makes no sense!
Do this then (please be aware that this will discard any uncommitted changes inside the xonotic git clones, so if you put files in there for some reason make sure to move them out)
Code:
cd xonotic
git config remote.origin.url git://git.xonotic.org/xonotic/xonotic.git
./all clean -fU



RE: Automated Xonotic Git build system - xaN1C4n3 - 01-23-2011

No...I didn't put any extra file...just ran this build.bat about 100x. Big Grin

Is there read-only file in git? 'cause I find it...Is it ok?


RE: Automated Xonotic Git build system - xaN1C4n3 - 01-27-2011

So...read only file isn't problem?


RE: Automated Xonotic Git build system - Mr. Bougo - 01-27-2011

Wait, what... What is the problem?
Did you do what I said above, the git config thing? What is the new error now?


RE: Automated Xonotic Git build system - xaN1C4n3 - 01-27-2011

no, i didn't that, 'cause I find readonly file...and I asked it's normal or just here is it?


RE: Automated Xonotic Git build system - Mr. Bougo - 01-27-2011

Can you copy the exact error, please? And does that happen when you launch build.bat?


RE: Automated Xonotic Git build system - xaN1C4n3 - 01-27-2011

(01-27-2011, 01:04 PM)Mr. Bougo Wrote: Can you copy the exact error, please? And does that happen when you launch build.bat?

The main repo..blahblah

but i'm before:
(01-23-2011, 11:40 AM)Mr. Bougo Wrote:
Code:
cd xonotic
git config remote.origin.url git://git.xonotic.org/xonotic/xonotic.git
./all clean -fU

cd xonotic? not cd /xonotic?


ok. I did it.
Quote:msys@xonotic ~ $ cd /xonotic
msys@xonotic /xonotic $ git config remote.origin.url git://git.xonotic.org/xonotic/xonotic.git
msys@xonotic /xonotic $ ./all clean -fU
Repository . enabled because it already exists
Repository data/xonotic-data.pk3dir enabled because it already exists
Repository data/xonotic-music.pk3dir enabled because it already exists
Repository data/xonotic-nexcompat.pk3dir disabled by default, create data/xonotic-nexcompat.pk3dir.yes to enable
Repository darkplaces enabled because it already exists
Repository netradiant enabled because it already exists
Repository div0-gittools disabled by default, create div0-gittools.yes to enable
Repository d0_blind_id enabled because it already exists
Repository data/xonotic-maps.pk3dir enabled because it already exists
Repository mediasource disabled by default, create mediasource.yes to enable
Repository fteqcc enabled because it already exists
Repository . enabled because it already exists
Repository data/xonotic-data.pk3dir enabled because it already exists
Repository data/xonotic-music.pk3dir enabled because it already exists
Repository data/xonotic-nexcompat.pk3dir disabled by default, create data/xonotic-nexcompat.pk3dir.yes to enable
Repository darkplaces enabled because it already exists
Repository netradiant enabled because it already exists
Repository div0-gittools disabled by default, create div0-gittools.yes to enable
Repository d0_blind_id enabled because it already exists
Repository data/xonotic-maps.pk3dir enabled because it already exists
Repository mediasource disabled by default, create mediasource.yes to enable
Repository fteqcc enabled because it already exists
+ cd /xonotic/.
+ git config remote.origin.url git://git.xonotic.org/xonotic/xonotic.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /xonotic/data/xonotic-data.pk3dir
+ git config remote.origin.url git://git.xonotic.org/xonotic/xonotic-data.pk3dir.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /xonotic/data/xonotic-music.pk3dir
+ git config remote.origin.url git://git.xonotic.org/xonotic/xonotic-music.pk3dir.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /xonotic/darkplaces
+ git config remote.origin.url git://git.xonotic.org/xonotic/darkplaces.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /xonotic/netradiant
+ git config remote.origin.url git://git.xonotic.org/xonotic/netradiant.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /xonotic/d0_blind_id
+ git config remote.origin.url git://git.xonotic.org/xonotic/d0_blind_id.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /xonotic/data/xonotic-maps.pk3dir
+ git config remote.origin.url git://git.xonotic.org/xonotic/xonotic-maps.pk3dir.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config core.autocrlf input
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
+ cd /xonotic/fteqcc
+ git config remote.origin.url git://git.xonotic.org/xonotic/fteqcc.git
+ git config --unset remote.origin.pushurl
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git config --unset core.autocrlf
+ git config filter.mapclean.clean tr -d '\r' | grep '^[^/]'
+ git config filter.mapclean.smudge cat
The main repo is not xonotic.git, what have you done?
msys@xonotic /xonotic $



RE: Automated Xonotic Git build system - Samual - 01-27-2011

Okay, so I set up my Windows XP VM today and tried testing out the system.

There are some things I noticed:
  1. Why are the changelogs/components text files using Linux endlines? Tongue I mean, this build system is meant for Windows directly -- so it should have Windows line endings. Whenever you go to save these in your text editor, just make sure you change the settings to output to Windows newlines and BAM problem solved.
  2. It could really benefit to have extra controls, such as a compile.bat and a status.bat (./all each git status, shows all changed files of all repos) file.. - Another thing which would be useful is a diff output, so that it's not impossible to easily create patches for the game without having to know how to use the shell with branches. I will look into doing all of this myself later, so don't worry about that too much.
  3. Some times I get an error when it's trying to begin a download from git, I can't remember it and I haven't had it in a while so i'll have to edit this post when I get it again -- All I had to do was start the update process over again, but yeah it was annoying, and surely would discourage others potentially.

Overall, nice work -- again i'll get back to you with improvements when I can