Posts: 1,018
Threads: 60
Joined: Mar 2008
Address Hex dump Command Comments
004243AF |. 50 PUSH EAX ; |
String is pointed to by EAX.
Address Hex dump Command Comments
0042439B |> \8B4424 1C MOV EAX,DWORD PTR SS:[ESP+1C] ; |Default case of switch lf2.42437B
eax is written there.
Replace MOV EAX,DWORD PTR SS:[ESP+1C] with MOV EAX, YOUR_ADDRESS
where YOUR_ADDRESS is where your percentage is held.
10 ʏᴇᴀʀs sɪɴᴄᴇ ɪʀᴄ ɢᴏᴏᴅ.ɪ ᴡᴀʟᴋ ᴛʜʀᴏᴜɢʜ ᴛʜᴇ ᴇᴍᴘᴛʏ sᴛʀᴇᴇᴛs ᴛʀʏɪɴɢ ᴛᴏ ᴛʜɪɴᴋ ᴏғ sᴏᴍᴇᴛʜɪɴɢ ᴇʟsᴇ ʙᴜᴛ ᴍʏ ᴘᴀᴛʜ ᴀʟᴡᴀʏs ʟᴇᴀᴅs ᴛᴏ ᴛʜᴇ ɪʀᴄ. ɪ sᴛᴀʀᴇ ᴀᴛ ᴛʜᴇ sᴄʀᴇᴇɴ ғᴏʀ ʜᴏᴜʀs ᴀɴᴅ ᴛʀʏ ᴛᴏ sᴜᴍᴍᴏɴ ᴛʜᴇ ɢᴏᴏᴅ ɪʀᴄ. ɪ ᴡᴀᴛᴄʜ ᴏᴛʜᴇʀ ɪʀᴄ ᴄʜᴀɴɴᴇʟs ʙᴜᴛ ɪᴛ ɪs ɴᴏ ɢᴏᴏᴅ. ɪ ᴘᴇsᴛᴇʀ ᴢᴏʀᴛ ᴀɴᴅ ᴛʀʏ ᴛᴏ ʀᴇsɪsᴛ ʜɪs sᴇxɪɴᴇss ʙᴜᴛ ɪᴛ ɪs ᴀʟʟ ᴍᴇᴀɴɪɴɢʟᴇss. ᴛʜᴇ ᴇɴᴅ ɪs ɴᴇᴀʀ.ɪ ᴛʜᴇɴ ᴜsᴜᴀʟʟʏ ʀᴇᴀᴅ sᴏᴍᴇ ᴏʟᴅ ɪʀᴄ ʟᴏɢs ᴀɴᴅ ᴄʀʏ ᴍʏsᴇʟғ ᴛᴏ sʟᴇᴇᴘ.
Thanks given by:
Posts: 595
Threads: 54
Joined: Jan 2012
Couldn't understand what you wrote up there. Tried to understand it for about 1½ hrs but couldn't.
If possible please explain by giving an example.
...............
Thanks given by:
Posts: 1,556
Threads: 77
Joined: May 2011
Suppose you want to change the loading text to just say "Loading.. Please wait".
You're first going to go scroll downwards to the area where you can find lots of free addresses (where there are lots of "add byte ptr ds:..etc stuff"), right click on any line => Binary => Edit. At the "Ascii" box above, type "Loading.. Please wait" and go OK. Now you see the address you wrote the text at ? Lets call that X. Now replace X in here:
0042439B MOV EAX, X ;
I suppose PUSHing X once and for all at 004243AF would work as well.
Now for the percentage, the address you point at should contain "(current data/total data) *100" evaluated and,I guess, as a string.
Goood luck!
Thanks given by:
Posts: 595
Threads: 54
Joined: Jan 2012
I know how to change the loading text.
I think your theory is right about current data/total no. of data .....but the thing is how to implement it( make the exe calculate the total no. of data.)
...............
Thanks given by:
Posts: 145
Threads: 8
Joined: Jun 2009
I dunno where you got your stuff form but I actually have an LF2-Version on my Computer which is loading with %(called LF-S i think).
So if your goal is to implement that too somewhere, maybe another way of implementing will help you.
Thanks given by: