XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Oct 21, 2018 4:17 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Septerra Core .DB files
PostPosted: Fri Sep 28, 2018 7:51 am 
Offline
beginner
User avatar

Joined: Thu Oct 16, 2014 12:40 am
Posts: 20
Has thanked: 0 time
Have thanks: 5 times

CH has complex format. For example, it's 7th region of 13. Constructing an actor info:

https://pastebin.com/ufe8AFTD

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Septerra Core .DB files
PostPosted: Fri Oct 05, 2018 12:20 am 
Offline
beginner
User avatar

Joined: Thu Oct 16, 2014 12:40 am
Posts: 20
Has thanked: 0 time
Have thanks: 5 times
Image

Hello. The cunning plan was a success. I modified the game engine so that it loads files directly from the file system. This gives us a wealth of opportunities for R&D. For example, data from the file system can be instantly updated in the game, without having to pack it into game archives. Some information is cached (for example, data about the characters), so to update it you will either have to load saved game or we need to integrate it deeper into the game engine. At the moment, the changes are minimal.

Hook (Septerra_DbRecord_Open);
Hook (Septerra_DbRecord_Seek);
Hook (Septerra_DbRecord_GetDecompressedSize);
Hook (Septerra_DbRecord_Read);
Hook (Septerra_DbRecord_Close);

Limitations:
1) The modification injects itself into the game process - it needs admin privileges.
2) The modification writes files to the file system (so far only the log file) - it needs write access to the game folder.
3) To start the game in the window (because without this, normal debugging is impossible) a third-party application is used - DxWnd.

I will try to update the version next week (now it’s a proof-of-concept written on my knee). :)


Top
 Profile  
 
 Post subject: Re: Septerra Core .DB files
PostPosted: Fri Oct 12, 2018 9:54 pm 
Offline
beginner
User avatar

Joined: Thu Oct 16, 2014 12:40 am
Posts: 20
Has thanked: 0 time
Have thanks: 5 times
https://www.youtube.com/watch?v=ruNXGj9UXdY
Almost done.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 6 guests


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:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group