|
Post by Darth Vader on Jul 26, 2021 22:49:14 GMT
|
|
|
Post by Darth Vader on Jul 27, 2021 6:04:48 GMT
|
|
|
Post by ππ³π°π΅π΄π¬πΊ on Jul 27, 2021 12:26:05 GMT
There a few gliitches/bugs in the original layout-files, and even ET arrives to add more bugs with every new version. Was it necessary to change both files: layout.xml and layout_568h.xml? I tried to repeat your screenshot but: As you see the layouts are all slightly different, so bugs are not for everyone. IE: A new glitch from tle latest V1.4.30:
|
|
|
Post by ππ³π°π΅π΄π¬πΊ on Jul 27, 2021 13:09:16 GMT
I found a weird confirm/cancel error. I have fixed it [...] My layouts are alreday far different, to the EW4 original. Can you please explain where the bug was located Darth Vader ?
|
|
|
Post by Darth Vader on Jul 27, 2021 16:53:50 GMT
There a few gliitches/bugs in the original layout-files, and even ET arrives to add more bugs with every new version. Was it necessary to change both files: layout.xml and layout_568h.xml? I tried to repeat your screenshot but: As you see the layouts are all slightly different, so bugs are not for everyone. IE: A new glitch from tle latest V1.4.30: Did you put the app in full screen? Android 10 should allow all devices to create full screen. Yeah, you need to edit both or, the changes won't show up.
|
|
|
Post by Darth Vader on Jul 27, 2021 16:55:41 GMT
I found a weird confirm/cancel error. I have fixed it [...] My layouts are alreday far different, to the EW4 original. Can you please explain where the bug was located Darth Vader ? The confirm bug was in both layout files. I replaced both of them with the new files. It was rather difficult for me to find the back and check mark button. They are hidden in the Au files.
|
|
|
Post by ππ³π°π΅π΄π¬πΊ on Jul 27, 2021 19:01:50 GMT
My layouts are alreday far different, to the EW4 original. Can you please explain where the bug was located Darth Vader ? The confirm bug was in both layout files. I replaced both of them with the new files. It was rather difficult for me to find the back and check mark button. They are hidden in the Au files. I did not understand which changes were necessary in the layouts to fix the confirm bug? To find sprites easier I made the sprite inspector - I add yours at this post. Attachments:image_ui_hd.html (56.07 KB)
|
|
|
Post by Darth Vader on Jul 27, 2021 20:31:09 GMT
The confirm bug was in both layout files. I replaced both of them with the new files. It was rather difficult for me to find the back and check mark button. They are hidden in the Au files. I did not understand which changes were necessary in the layouts to fix the confirm bug? To find sprites easier I made the sprite inspector - I add yours at this post. I don't believe I was very clear so, I will explain to you what I did. I had to test Evey single x,y,w coordinate did and, see which changes worked and didn't worked. The update I made only changed the confirm button. I literally did reverse engineering to see what this change would do and the next one. I kept the experiments that worked and didn't work. I can't explain why the images are messed up with some buttons. I guess changing some images in the UI causes some bugs to occur. I am just glad I made Ew4 playable for me and people with the same problem. It is not to replace the APK but, help with newer device models. If you have a older device and the unlock APK still works, than use it.
|
|
|
Post by ππ³π°π΅π΄π¬πΊ on Jul 27, 2021 21:07:30 GMT
I don't believe I was very clear so, I will explain to you what I did. I had to test Evey single x,y,w coordinate did and, see which changes worked and didn't worked. The update I made only changed the confirm button. [ ] I am just glad I made Ew4 playable for me and people with the same problem. It is not to replace the APK but, help with newer device models. If you have a older device and the unlock APK still works, than use it. Great work Darth Vader! I am also very glad that You found the way to make EW4-mods playable with newer devices. For this reason I intensive tried to find a newer unlocked apk. We shold fix the glitches.The problem is the layout's-xml is not a programming language. It is a DOM that is requested by the scenes - if a scene is requesting something, what is removed, we get a zero-pointer crash, and worse: not all attributes are requested! for every scene - you can't believe how annoying the defense and fortess-cards are, witdh and height come many times form an unknown reference and values in the layout?.xml are ignored. And if I understand it correctly, the width of the ok-triangle, keept the offset for your layout? For my .1 mod I really want support for all devices. I am very happy that you found the way.
|
|
|
Post by Darth Vader on Jul 28, 2021 1:21:53 GMT
I don't believe I was very clear so, I will explain to you what I did. I had to test Evey single x,y,w coordinate did and, see which changes worked and didn't worked. The update I made only changed the confirm button. [ ] I am just glad I made Ew4 playable for me and people with the same problem. It is not to replace the APK but, help with newer device models. If you have a older device and the unlock APK still works, than use it. Great work Darth Vader! I am also very glad that You found the way to make EW4-mods playable with newer devices. For this reason I intensive tried to find a newer unlocked apk. We shold fix the glitches.The problem is the layout's-xml is not a programming language. It is a DOM that is requested by the scenes - if a scene is requesting something, what is removed, we get a zero-pointer crash, and worse: not all attributes are requested! for every scene - you can't believe how annoying the defense and fortess-cards are, witdh and height come many times form an unknown reference and values in the layout?.xml are ignored. And if I understand it correctly, the width of the ok-triangle, keept the offset for your layout? For my .1 mod I really want support for all devices. I am very happy that you found the way. I am uncertain about trying to fixing the glitches. I just found how to fix my problems by chance. If I tried to fix more of them, it could create more bugs. What I did is what any one could have done. It is simple to edit the values but, finding what and how to edit it were the hardest problems. What I did was something from a coding course. I recommend every one take it before going into modding. What I did was no big deal, it was just some x,y, and w experiments.
|
|