Jupiter Hell .nvc files

How to translate the files of a game
The_Reaper_CooL
Posts: 69
Joined: Sat Dec 05, 2015 2:31 pm

Jupiter Hell .nvc files

Post by The_Reaper_CooL »

Hello there!

Jupiter Hell is a great roguelike DooM kind of game, which is awesome. I'd like to translate it, but the files are in .nvc format. Don't know how to extract from them and then repack, if someone could take a look at the file I'd appreciate it.
akintos
Posts: 88
Joined: Tue May 08, 2018 7:48 pm

Re: Jupiter Hell .nvc files

Post by akintos »

You can use offzip to extract files. The files are zlib compressed, file names are fnv1a_64 hashed.
h3x3r
Posts: 165
Joined: Wed Jun 01, 2016 5:53 pm

Re: Jupiter Hell .nvc files

Post by h3x3r »

Code: Select all

//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//
//      File:
//   Authors:
//   Version:
//   Purpose:
//  Category:
// File Mask:
//  ID Bytes:
//   History:
//------------------------------------------------
local int i;

int Magic;
int Flag0;
int FileCount;

struct {

for(i=0;i<FileCount;i++)

struct {
    uint64 HashName;
    uint Offset;
    uint DecSize;
    uint ComSize;
    uint Flag1;
    } File;
} Files;


And BMS

Code: Select all

comType zlib
get MAGIC long
get DUMMY long
get FILES long

for i = 0 < FILES

get HASH longlong
get OFFSET long
get SIZE long
get ZSIZE long
get COMFLAG long
string NAME p "%u.dat" HASH
clog NAME OFFSET ZSIZE SIZE

next i

Reimport2 should work too.