Skip to content

Not compatible with latest version #6

@cff29546

Description

@cff29546

I'm running with mono, this command used to work with game version 41.65

C:
cd "C:\Program Files\Mono\bin"
mono.exe E:\MapMap\MapMap.exe -gfxsource E:\MapMap\TexturePacks\Erosion.pack -gfxsource E:\MapMap\TexturePacks\Tiles2x.pack -gfxsource E:\MapMap\TexturePacks\Tiles2x.floor.pack -gfxsource E:\MapMap\TexturePacks\ApCom.pack -gfxsource E:\MapMap\texturepacks\RadioIcons.pack -gfxsource E:\MapMap\TexturePacks\ApComUI.pack -mapsource E:\MapMap\Mapname_lotpack -output E:\MapMap\Mapname_output\ -dolayers true -divider 4 -maxthreads 2

but when updated E:\MapMap\TexturePacks\ and E:\MapMap\Mapname_lotpack with files from 41.66, program ended with Unhandled Exception

Boundaries: minx -99999 maxx 99999 miny -99999 maxy 99999
Threads: 2
Starting programm...
Reading texture data from: Erosion.pack
Sheet count: 5
Reading texture data from: Tiles2x.pack
Sheet count: 1263557200

Unhandled Exception:
System.ArgumentException: The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'.

Parameter name: chars

  at System.Text.Encoding.ThrowCharsOverflow () [0x00027] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.Text.Encoding.ThrowCharsOverflow (System.Text.DecoderNLS decoder, System.Boolean nothingDecoded) [0x00026] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.Text.UTF8Encoding.GetChars (System.Byte* bytes, System.Int32 byteCount, System.Char* chars, System.Int32 charCount, System.Text.DecoderNLS baseDecoder) [0x0023c] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.Text.DecoderNLS.GetChars (System.Byte* bytes, System.Int32 byteCount, System.Char* chars, System.Int32 charCount, System.Boolean flush) [0x00059] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.Text.DecoderNLS.GetChars (System.Byte[] bytes, System.Int32 byteIndex, System.Int32 byteCount, System.Char[] chars, System.Int32 charIndex, System.Boolean flush) [0x000a2] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.Text.DecoderNLS.GetChars (System.Byte[] bytes, System.Int32 byteIndex, System.Int32 byteCount, System.Char[] chars, System.Int32 charIndex) [0x00000] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.IO.BinaryReader.InternalReadOneChar () [0x000e8] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.IO.BinaryReader.Read () [0x0000d] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.IO.BinaryReader.ReadChar () [0x00000] in <32116eccb94d4ed685ca661d98e36637>:0 

  at MapMapLib.MMTextures.readString (System.IO.BinaryReader binReader) [0x0001a] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMapLib.MMTextures.loadFromPackFile (System.IO.BinaryReader binReader, System.Int32 sn) [0x00023] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMapLib.MMTextures.readPackFile (System.IO.BinaryReader binReader) [0x0001e] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMapLib.MMTextures.Load (System.String path) [0x0003d] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMap.Main.readTexturePacks () [0x00019] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMap.Main.Run (System.String[] args) [0x0000c] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMap.Program.Main (System.String[] args) [0x00006] in <36cf778331e542fdb1e14be4e7371385>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'.

Parameter name: chars

  at System.Text.Encoding.ThrowCharsOverflow () [0x00027] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.Text.Encoding.ThrowCharsOverflow (System.Text.DecoderNLS decoder, System.Boolean nothingDecoded) [0x00026] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.Text.UTF8Encoding.GetChars (System.Byte* bytes, System.Int32 byteCount, System.Char* chars, System.Int32 charCount, System.Text.DecoderNLS baseDecoder) [0x0023c] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.Text.DecoderNLS.GetChars (System.Byte* bytes, System.Int32 byteCount, System.Char* chars, System.Int32 charCount, System.Boolean flush) [0x00059] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.Text.DecoderNLS.GetChars (System.Byte[] bytes, System.Int32 byteIndex, System.Int32 byteCount, System.Char[] chars, System.Int32 charIndex, System.Boolean flush) [0x000a2] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.Text.DecoderNLS.GetChars (System.Byte[] bytes, System.Int32 byteIndex, System.Int32 byteCount, System.Char[] chars, System.Int32 charIndex) [0x00000] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.IO.BinaryReader.InternalReadOneChar () [0x000e8] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.IO.BinaryReader.Read () [0x0000d] in <32116eccb94d4ed685ca661d98e36637>:0 

  at System.IO.BinaryReader.ReadChar () [0x00000] in <32116eccb94d4ed685ca661d98e36637>:0 

  at MapMapLib.MMTextures.readString (System.IO.BinaryReader binReader) [0x0001a] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMapLib.MMTextures.loadFromPackFile (System.IO.BinaryReader binReader, System.Int32 sn) [0x00023] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMapLib.MMTextures.readPackFile (System.IO.BinaryReader binReader) [0x0001e] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMapLib.MMTextures.Load (System.String path) [0x0003d] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMap.Main.readTexturePacks () [0x00019] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMap.Main.Run (System.String[] args) [0x0000c] in <36cf778331e542fdb1e14be4e7371385>:0 

  at MapMap.Program.Main (System.String[] args) [0x00006] in <36cf778331e542fdb1e14be4e7371385>:0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions