type info rebuild

This commit is contained in:
Skillbert
2025-12-04 00:35:09 +01:00
parent 281fe65e93
commit 000f6d5cb0
8 changed files with 32 additions and 12 deletions

View File

@@ -92,6 +92,9 @@ export type interfaces = {
str: string,
data2: Uint8Array,
} | null,
unk13data: {
data: Uint8Array,
} | null,
unk15data: {
data: Uint8Array,
} | null,

View File

@@ -9,16 +9,6 @@
"mapsizez": {
"type": "number"
},
"noyflip": {
"type": "boolean",
"default": false,
"description": "Set to true to keep the output y origin at the bottom left, equal to the game z origin."
},
"nochunkoffset": {
"type": "boolean",
"default": false,
"description": "Set to true to keep output chunks aligned with in-game chunks. Incurs performance penalty as more neighbouring chunks have to be loaded."
},
"area": {
"default": "full",
"description": "A string representing the the map area to render. Either one of the named presets (main, full, test ...), or one or more chunk ranges. eg: 50.50,20.20-70.70",
@@ -41,6 +31,16 @@
}
]
},
"noyflip": {
"type": "boolean",
"default": false,
"description": "Set to true to keep the output y origin at the bottom left, equal to the game z origin."
},
"nochunkoffset": {
"type": "boolean",
"default": false,
"description": "Set to true to keep output chunks aligned with in-game chunks. Incurs performance penalty as more neighbouring chunks have to be loaded."
},
"layers": {
"items": {
"properties": {

View File

@@ -86,7 +86,10 @@ export type materials = {
texture: number,
} | null,
flag13value: number | null,
flag14value: number | null,
flag14value: [
number,
number,
] | null,
flag15value: number | null,
flag18value: number | null,
flag16value: number | null,

View File

@@ -11,6 +11,7 @@ export type models = {
unkCount1: number,
unkCount2: number,
unkCount3: number,
unkCount4: (number|0),
meshes: {
unkint: number,
materialArgument: number,
@@ -75,4 +76,5 @@ export type models = {
unk1Buffer: Uint8Array[],
unk2Buffer: Uint8Array[],
unk3Buffer: Uint8Array[],
unk4Buffer: Buffer[],
};

2
generated/npcs.d.ts vendored
View File

@@ -144,7 +144,7 @@ export type npcs = {
unknown_B6?: true | null
unknown_B7?: number | null
unknown_B8?: number | null
unknown_B9?: number | null
unknown_B9?: true | null
unknown_DB?: number | null
extra?: {
prop: number,

View File

@@ -41,6 +41,7 @@ export type sequences = {
number,
number,
] | null
unknown_1B?: number | null
unknown_70?: {
intlow: number,
maybe_file: number,

View File

@@ -187,6 +187,16 @@ export const maprenderConfigSchema: JSONSchema6 = {
{ type: "string", pattern: /^\w+$/.source },
]
},
noyflip: {
type: "boolean",
default: false,
description: "Set to true to keep the output y origin at the bottom left, equal to the game z origin."
},
nochunkoffset: {
type: "boolean",
default: false,
description: "Set to true to keep output chunks aligned with in-game chunks. Incurs performance penalty as more neighbouring chunks have to be loaded."
},
layers: {
items: {
properties: {

View File

@@ -627,6 +627,7 @@ export class CS2Api {
unkprepre3: null,
unkstring1: null,
unkstuff123: "",
unk13data: null,
version: 7
}
if (type == 0) {