I have released a version of the .24 skirmish AI that will work in tournament mode, see this post: https://forums.demigodthegame.com/396054/get;2826092
This method can be used to mod anything in the game as it replaces the locked dgdata.zip files with a modded archive. Tournament mode only uses the locked files, so normally you are unable to use game play mods in that mode.
The steps to create a mod for the UI/tournament mode are:
1. Create a copy of dgdata.zip and rename to any 6 character file name you like. For a demo I have created dgDemo.zip and modified the auto-fill function in lua\ui\lobby\lobby.lua.
Edit any files you want to edit and add back the changed files to your custom zip file.
[URL=http://img192.imageshack.us/i/48693261.png/][/URL]
2. Copy the demigod exe in the demigod\bin folder and rename it to whatever you like. For this demo i have named it Demigod_Demo.exe
Open the exe with a hex editor. I did not have one on my machine and just downloaded a reasonably rated one from cnet downloads (http://download.cnet.com/HxD-Hex-Editor/3000-2352_4-10891068.html).
In the hex editor Search for dgdata.zip and replace it with the name for your zip file. This tells the exe to load your custom archive instead the default one. Save the changes.
[URL=http://img502.imageshack.us/i/16202487.png/][/URL]
3. Run the game, you will get a useful error message. The game tries to verify it is loading the correct archive by comparing it to the expected MD5 hash key. Copy the compiled MD5 string and search for that in the hex editor.
[URL=http://img530.imageshack.us/i/25624285.png/][/URL]
It should find the compiled MD5:
[URL=http://img249.imageshack.us/i/25734508.png/][/URL]
Copy the actual MD5 in the error message and click abort program. Paste the actual MD5 over the old MD5 string and save the exe.
[URL=http://img818.imageshack.us/i/18112258.png/][/URL]
4. Load up the game again and test your change:
[URL=http://img220.imageshack.us/i/26555693.png/][/URL]
The UI can be modded and if you apply mods that affect game play they will be active in tournament mode as well. The built in mod manager only allows game play mods to apply to skirmish games, so this is a nice work around.
http://img192.imageshack.us/g/48693261.png/
Some notes on this:
I do not know if it works online.
I have developed this work around for offline play.
Whenever you change a file in your custom archive a new MD5 with need to be swapped in on your custom exe.
Use the unmodded demigod exe in your bin folder or through impulse to run the game through the normal files.
[URL=http://img818.imageshack.us/i/18112258.png/]
[/URL]
Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL]