View Full Version : Another RevB/C Warlords anomaly


kelvSYC
Apr 11, 2007, 11:34 PM
After installing RevC Warlords some time ago (I haven't played any since), I noticed that I have two copies of the Warlords executable! One is at the root directory, the other is at /Warlords. From a simple Get Info it seems like the former is newer.

Does anyone else have this problem, and should I move the newer executable so that it overwrites the older?

gallego
Apr 11, 2007, 11:40 PM
For me, the one in the main directory is just a shortcut to the real one in /Warlords, so it doesn't really matter.

AlanH
Apr 12, 2007, 05:14 AM
The one in Civ4 root is (or should be) a shortcut to the real one in /Warlords/. Delete the former, if you like, but don't do anything to the latter.

kelvSYC
Apr 13, 2007, 12:56 AM
Let me clarify:

I have BOTH an executable and an alias that points to the executable in /Warlords in my root directory, and the former is newer. Which one should I remove?

AlanH
Apr 13, 2007, 02:19 AM
You also reported that you have a copy of the Warlords version of Warlords/Assets/Sounds/Resources and Improvements at the top level of your Civ4 folder. It sounds to me as though, at some point, an installer or updater has installed Warlords into the wrong place, putting everything one level too high.

Without knowing exactly which version had been placed where it's difficult to advise. Rather than trying to fix it by deleting and moving things, you may be better advised to delete the Warlords application and your Warlords installation directory, and the /Library/Receipts/Civ4Warlordsxxx packages (I have three of them for the three versions), and reinstall Warlords from scratch.

I have seen the Warlords installer misplace the files myself - I think it's a limitation of the Apple Installer that makes it a challenge to get a new add-on to go into the correct location. I had similar problems building an installer for the HoF Mod, and eventually admitted defeat and supplied simple zip files!

kelvSYC
Apr 13, 2007, 10:22 PM
After taking Alan's advice, I had a fresh installation of both Civ IV and Warlords, but now I have this problem: both quit soon after being launched. Going to the console, I got myself two crash reports (both relating to some kind of initialization crash).

Attached is a crash log.

AlanH
Apr 14, 2007, 03:50 AM
It looks like you don't have the images in the right places, as it's the image loader that's failing. Here is a screenshot of my Civ4 application folder structure. Does yours look the same?

kelvSYC
Apr 14, 2007, 04:46 AM
It's exactly the same (minus the executables, which I presume are from some mod).

AlanH
Apr 14, 2007, 05:13 AM
If you mean the .fpk files, no, they weren't part of any mod. They were installed by copying my original Civ4 folder from the DVD. I just checked, and they are on the original DVD in Civilization IV/Assets/

kelvSYC
Apr 14, 2007, 03:19 PM
No, the .fpk files are present in my installation. What I meant was the actual program files you have in your root directory.

AlanH
Apr 14, 2007, 03:23 PM
OK, there's one called Civilization 4 CW that, I'll grant you, would not normally be there. Other than that, I think they are all valid. Which others do I have that are missing from yours?

kelvSYC
Apr 14, 2007, 04:30 PM
Nothing else as far as I can tell. But since it was an image loading problem, it could be that my installation missed out on something inside /Assets/res or /Assets/Art perhaps?

AlanH
Apr 14, 2007, 05:05 PM
I can't imagine a reason why your installation process should have missed putting all the files in place, since everyone else seems to be working OK. However ...

We can compare our Assets/ structures. I believe you said both Civ4 and Warlords were crashing on start-up? If so, it's highly likely that it's your Civ4 data structure that's screwed up, as the Civ4 data is shared by both applications.

The number of files in Civ4/Assets precludes doing an eyeball check. I therefore recommend that you run the following sequence using Terminal, and send me your results. I will do the same here and compare. I'll let you know what I find.

- Open a Terminal window.
- Type cd followed by a space.
- Drag your Civilization IV/Assets/ folder icon from Finder into the Terminal window so that its path is appended to the cd command.
The command in your Terminal window will look something like ...

MacPro:~ alan$ cd /Applications/Civilization\ IV/Assets/

.. except the Mac's name and your name will be substituted for 'MacPro' and 'alan', and your Civ4 path may be different.

- Hit Return.

- Now type: ls -lR (that's lower case L, lower case S, space, lower case L, upper case R)
- Hit Return

You should get a long listing that starts something like:


MacPro:/Applications/Civilization IV/Assets alan$ ls -lR
total 675632
drwxr-xr-x 11 alan admin 374 Apr 26 2006 Art
-rwxr-xr-x 1 alan admin 104911408 Apr 26 2006 Assets0.fpk
-rwxr-xr-x 1 alan admin 104928352 Apr 26 2006 Assets1.fpk
-rwxr-xr-x 1 alan admin 104918420 Apr 26 2006 Assets2.fpk
-rwxr-xr-x 1 alan admin 27449868 Apr 26 2006 Assets3.fpk
-rwxr-xr-x 1 alan admin 3706880 Mar 30 2006 CvGameCoreDLL.dll
drwxr-xr-x 26 alan admin 884 Apr 26 2006 Python
drwxr-xr-x 80 alan admin 2720 Jun 7 2006 Sounds
drwxr-xr-x 20 alan admin 680 Apr 26 2006 XML
drwxr-xr-x 9 alan admin 306 Apr 26 2006 res

./Art:
total 0
drwxr-xr-x 4 alan admin 136 Apr 26 2006 Effects
drwxr-xr-x 8 alan admin 272 Apr 26 2006 Interface
drwxr-xr-x 20 alan admin 680 Apr 26 2006 LeaderHeads
drwxr-xr-x 9 alan admin 306 Apr 26 2006 Movies
drwxr-xr-x 4 alan admin 136 Apr 26 2006 Shared
drwxr-xr-x 4 alan admin 136 Apr 26 2006 Structures
drwxr-xr-x 7 alan admin 238 Apr 26 2006 Terrain
drwxr-xr-x 13 alan admin 442 Apr 26 2006 Units

./Art/Effects:
total 0
drwxr-xr-x 5 alan admin 170 Apr 26 2006 work_dig

./Art/Effects/work_dig:
total 16
-rwxr-xr-x 1 alan admin 2736 Feb 10 2006 DigDirt.nif
-rwxr-xr-x 1 alan admin 2738 Feb 10 2006 ThrowDirt.nif

./Art/Interface:
total 0
drwxr-xr-x 5 alan admin 170 Apr 26 2006 Buttons
drwxr-xr-x 5 alan admin 170 Apr 26 2006 CityBar
drwxr-xr-x 4 alan admin 136 Apr 26 2006 Main Menu
drwxr-xr-x 5 alan admin 170 Apr 26 2006 Screens
drwxr-xr-x 4 alan admin 136 Apr 26 2006 Symbols

./Art/Interface/Buttons:
total 520
-rwxr-xr-x 1 alan admin 262272 Nov 9 2005 CityBar_Atlas_32.dds
drwxr-xr-x 4 alan admin 136 Apr 26 2006 General


Select the whole of your list in the terminal window, copy it, and paste it into a new TextEdit document. Save the document and attach it to a post here.

kelvSYC
Apr 14, 2007, 07:11 PM
Here it is, the contents of /Assets and /Warlords/Assets

AlanH
Apr 15, 2007, 05:16 AM
There are no significant differences - just owner names, folder dates that relate to when we applied our updates, and file time stamps with our time zone difference of 7 hours.

Have you tried deleting all your Civ4 preferences and caches in case they are corrupt?

Prefs files are:

~/Library/Preferences/com.aspyr.civ4.plist
~/Library/Preferences/com.aspyr.civ4warlords.plist

Caches are at:

~/Library/Application Support/Civilization IV/cache
~/Library/Application Support/Civilization IV Warlords/cache