BAT Mod for Mac

Well that's an incompatibility with the mapscript then and unrelated to MAC BAT. If it's calling the Window's Registry then I'm afraid that's something I don't know how to fix.

As I'll probably be doing some mod-to-Mac compatibility work again soon (MacBUFFY?), I may be able to take a look at some incompatible map scripts and fix them t the same time. Please let me have a list of the map scripts that you have found to crash during configuration.
 
Even Tectonics is concerned :eek:

If i choose Random Earth in Tectonics.py
 
Even Tectonics is concerned :eek:

If i choose Random Earth in Tectonics.py

I just tested all the random options in Tectonics and they all work fine for me. Testing the other mapscripts now.

EDIT:

Some of those mapscripts have a TON of options o.O I obviously didn't test every configuration but instead just chose random options if they existed, or reasonable defaults if they didn't. I always chose Huge for world size and ran each one 3 times. The following mapscripts seemed to work:

- Tectonics.py
- Planet Generator_0_68.py
- Maze.py
- Ring_World.py
- Full_of_Resources_3_00.py
- Lows_Random_Maps_3_0.py
- Smart_Map.py

The only one that crashed while generating was Team_Battleground.py which crashed on first launch but was fine the next two times. I have very limited understanding of how mapscripts work but I imagine the occasional crash could happen if the script is not robust enough to handle unforeseen circumstances. As they are not a core part of MAC BAT, more included bonuses, I'll just leave them as is.
 
Here is a saved game in witch I crash to desktop every 4 or 5 turns. I've tried to reload several times and it doesn't seem to happen always at the same time.

I would appreciate if anyone could test it, so I will know if it's a bug related to my system or not.

Thanks for the saved game. Unfortunately I was able to load it and play until the modern era without any crashes, implying it may be a problem on your system. When do these crashes happen? While the other civs are making their move? Scrolling around the map?
 
Thanks for the saved game. Unfortunately I was able to load it and play until the modern era without any crashes, implying it may be a problem on your system. When do these crashes happen? While the other civs are making their move? Scrolling around the map?

Thanks for the test. It happen sometimes when other civs are making their moves, when I clic to open city screen or other basic actions like that. I'll try to reinstall the mod and make sure I have all the patches.
 

Yup. The Citystyles half of VD is updated regularly by the author and MAC BAT 2.2 is already up to date with all these changes, plus a bunch of mac-specific fixes as well. It seems very stable and in this regard we are much better off than Windows users of VD or BAT.

The unit art half of VD however has not been updated for some time. I've fixed a few things that I noticed but there's still likely to be some that have escaped me so far. The problem is that the xml for all the unit art is a real mess; several different systems of organization are used and thus it's a real challenge to debug. Any crashes in BAT are most likely to be in this part somewhere.
 
how do you add this to BUG?

EDIT: whoops! didn't know that bug was included. However, i just had a look at USA units and... erm... the maceman is a swordsman and the musketman is a redcoat and the mobile artillery is a mobile SAM... is this meant to happen?
 
Xyth, I'm suddenly having a lot of trouble with crashes. Last night, I hit a spot where every time I pressed return to end the turn, the game crashed to desktop. So, I sent my save game to use my old iMac instead of my new Macbook. I was using 2.1, caught up in reading this forum, and so I upgraded to 2.2, then renamed the mod 2.1 so that my old saved game would play.

Now here's the weird thing, when I try to load my saved game directly, it crashes to desktop, won't even finish loading the saved game. I found a work-around: load the mod, then begin a brand new game, then load the saved game from that new game. Success!

Except, now ever few turns, the game crashes to desktop - at random times, sometimes when new turn is starting, and other times when I open an advisor screen. On my Macbook, when it crashes to desktop, I get error report. On my iMac, it crashes to desktop and I don't get error report.

Would you like me to post the error report? Or perhaps a savegame?
 
The crash happened when Civ4 tried to display a unit button.
 
No idea. I was simply providing the interpretation of the crash log so that someone who knows the mod has a starting point for an investigation.

Everything I read here about BAT - and the VD bit of it in particular - tells me it's well worth avoiding if you just want to play Civ4 without buggy eye-candy.
 
I was looking through all the VD stuff just last night actually and noticed that a LOT of button references are broken/wrong. I didn't think this could cause a crash but looks like it can :(

I've decided to officially give up on VD. It's a shambles and would take a massive amount of time and effort to fix and test thoroughly. I'm going to use my time and energy to continue putting together a replacement for it. However, the rest of BAT is pretty well maintained and stable in my opinion.

Rewriting VD is a big project and I can't guarantee it will be 100% complete or stable to begin with (it's all too easy to cause crashes with unit art defines, seems BTS has very poor error handling in this area) but the advantage will be that I will know the xml inside out and will thus be able to fix things much more promptly. I will also try my best to make it less of a performance hit in the later eras.

I plan to have a beta version up by the end of the month, I'd really appreciate it if people could help me test it.
 
Thanks alan and xyth. is there any way I can just turn off or deactivate the VD parts of BAT for now? i look forward to ur upcoming mod xyth.

I haven't tested this (not near my Civ computer atm) but try removing the folder "MAC BAT 2.2/Assets/Modules/Varietas Delectat/". If that doesn't seem to work try removing the files "Varietas Delectat v8.0.FPK" and "CD_v1.1.FPK" (both in MAC BAT 2.2/Assets) as well.
 
I'm playing as the Persians and the Rifleman unit build icon is showing up as a Musketman, but I assume this is a VD problem.
 
Incidentally, is there any way to alter the XML so that the maceman can be renamed the heavy footman? This was in an earlier version of VD, but seems to have been removed. I always thought heavy footman made more sense, since very few of them carry maces.
 
VD has many many button/icon issues, one of the many reasons I'm rewriting it. As for the Heavy Footman thing, that is indeed possible but the necessary file is not included in BAT and will need to be copied over from one's Civ4 install and edited. I don't know which file exactly but it will be in /Assets/XML/Text somewhere. I'll make this change (and Horse Archer -> Horseman) in the next version.
 
Back
Top Bottom