Technical support > Windows

make_UfoAI_win32 (all in one win32 build script)

<< < (13/62) > >>

Muton:
added a work arround to get all needed dlls into the installer

Rockwolf:
Just want to say thank you to Muton for making something like this.

However, I seem to be having a problem getting it to work.

The application downloads the source, gets C::B ready, but when starting on the compile of Ufo2map, it seems to sit and idle.  My CPU is just sitting idling at around 5% activity, with little jumps to 10%, that's about it.  

I chose the option where your application determines the details of my processor.

Edit:  I have an AMD Phenom II, Quadcore, 3.0Ghz, 8Meg total cache, socket AM3

Muton:
@Rockwolf
an amd k10
CPU Layer 1 cache Line size 64byte
CPU Layer 1 cache size 64kbyte
CPU Layer 2 cache size 512kbyte
Leave this field at unknows if you are not shure
you will loose only marginal speed


=== again an update ================================

I've merged both scripts into one
You now need only make_UfoAI_win32.exe
No need to extract a zip ...

wiki
make_UfoAI_win32.exe

added
[*]version number
[*]update routine
[*]merged both scripts into one
[*]ufo2map source monitoring
[*]a MessageBox was added into NSIS if you build a small installer (where to get the source files)
[/list]
changed
[*]7zan.exe not used any more
[*]relative path in md5 files
[*]the name of the compiled script changed (the last time)
[*]small wiki changes
[*]log file is not any more overwritten
[*]all md5 fileas are stored in the same directory as make_UfoAI_win32.exe (not on \contrib\scripts any more)
[/list]
bug
[*]removed ufo2map loop bug
[/list]

I've added 2 new routines
update routine
ufo2map source monitoring

The update routine check by every start if there is a new revision available
If yes the new revision is downloaded into %tmp% and a helper file is called (wait_copy_run.exe)
This helper file wait until the script terminates itself
copy the new revision over your existing one
and run it

The ufo2map source monitoring routine
will help users to stay up2date with there maps (*.bsp) witout cleaning all maps by hand (even if not necessary)
To activate this routine checkbox clean must be unchecked
This routine clean all maps only if a sourcefile of ufo2map.exe has changed (all *.bsp files will be deleted)
if not it will use ufo2map_last_build.md5 to determine which *.map file has changed since the last svn update
and delete the corresponding *.bsp file
In this case only changed maps will be build and the map compilation process is dramatically shorten

I've made a flowchart
map_last_build.md5 ( stores the path, name and md5hash of all *.map files from the last successful mapcompilation )
ufo2map_last_build.md5 ( stores the path, name and md5hash of all *.h *.c files from the last successful mapcompilation )
ufo2map.cbp ( contain all information to build ufo2map.exe [*.h *.c] )

Rockwolf:
Still idling at ufo2map.  I set up the processor in the map compiler as you said.

Do I need to check something for the sse?  

Also, there's a dropdown with 01, 02, 03.  What does that mean, and should I select something other than the default?

If it helps, I'm only running Vista 32bit, even though my processor is a 64bit.  I used my current copy of windows when I built my new system a few months ago.  Putting a computer together and setting it up is about the extent of my skills with computers.  I can troubleshoot some of the simpler hardware issues, but that's pretty much it.  So, basically, I'm quite lost with much of what's required.

Sorry if you'll need to use a lot of explaining of each step.

edit:  Should I have C::B open and running when I try to run your compiler?

edit #2:  I've been doing everything on my D:\, but other than the drive path, everything was set up exactly as you described in the wiki.

Muton:
You have full access to the folder?
Run codeblocks.exe yourself and open project file
ufoai\build\projects\ufo2map.cbp
and recompile the project -> result?

Zip and attach the log file!
UfoAIbuild-*.log

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version