Skip to content

Failing to convert the mce files #1

Description

@BoldMuddy

I'm using v1.5.0

I'm trying to convert the official buildplates & adventure .json files that you sent last year on discord https://discord.com/channels/768648950265151519/768843958813065287/1421578730496720998

I'm having issues with all the different types of conversions

Initially I tried to convert the full "buildplates" folder using convert-dir

MceToJava.Cli convert-dir "G:\Vault\Assets\Minecraft Earth\adventures\out\buildplates" converted

but it was all stuck on 0% for awhile

I then tried to use a different folder, that only contained one .json file (tried both "a_bit_fancy" and "endless_desert")
and used convert-dir
but this time I got

 Unhandled exception: System.IO.FileNotFoundException: Could not load file or assembly 'BitcoderCZ.Maths, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'BitcoderCZ.Maths, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null'
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at MCeToJava.Converter.<>c__DisplayClass2_1.<<ConvertFilesCli>b__2>d.MoveNext()
--- End of stack trace from previous location ---
   at MCeToJava.Converter.<>c__DisplayClass2_0.<<ConvertFilesCli>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Spectre.Console.Progress.<>c__DisplayClass32_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 103
--- End of stack trace from previous location ---
   at Spectre.Console.Progress.<>c__DisplayClass33_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 135
--- End of stack trace from previous location ---
   at Spectre.Console.DefaultExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console/Internal/DefaultExclusivityMode.cs:line 40
   at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 118
   at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 101
   at MCeToJava.Converter.ConvertFilesCli(String[] files, String outDir, Options options)
   at MCeToJava.Cli.CliCommands.ConvertDirCommand.Run()

C:\Users\priva\Downloads\MCeToJava_framework-dependent-win-x64_1.5.0>MceToJava.Cli convert-dir "G:\Vault\Assets\Minecraft Earth\adventures\out\buildplates1" converted

[23:07:11 ERR] Unhandled exception: System.IO.FileNotFoundException: Could not load file or assembly 'BitcoderCZ.Maths, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'BitcoderCZ.Maths, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null'
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at MCeToJava.Converter.<>c__DisplayClass2_1.<<ConvertFilesCli>b__2>d.MoveNext()
--- End of stack trace from previous location ---
   at MCeToJava.Converter.<>c__DisplayClass2_0.<<ConvertFilesCli>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Spectre.Console.Progress.<>c__DisplayClass32_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 103
--- End of stack trace from previous location ---
   at Spectre.Console.Progress.<>c__DisplayClass33_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 135
--- End of stack trace from previous location ---
   at Spectre.Console.DefaultExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console/Internal/DefaultExclusivityMode.cs:line 40
   at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 118
   at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 101
   at MCeToJava.Converter.ConvertFilesCli(String[] files, String outDir, Options options)
   at MCeToJava.Cli.CliCommands.ConvertDirCommand.Run()

here's an attempt with "a bit fancy" file with convert-all

ceToJava.Cli convert-all "G:\Vault\Assets\Minecraft Earth\adventures\out\buildplates\a_bit_fancy.json" converted
Unhandled exception: System.IO.FileNotFoundException: Could not load file or assembly 'BitcoderCZ.Maths, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'BitcoderCZ.Maths, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null'
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at MCeToJava.Converter.<>c__DisplayClass2_1.<<ConvertFilesCli>b__2>d.MoveNext()
--- End of stack trace from previous location ---
   at MCeToJava.Converter.<>c__DisplayClass2_0.<<ConvertFilesCli>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Spectre.Console.Progress.<>c__DisplayClass32_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 103
--- End of stack trace from previous location ---
   at Spectre.Console.Progress.<>c__DisplayClass33_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 135
--- End of stack trace from previous location ---
   at Spectre.Console.DefaultExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console/Internal/DefaultExclusivityMode.cs:line 40
   at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 118
   at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 101
   at MCeToJava.Converter.ConvertFilesCli(String[] files, String outDir, Options options)
   at MCeToJava.Cli.CliCommands.ConvertAllCommand.Run()

I then tried the normal convert on one json file, I didn't really understand if I used it correctly since the github page implies it needs biome information but the others don't

so I did a format more similar to the other conversions (With just the "converted" output at the end)

MceToJava.Cli convert "G:\Vault\Assets\Minecraft Earth\adventures\out\buildplates\a_bit_fancy.json" converted
Unhandled exception: System.IO.FileNotFoundException: Could not load file or assembly 'BitcoderCZ.Maths, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'BitcoderCZ.Maths, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null'
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at MCeToJava.Converter.ConvertFile(String inPath, String outPath, ProgressTask task, Options options)
   at MCeToJava.Cli.CliCommands.ConvertCommand.Run()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions