Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
State 40xx in dll doesn't work.
#1
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:
[Image: screen14.png]

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?
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:
#2
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
[Image: doty7Xn.gif]

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ʟᴇᴇᴘ.


Reply
Thanks given by:
#3
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)
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:
#4
The password for 1477's is "lfe" not "LFE". 1477's stuff works fine, the stuff in my thread should probably work as well.
[Image: doty7Xn.gif]

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ʟᴇᴇᴘ.


Reply
Thanks given by:
#5
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.
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:




Users browsing this thread: 3 Guest(s)