|
Post by seahorse09 on May 13, 2023 12:03:49 GMT
I saw a CanadianModder's video about adding units on a map, where he used this method: 1. He moved an unit to this spot 2. He sets a Tito general to this unit 3. Saves the game 4. Goes to /data/data/com.easytech.wc4 5. Extract a conquest1.sav (the save file. It is like a normal conqest file, but the changes are saved here) 6. Opens it with HEX editor and searches for "05 04" - the HEX code of Tito (cause unit block in this file has bytes for general and if you find this you can just look to the coordinate bytes and thus you get the HEX code of a specific spot) The problem is with step 4. When i head to the /data folder in doesn't pass me here because of some stupid permissions. How to bypass it? Is root needed? Or please, tell me about some other method how to get a hex code of a specific spot on the map. Why i need this is because i am working on a huge project, which i think will help people a lot (i want to create a HUGE picture of a game map and every hex on a map has it's hex coordinates written on it)
|
|
|
Post by Darth Nihilus on May 13, 2023 15:51:03 GMT
I saw a CanadianModder's video about adding units on a map, where he used this method: 1. He moved an unit to this spot 2. He sets a Tito general to this unit 3. Saves the game 4. Goes to /data/data/com.easytech.wc4 5. Extract a conquest1.sav (the save file. It is like a normal conqest file, but the changes are saved here) 6. Opens it with HEX editor and searches for "05 04" - the HEX code of Tito (cause unit block in this file has bytes for general and if you find this you can just look to the coordinate bytes and thus you get the HEX code of a specific spot) The problem is with step 4. When i head to the /data folder in doesn't pass me here because of some stupid permissions. How to bypass it? Is root needed? Or please, tell me about some other method how to get a hex code of a specific spot on the map. Why i need this is because i am working on a huge project, which i think will help people a lot (i want to create a HUGE picture of a game map and every hex on a map has it's hex coordinates written on it) Hello, the vanilla version of wc4 is encrypted so our kind modders over at Gaming sideshows -> Gaming modifications made an unlocked version where you can access any files you need. The stage files contain everything you need, and you can in fact calculate hex spots without having to move a unit there. Just find the number of rows and columns in the stage file and manually calculate it. If you have any further questions please don't hesitate to ask in the gaming modifications part of the forum :)
|
|
|
Post by seahorse09 on May 14, 2023 14:48:30 GMT
I saw a CanadianModder's video about adding units on a map, where he used this method: 1. He moved an unit to this spot 2. He sets a Tito general to this unit 3. Saves the game 4. Goes to /data/data/com.easytech.wc4 5. Extract a conquest1.sav (the save file. It is like a normal conqest file, but the changes are saved here) 6. Opens it with HEX editor and searches for "05 04" - the HEX code of Tito (cause unit block in this file has bytes for general and if you find this you can just look to the coordinate bytes and thus you get the HEX code of a specific spot) The problem is with step 4. When i head to the /data folder in doesn't pass me here because of some stupid permissions. How to bypass it? Is root needed? Or please, tell me about some other method how to get a hex code of a specific spot on the map. Why i need this is because i am working on a huge project, which i think will help people a lot (i want to create a HUGE picture of a game map and every hex on a map has it's hex coordinates written on it) Hello, the vanilla version of wc4 is encrypted so our kind modders over at Gaming sideshows -> Gaming modifications made an unlocked version where you can access any files you need. The stage files contain everything you need, and you can in fact calculate hex spots without having to move a unit there. Just find the number of rows and columns in the stage file and manually calculate it. If you have any further questions please don't hesitate to ask in the gaming modifications part of the forum Yeah, thanks, Darth Nihilus, unlocked .apk helped a lot. I also found a good way to calculate coordinates on another thread. I have a problem. I want to change the position of some units on a map. I watched the videos of CanadianModder, read other threads but one problem is still here. I found the hex block of tank with Rocossovsky that is placed in Moscow. It's coordinates - 7a02 (the coords of Moscow). I changed it to 7b02 (one step to the right from Moscow) just for curiosity, i compiled it, but any time i start conquest, the game crashes. Why is it happening? Again, i didn't add new units to the map, i just changed the coordinates of already existing one. Could you help, please?
|
|
|
Post by Darth Nihilus on May 14, 2023 16:18:57 GMT
Yeah, thanks, Darth Nihilus, unlocked .apk helped a lot. I also found a good way to calculate coordinates on another thread. I have a problem. I want to change the position of some units on a map. I watched the videos of CanadianModder, read other threads but one problem is still here. I found the hex block of tank with Rocossovsky that is placed in Moscow. It's coordinates - 7a02 (the coords of Moscow). I changed it to 7b02 (one step to the right from Moscow) just for curiosity, i compiled it, but any time i start conquest, the game crashes. Why is it happening? Again, i didn't add new units to the map, i just changed the coordinates of already existing one. Could you help, please? I'm guessing you have to change the coordinates of the tank as well as the general, otherwise the game won't like it if a general's on an empty tile. If that doesn't work, feel free to ask in the modding boards so more modders will be able to answer your question (I'm just one person so I'll be pretty limited in what I can do)
|
|
|
Post by seahorse09 on May 14, 2023 18:11:37 GMT
Yeah, thanks, Darth Nihilus, unlocked .apk helped a lot. I also found a good way to calculate coordinates on another thread. I have a problem. I want to change the position of some units on a map. I watched the videos of CanadianModder, read other threads but one problem is still here. I found the hex block of tank with Rocossovsky that is placed in Moscow. It's coordinates - 7a02 (the coords of Moscow). I changed it to 7b02 (one step to the right from Moscow) just for curiosity, i compiled it, but any time i start conquest, the game crashes. Why is it happening? Again, i didn't add new units to the map, i just changed the coordinates of already existing one. Could you help, please? I'm guessing you have to change the coordinates of the tank as well as the general, otherwise the game won't like it if a general's on an empty tile. If that doesn't work, feel free to ask in the modding boards so more modders will be able to answer your question (I'm just one person so I'll be pretty limited in what I can do) I changed the coordinates of unit's block, where general is assigned. But the thing is when i move it to upper or lower from the city, everything works perfectly, but as soon as i move it to the left or right, it crashes. I didn't move general to the empty place, because as seen here: WC4 BTL guide | Easytech Fan Community european-war-4.boards.net/thread/9609/wc4-btl-guidei can't do this, because there is unit block that is 48 bytes long and it has coordinates of a unit, and general is assigned to the unit. I don't know how to fix crashes This is coordinate calculation method i used: WC4 A basic calculation | Easytech Fan Community european-war-4.boards.net/thread/9486/wc4-basic-calculation
|
|
|
Post by ππ³π°π΅π΄π¬πΊ on May 24, 2023 11:26:21 GMT
To answer your initial question: To access files in the /data folder, your android device must be rooted.
Your problem that you can't move an unit to the left or right is wired. You did already the important test to move the unit up and down with success, so your way to change position seems to be correct.
Do the destination fields have an correct owner ? Moving an unit on a field without owner crashes the game.
Try to move the unit 2 fields to l/r for further testing.
Note: In EW you can change all battle-files, even in locked apk - I assume this is also the case for WC.
|
|