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 149846 times)

Offline lostdave

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #165 on: June 24, 2010, 05:09:41 pm »
I guess this is the best place to mention it - the server hosting the Code::Blocks, MinGW, etc package (http://www.meduniwien.ac.at/user/michael.zellhofer/ufoai/UfoAIallIN1.exe) isn't currently there (DNS failure by the looks). Anyone know/have an alternative?

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #166 on: June 24, 2010, 08:12:03 pm »
retry?

Offline lostdave

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #167 on: June 25, 2010, 11:17:44 am »
Yeah, it's back up now.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #168 on: July 03, 2010, 09:04:03 am »
== 2010.07.03 == 0.9.0 =====================================

Two big things have been added
1) a map download >like< map_get.py
The main difference is that you don't download maps that aren't useful for your build
The serverApp run once in an hour that once a day
I do a md5hash on the original *.map files to determine if a map should be downloaded or compiled than do just download
The server log store hash sums of *.map files and the path of them
If you want to download a map (*.bsp)
the script hash your *.map file and check it against the serverlog *.map hash
If both match, the download of this *.bsp will start
If the download failed or the hash is unequal, you will build the map using ufo2map


2) A routine to build an update than a full installer of UfoAI
It will build a update of your last full build (you need to enable this function first)
A new switch "diff" was added into the GUI (It requiers the "Installer" and "7z" switch too, to work)
First time you build a full installer.
Next time you call it, you will build (differential) updates
A new file to hold all infos was added too, inst_last_build.md5 (release 2.4) and inst_last_build_2.3.md5 (release 2.3)
If you delete this file you will start from the beginning (there is no GUI switch to do this)
The update include all dlls and executables, only files inside of pk3's are removed from the installer if they are the same (the pk3 files are than updated during installation)
This way you can switch between a release or debug build, even include radiant once and next time without radiant.

added
  • instance check of make_UfoAI_win32.exe (only on instance is allowed)
  • some Hardware infos to log (CPU RAM OS)
  • map download
  • Installer update routine
bugs
  • Internal Search
  • GUI
« Last Edit: July 03, 2010, 09:17:21 am by Muton »

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #169 on: July 06, 2010, 12:52:29 pm »
Anyone tried to compile current trunk & then actually tried to get on the battlescape, or is it really just me having total crashes with the latest hundreds of revisions ?

It seems to be some Windoof-specific problem ?!

Would be nice if someone could try a skirmish game with current trunk...

Offline balasar

  • Rookie
  • ***
  • Posts: 78
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #170 on: July 06, 2010, 08:27:57 pm »
I totaly can't run the game.

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #171 on: July 06, 2010, 08:41:53 pm »
I totaly can't run the game.
I am feeling with you, but afair your problem is hunting you already a quite long time. Or did you get it to run after you last posted problems ?
Which is the latest version you got running ?

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #172 on: July 06, 2010, 08:48:47 pm »
me too

GL_VENDOR: NVIDIA Corporation2010/07/06 20:31:10 GL_RENDERER: GeForce 7050 PV / nForce 630a/PCI/SSE2/3DNOW!2010/07/06 .....
GL_NV_texgen_reflection GL_NV_texture_barri

ufo.exe just hang

Offline shaunc311

  • Rookie
  • ***
  • Posts: 17
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #173 on: July 06, 2010, 09:17:26 pm »
Just tried building from trunk yesterday for the first time and couldn't get it to load.  I figured it was something I was doing incorrectly (still could be) since 2.3 did build and run correctly.  My ufoconsole.log is identical to the one above.  The progress bar on the main loading screen never progressed.

Windows XP

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #174 on: July 06, 2010, 09:31:04 pm »
Somehow I am glad, because I am having this error since about 300+ revisions & I was beginning to feel quite alone with it already.
A bugtracker-item was already posted by me some time ago, after making a clean-up, a completely fresh checkout & after a clean compile of the maps did not change my situation.

Hope somebody finds a solution for this problem soon...

To all the other testers here: Thanks for helping me find out that I am not alone with this ;)

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #175 on: July 06, 2010, 09:37:58 pm »
Here the bugtracker item if someone wants to comment there:

https://sourceforge.net/tracker/?func=detail&aid=3025415&group_id=157793&atid=805242

Offline shaunc311

  • Rookie
  • ***
  • Posts: 17
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #176 on: July 06, 2010, 10:39:06 pm »
Don't know why, but if you go into src/client/renderer/r_main.c and comment out these lines, it'll load:
Code: [Select]
Com_Printf("using GL_ARB_framebuffer_object\n");
Com_Printf("max draw buffers: %i\n", r_config.maxDrawBuffers);
Com_Printf("max render buffer size: %i\n", r_config.maxRenderbufferSize);
Com_Printf("max color attachments: %i\n", r_config.maxColorAttachments);

At least, it loaded for me.  My ufoconsole.log file ended with "max render b" and that let me to the printout error.  I hope it helps you too.  Technically, I should probably find out why but codeblocks debugger isn't stopping at that break point.  Gonna try eclipse now.


Update:  Ok, now I'm confused.  I tried figuring out why the lines were causing it to hang and put the lines back in and everything is still working.  I'll let you know if it happens again.
« Last Edit: July 06, 2010, 10:53:50 pm by shaunc311 »

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #177 on: July 06, 2010, 10:59:01 pm »
Look how far I get:

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #178 on: July 06, 2010, 11:20:34 pm »
@Muton: Could it be that these crashes have something to do with the latest update of your script, because Duke got latest trunk running under Windows (Vista) & also tested the battlescape !?

Timing of my first crashes would fit to that theory somehow...

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #179 on: July 07, 2010, 08:09:06 am »
The script dont do any magic
I just analyze ufo.workspace and run codeblocks using *.cbp files

I think the cb project file is missing something
or whatever
../../src/client/menu/m_sound.c/h
has been added lately .....


Edit:
Its a 32bit problem
No problem on XPx64
but no run under XPx32
« Last Edit: July 07, 2010, 09:30:21 am by Muton »