Hello. No Man's Sky language files how to the unpack/pack .mbin?
Example : https://yadi.sk/d/bTKnPP9GuCJGH
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
No Man's Sky Language Files (.mbin)
-
- ultra-n00b
- Posts: 2
- Joined: Thu Sep 11, 2014 10:02 pm
Re: No Man's Sky Language Files (.mbin)
asasfdfsfs wrote:Hello. No Man's Sky language files how to the unpack/pack .mbin?
Example : https://yadi.sk/d/bTKnPP9GuCJGH
Code: Select all
//------------------------------------------------
//--- 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;