|
Post by Darth Vader on Jul 17, 2021 21:13:18 GMT
Thanks! That helps a lot Now i know that i can change 0C inΒ 01 35 0C 2D E7 D1 00 21 01 22 45 F0 F8 FF 01 98 to any other and it changes the amount of generals visible in HQΒ Your welcome, anytime my friend!
|
|
|
Post by sean1917 on Jul 29, 2021 23:58:19 GMT
OUTSTANDING!!! This is the kind of info to share with each other. Let's demystify hex code.
I changed my generals to equal 24 but I must remind everyone that the CorpSettings must be changed to the same number in order to continue to add generals. But this is great for us all. Now we all know exactly how to up the capacity of our HQ. BRAVO.
|
|
|
Post by sean1917 on Jul 30, 2021 19:54:24 GMT
I forgot: you also need to change the Conquer Country Settings to your generals number.
|
|
|
Post by jaxmoding23 on Nov 7, 2021 1:18:53 GMT
already try to edit the layout.xml but its only work on junior seat wich is u can see in the game(if you add generals in to a unit) u need to decompile the game to edit the senior seat, i think it's in the meta-inf or lib? im using mobile so its hard for me hehehe
|
|
|
Post by sean1917 on Nov 11, 2021 19:00:19 GMT
Thanks! That helps a lot Now i know that i can change 0C in 01 35 0C 2D E7 D1 00 21 01 22 45 F0 F8 FF 01 98 to any other and it changes the amount of generals visible in HQ Just so future readers know: you have to calculate the number you want into hex... In the image post that Vader shared with us the replacement code was 5B, which i think is 92 in decimal. 5x16 + B ( which is 12 )... is that correct? I changed mine to 18, which allows me to purchase 24 generals for my roster. 1x16+8=24
|
|
|
Post by ππ³π°π΅π΄π¬πΊ on Nov 12, 2021 14:34:26 GMT
Thanks! That helps a lot Now i know that i can change 0C inΒ 01 35 0C 2D E7 D1 00 21 01 22 45 F0 F8 FF 01 98 to any other and it changes the amount of generals visible in HQΒ Just so future readers know: you have to calculate the number you want into hex... In the image post that Vader shared with us the replacement code was 5B, which i think is 92 in decimal. 5x16 + B ( which is 12 )... is that correct?β I changed mine to 18, which allows me to purchase 24 generals for my roster. 1x16+8=24βοΈ 0x5B = 91 ! 0xB=11:... 0x9=9, 0xA=10, 0xB=11 ... But: ET starts a lot of times with 0 as the fist element (general), so your assumption can to be correct anyway. In EW4 they use both quite inconsistent (IE: field-positions or skills start with 0 but princess-id or generals with 1 and so on) For translating the HEX-values I use the MT-Hex-editor: Start it with any file, -DEC->HEX: with search you can convert DEC to HEX, just select the data type you need, -HEX->DEC: the inspector shows you the decimal value of any 1,2,4 and 8-Byte combinaton: just write your bytes in the file and then inspector - you can't harm the file because: no save possibile ... and all directly with the endian changes! PS: For sharing lib-patches, it is helpfull to name also Version of the lib and the exact byte position (in hex) to change
|
|
|
Post by sean1917 on Nov 13, 2021 0:26:17 GMT
|
|
|
Post by yoga911 on Jul 7, 2022 23:18:51 GMT
Darth Vader, thx very much. Hex is the next level for me. Unlike json, which I can sort thru and read, hex doesn't give me any clues. How do you find where to mod and know what to change??? I wd love to go the distance w game modding but I don't have alot of documentation o line about the specific methods used. Thanks a lot I'm almost frustrated because of this, but finally I can!
|
|