So... no MODS for Mac? NOT True!

Hello there AlanH, can you help me with a running a "new Civ" mod? I'm trying to run a mod to play as the Confederate States, which was made by NervousTwitch. Enabling the "Mods" button in the Main Menu worked fine (though since I have the AppStore version I had to fight permissions for a while), and I was able to enable the mod in the Mods menu inside the app. The civilization seems to have loaded fine, but every item has some sort of text path on it. For example, my Settlers are "TXT_KEY_CIV_CONFEDERATE_ADJECTIVE" Settlers. I haven't played far enough to determine whether or not the special abilities or anything like that work. This problem seems to occur with every item associated with the civ, including when selecting the civ in the set-up menu. Is there a fix for this?
 
As a general rule, if you want me to look at a specific mod, then providing a download link is always an incentive. Otherwise I have to go off on a search, and then wonder if I've found the one you are trying to use.

Anyway, I've downloaded the zip file attached to this post, unzipped it and put the resulting folder in /Users/<user_name>/Library/Application Support/Civilization V Campaign Edition/MODS/. It's called "The Confederate States of America", and I haven't changed the name.

I have enabled mods in the App Store version of Civ5, enabled the mod, and launched a default Single Player game as Alex of Greece. My opening screen shows a Settler who is named as a Greek Settler, with a warrior called Greek Warrior. No problems so far. What am I supposed to see?
 
Sorry I didn't link the download; I figured this might be a common problem related to OSX extracting the files as opposed to the normal Windows. Anyway, this is what I see when I try to play as the downloaded civ.
Spoiler :

Screenshot2011-12-31at14243PM.png


However, since you didn't seem to have heard of the problem before, I figured the problem must be mod-specific and tried a newer Civ mod (this one), and it seemed to work just fine. Maybe it's something to do with how much more recent the Greek Epic mod is? It seems I may just have to accept never being able to play as my favorite historical civ :(
 
OK. I went into Advanced Setup and tried to select Davis as leader. I got the messed up text tags that you see.

Looking at the logs, it appears there are errors when Civ5 loads the mod.

I tried it in the Windows version of Civ5, and it behaves the same. So I think there is something basically wrong with the mod.
 
Thanks for looking at it, as long as I'm not alone in having the problem I can be confident I didn't screw up somewhere along the process.

While I have you here (and thanks for all the help you do for Civ Mac stuff, by the way), can you tell me how to convert a .civ5mod file to a .7z so that Ez7z can unzip it? I tried just dragging in and clicking "expand," but that doesn't work. I'm a bit new to this stuff (as in I downloaded Ez7z today)
 
You should just be able to drag a civ5mod file to Ez7z and click Expand. It will ask you where you want to put the output.

Which one are you having trouble with?
 
It was Putmalk's Ancient World. Following your advice in the other thread, I took the apostrophe out of the name and it worked just fine. Thanks
 
I would like to add that I was having the same problem as kenobi. I made the changes to mainmenu.lua and and i was getting an invalid version number and I couldn't click on anything in my menu. I went back into the text edit and removed the spaces before the hyphens i added in and everything worked fine after that. Also I have a question, I've had no trouble adding mods that I could download but lots of modders don't add a link for the download. They say to browse for it in game. When i open up the browse mods it only shows mods ive downloaded and dlc, there is no option to search for mods. Am i missing something here
 
Hi, welcome :wavey:

As you have found, Aspyr doesn't support mods. You have to hack the script just to see mods in the Mac version of Civ5. So you will not be surprised to hear that Aspyr has not ported the facility to browse the online mods library. If you want a mod and it only exists in the online library then you will either have to use Windows to download it, or go down on bended knee to the mod maker to ask for a manually installable copy.
 
Hmm thats too bad. Thanks for the quick reply I was about to start messing around editing the modbrowser.lua and download.lua files hoping for a fix like the mainmenu.lua. Guess I'll just have to make do with the mods that are available. Thanks again this thread was very helpful
 
This worked like a charm, found the file, vim, done.
So cool. I was playing those difficult levels, and a little bit of luck can make so many hours go away with one wrong decision...
Thanks AlanH to follow through with it, thanks indeed!
 
Tried following the thread.

* I have an iMac
* running the AppStore version = Civilization V Campaign Edition
* running OSX 10.7.3 (may be the problem?)
* found MainMenu.lua and edited line 33 from:
Controls.ModsButton:RegisterCallback( Mouse.eLClick, ModsButtonClick );

to:
-- Controls.ModsButton:RegisterCallback( Mouse.eLClick, ModsButtonClick );

(also tried without the space after the 2 hypens with same result, as:
--Controls.ModsButton:RegisterCallback( Mouse.eLClick, ModsButtonClick );
)

And the result I get is a main menu screen that has a visible "Mods" button, but all the buttons are unclickable and I have to command-Q or command-shift-del to close the program; and at the bottom of the screen it states that the version is "not recognized".

I can revert to the original MainMenu.lua (backed up) and still have the game work just fine, without the visible Mods button again, tho.

What should my line 33 of MainMenu.lua read to get the Main Menu and the added Mods button working?

Thanks!
 
Hi, welcome :wavey:

Mine still works OK with version 1.0.1.511 in Snow Leopard. I haven't tried this version in Lion, but I doubt if that would change anything. The Civ5 code is all very self contained, and shouldn't be affected by the underlying operating system.

My changed file looks like the following listing, which includes the whole function containing that line. Note that the line need to edit is line #35, not line #33. The line you have edited is not the correct one, and exists at line #66 in my file.

I don't think LUA is sensitive to indentation the way Python is, so it shouldn't matter what comes before or after the two hyphens; everything after them on the same line is treated as a comment and ignored.

Code:
function ShowHideHandler( bIsHide, bIsInit )
    if( not bIsHide ) then
        Controls.Civ5Logo:SetTexture( "CivilzationV_Logo.dds" );
        
        -- This is a catch all to ensure that mods are not activated at this point in the UI.
        -- Also, since certain maps and settings will only be available in either the modding or multiplayer
        -- screen, we want to ensure that "safe" settings are loaded that can be used for either SP, MP or Mods.
        -- Activating the DLC (there doesn't have to be any) will make sure no mods are active and all the user's
        -- purchased content is available
        Modding.ActivateDLC();
        PreGame.LoadPreGameSettings();
        -- Look for any cached invite
		UI:CheckForCommandLineInvitation();
    else
        Controls.Civ5Logo:UnloadTexture();
    end
[b]--	Controls.ModsButton:SetHide( true ); -- MAC_PORT - rickb Comment this line out to re-enable mods. Happy modding![/b]
end
 
hey guys im having trouble finding the MainMenu.lua. I have found the frontend file but all it say is muiltplayer and nothing else shows up! any help would be brill!
 
hey guys im having trouble finding the MainMenu.lua. I have found the frontend file but all it say is muiltplayer and nothing else shows up! any help would be brill!

Have a look at post 24 on the How to install a mod again (thread). I think that'll help.
 
hey guys im having trouble finding the MainMenu.lua. I have found the frontend file but all it say is muiltplayer and nothing else shows up! any help would be brill!

I am having the same problem. Specifically, there is no mainmenu.lua file at the location:

~/Library/Application Support/Steam/SteamApps/common/sid meier's civilization v/assets/UI/FrontEnd/MainMenu.lua

This problem may be related to the release of Gods and Kings.

edit: Previously I could find the mainmenu.lua file at this location.

anyone got any ideas?
 
I've updated the FAQ with references to various threads and information about the changes in the latest patch, and in G&K. I'm sorry I can't go round every old thread and update them.
 
Back
Top Bottom