Corrupt map: Unknown item prototype ID 20384 (saved game uploaded) (Will pay $50AUD for a fix for this)

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
andyseemight
Burner Inserter
Burner Inserter
Posts: 10
Joined: Thu Feb 06, 2025 9:54 am
Contact:

Corrupt map: Unknown item prototype ID 20384 (saved game uploaded) (Will pay $50AUD for a fix for this)

Post by andyseemight »

Hello everyone.

I was playing my 486 hour long map, midway through designing a new ship when suddenly it just crashes to the menu with the error in the title. The full message was "Corrupt map: Unknown item prototype ID 20384. File has likely been corrupted due to failing hardware". I thoroughly tested my hardware to the point of madness and it is absolutely perfectly fine. Ram is only a few months old and is perfectly healthy each individual stick tested separately.

Code: Select all

 0.000 2025-02-06 20:35:39; Factorio 2.0.32 (build 81349, linux64, steam, space-age)
   0.000 Operating system: Linux
   0.000 Initializing Steam API.
   0.000 Program arguments: "/home/mit/.steam/debian-installation/steamapps/common/Factorio/bin/x64/factorio" "--load-game" "/home/mit/.factorio/saves/_autosave2.zip" 
   0.000 Config path: /home/mit/.factorio/config/config.ini
   0.000 Read data path: /home/mit/.steam/debian-installation/steamapps/common/Factorio/data
   0.000 Write data path: /home/mit/.factorio [1449058/1876180MB]
   0.000 Binaries path: /home/mit/.steam/debian-installation/steamapps/common/Factorio/bin
   0.005 System info: [CPU: AMD Ryzen 7 7800X3D 8-Core Processor, 16 cores, RAM: 63402 MB]
   0.005 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=cinnamon XDG_SESSION_DESKTOP=cinnamon XDG_CURRENT_DESKTOP=X-Cinnamon SDL_VIDEODRIVER=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.028 Info ModManager.cpp:279: Found duplicate mod SpidertronEnhancements, using highest version (1.10.5).
   0.028 Info ModManager.cpp:279: Found duplicate mod SpidertronPatrols, using highest version (2.5.1).
   0.028 Info ModManager.cpp:279: Found duplicate mod Waterfill_v17, using highest version (2.0.4).
   0.028 Info ModManager.cpp:279: Found duplicate mod WideChests, using highest version (6.1.1).
   0.028 Info ModManager.cpp:279: Found duplicate mod flib, using highest version (0.15.0).
   0.028 Info ModManager.cpp:279: Found duplicate mod rosnok-productivity-quality-beacon, using highest version (1.1.2).
   0.028 Info ModManager.cpp:279: Found duplicate mod shield-projector, using highest version (0.2.2).
   0.028 Info ModManager.cpp:279: Found duplicate mod solar-calc, using highest version (0.5.52).
   0.028 Info ModManager.cpp:279: Found duplicate mod wood-stack-to-1k, using highest version (2.0.0).
   0.028 Display options: [FullScreen: false] [VSync: false] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.145 Video driver: x11
   0.145 Available displays: 1
   0.145  [0]: LG ULTRAWIDE 34" - {[0,0], 3440x1440, SDL_PIXELFORMAT_RGB888, 160Hz}
   0.196 Initialised OpenGL:[0] NVIDIA GeForce RTX 4070 Ti/PCIe/SSE2; driver: 3.3.0 NVIDIA 535.183.01
   0.196   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes, ARB_pipeline_statistics_query:yes, ARB_gl_spirv:yes, ARB_ES2_compatibility:yes
   0.196   [Version] 3.3
   0.196 Graphics settings preset: very-high
   0.196   Dedicated video memory size 12282 MB
   0.217 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.217                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   0.223 [Audio] Driver:pulseaudio, Device:Family 17h (Models 10h-1fh) HD Audio Controller Digital Stereo (IEC958), Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.306 Info ModManager.cpp:444: FeatureFlag expansion-shaders = true
   0.306 Info ModManager.cpp:444: FeatureFlag freezing = true
   0.306 Info ModManager.cpp:444: FeatureFlag quality = true
   0.306 Info ModManager.cpp:444: FeatureFlag rail-bridges = true
   0.306 Info ModManager.cpp:444: FeatureFlag segmented-units = true
   0.306 Info ModManager.cpp:444: FeatureFlag space-travel = true
   0.306 Info ModManager.cpp:444: FeatureFlag spoiling = true
   0.318 Loading mod settings Mineable-Cliffs-SpaceAge 1.0.2 (settings.lua)
   0.319 Loading mod settings rocket-capacity 1.0.0 (settings.lua)
   0.319 Loading mod settings AutoDeconstruct 1.0.3 (settings.lua)
   0.319 Loading mod settings bobinserters 1.3.2 (settings.lua)
   0.320 Loading mod settings ch-concentrated-solar 0.4.1 (settings.lua)
   0.320 Loading mod settings combat-mechanics-overhaul 0.7.2 (settings.lua)
   0.320 Loading mod settings debloat-handmine-cliffs 1.2.1 (settings.lua)
   0.321 Loading mod settings heroic_library 1.0.2 (settings.lua)
   0.321 Loading mod settings informatron 0.4.0 (settings.lua)
   0.321 Loading mod settings RoboportRangeMultiplier 1.1.0 (settings.lua)
   0.322 Loading mod settings SpidertronEnhancements 1.10.5 (settings.lua)
   0.322 Loading mod settings Train-Speed-Multiplier-update 1.0.2 (settings.lua)
   0.322 Loading mod settings Turret_Range_Buff_2_0 1.3.0 (settings.lua)
   0.322 Loading mod settings UnlimitedProductivityFork 2.0.5 (settings.lua)
   0.323 Loading mod settings solar-calc 0.5.52 (settings.lua)
   0.323 Loading mod settings WideChests 6.1.1 (settings.lua)
   0.324 Loading mod settings kry-spidertron 2.0.1 (settings.lua)
   0.325 Loading mod settings loaders-modernized 0.7.8 (settings.lua)
   0.325 Loading mod settings no-spoilage 1.1.0 (settings.lua)
   0.325 Loading mod settings Productivity 2.0.5 (settings.lua)
   0.326 Loading mod settings visible-planets 1.4.1 (settings.lua)
   0.326 Loading mod settings Waterfill_v17 2.0.4 (settings.lua)
   0.327 Loading mod settings loaders-modernized 0.7.8 (settings-updates.lua)
   0.327 Loading mod settings AutoDeconstruct 1.0.3 (settings-final-fixes.lua)
   0.329 Loading mod core 0.0.0 (data.lua)
   0.339 Loading mod base 2.0.32 (data.lua)
   0.410 Loading mod Mineable-Cliffs-SpaceAge 1.0.2 (data.lua)
   0.415 Loading mod TogglePeacefulMode 0.3.2 (data.lua)
   0.419 Loading mod BetterRoboport 2.0.0 (data.lua)
   0.422 Loading mod bobinserters 1.3.2 (data.lua)
   0.429 Loading mod ch-concentrated-solar 0.4.1 (data.lua)
   0.434 Loading mod combat-mechanics-overhaul 0.7.2 (data.lua)
   0.438 Loading mod early-spidertron 2.0.0 (data.lua)
   0.440 Loading mod EditMapSettings 0.1.5 (data.lua)
   0.443 Loading mod elevated-rails 2.0.32 (data.lua)
   0.452 Loading mod flib 0.15.0 (data.lua)
   0.456 Loading mod heroic_library 1.0.2 (data.lua)
   0.458 Loading mod informatron 0.4.0 (data.lua)
   0.461 Loading mod MaxRateCalculator 200.0.53 (data.lua)
   0.464 Loading mod notepad 1.0.4 (data.lua)
   0.467 Loading mod quality 2.0.32 (data.lua)
   0.472 Loading mod SpidertronEnhancements 1.10.5 (data.lua)
   0.475 Loading mod tile-upgrade-planner 20.0.0 (data.lua)
   0.478 Loading mod Turret_Range_Buff_2_0 1.3.0 (data.lua)
   0.481 Loading mod shield-projector 0.2.2 (data.lua)
   0.485 Loading mod solar-calc 0.5.52 (data.lua)
   0.489 Loading mod space-age 2.0.32 (data.lua)
   0.597 Loading mod WideChests 6.1.1 (data.lua)
   0.599 Script @__WideChests__/init.lua:170: Merging chests mod settings for "wooden-chest": {chest_name = "wooden-chest", circuit_connector_position = "center-center", inventory_size_limit = 1000, inventory_size_multiplier = 1, max_area = 100, max_height = 10, max_width = 10, mergeable_chest = "none", size_whitelist = {any = {any = true}}, sprite_variation_chance = 15, warehouse_threshold = 5}
   0.599 Script @__WideChests__/init.lua:170: Merging chests mod settings for "iron-chest": {chest_name = "iron-chest", circuit_connector_position = "center-center", inventory_size_limit = 1000, inventory_size_multiplier = 1, max_area = 100, max_height = 10, max_width = 10, mergeable_chest = "none", size_whitelist = {any = {any = true}}, sprite_variation_chance = 15, warehouse_threshold = 5}
   0.599 Script @__WideChests__/init.lua:170: Merging chests mod settings for "steel-chest": {chest_name = "steel-chest", circuit_connector_position = "center-center", inventory_size_limit = 1000, inventory_size_multiplier = 1, max_area = 100, max_height = 10, max_width = 10, mergeable_chest = "chest-warehouse-trashdump", size_whitelist = {any = {any = true}}, sprite_variation_chance = 15, warehouse_threshold = 5}
   0.601 Script @__WideChests__/init.lua:172: Default merging chests mod settings: {circuit_connector_position = "center-center", inventory_size_limit = 1000, inventory_size_multiplier = 1, max_area = 100, max_height = 10, max_width = 10, size_whitelist = {any = {any = true}}, sprite_variation_chance = 15, warehouse_threshold = 5}
   0.637 Loading mod kry-spidertron 2.0.1 (data.lua)
   0.646 Loading mod loaders-modernized 0.7.8 (data.lua)
   0.665 Loading mod no-spoilage 1.1.0 (data.lua)
   0.671 Loading mod non-spoiling-science 1.0.0 (data.lua)
   0.676 Loading mod visible-planets 1.4.1 (data.lua)
   0.682 Loading mod water-pumpjack 2.4.0 (data.lua)
   0.687 Loading mod Waterfill_v17 2.0.4 (data.lua)
   0.693 Loading mod base 2.0.32 (data-updates.lua)
   0.699 Loading mod rocket-capacity 1.0.0 (data-updates.lua)
   0.704 Loading mod bobinserters 1.3.2 (data-updates.lua)
   0.710 Loading mod ch-concentrated-solar 0.4.1 (data-updates.lua)
   0.715 Loading mod quality 2.0.32 (data-updates.lua)
   0.724 Loading mod short-railgun-animation 0.0.1 (data-updates.lua)
   0.730 Loading mod SpidertronEnhancements 1.10.5 (data-updates.lua)
   0.736 Loading mod space-age 2.0.32 (data-updates.lua)
   0.741 Loading mod loaders-modernized 0.7.8 (data-updates.lua)
   0.748 Loading mod bobinserters 1.3.2 (data-final-fixes.lua)
   0.753 Loading mod combat-mechanics-overhaul 0.7.2 (data-final-fixes.lua)
   0.760 Loading mod debloat-handmine-cliffs 1.2.1 (data-final-fixes.lua)
   0.765 Loading mod early-spidertron 2.0.0 (data-final-fixes.lua)
   0.771 Loading mod RoboportRangeMultiplier 1.1.0 (data-final-fixes.lua)
   0.776 Loading mod some-spidertron 2.0.0 (data-final-fixes.lua)
   0.781 Loading mod SpidertronEnhancements 1.10.5 (data-final-fixes.lua)
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:21: Added large_entity layer to entity: WideChests_steel-chest-trashdump-10x10
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: water-wube
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: out-of-map
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: deepwater
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: deepwater-green
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: water
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: water-green
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: empty-space
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: lava
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: lava-hot
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: gleba-deep-lake
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: ammoniacal-ocean
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: ammoniacal-ocean-2
   0.783 Script @__SpidertronEnhancements__/prototypes/collision-mask.lua:32: Added large-entity-layer to tile: brash-ice
   0.789 Loading mod tile-upgrade-planner 20.0.0 (data-final-fixes.lua)
   0.794 Loading mod Train-Speed-Multiplier-update 1.0.2 (data-final-fixes.lua)
   0.799 Loading mod UnlimitedProductivityFork 2.0.5 (data-final-fixes.lua)
   0.805 Loading mod wood-stack-to-1k 2.0.0 (data-final-fixes.lua)
   0.810 Loading mod loaders-modernized 0.7.8 (data-final-fixes.lua)
   0.816 Loading mod no-spoilage 1.1.0 (data-final-fixes.lua)
   0.821 Loading mod Productivity 2.0.5 (data-final-fixes.lua)
   0.828 Loading mod rosnok-productivity-quality-beacon 1.1.2 (data-final-fixes.lua)
   0.833 Loading mod visible-planets 1.4.1 (data-final-fixes.lua)
   0.834 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:33: Adding visible-planets for nauvis
   0.834 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:33: Adding visible-planets for vulcanus
   0.834 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:33: Adding visible-planets for gleba
   0.834 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:33: Adding visible-planets for fulgora
   0.834 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:33: Adding visible-planets for aquilo
   0.834 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:103: Skipping visible-planets for space-location-unknown; Blacklisted.
   0.834 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:29: Skipping visible-planets for solar-system-edge; Starmap icon missing.
   0.834 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:33: Adding visible-planets for shattered-planet
   0.890 Checksum for core: 544741660
   0.890 Checksum of base: 183736295
   0.890 Checksum of Mineable-Cliffs-SpaceAge: 1493247849
   0.890 Checksum of rocket-capacity: 1663347064
   0.890 Checksum of TogglePeacefulMode: 2166183852
   0.890 Checksum of AutoDeconstruct: 3603960023
   0.890 Checksum of BetterRoboport: 1133126808
   0.890 Checksum of biter-remover: 0
   0.890 Checksum of bobinserters: 1069262719
   0.890 Checksum of ch-concentrated-solar: 3861517744
   0.890 Checksum of combat-mechanics-overhaul: 1828857775
   0.890 Checksum of debloat-handmine-cliffs: 3192291987
   0.890 Checksum of early-spidertron: 3628223839
   0.890 Checksum of EditMapSettings: 3754808477
   0.890 Checksum of elevated-rails: 2106445898
   0.890 Checksum of flib: 2235140407
   0.890 Checksum of heroic_library: 3120295454
   0.890 Checksum of informatron: 1824090339
   0.890 Checksum of kry_stdlib: 0
   0.890 Checksum of MaxRateCalculator: 2782318027
   0.890 Checksum of notepad: 4085873618
   0.890 Checksum of quality: 3925140030
   0.890 Checksum of RoboportRangeMultiplier: 482514001
   0.890 Checksum of short-railgun-animation: 3954121923
   0.890 Checksum of some-spidertron: 2350202935
   0.890 Checksum of SpidertronEnhancements: 588518713
   0.890 Checksum of tile-upgrade-planner: 352732611
   0.890 Checksum of Train-Speed-Multiplier-update: 2677591940
   0.890 Checksum of Turret_Range_Buff_2_0: 2289381599
   0.890 Checksum of UnlimitedProductivityFork: 952208550
   0.890 Checksum of wood-stack-to-1k: 1793769670
   0.890 Checksum of shield-projector: 4058400129
   0.890 Checksum of solar-calc: 1750751702
   0.890 Checksum of space-age: 3216343430
   0.890 Checksum of WideChests: 4165612255
   0.890 Checksum of kry-spidertron: 1261820451
   0.890 Checksum of loaders-modernized: 752388939
   0.890 Checksum of no-spoilage: 931587961
   0.890 Checksum of non-spoiling-science: 1884051147
   0.890 Checksum of Productivity: 2854196919
   0.890 Checksum of rosnok-productivity-quality-beacon: 2478751965
   0.890 Checksum of visible-planets: 410386549
   0.890 Checksum of water-pumpjack: 317224185
   0.890 Checksum of Waterfill_v17: 3989417760
   1.157 Prototype list checksum: 3754529638
   1.194 Loading sounds...
   1.345 Info PlayerData.cpp:68: Local player-data.json unavailable
   1.345 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1738834538
   1.346 Post-data load graphics options: [Light occlusion: YES]
   1.499 Initial atlas bitmap size is 16384
   1.507 Created an atlas bitmap (size 16384x16376) [none]
   1.513 Created an atlas bitmap (size 16384x16268) [none]
   1.532 Created an atlas bitmap (size 16384x16348) [none]
   1.536 Created an atlas bitmap (size 16384x16384) [none]
   1.536 Created an atlas bitmap (size 16384x4340) [none]
   1.537 Created an atlas bitmap (size 16384x16352) [low-object]
   1.538 Created an atlas bitmap (size 16384x6176) [low-object]
   1.538 Created an atlas bitmap (size 16384x13456) [corpse-decay]
   1.538 Created an atlas bitmap (size 16384x8392) [decal]
   1.538 Created an atlas bitmap (size 16384x5596) [none]
   1.538 Created an atlas bitmap (size 1676x79) [not-compressed]
   1.538 Created an atlas bitmap (size 16384x4208) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.538 Created an atlas bitmap (size 4096x3088) [smoke, mipmap, linear-minification, linear-magnification]
   1.541 Created an atlas bitmap (size 16384x16352) [terrain, mipmap, linear-minification, linear-mip-level]
   1.541 Created an atlas bitmap (size 16384x4944) [terrain, mipmap, linear-minification, linear-mip-level]
   1.541 Created an atlas bitmap (size 8192x4144) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.541 Created an atlas bitmap (size 8192x2576) [mipmap]
   1.541 Created an atlas bitmap (size 2048x1520) [mipmap]
   1.541 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.541 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.541 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.541 Created an atlas bitmap (size 8192x4096) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.542 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   1.554 Created an atlas bitmap (size 16384x16376) [shadow, linear-magnification, alpha-mask]
   1.557 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
   1.557 Created an atlas bitmap (size 16384x7692) [shadow, linear-magnification, alpha-mask]
   1.557 Created an atlas bitmap (size 8192x3952) [shadow, mipmap, linear-magnification, alpha-mask]
   1.557 Created an atlas bitmap (size 2048x520) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.557 Loading 3D bitmaps.
   1.561 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.594 Parallel sprite loader initialized (threads: 15, bitmaps: 8332)
  16.137 Sprites loaded
  16.151 Generated mipmaps (4) for atlas [5] of size 16384x16352   
  16.154 Generated mipmaps (4) for atlas [6] of size 16384x6176   
  16.157 Generated mipmaps (3) for atlas [11] of size 16384x4208   
  16.160 Generated mipmaps (3) for atlas [12] of size 4096x3088   
  16.183 Generated mipmaps (3) for atlas [13] of size 16384x16352   
  16.191 Generated mipmaps (3) for atlas [14] of size 16384x4944   
  16.196 Generated mipmaps (3) for atlas [15] of size 8192x4144   
  16.218 Generated mipmaps (3) for atlas [16] of size 8192x2576   
  16.220 Generated mipmaps (3) for atlas [17] of size 2048x1520   
  16.222 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  16.235 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  16.237 Generated mipmaps (3) for atlas [20] of size 4096x3152   
  16.255 Generated mipmaps (5) for atlas [21] of size 8192x4096   
  16.258 Generated mipmaps (3) for atlas [26] of size 8192x3952   
  16.293 Custom mipmaps uploaded (3208)
  16.331 Video memory usage: 3914.80 MB (Atlases: 3783.81 MB, Textures: 130.99 MB)
  16.339 Custom inputs active: 26
  16.441 Factorio initialised
  16.444 Steam Storage Quota: 21808/23841
  16.451 Loading map /home/mit/.factorio/saves/_autosave2.zip: 285907648 bytes.
  16.461 Loading level.dat: 749800671 bytes.
  16.464 Info Scenario.cpp:153: Map version 2.0.32-0
  17.308 Warning Map.cpp:357: Map loading failed: Corrupt map: unknown item prototype ID 20384. File has likely been corrupted due to failing hardware.
  17.388 Error AppManagerStates.cpp:1648: Corrupt map: unknown item prototype ID 20384. File has likely been corrupted due to failing hardware.
  28.538 Loading map /home/mit/.factorio/saves/_autosave1.zip: 291010628 bytes.
  28.558 Loading level.dat: 761801313 bytes.
  28.563 Info Scenario.cpp:153: Map version 2.0.32-0
  29.415 Warning Map.cpp:357: Map loading failed: Corrupt map: unknown item prototype ID 20384. File has likely been corrupted due to failing hardware.
  29.472 Error AppManagerStates.cpp:1648: Corrupt map: unknown item prototype ID 20384. File has likely been corrupted due to failing hardware.
 167.988 Loading map /home/mit/.factorio/saves/King of Space Age.zip: 289319180 bytes.
 168.009 Loading level.dat: 757760666 bytes.
 168.011 Info Scenario.cpp:153: Map version 2.0.32-0
 168.835 Warning Map.cpp:357: Map loading failed: Corrupt map: unknown item prototype ID 20384. File has likely been corrupted due to failing hardware.
 168.902 Error AppManagerStates.cpp:1648: Corrupt map: unknown item prototype ID 20384. File has likely been corrupted due to failing hardware.
Here are my current error logs right after this happened.

If Prototype ID 20384 is in reference to an item in the game can I just go into the file and delete it some how? the file is 277mb so it's not really easy to upload anywhere... EDIT: Just found out how to upload it somewhere!

I have tried with no mods loaded and with all the mods in the error logs loaded and still the same error. Also all my auto-saves from this same saved game are suddenly corrupted all at the same time despite working just a few hours before.

Has anyone got any ideas? Does anyone know of any tools where I can do investigation of my own into the save game files?

https://limewire.com/d/e7568a88-ae6b-45 ... KXlsnIS_XQ
Last edited by andyseemight on Thu Feb 06, 2025 11:26 pm, edited 1 time in total.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3969
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Corrupt map: Unknown item prototype ID 20384 (saved game uploaded)

Post by boskid »

I looked at this save file but i am unable to identify where is it corrupted.
andyseemight
Burner Inserter
Burner Inserter
Posts: 10
Joined: Thu Feb 06, 2025 9:54 am
Contact:

Re: Corrupt map: Unknown item prototype ID 20384 (saved game uploaded)

Post by andyseemight »

boskid wrote: Thu Feb 06, 2025 10:14 pm I looked at this save file but i am unable to identify where is it corrupted.
Just curious what in the save file are you looking at? is it the level.dat files through a hex editor?

Also not sure if this helps but I installed the visible planets mod at around the same time the saves became corrupted. It could have been a coincidence though.

https://mods.factorio.com/mod/visible-planets

Haven't seen anyone else with the same problem so maybe it's not related.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3969
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Corrupt map: Unknown item prototype ID 20384 (saved game uploaded)

Post by boskid »

Mods are not likely to cause that type of corruption, there are some restrictions what mods can do and they definitely cannot touch raw data stream while it is being saved or loaded. In this case there was some corruption with EjectedItems on one of the space platforms, i am not sure but having about 5000000 ejected items on one platform is really suspicious, they should expire within 5 seconds so maybe the amount of ejected items to load is corrupted. Anyway, if you have no reproduction steps how to cause such corruption from a known good save file there is not much i am willing to do, if it was caused by failing hardware there is a chance it may become corrupted again and i do not want to be fixing save files over and over again. I am fixing them more like an exception to maybe find some clues for underlying issue but i never found any so i am just not fixing saves anymore if its more than 1 byte corrupted in an obvious place.
andyseemight
Burner Inserter
Burner Inserter
Posts: 10
Joined: Thu Feb 06, 2025 9:54 am
Contact:

Re: Corrupt map: Unknown item prototype ID 20384 (saved game uploaded) (Will pay $50AUD for a fix for this)

Post by andyseemight »

Thank you again for looking into this. Judging from what you said here regarding platforms is it possible to delete entirely the suspect platform? or every platform if that is easier?
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3969
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Corrupt map: Unknown item prototype ID 20384 (saved game uploaded)

Post by boskid »

On your place i would really focus on making sure that the machine you are using is not faulty, verify if memory has no bad cells, maybe run some cpu diagnostics. If this save file was corrupted, there is a high chance that in the future you will get more save files corrupted and i wont be fixing any more save files for you.

I was looking more into this save file and this is what i found: game tick at the time of this save file is 104985046. One of the space platforms's second oldest ejected item was created at game tick 103265869. That is almost 8 hours of time the game remained corrupted. Oldest item has a corrupted tick of expiration which caused game logic to fail to clear ejected items because they are supposed to be stored with increasing tick of expiration and the first record in the queue was showing a tick that was still in the future causing game to think it still needs to wait until removing any items. Because of that, items were not removed. This caused about 5028125 items to accumulate inside of the ejected items of that space platform. That is roughly 231MB of data in your 740MB large save file (when counting uncompressed). In addition to the first ejected item being corrupted causing ejected items to not flush properly, there were at least 2 other ejected items that were corrupted on the ItemID field where they say what item they represent. With hex editor i cannot do too many intrusive changes because a lot of saving systems depends on exact sequence of operations while loading, it is already pain in the butt to remove objects using hex editor if those objects contain MapPositions because they are using delta saving so by removing one block of data i could cause all subsequent map positions to load incorrectly. I decided to locate where those ejected items start in the save file and where they end and decided to just delete about 5027764 ejected items, leaving only 361 of the newest ones (first one i kept had MapPosition saved without using deltas, meaning it should not corrupt any subsequent map positions loaded).

Here is what i got after this surgery: https://drive.google.com/file/d/1o1N2BV ... sp=sharing - this save file takes only 154MB (compared to 282MB of the original). I only verified that it loads and passes consistency check, i cannot guarantee that there are no other faults in it.

As for the money promise from your changed topic title, put it into your moneybox for a new hardware if the current hardware would need some replacements.
andyseemight
Burner Inserter
Burner Inserter
Posts: 10
Joined: Thu Feb 06, 2025 9:54 am
Contact:

Re: Corrupt map: Unknown item prototype ID 20384 (saved game uploaded) (Will pay $50AUD for a fix for this)

Post by andyseemight »

I ran memtest86+ all night again (ran it after the initial corruption to verify) and it revealed nothing wrong on any passes again. The CPU I just stressed tested it and monitored temperatures for an hour, do you have any recommendations for a good CPU diagnostic tool for linux? because I know a temperature check isn't sufficient for verifying hardware issues.

If this helps at all I do remember the UPS tanking over 2 hours to almost unplayable rates which should have been a sign but I was building things so I thought that was due to that.

I am so grateful you did this! as for the $50 I'll buy factorio and gift it to so some one as it should benefit us all. Another player another factory to grow!

I work week on and week off and I was itching to get back to growing the factory since my first day off only for this to happen on my first day off lol. So thank you again for salvaging this so my week off can be put to what god intended... growing factories!

Thanks again and I understand you can only do this a limited amount of times. I have backed this up and going to create a script in linux to create different folders of saves and date them every few hours!
User avatar
pioruns
Fast Inserter
Fast Inserter
Posts: 161
Joined: Tue Nov 05, 2024 3:38 pm
Contact:

Re: Corrupt map: Unknown item prototype ID 20384 (saved game uploaded) (Will pay $50AUD for a fix for this)

Post by pioruns »

andyseemight wrote: Fri Feb 07, 2025 10:17 pm do you have any recommendations for a good CPU diagnostic tool for linux? because I know a temperature check isn't sufficient for verifying hardware issues.
Use Prime95.
andyseemight wrote: Fri Feb 07, 2025 10:17 pmI have backed this up and going to create a script in linux to create different folders of saves and date them every few hours!
Put it into Syncthing, it will do it for you automatically, keeping a separate version of every changed file in regular intervals or keeping defined number of versions.
andyseemight
Burner Inserter
Burner Inserter
Posts: 10
Joined: Thu Feb 06, 2025 9:54 am
Contact:

Re: Corrupt map: Unknown item prototype ID 20384 (saved game uploaded) (Will pay $50AUD for a fix for this)

Post by andyseemight »

Hey just an update to this.

My motherboard is a X670E Steel Legend and I'm using 64gb of Ram. There was a period where Factorio was using almost 40gb+ and I'd get the occasional crash every few hours. My ram sticks were actually in their slots perfectly fine (or so I thought) and had clicked in which made me believe they were in correctly. Even though they had "clicked" in they could still go down a tiny bit further, probably a quarter of a millimetre more. Ever since I was able to push them down that extra space I've never had a single crash in more than 200 hours of playing when before I'd get a crash every 4-8 hours!

I don't ever remember having that extra space to push a ram stick in further once a click is heard with DDR4 but it seems with this motherboard which is DDR5 there is that extra space and that is what was causing my instability and corrupt saved games.
Post Reply

Return to “Technical Help”