Technical support > Windows

SVN Update Problems.

<< < (3/4) > >>

BTAxis:

--- Quote from: odie on February 11, 2009, 09:15:37 am ---A) I did realised that radiant Dll files are not in place during this download, and that i have to manually extract (\contrib\dlls\radiant_runtime.zip) and put them into the directory (\radiant), esp so, in order for the nsis script (\src\ports\windows\installer.nsi) to run successfully.

Otherwise, it would die on line 237, since the CB did not code that (RADIANT) issue successfully.

Is that the case?

--- End quote ---

Yes, this is how it's supposed to work. Unfortunately, documentation on this is somewhat lacking (there's only a comment floating around on the forum somewhere).


--- Quote ---B) I would need to compile the maps pk3s (\base\archives.bat) too, and it does give strange (file do not exist) error.... which really is because the files are not existent yet (since it was a fresh SVN copy, not update). (Probably batch file issue).
--- End quote ---

Again, this is how it's supposed to work.


--- Quote ---C) I did encounter another strange issue.... CB compiles now with the following error:
(See attached file, 2.jpg)
--- End quote ---

This is normal. You can ignore this.


--- Quote ---D) And the compiler shrunk by alot.... Check out this nsis codes, see if its ok?
(See attached file)
--- End quote ---

You can check if it's okay yourself by running the installer, installing the game to some arbitrary path and seeing if the game will run.

odie:

--- Quote from: BTAxis on February 11, 2009, 11:45:51 am ---Yes, this is how it's supposed to work. Unfortunately, documentation on this is somewhat lacking (there's only a comment floating around on the forum somewhere).

Again, this is how it's supposed to work.

This is normal. You can ignore this.

You can check if it's okay yourself by running the installer, installing the game to some arbitrary path and seeing if the game will run.


--- End quote ---

Hi, BTAxis,

Thank you for clarifications so far.

I have noticed that perhaps the NSIS script needs to be changed.
Reason being:
1) I did all of the above, succeeded at compiling. The compiled text as in 2.txt.

2) I went back and uninstalled all my old versions, registry edited to remove all instances of the UFOAI project (which were pretty clean actually - the uninstaller's job).

3) I installed the current version (as of yesterday, RR22578) onto lappy. The full installation works, but however, the game would not start.

I have attached for us, the startup logs. (See UFO_Error.txt)

I believed that some stuff were missing (esp the obvious 'PsymongN3' background track and the font: f_menubig).  (I believed the PsymongN3.ogg is the music file they are loading which is located in \base\music)
(But i could not find where this f_menubig font type is....., though i did realised the the fonts in \base\media were missing from the NSIS script).

Could you advise / revise on the revisions to the NSIS scripts that is required pls?

Thanks.

[attachment deleted by admin]

RudolfoWood:
I think there are some out-of-date or missing files in your paks:
from your error log:

--- Quote from: filesystem-section ---executing keys.cfg
Usage: unbindbattle <key> : remove commands from a key

--- End quote ---
could you please check the keys.cfg in your svn checkout dir (ufoai/base/keys.cfg)
Revision should be 21774, fifth line should be unbindallbattle instead of unbindbattle


--- Quote from: parse-scripts-section ---...  0 items parsed
...  0 damage types parsed
...  0 map definitions parsed
...  0 equipment definitions parsed
...  0 inventory definitions parsed
...  0 team definitions parsed

--- End quote ---
should look like

--- Quote from: my-parse-section ---...110 items parsed
... 32 damage types parsed
... 67 map definitions parsed
... 29 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed

--- End quote ---
Please check whether
1) you have the ufo files under ufoai/base/ufos
2) these files are in your pak/installer dir somewhere

It seems that these are missing

odie:
Hi folks again,

I have since tried a few things and finally found an abnormality in the issues i faced so far.

1) I can compile successfully NSIS with the correct files and all, install that and run. The recent versions i got to work are: 22655 and 22706 (yesterday's).

2) There have been times when first compilation fails (at a few places), and after retrying it, it works (w/o the need to re-download or even doing anything).

The first that fails is:
a. When doing the \base\archives.bat, i did the whole batch file in a separate CMD dos windows. I went thru the batch logs slowly and realised that sometimes, the file is 'locked' and cannot be modified, hence the reason that batch files = successful, BUT actually, the various PK3 files are NOT successful.

What i meant is this:
archives.bat activated.
archives.bat starts with this commend ->
--- Code: ---7za a -tzip 0base.pk3 *.cfg irc_motd.txt -x!".svn"
--- End code ---
Then, because the file is locked, it says, not successful or file in use....
moves on and repeats same error.....
I ended up with alot of .pk3.tmp or .pk3.tmp1(2 3 4 5) files...

My workaround for this to be ok is this:
a. Delete all pk3 files before starting my archives.bat.
b. run the archives.bat

My recommendations for the original script \base\archives.bat is simply to add one more command before running the remaining script ->
--- Code: ---"del *.pk3*"
--- End code ---

Another workaround would be to modify the archives.bat this way:
a. Instead of using the -a switch, use the -u switch.
-a is to add files, but if they are already present (like in my case), they are skipped in a sense.
-u is to force update of all files which has changed.

Though i still prefer the previous, delete pk3 files method. Haha. This way, though the rebuilding takes a slightly longer time, it ensures that all files are "NEW" and updated. :)

PS: I am still deleting all pk3 files from now though before running the archives and NSIS script. :P


The next thing that fails is:
I realised as per the previous entries in this thread:

--- Quote from: odie on February 11, 2009, 09:15:37 am ---A) I did realised that radiant Dll files are not in place during this download, and that i have to manually extract (\contrib\dlls\radiant_runtime.zip) and put them into the directory (\radiant), esp so, in order for the nsis script (\src\ports\windows\installer.nsi) to run successfully.

Otherwise, it would die on line 237, since the CB did not code that (RADIANT) issue successfully.


--- End quote ---

This is definately the case. We need to perhaps modify the script so that \contrib\dlls\radiant_runtime.zip is unzipped into \radiant for \src\ports\windows\installer.nsi to work properly. Perhaps it can be with an 'overwrite' switch?

Last issue is perhaps with the NSIS "test installer" thing. Many times i tested the installer (which always install correctly - since the NSIS script runs thru), it is ok, only to start the game with this missing / that missing errors. Its sorta misleading.

Perhaps in future documentations, this point could be inserted and warn compilers like myself. lol. :P

Okie, time to think abt working the wiki. Sorry for my suddenly busy schedules due to microsoft updates and various updates from real life work. I am still here, hehe. Will continue beta testing once my silly schedules get back in routine. :)

odie:

--- Quote from: RudolfoWood on February 12, 2009, 07:37:23 pm ---I think there are some out-of-date or missing files in your paks:
from your error log:could you please check the keys.cfg in your svn checkout dir (ufoai/base/keys.cfg)
Revision should be 21774, fifth line should be unbindallbattle instead of unbindbattle
should look likePlease check whether
1) you have the ufo files under ufoai/base/ufos
2) these files are in your pak/installer dir somewhere

It seems that these are missing

--- End quote ---

Hi RudolfoWood,

Since ur last post, i have tried few things.

First, the /base/keys.cfg is correctly as of 21774.
The content of the 5th line is also correct.

Secondly, /base/ufos contains 91 .ufo files starting with aircraftmanagement.ufo and ending with weapons_ugv.ufo sorted in alphabetical order.

I am doing now a /clean update on the maps, and updating the archives.bat -> pk3 files.

Here's a summary of the CB log and the NSIS log.

Hope from now everything's good.
Kindly help me verify these logs ok? Thanks.

I am uploading the 22955 to filefront and if u need, i can provide the link too.

[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version