XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Dec 14, 2018 12:16 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 38 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: 24
Has thanked: 0 time
Have thanks: 7 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: 24
Has thanked: 0 time
Have thanks: 7 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: 24
Has thanked: 0 time
Have thanks: 7 times
https://www.youtube.com/watch?v=ruNXGj9UXdY
Almost done.


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

Joined: Thu Oct 16, 2014 12:40 am
Posts: 24
Has thanked: 0 time
Have thanks: 7 times
Since there is no great interest in these changes, I continued the research. I was able to pull out the images, although some of the animation metadata has not yet been investigated, and it is unclear in what format they are best exported for ease of editing.
Image


Top
 Profile  
 
 Post subject: Re: Septerra Core .DB files
PostPosted: Sun Oct 28, 2018 11:41 pm 
Offline
beginner
User avatar

Joined: Thu Oct 16, 2014 12:40 am
Posts: 24
Has thanked: 0 time
Have thanks: 7 times
355 of 383 image sets from the game:
https://yadi.sk/d/0yjSKVoRJoVScg

This is a multipage TIFF files, each file contains from 1 to hundreds of frames of animation.

The format of the frames is now researched. But there are still gaps in the animation info. And I need to develop the correct format for storing metadata so that images can be conveniently edited, but not lose this data.

Image


Top
 Profile  
 
 Post subject: Re: Septerra Core .DB files
PostPosted: Tue Nov 20, 2018 10:56 pm 
Offline
mega-veteran
mega-veteran

Joined: Fri Jun 11, 2010 12:08 pm
Posts: 314
Has thanked: 77 times
Have thanks: 21 times
Thanks for utility!

But got error with .NET Framework 4.7.2 probably:
Image


Top
 Profile  
 
 Post subject: Re: Septerra Core .DB files
PostPosted: Mon Dec 10, 2018 12:43 am 
Offline
beginner
User avatar

Joined: Thu Oct 16, 2014 12:40 am
Posts: 24
Has thanked: 0 time
Have thanks: 7 times
Hello! Sorry for the long absence. I finally get back to work.

You did not build a dependent assembly or assembled using a different platform instead of x86.


Top
 Profile  
 
 Post subject: Re: Septerra Core .DB files
PostPosted: Thu Dec 13, 2018 12:37 am 
Offline
beginner
User avatar

Joined: Thu Oct 16, 2014 12:40 am
Posts: 24
Has thanked: 0 time
Have thanks: 7 times
https://pastebin.com/jRvGkYQH
Finally, I found animation processor.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 38 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 8 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group