XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Dec 17, 2017 2:54 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: No Man's Sky Language Files (.mbin)
PostPosted: Sat Aug 13, 2016 11:54 pm 
Offline
ultra-n00b

Joined: Thu Sep 11, 2014 10:02 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time

Hello. No Man's Sky language files how to the unpack/pack .mbin?

Example : https://yadi.sk/d/bTKnPP9GuCJGH

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: No Man's Sky Language Files (.mbin)
PostPosted: Sun Aug 14, 2016 2:25 pm 
Offline
n00b

Joined: Mon Sep 08, 2014 12:32 am
Posts: 17
Has thanked: 5 times
Have thanks: 1 time
Text block offset: 0x26D070
Image


Top
 Profile  
 
 Post subject: Re: No Man's Sky Language Files (.mbin)
PostPosted: Sun Aug 14, 2016 2:51 pm 
Offline
advanced

Joined: Fri Aug 28, 2015 3:19 pm
Posts: 49
Has thanked: 0 time
Have thanks: 41 times
asasfdfsfs wrote:
Hello. No Man's Sky language files how to the unpack/pack .mbin?

Example : https://yadi.sk/d/bTKnPP9GuCJGH


Code:
//------------------------------------------------
//--- 010 Editor v7.0.2 Binary Template
//
//      File: NMS_MBIN.bt
//   Authors: Atvaark
//   Version: 1
//   Purpose:
//  Category:
// File Mask:
//  ID Bytes:
//   History:
//------------------------------------------------

typedef struct {
  int32 cc;
  int32 version;
  int32 padding;
  int32 padding;
  int64 hash;
  char type[64];
  int64 padding;
} Header;

typedef struct {
  int32 offset;
  int32 padding;
  int32 length;
  uint32 unknown; // 01 AA AA AA

  if (length > 0) {
      local int64 end = FTell();
      FSeek(startof(this) + offset);
      char line[length];
      FSeek(end);
  }
} LocalisationLine <optimize=false>;

typedef struct(uint32 count) { 
  char key[32];
  LocalisationLine lines[count];
} LocalisationTableEntry <optimize=false>;

typedef struct {
  int32 lineCount;
  int32 padding;
  int32 entryCount;
  int32 unknown; 
} LocalisationTableHeader;

typedef struct {
  LocalisationTableHeader header;
  LocalisationTableEntry entries(header.lineCount)[header.entryCount];
} LocalisationTable;

Header header;

if (header.type != "cTkLocalisationTable") {
  Printf("Unknown archive");
  return;
}

LocalisationTable table;


Top
 Profile  
 
 Post subject: Re: No Man's Sky Language Files (.mbin)
PostPosted: Mon Aug 15, 2016 10:54 pm 
Offline
n00b

Joined: Mon Sep 08, 2014 12:32 am
Posts: 17
Has thanked: 5 times
Have thanks: 1 time
Tool from swuforce - https://yadi.sk/d/6etMaVJhuEwuS



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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 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