![]() |
State 40xx in dll doesn't work. - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: [2.0] Exe Editing (https://lf-empire.de/forum/forumdisplay.php?fid=43) +--- Thread: State 40xx in dll doesn't work. (/showthread.php?tid=8117) |
State 40xx in dll doesn't work. - A-Man - 07-31-2012 I have been using lf2 1.9c for a while, and I decided to convert to 2,0 for the music and other stuff. And i tried to patch my exe for Silva's dll frame work, but it just won't work. Here are the steps I did, in boring details: 1. Downloaded the newest version dll: [14/08/09] in this thread: http://www.lf-empire.de/forum/thread-2246.html 2. Downloaded the exe needed from this thread also: http://www.lf-empire.de/forum/thread-2246.html 3. I extracted the content of the 2 files in one folder in the desktop. 4. I oppened the exe with idd king. Clicked on "Click to pick dlls....to add', and browsed to wnidows/system32/kernel32.dll then picked the LoadLibraryA function. 5. Clicked on 'add them'. 6. A txt file in the lf2 exe directory was created. The text inside is: '''Below are the calls you can make to access your added functions... Format style is: DLL Name::API Name->Call to API kernel32.dll::LoadLibraryA->call dword ptr [74f134]''' 7. I oppened the Load_dll lf2 exe with ollydebug. 8. I saved that entry point call in a txt file, It was "CALL 0044632C", and I replaced it with "CALL 00446A61". 9. I pressed Ctrl+G and wraped to '00446A61'. 10.At '00446A61', I assembled the original call again "CALL 0044632C". 11.I scrolled up to "00446A4E" then, right click, binary> edit and I typed in "rarara.dll" in the Ascii box (note: there was a grey dash in the ascii box which had 00 as a corresponding ascii value. I didn't erase that, I kept it there and typed after it). 12.When I clicked on "ok", that line and the 5 lines after it were filled with asm commands(the first 2 were checked). 13.I scrolled down to the call at "00446A61", and one line after it, I wrote 'PUSH 00446A4E' and clicked on "Assemble". 14.Then I wrote the code in the txt file IDD King created and clicked on 'Assemble' again. 15.Then I returned the code with the "ret" command. 16.Then I saved the modifications. ScreenShot of the final result: ![]() Ok now. The exe works normally and state 40xx doesn't work at all.. As you can c, I followed everything in silvas tutorial, but still it state 40xx doesn't work. Why is that? RE: State 40xx in dll doesn't work. - Boop - 07-31-2012 No. If you use the exe, you don't need to patch it(it's already patched). Also that is out dated. Newest stuff is located here: http://www.lf-empire.de/forum/thread-4271.html RE: State 40xx in dll doesn't work. - A-Man - 07-31-2012 Oh, I see..Well, I just tried that ready patched exe but still, state 40xx doesn't work. Isn't it supposed to be in the version i used? Also the newest dll files are corrupted.(Cannot read from file) RE: State 40xx in dll doesn't work. - Boop - 07-31-2012 The password for 1477's is "lfe" not "LFE". 1477's stuff works fine, the stuff in my thread should probably work as well. RE: State 40xx in dll doesn't work. - A-Man - 07-31-2012 Yess I know. The password is 'lfe', but still it won't work (same error:cannot read from file). And I am 100% sure that state 40xx doesn't work in ur exe. |