Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amount of "Menu Face" Images
#1
I have created a few "menu face" images, for few months ago. Problem: the exe can count only to 13. Solution: now.
I found the address with the value "13".
Code:
HEX-Addres: 2389E
HEX-TYPE: MOV (HEX: B9)
(NOT CHANGE THE HEX-TYPE!)

Than default hex looks like so:
Code:
B9 0D
Or in "decompiler" applications:
Code:
MOV ECX, 0D

You can change "0D". 0D is a hex value and it has the value 13 than integer. The value indicates the amount of "menu face" images. He accept values between 1 and 123 (so i think). Value 0 is a exception = program broken!
To convert a integer to a hex value: https://www.binaryhexconverter.com/decim...-converter

Finished? Not completly.
The exe has only 13 "menu faces". If you want more images, you must add the images with a resource editor.
[Image: resourceEditor.png]

Result
[Image: unknown.png]

Okay supplement:
The HEX-Addres 2389E indicates the amount and not "end number" (becomes immediately clear).

Code:
HEX-Address: 238A5
Default Value of address: 83 C2 01
Hex-Type: ADD EDX
... this is the start number.

If you change the start number, then you must change the last hex value (01) by the address 238A5.

Example with the first sentence:
We want that the images "MENU_BACK" starts by 13 and ending by 16.
We change 01 in 0D by the address 238A5. And we change 0D in 04 by the address 2389E, because the difference 16 to 13 is 3, but "13" is included, that is the reason for 4.
Reply
Thanks given by: STM1993 , rewlf2 , Bamboori , A-Man , MangaD , Silverthorn , Gad




Users browsing this thread: 1 Guest(s)