project-navigation
Personal tools

Poll

Are you interested in such a script

Yes
9 (100%)
No
0 (0%)
Don't care
0 (0%)

Total Members Voted: 5

Voting closed: August 12, 2009, 04:03:18 pm

Author Topic: make_UfoAI_win32 (all in one win32 build script)  (Read 150569 times)

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #286 on: September 29, 2012, 08:21:49 am »
== 2012.09.29 == 1.1.4 =====================================
The script will check each time you build UfoAI
if your git repository setting is correct and if not change it


add
  • repository check

Offline ShipIt

  • Project Artist
  • Captain
  • ***
  • Posts: 906
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #287 on: September 29, 2012, 03:03:59 pm »
This solved the problem, despite the fact I did not describe it very well.  :-X  Thanks.

Next problem is an error that occours later on. Of course I am not sure if it is a problem of the script at all. Log attached.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #288 on: September 29, 2012, 04:21:43 pm »
There i a glitch with your copy
"H:\UFOAIwin32BUILDenv\MinGW\bin\git.exe" pull --rebase
........
error: unable to unlink old 'src/client/cgame/staticcampaign/cl_game_staticcampaign.h' (Permission denied)
error: unable to unlink old 'src/client/cgame/staticcampaign/save/save_staticcampaign.h' (Permission denied)
error: unable to unlink old 'src/client/cgame/staticcampaign/scp_missions.h' (Permission denied)
error: unable to unlink old 'src/client/cgame/staticcampaign/scp_parse.h' (Permission denied)
error: unable to unlink old 'src/client/cgame/staticcampaign/scp_shared.h' (Permission denied)
error: unable to unlink old 'src/tools/radiant/radiant/ui/textureoverview/TextureOverviewDialog.cpp' (Permission denied)

seams to be a file-ACL error
do you have full permissions on that (sub)folder

be sure that there is no git error:
run
h:\UFOAIwin32BUILDenv\MinGW\msys.bat
cd /ufoai (or wherever your source is)
git fsck
git fetch
git pull --rebase

Offline ShipIt

  • Project Artist
  • Captain
  • ***
  • Posts: 906
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #289 on: September 29, 2012, 11:10:30 pm »
It worked  :D - I re-checked the write access for the drive, and followed the git instructions. 'pull --rebase' reported "refusing to pull with rebase: your working tree is not up-to-date" - I did 'stash save', 'stash drop' and 'pull --rebase' again. After this the script worked nicely again.

Thanks for your help.

Offline DexCisco

  • Rookie
  • ***
  • Posts: 41
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #290 on: November 17, 2012, 04:58:04 am »
Tried running the EXE.  It set off my antivirus several times.  I finally got around that and then I got this error:

Error 48
Unable to find a free Drive slot

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #291 on: November 17, 2012, 07:33:31 am »
Poor AV programs always trigger a false positive if they encounter Autoit

Because of that path
C:\Documents and Settings\Administrator.EXPERIEN-F6A02D\ufoai
i try to subst this path to a drive
but i wasnt able to find a free slot.
The source cannot be compiled with that path


http://ufoai.org/wiki/MinGW_Win32_(guided_with_GUI)#First_we_need_MinGW_and_tools


Offline Azrael0480

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #292 on: November 19, 2012, 09:37:57 am »
Hi, just a stupid question. Is it normal that the map hashes in my local "map_last_build.md5" are always different from the ones found at "http://www.students.meduniwien.ac.at/~mzellh39/ufoai/map_last_build.md5"? So it seems useless for me to choose the download option for the maps, as it always downloads all maps even when there are no changes. Or depend those hashes on the environment where the game is build?

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #293 on: November 19, 2012, 05:39:52 pm »
Those online-maps are from the master branch (2.5)
if you compile 2.4 its highly likely that you need to compile the maps on your own


Offline Azrael0480

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #294 on: November 20, 2012, 08:24:25 am »
Hi, i use the master branch (see attached ini) to build the game.  ::)  The source files are freshly updated with TourtoiseGIT. If i use the GIT option in "make_UfoAI_win32.exe" it won't build.
« Last Edit: November 20, 2012, 08:31:34 am by Azrael0480 »

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #295 on: November 20, 2012, 05:20:54 pm »
You should take this git error seriously
git denies to pull
and so your master is not up2date

You need to fix this git error
Code: [Select]
src/client/ui/node/ui_node_model.cpp: needs update
src/game/g_spawn.cpp: needs update
src/server/sv_rma.cpp: needs update
src/server/sv_rma.h: needs update
src/tests/test_mapdef.cpp: needs update
src/tests/test_rma.cpp: needs update
refusing to pull with rebase: your working tree is not up-to-date

btw.
trash TourtoiseGIT


run ?:\UFOAIwin32BUILDenv\MinGW\msys.bat and (careful *inux shell)
cmd /c "start %WD%bash --login -i"
git wont return all output into a minitty console, its better to use sh instead
cd /ufoai
git fsck
git reset --hard
git fetch
git pull --rebase
« Last Edit: November 20, 2012, 05:24:35 pm by Muton »

Offline Legendman3

  • Sergeant
  • *****
  • Posts: 306
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #296 on: December 17, 2012, 06:58:14 pm »
== 2012.09.29 == 1.1.4 =====================================
The script will check each time you build UfoAI
if your git repository setting is correct and if not change it

Where is the download for the 1.1.4 version?

Offline ShipIt

  • Project Artist
  • Captain
  • ***
  • Posts: 906
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #297 on: December 17, 2012, 08:32:56 pm »
Should still be make_UfoAI_win32.exe.

Offline Legendman3

  • Sergeant
  • *****
  • Posts: 306
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #298 on: December 17, 2012, 09:19:50 pm »
Thanks. I just skimmed this thread and looked at the wiki(which has .97 version btw).
« Last Edit: December 18, 2012, 12:25:38 am by Legendman3 »

Offline Legendman3

  • Sergeant
  • *****
  • Posts: 306
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #299 on: December 18, 2012, 12:25:54 am »
Thanks. I just skimmed this thread and looked at the wiki(which has .31 version btw).