Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error while loading files with Mincraft 1.20.12 #54

Open
m59deathman opened this issue Aug 4, 2023 · 0 comments
Open

Error while loading files with Mincraft 1.20.12 #54

m59deathman opened this issue Aug 4, 2023 · 0 comments

Comments

@m59deathman
Copy link

If i try to load the level.dat i get the following error:

4 files failed to load:

levelname.txt
world_behavior_packs.json
world_icon.jpeg
world_resource_packs.json

File did not begin with a '{'
Could not auto-detect compression format.
Invalid region file, thinks there's a 466944-long chunk at position 384188416 but file is only 12 long
Attempted to read past the end of the stream.
Falscher Parameter. : 'C:\Users\Andre\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\sYSkZE3+IwA=\world_behavior_packs.json'
Falscher Parameter. : 'C:\Users\Andre\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\sYSkZE3+IwA=\world_icon.jpeg'
Falscher Parameter. : 'C:\Users\Andre\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\sYSkZE3+IwA=\world_resource_packs.json'

Load as SNBT:
System.FormatException: File did not begin with a '{'
at NbtStudio.NbtFile.CreateFromSnbt(String path)
at NbtStudio.NbtFile.<>c__DisplayClass32_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: True, bedrock header: False):
System.IO.InvalidDataException: Could not auto-detect compression format.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: False, bedrock header: False):
System.IO.InvalidDataException: Could not auto-detect compression format.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: False, bedrock header: True):
System.IO.InvalidDataException: Could not auto-detect compression format.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as region file:
System.FormatException: Invalid region file, thinks there's a 466944-long chunk at position 384188416 but file is only 12 long
at NbtStudio.RegionFile.Load()
at NbtStudio.RegionFile..ctor(String path)
at NbtStudio.RegionFile.<>c__DisplayClass35_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as SNBT:
System.FormatException: File did not begin with a '{'
at NbtStudio.NbtFile.CreateFromSnbt(String path)
at NbtStudio.NbtFile.<>c__DisplayClass32_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: True, bedrock header: False):
System.IO.InvalidDataException: Could not auto-detect compression format.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: False, bedrock header: False):
System.IO.InvalidDataException: Could not auto-detect compression format.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: False, bedrock header: True):
System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as region file:
System.IO.IOException: Falscher Parameter. : 'C:\Users\Andre\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\sYSkZE3+IwA=\world_behavior_packs.json'
at System.IO.Strategies.FileStreamHelpers.ThrowInvalidArgument(SafeFileHandle handle)
at System.IO.Strategies.OSFileStreamStrategy.Seek(Int64 offset, SeekOrigin origin)
at System.IO.Strategies.BufferedFileStreamStrategy.Seek(Int64 offset, SeekOrigin origin)
at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
at NbtStudio.Chunk.Load()
at NbtStudio.RegionFile.Load()
at NbtStudio.RegionFile..ctor(String path)
at NbtStudio.RegionFile.<>c__DisplayClass35_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as SNBT:
System.FormatException: File did not begin with a '{'
at NbtStudio.NbtFile.CreateFromSnbt(String path)
at NbtStudio.NbtFile.<>c__DisplayClass32_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: True, bedrock header: False):
System.IO.InvalidDataException: Could not auto-detect compression format.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: False, bedrock header: False):
System.IO.InvalidDataException: Could not auto-detect compression format.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: False, bedrock header: True):
System.IO.InvalidDataException: Could not auto-detect compression format.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as region file:
System.IO.IOException: Falscher Parameter. : 'C:\Users\Andre\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\sYSkZE3+IwA=\world_icon.jpeg'
at System.IO.Strategies.FileStreamHelpers.ThrowInvalidArgument(SafeFileHandle handle)
at System.IO.Strategies.OSFileStreamStrategy.Seek(Int64 offset, SeekOrigin origin)
at System.IO.Strategies.BufferedFileStreamStrategy.Seek(Int64 offset, SeekOrigin origin)
at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
at NbtStudio.Chunk.Load()
at NbtStudio.RegionFile.Load()
at NbtStudio.RegionFile..ctor(String path)
at NbtStudio.RegionFile.<>c__DisplayClass35_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as SNBT:
System.FormatException: File did not begin with a '{'
at NbtStudio.NbtFile.CreateFromSnbt(String path)
at NbtStudio.NbtFile.<>c__DisplayClass32_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: True, bedrock header: False):
System.IO.InvalidDataException: Could not auto-detect compression format.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: False, bedrock header: False):
System.IO.InvalidDataException: Could not auto-detect compression format.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as NBT (compression: AutoDetect, big endian: False, bedrock header: True):
System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at fNbt.NbtFile.DetectCompression(Stream stream)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression, TagSelector selector)
at fNbt.NbtFile.LoadFromStream(Stream stream, NbtCompression compression)
at NbtStudio.NbtFile.CreateFromNbt(String path, NbtCompression compression, Boolean big_endian, Boolean bedrock_header)
at NbtStudio.NbtFile.<>c__DisplayClass34_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

Load as region file:
System.IO.IOException: Falscher Parameter. : 'C:\Users\Andre\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\sYSkZE3+IwA=\world_resource_packs.json'
at System.IO.Strategies.FileStreamHelpers.ThrowInvalidArgument(SafeFileHandle handle)
at System.IO.Strategies.OSFileStreamStrategy.Seek(Int64 offset, SeekOrigin origin)
at System.IO.Strategies.BufferedFileStreamStrategy.Seek(Int64 offset, SeekOrigin origin)
at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
at NbtStudio.Chunk.Load()
at NbtStudio.RegionFile.Load()
at NbtStudio.RegionFile..ctor(String path)
at NbtStudio.RegionFile.<>c__DisplayClass35_0.b__0()
at TryashtarUtils.Utility.Failable1..ctor(Func1 operation, String description)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant