This file will load the dll in the same location named lfe.dll. (If you want to change the name of the dll, go OllyDBG to the address 446F00 of the exe, in which the name of the dll is defined.)
I expanded the exe to 5MB and also made it loads the dll, by adding some unused dummy resources by the Resource Hacker. So, when you use Resource Hacker to make changes on the skin, you are able to keep the size of the exe by deleting the dummies I placed, and replace some of suitable size. By keeping the size of the exe, there will be no any error due to the change of address in the exe.
Note that the size of the exe should be kept exactly 5 MB (= 5,242,880 Bytes = 5*2^20 Bytes).
The method knowing the suitable size of dummy: (Click to View)
1. Putting the exe (which the skin is edited, and some dummies have been deleted from) and the dummy files your would like to use together in one location.
2. Select all of them and 'Alt+Enter'.
Seeing the size, adjust the files until that is 5,242,880 Bytes.
3. Add the dummy files to the exe by Resource Hacker. At last, you will see your exe file becomes 5,242,880 Bytes.
05-12-2009, 05:27 AM (This post was last modified: 05-12-2009, 05:31 AM by genevrier.)
Last night I was too tired to tell (That was a midnight when I post this thread), there was a misconception. The Resouce Hacker and IIDKing actually does not edit the address of the main code.
Error occurs only when using Resouce Hacker for a exe edited by IIDKing. The exe crashes in this case because the IIDKing stuff in the exe was affected, not the main code was affected. So, if you use Resource Hacker followed by IIDKing, it will be alright. There is a case you are able to edit the IIDKing-patched exe by Resource Hacker, that is keeping the total size of the resource. It is what all my method was talking about.
@FKN
Do you mean your total size of the resources is bigger, making the exe greater than 5MB?
If yes, maybe I can make a 15MB exe also,
or you can normally
1st edit the original nonumlock-exe by Resouce Hacker and
2nd patch it by IIDKing like this tutorial told: http://www.lf-empire.de/forum/showthread...1#pid42291
05-12-2009, 07:35 AM (This post was last modified: 05-12-2009, 07:35 AM by Boop.)
Duh, it isn't my fault . I didn't bother testing this stuff, I knew it really didn't make sense(because the.rsc section is located after the .data section), but seeing as it didn't work I was assuming that was the case(lots of things don't make sense ).
The thing I don't understand is, why didn't it work when you tried patching the exe? I guess it is because you tried doing a jmp instead of a retn? I guess it is my fault if that is the case .
05-14-2009, 09:33 AM (This post was last modified: 05-14-2009, 11:46 AM by Yinseko.)
genevrier, thank you very much!) *bow* ^^
p.s. i make screnshot, who knows, maybe Silva will opposite this method)
hm...1 thing
after last Silva's update in april, it doesn't work with this update:
Quote:Update 28/3/09:
Loading text can be manipulated from dll
but exe can work with this if dll ai older version.
it's not too fairly, just note ^^
(05-14-2009, 09:33 AM)Yinseko Wrote: genevrier, thank you very much!) *bow* ^^
p.s. i make screnshot, who knows, maybe Silva will opposite this method)
hm...1 thing
after last Silva's update in april, it doesn't work with this update:
Quote:Update 28/3/09:
Loading text can be manipulated from dll
but exe can work with this if dll ai older version.
it's not too fairly, just note ^^
Oh, I see the mistake now. I will correct it in the next release of the dll framework. Thanks for reporting.
For now, you may add a line to correct it for your use:
can you wtire tutor for using your method with screenshots , cuz whatever i'm dooing exe crashes
just can't understand how to use RIGHTLY (
totally all my bitmaps have size above 5 mb (it nearly 9mb AFTER it indexed! ) and how to replace them into exe (with dll) without crashing i really don't know (
thanks ^^''''
and one else.
in 5 mb exe, if i remove, for example, second dummy file and save exe, it doesnt work, but if delete all dummy's files it works, it's normal?