World conqueror 3 modding/ adding conquest
Jun 30, 2019 10:25:46 GMT
Harry Lillis "Bing" Crosby Jr likes this
Post by Stanisław Maczek on Jun 30, 2019 10:25:46 GMT
Hello!
As you can see (for example from my posts number) I'm not so experied modder, yes. But last time I was searching for some guide "how to add a conquest" and found nothing!
So I just start to adding a conquest with my own wisdom, I think that I'll fail (like everytime when I try to mod something without guide).
But that, what I made... It works! So I want to make some not perfect (so if You are better in modding/ can make better guide, please, do it) guide, how to add new conquest.
Step 1 tools
You have to get three things (on android): Total commander (on computer I suggest to get winRAR), apk editor and (neccesary) unlocked WC3 apk. You can get it from there:
european-war-4.boards.net/thread/4055/unlocked-wc3-apk
Step 2
In Total commander go into Download/ Unlock (WC3 unlocked app/ assets. Here go to stringtable.en, click repack and edit. Find a section Conquest, it looks like this:
;conquests
title5_conquest_1001=1939
title5_conquest_1002=1943
title5_conquest_1003=1950
title5_conquest_1004=1960
title5_conquest_1005=1975
Copy one of those (for example title5_conquest_1005=1975), paste it, CHANGE ID (this 1001, 1002, 1003, if you do it first time change it for 1006) and change year. Them save it, go back to total commander and repack it to archive. Now go up to find conquest that you like (for example conquest1005.btl), copy it to download file (or whatever file out of files in WC3 apk) and in this download file rename it to conquest1006.btl. Then copy this conquest to assets. Now you have 6 conquests.
Step 3
In assets file, there is a folder named json. Go into it and find ConquerSettings.json. Click for a long to it, click repack + edit. Copy one of sentences looks like this:
{"Id":1005,"UnlockedConquerId":0,"OName":null,"Name":null,"UnlockTime":"1939.1","Round":[],"UnlockedWonderId1":[],"UnlockedWonderId2":[],"UnlockedWonderId3":[],"UnlockedWonderId4":[]}
change ID for 1006 and delete all things in []. Then save it, go back and repack to archive.
Step 4
Now time for most boring (for me) step. In folder Json find ConquerCounrtySettings.json. Repack and edit, now listen. There should be many things like thins:
{"Id":514,"ConquerId":1005,"CountryID":44,"Camp":6,"MoveRound":0,"VsCamp":1,"Stars":1}
That's a one country in conquest. Copy ALL COUNTRIES WITH CONQUER ID THAT YOU COPIED BEFORE (in step 3) and paste it BEFORE countries with conquestID:1005. Then in your copied countries change every ConquerID:1005 for ConquerID:1006, and change every (it's example) Id:514 for Id:614 (change first number from 5 to 6). Then save it, repack to archive.
Step 5
In assets, go into "image" and find a file named: image_ui_hd2.xml. Now in image_ui_hd2.pkm you can add your conquest photo, I personaly don't do this. So now go to image_ui_hd2_xml, repack + edit and find this section:
<Image name="conq_item_1005.png" x="1" y="226" w="251" h="76" refx="0" refy="0" />
Copy it and paste before it (if you addede your photo in image_ui_hd2.pkm you can find it coordinaties). Now save it, repack to archive and go to apk editor.
Step 6
In apk editor select your app, click full edit, decode all files. Then find button "build" and click to it. After built uninstall your app (I don't know that you have to uninstall this app) and install (EVERYTHING IN APK EDITOR!). If game will instal, go into it and see if it works. If game crashes, go to total commander and try to find mistake (maybe you forgot to do some comma, point). If you did everything right, you will have from now new conquest! You can modify it, but a section about land borders is made by Wilhuff Tarkin and here's link to his post about it (and just modding): european-war-4.boards.net/thread/6029/creating-world-conqueror-step-process
Also if you like to modding WC3 I suggest to visit @communist channel, Canadian modder.
Have a nice day!
As you can see (for example from my posts number) I'm not so experied modder, yes. But last time I was searching for some guide "how to add a conquest" and found nothing!
So I just start to adding a conquest with my own wisdom, I think that I'll fail (like everytime when I try to mod something without guide).
But that, what I made... It works! So I want to make some not perfect (so if You are better in modding/ can make better guide, please, do it) guide, how to add new conquest.
Step 1 tools
You have to get three things (on android): Total commander (on computer I suggest to get winRAR), apk editor and (neccesary) unlocked WC3 apk. You can get it from there:
european-war-4.boards.net/thread/4055/unlocked-wc3-apk
Step 2
In Total commander go into Download/ Unlock (WC3 unlocked app/ assets. Here go to stringtable.en, click repack and edit. Find a section Conquest, it looks like this:
;conquests
title5_conquest_1001=1939
title5_conquest_1002=1943
title5_conquest_1003=1950
title5_conquest_1004=1960
title5_conquest_1005=1975
Copy one of those (for example title5_conquest_1005=1975), paste it, CHANGE ID (this 1001, 1002, 1003, if you do it first time change it for 1006) and change year. Them save it, go back to total commander and repack it to archive. Now go up to find conquest that you like (for example conquest1005.btl), copy it to download file (or whatever file out of files in WC3 apk) and in this download file rename it to conquest1006.btl. Then copy this conquest to assets. Now you have 6 conquests.
Step 3
In assets file, there is a folder named json. Go into it and find ConquerSettings.json. Click for a long to it, click repack + edit. Copy one of sentences looks like this:
{"Id":1005,"UnlockedConquerId":0,"OName":null,"Name":null,"UnlockTime":"1939.1","Round":[],"UnlockedWonderId1":[],"UnlockedWonderId2":[],"UnlockedWonderId3":[],"UnlockedWonderId4":[]}
change ID for 1006 and delete all things in []. Then save it, go back and repack to archive.
Step 4
Now time for most boring (for me) step. In folder Json find ConquerCounrtySettings.json. Repack and edit, now listen. There should be many things like thins:
{"Id":514,"ConquerId":1005,"CountryID":44,"Camp":6,"MoveRound":0,"VsCamp":1,"Stars":1}
That's a one country in conquest. Copy ALL COUNTRIES WITH CONQUER ID THAT YOU COPIED BEFORE (in step 3) and paste it BEFORE countries with conquestID:1005. Then in your copied countries change every ConquerID:1005 for ConquerID:1006, and change every (it's example) Id:514 for Id:614 (change first number from 5 to 6). Then save it, repack to archive.
Step 5
In assets, go into "image" and find a file named: image_ui_hd2.xml. Now in image_ui_hd2.pkm you can add your conquest photo, I personaly don't do this. So now go to image_ui_hd2_xml, repack + edit and find this section:
<Image name="conq_item_1005.png" x="1" y="226" w="251" h="76" refx="0" refy="0" />
Copy it and paste before it (if you addede your photo in image_ui_hd2.pkm you can find it coordinaties). Now save it, repack to archive and go to apk editor.
Step 6
In apk editor select your app, click full edit, decode all files. Then find button "build" and click to it. After built uninstall your app (I don't know that you have to uninstall this app) and install (EVERYTHING IN APK EDITOR!). If game will instal, go into it and see if it works. If game crashes, go to total commander and try to find mistake (maybe you forgot to do some comma, point). If you did everything right, you will have from now new conquest! You can modify it, but a section about land borders is made by Wilhuff Tarkin and here's link to his post about it (and just modding): european-war-4.boards.net/thread/6029/creating-world-conqueror-step-process
Also if you like to modding WC3 I suggest to visit @communist channel, Canadian modder.
Have a nice day!