@etothepii/satisfactory-file-parser 0.4.19 → 0.4.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ Game Version Files of U5 and below are NOT supported.
|
|
|
18
18
|
| <= U5 | ❌ |
|
|
19
19
|
| U6 + U7 | ✅ 0.0.1 - 0.0.34 |
|
|
20
20
|
| U8 | ✅ 0.1.20 - 0.3.7 |
|
|
21
|
-
| U1.0 | ✅ >= 0.4.
|
|
21
|
+
| U1.0 | ✅ >= 0.4.20 |
|
|
22
22
|
|
|
23
23
|
# Installation via npm
|
|
24
24
|
`npm install @etothepii/satisfactory-file-parser`
|
|
@@ -143,9 +143,16 @@ So far this was just a private hobby project. But i figure some people actually
|
|
|
143
143
|
If you find a bug or have feedback about the parser, you can just hit me up on the satisfactory discord `etothepii`.
|
|
144
144
|
|
|
145
145
|
# Changelog
|
|
146
|
-
### [0.4.
|
|
146
|
+
### [0.4.20] (2024-10-06)
|
|
147
|
+
#### bugfix
|
|
148
|
+
* added parsing of icon library reference to parsing blueprints.
|
|
149
|
+
|
|
150
|
+
### [0.4.19] (2024-10-06)
|
|
147
151
|
#### Migrated repo to public github
|
|
148
152
|
|
|
153
|
+
### [0.4.18] (2024-10-05)
|
|
154
|
+
#### updated README
|
|
155
|
+
|
|
149
156
|
### [0.4.17] (2024-10-05)
|
|
150
157
|
#### updated README
|
|
151
158
|
#### bugfix
|
|
@@ -137,10 +137,14 @@ class BlueprintConfigReader extends byte_reader_class_1.ByteReader {
|
|
|
137
137
|
const description = reader.readString();
|
|
138
138
|
const iconID = reader.readInt32();
|
|
139
139
|
const color = util_types_1.col4.ParseRGBA(reader);
|
|
140
|
+
const referencedIconLibrary = reader.readString();
|
|
141
|
+
const iconLibraryType = reader.readString();
|
|
140
142
|
return {
|
|
141
143
|
description,
|
|
142
144
|
color,
|
|
143
145
|
iconID,
|
|
146
|
+
referencedIconLibrary,
|
|
147
|
+
iconLibraryType
|
|
144
148
|
};
|
|
145
149
|
}
|
|
146
150
|
}
|
|
@@ -82,6 +82,8 @@ class BlueprintConfigWriter extends byte_writer_class_1.ByteWriter {
|
|
|
82
82
|
writer.writeString(config.description);
|
|
83
83
|
writer.writeInt32(config.iconID);
|
|
84
84
|
util_types_1.col4.SerializeRGBA(writer, config.color);
|
|
85
|
+
writer.writeString(config.referencedIconLibrary);
|
|
86
|
+
writer.writeString(config.iconLibraryType);
|
|
85
87
|
}
|
|
86
88
|
}
|
|
87
89
|
exports.BlueprintConfigWriter = BlueprintConfigWriter;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etothepii/satisfactory-file-parser",
|
|
3
3
|
"author": "etothepii",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.20",
|
|
5
5
|
"description": "A file parser for satisfactory files. Includes save files and blueprint files.",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
7
7
|
"main": "./build/index.js",
|