@etothepii/satisfactory-file-parser 0.4.8 → 0.4.10

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.8 |
21
+ | U1.0 | ✅ >= 0.4.10 |
22
22
 
23
23
 
24
24
  ## Installation via npm
@@ -15,8 +15,8 @@ class BlueprintWriter extends byte_writer_class_1.ByteWriter {
15
15
  }
16
16
  static SerializeHeader(writer, header) {
17
17
  writer.writeInt32(2);
18
- writer.writeInt32(42);
19
- writer.writeInt32(263910);
18
+ writer.writeInt32(46);
19
+ writer.writeInt32(366202);
20
20
  let dimensions = [
21
21
  header.designerDimension?.x ?? 4,
22
22
  header.designerDimension?.y ?? 4,
@@ -1619,7 +1619,7 @@ export declare const EDIT: {
1619
1619
  readonly CLASS_NAME: "BP_Golfcart_C";
1620
1620
  };
1621
1621
  readonly FACTORY_CART_GOLD: {
1622
- readonly TYPE_paTH: "/Game/FactoryGame/Buildable/Vehicle/Golfcart/BP_GolfcartGold.BP_GolfcartGold_C";
1622
+ readonly TYPE_PATH: "/Game/FactoryGame/Buildable/Vehicle/Golfcart/BP_GolfcartGold.BP_GolfcartGold_C";
1623
1623
  readonly CLASS_NAME: "BP_GolfcartGold_C";
1624
1624
  };
1625
1625
  readonly EXPLORER: {
@@ -1632,7 +1632,7 @@ export declare const EDIT: {
1632
1632
  };
1633
1633
  readonly TRACTOR: {
1634
1634
  readonly TYPE_PATH: "/Game/FactoryGame/Buildable/Vehicle/Tractor/BP_Tractor.BP_Tractor_C";
1635
- readonly CLAsS_NAME: "BP_Tractor_C";
1635
+ readonly CLASS_NAME: "BP_Tractor_C";
1636
1636
  };
1637
1637
  readonly TRAIN: {
1638
1638
  readonly LOCOMOTIVE: {
@@ -1711,6 +1711,10 @@ export declare const EDIT: {
1711
1711
  readonly TYPE_PATH: "/Game/FactoryGame/Buildable/Factory/RadarTower/Build_RadarTower.Build_RadarTower_C";
1712
1712
  readonly CLASS_NAME: "Build_RadarTower_C";
1713
1713
  };
1714
+ readonly PROJECT_ASSEMBLY: {
1715
+ readonly TYPE_PATH: "/Game/FactoryGame/Buildable/Factory/ProjectAssembly/BP_ProjectAssembly.BP_ProjectAssembly_C";
1716
+ readonly CLASS_NAME: "BP_ProjectAssembly_C";
1717
+ };
1714
1718
  readonly EXTRACTOR: {
1715
1719
  readonly MINER_MK_1: {
1716
1720
  readonly TYPE_PATH: "/Game/FactoryGame/Buildable/Factory/MinerMK1/Build_MinerMk1.Build_MinerMk1_C";
@@ -1765,6 +1769,17 @@ export declare const EDIT: {
1765
1769
  readonly PARTICLE_ACCELERATOR: {
1766
1770
  readonly TYPE_PATH: "/Game/FactoryGame/Buildable/Factory/HadronCollider/Build_HadronCollider.Build_HadronCollider_C";
1767
1771
  };
1772
+ readonly CONVERTER: {
1773
+ readonly TYPE_PATH: "/Game/FactoryGame/Buildable/Factory/Converter/Build_Converter.Build_Converter_C";
1774
+ };
1775
+ readonly QUANTUM_ENCODER: {
1776
+ readonly TYPE_PATH: "/Game/FactoryGame/Buildable/Factory/QuantumEncoder/Build_QuantumEncoder.Build_QuantumEncoder_C";
1777
+ readonly CLASS_NAME: "Build_QuantumEncoder_C";
1778
+ };
1779
+ };
1780
+ readonly ALIEN_POWER_BUILDING: {
1781
+ readonly TYPE_PATH: "/Game/FactoryGame/Buildable/Factory/AlienPower/Build_AlienPowerBuilding.Build_AlienPowerBuilding_C";
1782
+ readonly CLASS_NAME: "Build_AlienPowerBuilding_C";
1768
1783
  };
1769
1784
  readonly STORAGE: {
1770
1785
  readonly CONTAINER_MK_1: {
@@ -1811,6 +1826,10 @@ export declare const EDIT: {
1811
1826
  readonly CLASS_NAME: "Build_StorageMedkit_C";
1812
1827
  };
1813
1828
  };
1829
+ readonly POTTY: {
1830
+ readonly TYPE_PATH: "/Game/FactoryGame/Buildable/Building/Potty/BUILD_Potty_mk1.BUILD_Potty_mk1_C";
1831
+ readonly CLASS_NAME: "BUILD_Potty_mk1_C";
1832
+ };
1814
1833
  readonly SIGN: {
1815
1834
  readonly SMALL: {
1816
1835
  readonly TYPE_PATH: "/Game/FactoryGame/Buildable/Factory/SignDigital/Build_StandaloneWidgetSign_Small.Build_StandaloneWidgetSign_Small_C";
@@ -1855,16 +1874,80 @@ export declare const EDIT: {
1855
1874
  readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/CrabHatcher/Char_CrabHatcher.Char_CrabHatcher_C";
1856
1875
  readonly CLASS_NAME: "Char_CrabHatcher_C";
1857
1876
  };
1877
+ readonly BIG_CRAB_HATCHER: {
1878
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/CrabHatcher/Char_BigCrabHatcher.Char_BigCrabHatcher_C";
1879
+ readonly CLASS_NAME: "Char_BigCrabHatcher_C";
1880
+ };
1881
+ readonly FLYING_BABY_CRAB: {
1882
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Crab/BabyCrab/BP_FlyingBabyCrab.BP_FlyingBabyCrab_C";
1883
+ readonly CLASS_NAME: "BP_FlyingBabyCrab_C";
1884
+ };
1858
1885
  readonly HOG: {
1859
1886
  readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Hog/Char_Hog.Char_Hog_C";
1860
1887
  readonly CLASS_NAME: "Char_Hog_C";
1861
1888
  };
1889
+ readonly ALPHA_HOG: {
1890
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Hog/AlphaHog/Char_AlphaHog.Char_AlphaHog_C";
1891
+ readonly CLASS_NAME: "Char_AlphaHog_C";
1892
+ };
1893
+ readonly CLIFF_HOG: {
1894
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Hog/CliffHog/Char_CliffHog.Char_CliffHog_C";
1895
+ readonly CLASS_NAME: "Char_CliffHog_C";
1896
+ };
1897
+ readonly NUCLEAR_HOG: {
1898
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Hog/NuclearHog/Char_NuclearHog.Char_NuclearHog_C";
1899
+ readonly CLASS_NAME: "Char_NuclearHog_C";
1900
+ };
1901
+ readonly JOHNNY_HOG: {
1902
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Hog/Johnny/Char_Johnny.Char_Johnny_C";
1903
+ readonly CLASS_NAME: "Char_Johnny_C";
1904
+ };
1905
+ readonly SPITTER_ALPHA: {
1906
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Spitter/AlternativeSpitter/Char_Spitter_Alternative.Char_Spitter_Alternative_C";
1907
+ readonly CLASS_NAME: "Char_Spitter_Alternative_C";
1908
+ };
1909
+ readonly SPITTER_DESERT_SMALL: {
1910
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterDesert/Char_SpitterDesertSmall.Char_SpitterDesertSmall_C";
1911
+ readonly CLASS_NAME: "Char_SpitterDesertSmall_C";
1912
+ };
1913
+ readonly SPITTER_DESERT_ALPHA: {
1914
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterDesert/Char_SpitterDesertAlpha.Char_SpitterDesertAlpha_C";
1915
+ readonly CLASS_NAME: "Char_SpitterDesertAlpha_C";
1916
+ };
1917
+ readonly SPITTER_FOREST_SMALL: {
1918
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterForest/Char_SpitterForestSmall.Char_SpitterForestSmall_C";
1919
+ readonly CLASS_NAME: "Char_SpitterForestSmall_C";
1920
+ };
1921
+ readonly SPITTER_FOREST_ALPHA: {
1922
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterForest/Char_SpitterForestAlpha.Char_SpitterForestAlpha_C";
1923
+ readonly CLASS_NAME: "Char_SpitterForestAlpha_C";
1924
+ };
1925
+ readonly SPITTER_RED_FOREST_SMALL: {
1926
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterForestRed/Char_SpitterForestRedSmall.Char_SpitterForestRedSmall_C";
1927
+ readonly CLASS_NAME: "Char_SpitterForestRedSmall_C";
1928
+ };
1929
+ readonly SPITTER_RED_FOREST_ALPHA: {
1930
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterForestRed/Char_SpitterForestRedAlpha.Char_SpitterForestRedAlpha_C";
1931
+ readonly CLASS_NAME: "Char_SpitterForestRedAlpha_C";
1932
+ };
1933
+ readonly SPITTER_AQUATIC_SMALL: {
1934
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterAquatic/Char_SpitterAquaticSmall.Char_SpitterAquaticSmall_C";
1935
+ readonly CLASS_NAME: "Char_SpitterAquaticSmall_C";
1936
+ };
1937
+ readonly SPITTER_AQUATIC_ALPHA: {
1938
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterAquatic/Char_SpitterAquaticAlpha.Char_SpitterAquaticAlpha_C";
1939
+ readonly CLASS_NAME: "Char_SpitterAquaticAlpha_C";
1940
+ };
1862
1941
  };
1863
1942
  readonly ANIMAL: {
1864
1943
  readonly LIZARD_DOGGO: {
1865
1944
  readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Wildlife/SpaceRabbit/Char_SpaceRabbit.Char_SpaceRabbit_C";
1866
1945
  readonly CLASS_NAME: "Char_SpaceRabbit_C";
1867
1946
  };
1947
+ readonly BEETLE: {
1948
+ readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Wildlife/Beetle/Char_Beetle.Char_Beetle_C";
1949
+ readonly CLASS_NAME: "Char_Beetle_C";
1950
+ };
1868
1951
  readonly SPACE_GIRAFFE: {
1869
1952
  readonly TYPE_PATH: "/Game/FactoryGame/Character/Creature/Wildlife/SpaceGiraffe/Char_SpaceGiraffe.Char_SpaceGiraffe_C";
1870
1953
  readonly CLASS_NAME: "Char_SpaceGiraffe_C";
@@ -1703,7 +1703,7 @@ exports.EDIT = {
1703
1703
  CLASS_NAME: 'BP_Golfcart_C'
1704
1704
  },
1705
1705
  FACTORY_CART_GOLD: {
1706
- TYPE_paTH: '/Game/FactoryGame/Buildable/Vehicle/Golfcart/BP_GolfcartGold.BP_GolfcartGold_C',
1706
+ TYPE_PATH: '/Game/FactoryGame/Buildable/Vehicle/Golfcart/BP_GolfcartGold.BP_GolfcartGold_C',
1707
1707
  CLASS_NAME: 'BP_GolfcartGold_C'
1708
1708
  },
1709
1709
  EXPLORER: {
@@ -1716,7 +1716,7 @@ exports.EDIT = {
1716
1716
  },
1717
1717
  TRACTOR: {
1718
1718
  TYPE_PATH: '/Game/FactoryGame/Buildable/Vehicle/Tractor/BP_Tractor.BP_Tractor_C',
1719
- CLAsS_NAME: 'BP_Tractor_C'
1719
+ CLASS_NAME: 'BP_Tractor_C'
1720
1720
  },
1721
1721
  TRAIN: {
1722
1722
  LOCOMOTIVE: {
@@ -1795,6 +1795,10 @@ exports.EDIT = {
1795
1795
  TYPE_PATH: '/Game/FactoryGame/Buildable/Factory/RadarTower/Build_RadarTower.Build_RadarTower_C',
1796
1796
  CLASS_NAME: 'Build_RadarTower_C'
1797
1797
  },
1798
+ PROJECT_ASSEMBLY: {
1799
+ TYPE_PATH: '/Game/FactoryGame/Buildable/Factory/ProjectAssembly/BP_ProjectAssembly.BP_ProjectAssembly_C',
1800
+ CLASS_NAME: 'BP_ProjectAssembly_C'
1801
+ },
1798
1802
  EXTRACTOR: {
1799
1803
  MINER_MK_1: {
1800
1804
  TYPE_PATH: TYPE_PATH_MINERMK1
@@ -1849,6 +1853,17 @@ exports.EDIT = {
1849
1853
  PARTICLE_ACCELERATOR: {
1850
1854
  TYPE_PATH: TYPE_PATH_PARTICLE_ACCELERATOR
1851
1855
  },
1856
+ CONVERTER: {
1857
+ TYPE_PATH: '/Game/FactoryGame/Buildable/Factory/Converter/Build_Converter.Build_Converter_C'
1858
+ },
1859
+ QUANTUM_ENCODER: {
1860
+ TYPE_PATH: '/Game/FactoryGame/Buildable/Factory/QuantumEncoder/Build_QuantumEncoder.Build_QuantumEncoder_C',
1861
+ CLASS_NAME: 'Build_QuantumEncoder_C'
1862
+ },
1863
+ },
1864
+ ALIEN_POWER_BUILDING: {
1865
+ TYPE_PATH: '/Game/FactoryGame/Buildable/Factory/AlienPower/Build_AlienPowerBuilding.Build_AlienPowerBuilding_C',
1866
+ CLASS_NAME: 'Build_AlienPowerBuilding_C'
1852
1867
  },
1853
1868
  STORAGE: {
1854
1869
  CONTAINER_MK_1: {
@@ -1895,6 +1910,10 @@ exports.EDIT = {
1895
1910
  CLASS_NAME: CLASS_NAME_PLAYER_MEDICAL_CRATE
1896
1911
  },
1897
1912
  },
1913
+ POTTY: {
1914
+ TYPE_PATH: '/Game/FactoryGame/Buildable/Building/Potty/BUILD_Potty_mk1.BUILD_Potty_mk1_C',
1915
+ CLASS_NAME: 'BUILD_Potty_mk1_C'
1916
+ },
1898
1917
  SIGN: {
1899
1918
  SMALL: {
1900
1919
  TYPE_PATH: TYPE_PATH_SIGN_SMALL,
@@ -1939,9 +1958,69 @@ exports.EDIT = {
1939
1958
  TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/CrabHatcher/Char_CrabHatcher.Char_CrabHatcher_C',
1940
1959
  CLASS_NAME: 'Char_CrabHatcher_C'
1941
1960
  },
1961
+ BIG_CRAB_HATCHER: {
1962
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/CrabHatcher/Char_BigCrabHatcher.Char_BigCrabHatcher_C',
1963
+ CLASS_NAME: 'Char_BigCrabHatcher_C'
1964
+ },
1965
+ FLYING_BABY_CRAB: {
1966
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Crab/BabyCrab/BP_FlyingBabyCrab.BP_FlyingBabyCrab_C',
1967
+ CLASS_NAME: 'BP_FlyingBabyCrab_C'
1968
+ },
1942
1969
  HOG: {
1943
1970
  TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Hog/Char_Hog.Char_Hog_C',
1944
1971
  CLASS_NAME: 'Char_Hog_C'
1972
+ },
1973
+ ALPHA_HOG: {
1974
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Hog/AlphaHog/Char_AlphaHog.Char_AlphaHog_C',
1975
+ CLASS_NAME: 'Char_AlphaHog_C'
1976
+ },
1977
+ CLIFF_HOG: {
1978
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Hog/CliffHog/Char_CliffHog.Char_CliffHog_C',
1979
+ CLASS_NAME: 'Char_CliffHog_C'
1980
+ },
1981
+ NUCLEAR_HOG: {
1982
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Hog/NuclearHog/Char_NuclearHog.Char_NuclearHog_C',
1983
+ CLASS_NAME: 'Char_NuclearHog_C'
1984
+ },
1985
+ JOHNNY_HOG: {
1986
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Hog/Johnny/Char_Johnny.Char_Johnny_C',
1987
+ CLASS_NAME: 'Char_Johnny_C'
1988
+ },
1989
+ SPITTER_ALPHA: {
1990
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Spitter/AlternativeSpitter/Char_Spitter_Alternative.Char_Spitter_Alternative_C',
1991
+ CLASS_NAME: 'Char_Spitter_Alternative_C'
1992
+ },
1993
+ SPITTER_DESERT_SMALL: {
1994
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterDesert/Char_SpitterDesertSmall.Char_SpitterDesertSmall_C',
1995
+ CLASS_NAME: 'Char_SpitterDesertSmall_C'
1996
+ },
1997
+ SPITTER_DESERT_ALPHA: {
1998
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterDesert/Char_SpitterDesertAlpha.Char_SpitterDesertAlpha_C',
1999
+ CLASS_NAME: 'Char_SpitterDesertAlpha_C'
2000
+ },
2001
+ SPITTER_FOREST_SMALL: {
2002
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterForest/Char_SpitterForestSmall.Char_SpitterForestSmall_C',
2003
+ CLASS_NAME: 'Char_SpitterForestSmall_C'
2004
+ },
2005
+ SPITTER_FOREST_ALPHA: {
2006
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterForest/Char_SpitterForestAlpha.Char_SpitterForestAlpha_C',
2007
+ CLASS_NAME: 'Char_SpitterForestAlpha_C'
2008
+ },
2009
+ SPITTER_RED_FOREST_SMALL: {
2010
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterForestRed/Char_SpitterForestRedSmall.Char_SpitterForestRedSmall_C',
2011
+ CLASS_NAME: 'Char_SpitterForestRedSmall_C'
2012
+ },
2013
+ SPITTER_RED_FOREST_ALPHA: {
2014
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterForestRed/Char_SpitterForestRedAlpha.Char_SpitterForestRedAlpha_C',
2015
+ CLASS_NAME: 'Char_SpitterForestRedAlpha_C'
2016
+ },
2017
+ SPITTER_AQUATIC_SMALL: {
2018
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterAquatic/Char_SpitterAquaticSmall.Char_SpitterAquaticSmall_C',
2019
+ CLASS_NAME: 'Char_SpitterAquaticSmall_C'
2020
+ },
2021
+ SPITTER_AQUATIC_ALPHA: {
2022
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Enemy/Spitter/SpitterAquatic/Char_SpitterAquaticAlpha.Char_SpitterAquaticAlpha_C',
2023
+ CLASS_NAME: 'Char_SpitterAquaticAlpha_C'
1945
2024
  }
1946
2025
  },
1947
2026
  ANIMAL: {
@@ -1949,6 +2028,10 @@ exports.EDIT = {
1949
2028
  TYPE_PATH: TYPE_PATH_LIZARD_DOGGO,
1950
2029
  CLASS_NAME: CLASS_NAME_LIZARD_DOGGO
1951
2030
  },
2031
+ BEETLE: {
2032
+ TYPE_PATH: '/Game/FactoryGame/Character/Creature/Wildlife/Beetle/Char_Beetle.Char_Beetle_C',
2033
+ CLASS_NAME: 'Char_Beetle_C'
2034
+ },
1952
2035
  SPACE_GIRAFFE: {
1953
2036
  TYPE_PATH: TYPE_PATH_SPACE_GIRAFFE,
1954
2037
  CLASS_NAME: CLASS_NAME_SPACE_GIRAFFE
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.8",
4
+ "version": "0.4.10",
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",