ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Apr 19, 2018 9:48 am

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Apr 17, 2018 3:32 am 

Joined: Thu Feb 15, 2018 9:39 pm
Posts: 3
https://pastebin.com/iGwhCEV8


I see that this is the function I presume to be loading a lot of the game's core files, I can't seem to work out where it actually opens these files, the Load_File_To_PTR is strange, I can't see anywhere where it would be calling fopen or fopen_s, I've found out when the game runs it stores the result of that func to a vairable which points to memory.

I want to see how it lays out the data structure to read these files myself so I can make a program that lets people edit them.
But I can't figure it out, this is for my project; https://github.com/Arefu/Wolf/


Top
   
PostPosted: Tue Apr 17, 2018 3:42 am 

Joined: Thu Feb 15, 2018 9:39 pm
Posts: 3
So after a tad bit more research

Code:
v4 = Load_File_To_Ptr(&Memory, "bin/CARD_INTID_YGO2.bin");

v4 is assigned the location in memory that Load_File_To_Ptr returns, it seems to be poking the whole file in memory, but I need to figure out how it's loading the other files and parsing their structures so I can manipulate them.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited