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

Offline Borsti67

  • Squad Leader
  • ****
  • Posts: 164
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #195 on: November 07, 2010, 03:06:51 pm »
Hey Muton!

So you succeeded in getting up GIT for you script, this is really great news!
Just downloaded and started...

One thing - while checking through the options, I saw the tooltip for "download" (in "optimize maps") is missing (shows the same as "fast").

I believe if checked, this means the maps will not be compiled but downloaded? If I'm right, I'd recommend the following:
Make it the 1st checkbox in the group, and disable all the other options when checked. Just cosmetics, I know, but it would make things a little clearer?

oh, and another proposal: the source path is defaulted by ...mingw\ufoai which is fine in most cases. Anyway on a new installation it is "red" of course and you can't "Start" right away. But when pressing the "ufoai src" button, you don't get this path but must click through from the beginning.
My recommendation: When clicking on "Start" without a valid path, launch the same dialogue as on "ufoai src" after selecting a new, empty directory ("DL source to...?").

Downloading now with only 200 KB/s...  :P

Thanks for your efforts!

Offline ManicMiner

  • Squad Leader
  • ****
  • Posts: 113
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #196 on: November 09, 2010, 09:09:46 pm »
Hi,

It's not working for me... I am getting an AutoIT error on Line 6628: "Error: Variable used without being declared." I've attached the log and the INI file.

I already had GIT set up as per the path in the existing script and I've copied the INI file across from the old buildenv to the new one, modifying the paths as appropriate. I used GIT GUI to get the source if that helps.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #197 on: November 09, 2010, 10:14:03 pm »
run the script again
before accepting the error
post the content of
C:\TEMPUFOAI\UFOAIwin32BUILDenv\MinGW\etc\fstab

Do you made changes on any source file?
How do you cloned ufoai

Run:   "C:\TEMPUFOAI\UFOAIwin32BUILDenv\MinGW\bin\git.exe" pull --rebase
   at:   C:\Users\Public\UFOAIwin32BUILDenv\GIT\ufoai
You asked me to pull without telling me which branch you
want to rebase against, and 'branch.master.merge' in
your configuration file does not tell me, either. Please
specify which branch you want to use on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details.

Offline ManicMiner

  • Squad Leader
  • ****
  • Posts: 113
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #198 on: November 09, 2010, 11:42:14 pm »
Sorry, I panicked. Turns out the issue was the GIT clone had somehow got itself corrupted; I couldn't even pull manually. I think I might've posted something about it a week or two back.
I've deleted it and am downloading it afresh using your script and that seems to be working better.

Nice fat internet pipe in this hotel...  ;D

Offline ManicMiner

  • Squad Leader
  • ****
  • Posts: 113
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #199 on: November 10, 2010, 01:06:31 am »
It seems to be working OK although I have seen two warnings so far:

Found bfd.h
Could not find execinfo.h
Found theora/theora.h
Found xvid.h

Then

make: stat: release-mingw32-i386/ufoded/shared/byte.c.d: Bad file number

I'll leave it to complete before I assess the result.

Night all!

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #200 on: November 25, 2010, 05:29:25 pm »
Muton, thanks a lot for all the work you've invested here  8)

GREAT !

I am having some problems with the tool, but I am not sure yet where those come from, so I will post a report about those here later.

THANX AGAIN !!!

Offline Borsti67

  • Squad Leader
  • ****
  • Posts: 164
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #201 on: November 30, 2010, 07:23:58 pm »
Hi Muton!

What happened to the script?
Today I was told it is out-of-date and I should download a new one. This one calls itself 0.9.0, but seems to search for SVN instead of GIT? Of course it doesn't seem to work... The DLed file is "UfoAI_win32_build_environment_0.2.0" which cannot be correct.

When searching in the WIKI for hints here: http://ufoai.ninex.info/wiki/index.php/Code::Blocks%28guided_with_GUI
...I see the link in "Starting from Scratch" leads to a 404 page. :(

I redownloaded 0.3.1 from this thread now.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #202 on: November 30, 2010, 08:03:43 pm »
Its still "beta"
Some outdated functions ....
as this one.
Just say no if you are asked to update

Will fix this ... weekend

Offline avid4545

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #203 on: December 02, 2010, 06:20:17 am »
first of all thinks for all the work you have done on this script (I know programming is not the easiest thing to do, I should know I got a degree in it,) but anyways, at first I had troubles using it but then I figured it out and it works fine but if memory serves it does at the end give multiple “name" unknown variable then skips them. I do not know if this is intentional or not, or if you are not aware so her it is.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #204 on: December 04, 2010, 02:05:45 pm »
== 2010.12.04 == 0.9.4 =====================================
ufo2map will now use quant 4 to compile maps
SSE is now used if selected
The log file is now not opened after completing compilation, except for an error
MinGW is now silently updated if necessary
A small list of bugs have been fixed


changed
  • -quant 4 for ufo2map
  • make use of SSE during make
  • The log file will not open any more if no error accrued
  • MinGW update
bugs
  • some small bugs



@Borsti
I'll keep things as they are
If you are unable to download a map you'll compile it yourself
This way you will not end up with a missing map
The "ufoai src" button must focus on "my computer", otherwise you are unable to select a path outside the UFOAIwin32BUILDenv folder
The other proposal with the start button is a little bit confusing 4 people ( pressing a red button to make it green ... )
« Last Edit: December 04, 2010, 08:09:06 pm by Muton »

Offline ManicMiner

  • Squad Leader
  • ****
  • Posts: 113
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #205 on: December 04, 2010, 05:56:50 pm »
Do you have a direct download link to just update the script utility?

Offline Borsti67

  • Squad Leader
  • ****
  • Posts: 164
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #206 on: December 05, 2010, 12:38:46 pm »
Thanks Muton, the script now updated itself automatically to 0.9.4 and seems to work fine!

Regarding my proposals - I'm not sure if you got me right, but on the other hand I don't know the tool(s) you're programming with. May be I should explain in German (via PM)?

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #207 on: December 05, 2010, 07:54:33 pm »
feel free to do so

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #208 on: January 05, 2011, 10:03:43 am »
== 2011.01.05 == 0.9.5 =====================================
There was a bug related to mapdownload
The script tried to download outdated maps.
Added a conditional statement to compare ufo2map version level
from server-log and local ufo2map build


bugs
  • map download

Offline Borsti67

  • Squad Leader
  • ****
  • Posts: 164
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #209 on: January 07, 2011, 07:36:17 pm »
hm, starting the update script throws an error - in the background there is a DOS window (wait_copy_run.exe), the popup shows "unable to copy new revision"?

€dit: Now it works w/o having changed anything... ???
« Last Edit: January 09, 2011, 10:25:14 pm by Borsti67 »