Tulughma Posted February 4 Report Share Posted February 4 Introduction This guide provides a temporary solution to make the AutoCiv mod work with 0 A.D. Alpha 27 until an official update is released. This is an unofficial workaround that maintains basic functionality while disabling some features that cause compatibility issues. Installation Steps 1. Locate Mods Directory Find your 0 A.D. mods folder based on your operating system: Windows (Vista+): C:\Users\{name_of_user}\Documents\My Games\0ad\mods\ macOS: ~/Library/Application Support/0ad/mods/ Linux: ~/.local/share/0ad/mods/ 2. Install Mod Files Extract autociv.zip directly into the mods directory (do not create an additional autociv folder during extraction). 3. Update Dependency Version Edit mod.json: Find line 7 and change it to: "dependencies": ["0ad=0.27.0"], 4. Restructure Data Directory Locate the autociv_data folder Move it into the gui folder 5. Update File Paths Add gui/ before autociv_data/ in these files: Copy autociv/gui/autociv_readme/autociv_readme.js (line 11) autociv/gui/common/botmanager.js (line 417) autociv/gui/options/options~autociv.js (line 93) autociv/gui/options/pregame/mainmenu~autociv.js (line 29) 6. Update Font Path In autociv/gui/options/options~autociv.js: Change line 85 to: return Engine.ListDirectoryFiles("gui/fonts/", "*"). 7. Modify Team Settings In autociv/simulation/components/GuiInterface~autociv.js, update: Copy Line 214: "team": 1, Line 215: "hasSharedLos": true, 8. Disable Password Confirmation In gui/gamesetup_mp/gamesetup_mp~autociv.js, comment out: Copy Line 11: //input.onPress = () => confirmPassword() Line 19: //input.onPress = () => confirmSetup() 9. Disable Hotkey Saving In gui/hotkeys/HotkeysPage~autociv.js, comment out: Copy Line 18: //Engine.ConfigDB_WriteFile("user", "config/user.cfg"); Known Limitations Hotkey changes cannot be saved Some multiplayer setup features are disabled This is a temporary solution until an official update is released Technical Notes The workaround primarily addresses engine restrictions on file access by relocating resources to the gui/ directory Changes to team settings follow community-suggested improvements Some features are disabled rather than fixed to maintain basic compatibility Remember that this is an unofficial modification and may not provide full functionality. It's recommended to update to the official version when it becomes available. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.