Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 12Sky2
You last visited: Today at 17:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How can I hook exe and load custom language folders?

Discussion on How can I hook exe and load custom language folders? within the 12Sky2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2020
Posts: 17
Received Thanks: 4
How can I hook exe and load custom language folders?

How can I hook exe and load custom language folders?
sLowNight2 is offline  
Old 01/23/2024, 15:54   #2
 
elite*gold: 0
Join Date: Apr 2020
Posts: 208
Received Thanks: 38
Quote:
Originally Posted by sLowNight2 View Post
How can I hook exe and load custom language folders?
Reverse a multilang supported version and see how it is working.
zahter55 is offline  
Thanks
1 User
Old 01/24/2024, 02:09   #3
 
elite*gold: 0
Join Date: Apr 2020
Posts: 17
Received Thanks: 4
Unfortunately, I'm not very good at using ida-style programs. Can you give more detailed information?
sLowNight2 is offline  
Old 01/26/2024, 20:29   #4
 
Sector1337*'s Avatar
 
elite*gold: 61
Join Date: Oct 2017
Posts: 189
Received Thanks: 103
Quote:
Originally Posted by sLowNight2 View Post
Unfortunately, I'm not very good at using ida-style programs. Can you give more detailed information?
Then you should start learning these. The rest will follow immediately.

To create a hook, you first need to know how it works. So, if you can read it, you can reverse it.

Here are my advices for you;
You can read about threads by @ especially for Twelvesky2, but in general reversing the right reverser that i know is @ in that forum. Read their past comments, docs, they will absolutely teach you at least something.
Sector1337* is offline  
Thanks
1 User
Old 01/28/2024, 13:30   #5

 
Mega Byte's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,776
Received Thanks: 1,003
The way I did it was to just over-write the text in the structures, after game loaded up the data, I was able to load a csv for example and replace the item, npc, monster, quest, skill texts etc inside their structures. It was simple but got the job done.

If you find the text in memory for what it says, you can figure out the structure or at least the location/pointer to it, and the size of structure, then its just an array you can copy the string/bytes over what is there so long as it is within the fixed size constraints of those strings.

Of course you could go another way about it, detour the code that grabs the text for a particular thing you want to translate, then return w/e string you want.

If you look for where it reads the files from disk you can find a long routine of call something, if it failed to load push an error/continue loading next thing if I recall. you can also find the filename in memory inside those functions.

If you were to detour that function you could write code to run after it runs to then replace the contents for example.

I think I did it without a detour, just waited to know what screen it was at looking at the screen pointer, then loaded the info I wanted over top of the existing loaded structs.

There are newer tools than when I started doing this like ReClass.NET which can help you map out structures a little bit nicer than working with the structure mapper in Cheat Engine to be sure.

Using Ida Pro or Hexrays or x86dbg etc is pretty technical, but if you keep at it and learn things bit by bit you can start to make sense of things and it clicks.

By decompiling the assembly into C++ or something using HexRays or Snowflake or w/e it was called, you can more easily understand what the code does in some cases, but its still a wild goose chase if you don't figure things out and name them or look for strings or debug symbols. It's a big puzzle if your looking at the code/assembler for a compiled thing as you often wont have any nicely named variables and structures can be a bit of a mess.

Try to find the parts that load the text from the *.IMG files then find a pointer for that memory location.
You could also try putting mouse over an item and using hotkeys in CE to search for
Unknown 4 byte
Mouse over item, use hot key to search for (changed value, unchanged value) move mouse off item to not select anything, search for changed value, rinse and repeat.

If the value of a hovered item is stored in a memory structure, you might find it that way.
Then you can look for what writes this value/reads this value and find the code that uses it.
But since you know the name of the item and the name of files loading that info, searching it is much much easier tbh.
Mega Byte is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[HELP] Tcd Folders and List of Bugs
04/03/2015 - 4Story - 1 Replies
Hello people, someone can give me PT or/and EN tcd folders from GF/ZEMI? Also i wanted a list of bugs/exploits from server files because i don't know any, thanks :)
Can someone send me the 4 folders from FNResourcetool?
03/07/2015 - S4 League - 8 Replies
Can someone send me the 4 folders from FNResourcetool? I can't extract it right, But i wanna see some things. :( #edit: After extracting everything from FNResourcetools. When i open the file it gives these weird symbols #edit2: This is what i get: http://i.epvpimg.com/xW6tc.png
checked my screenshot folders and then WHAT THE FUCK
02/16/2013 - Dekaron - 4 Replies
never plaied with those chars have any1 seen those names >? they were in dekaron/data/screenshots and my game is fresh maybe 1 month http://img547.imageshack.us/img547/6858/dekaron20 12121617h13m30.jpg Uploaded with ImageShack.us http://img259.imageshack.us/img259/2153/dekaron20 12121617h36m43.jpg
C4 and C5 system folders
01/10/2007 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 9 Replies
Well guys heres a present for you,, well,, for all of you guys that like to edit files in the systems folder. C-4 and C-5 system folders They are both untouched.



All times are GMT +2. The time now is 17:34.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.