trevius
12-29-2008, 02:45 AM
Again, I know my work isn't exactly SEQ related, but if anyone knows how to run the IDA script for creating the opcodetable.h file, I would appreciate any info on it. I am able to run the script fine, but in another post, ieatacid mentioned that you have to put the cursor at the beginning of the opcode table in the assembly code. I don't know where the opcode table is. If someone could point that out to me, it would be helpful. If it works like I think it does, at least I can verify if I am finding the correct opcodes I need or not. I am still working on getting eqemulator working with SoF but I am stuck at a point that has had me stumped for days.
I see in the script that it says:
// place cursor at the start of the OpcodeTable then load the script
// i.e. this line VV
// .rdata:00713030 FF ObfuscatorTable db 0FFh ; DATA XREF: CObfuscator__CObfuscator+D
But, I don't see ObfuscatorTable in my IDA output at all. Maybe I am not running the exe through IDA properly to get everything needed?
In case anyone is interested, here is what I have done so far:
http://www.eqemulator.net/forums/showthread.php?p=162077#post162077
I am looking for anything I can find to get this working. So every little bit of info is useful. I am determined to get it going for the emu project and won't be giving up without a fight.
Also, in one of the threads, ieatacid mentioned that he found the spawn struct completely out of the IDA assembly code. If any info on how to pull structs from the code could be provided, that would probably help me a HUGE amount. Unless maybe I am misunderstanding what he meant in this quote:
This should be 100% right. It was too hard and time consuming using packet logs so I dug them out of the exe.
I thank any help you guys can give and I apologize for asking for help on things that aren't directly related to SEQ. But, anything else I find, I will be more than happy to share here. That includes all unknown fields in structs that may or may not be useful for SEQ.
I see in the script that it says:
// place cursor at the start of the OpcodeTable then load the script
// i.e. this line VV
// .rdata:00713030 FF ObfuscatorTable db 0FFh ; DATA XREF: CObfuscator__CObfuscator+D
But, I don't see ObfuscatorTable in my IDA output at all. Maybe I am not running the exe through IDA properly to get everything needed?
In case anyone is interested, here is what I have done so far:
http://www.eqemulator.net/forums/showthread.php?p=162077#post162077
I am looking for anything I can find to get this working. So every little bit of info is useful. I am determined to get it going for the emu project and won't be giving up without a fight.
Also, in one of the threads, ieatacid mentioned that he found the spawn struct completely out of the IDA assembly code. If any info on how to pull structs from the code could be provided, that would probably help me a HUGE amount. Unless maybe I am misunderstanding what he meant in this quote:
This should be 100% right. It was too hard and time consuming using packet logs so I dug them out of the exe.
I thank any help you guys can give and I apologize for asking for help on things that aren't directly related to SEQ. But, anything else I find, I will be more than happy to share here. That includes all unknown fields in structs that may or may not be useful for SEQ.