UFO:Alien Invasion

Archive => Bugs prior to release 2.3 => Topic started by: Destructavator on August 23, 2009, 03:18:58 am

Title: CodeBlocks Package Script Errors/Issues (From MinGW shell)
Post by: Destructavator on August 23, 2009, 03:18:58 am
I started testing the Codeblocks packaging script so I could compile the game again, although it stopped and came to a halt on this one line, the last one in the screenshot here.

At this one point it stopped downloading, my Firewall shows that it is no longer sending or receiving from the Internet.  (Yes, it has permission from the firewall.)  I'm not sure if the server out there with the file is busy, the filename isn't right, or what.
Title: Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
Post by: Destructavator on August 23, 2009, 03:25:27 am
Wait, hang on - restarting the script got it a bit further...

OK, here is where it bombs now:
Title: Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
Post by: Destructavator on August 23, 2009, 03:28:32 am
Update:  I'll keep playing with it to see what I can do to make it work...
Title: Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
Post by: Mattn on August 23, 2009, 10:14:06 am
remove libcurl.zip and rerun the script - it will only try to download missing files - but if files are only half-downloaded, this can't be detected
Title: Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
Post by: geever on August 23, 2009, 11:30:37 am
remove libcurl.zip and rerun the script - it will only try to download missing files - but if files are only half-downloaded, this can't be detected

Download a file with MD5 checksums first?

-geever
Title: Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
Post by: Mattn on August 23, 2009, 12:10:22 pm
not every url has a md5 checksum for the file we are trying to download - and uploading them somewhere else is also no option as new versions would also require to upload new md5 files to our own mirror.

it would be an option to mirror all the files we need - then we could provide md5 checksums and also ensure that none of the files we need is offline.
Title: Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
Post by: odie on August 23, 2009, 12:22:36 pm
I started testing the Codeblocks packaging script so I could compile the game again, although it stopped and came to a halt on this one line, the last one in the screenshot here.

At this one point it stopped downloading, my Firewall shows that it is no longer sending or receiving from the Internet.  (Yes, it has permission from the firewall.)  I'm not sure if the server out there with the file is busy, the filename isn't right, or what.

Hi, Destructavator,

U compiled this under MingGW? Does that means that CB script in windows is broken again for u, and possibly me when i am back in office tml? :(
Title: Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
Post by: Destructavator on August 23, 2009, 01:31:47 pm
remove libcurl.zip and rerun the script - it will only try to download missing files - but if files are only half-downloaded, this can't be detected

I did the "clean" option and this error happened again - it can't seem to download that one library.

Where does it store the downloaded files?  I've looked in hidden folders, temporary folders, and the UFO: AI folder, I can't find where to manually delete anything.
Title: Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
Post by: Destructavator on August 23, 2009, 02:12:44 pm
Success!

I deleted the whole codeblocks folder (after backing it up of course), started over, and was able to create a "codeblocks.zip" in the "contrib/scripts" directory in my SVN copy.

Now to see if the newly created package will compile the game...
Title: Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
Post by: Destructavator on August 23, 2009, 03:45:59 pm
Yes! Yay! Terrific! Wunderbar! Geil!   ;D

It works and it compiles the game as well as radiant, no errors!

Here's the new package:

http://destructavator.com/92dl/Codeblocks.zip

Title: Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
Post by: odie on August 24, 2009, 07:29:54 am
Rowar!

I ma gonna try your version of CB. lol. My CB has been outdated for a while at 5456 (haha), though it still compiles. lol.

Do u have the same 18 warnings as i do??