sonicretro / SonLVL

SonLVL
http://info.sonicretro.org/SonLVL
55 stars 27 forks source link

SonLVL cant load edited levels #140

Open DepySonic opened 1 year ago

DepySonic commented 1 year ago

whenever I try to load some edited levels in s3&k, except Angel Island, they will not be loaded Program: SonLVL Build Date: 07/18/2022 03:48:03 OS Version: Microsoft Windows NT 6.2.9200.0 Log: Operating system: Microsoft Windows NT 6.2.9200.0 Opening INI file "C:\Users\Acer\OneDrive\Desktop\Sonic2\skdisasm-master\SonLVL INI Files\SonLVL.ini"... Game type is S3K. Loading Hydrocity Zone Act 1... Loading 8x8 tiles from file "../Levels/HCZ/Tiles/Primary.bin", using compression KosinskiM... Loading 16x16 blocks from file "../Levels/HCZ/Blocks/Primary.bin", using compression Kosinski... Loading 128x128 chunks from file "../Levels/HCZ/Chunks/Primary.bin", using compression Kosinski... Loading layout from file "../Levels/HCZ/Layout/1.bin", using compression Uncompressed... Loading 16x16 blocks from file "../Levels/HCZ/Blocks/Act 1 Secondary.bin", using compression Kosinski... Loading 8x8 tiles from file "../Levels/HCZ/Tiles/Act 1 Secondary.bin", using compression KosinskiM... Loading 128x128 chunks from file "../Levels/HCZ/Chunks/Act 1 Secondary.bin", using compression Kosinski... Loading palette file "../General/Sprites/Sonic/Palettes/SonicAndTails.bin"... Source: 0 Destination: 0 Length: 16 Loading palette file "../Levels/HCZ/Palettes/1.bin"... Source: 0 Destination: 16 Length: 48 Loading palette file "../Levels/HCZ/Palettes/Act 1 Water.bin"... Source: 0 Destination: 0 Length: 64 Loading palette file "../General/Sprites/Sonic/Palettes/SonicAndTails.bin"... Source: 0 Destination: 0 Length: 16 Loading palette file "../Levels/HCZ/Palettes/1.bin"... Source: 0 Destination: 16 Length: 40 Loading palette file "../Levels/HCZ/Palettes/Act 1 Water.bin"... Source: 40 Destination: 56 Length: 3 Loading palette file "../Levels/HCZ/Palettes/1.bin"... Source: 43 Destination: 59 Length: 5 Loading extra color file "../General/Sprites/Knuckles/Palettes/Main.bin"... Source: 0 Destination: 0 Length: 16 Loading extra color file "../Levels/HCZ/Palettes/Miniboss.bin"... Source: 0 Destination: 16 Length: 16 Loading extra water color file "../Levels/HCZ/Palettes/Act 1 Water.bin"... Source: 0 Destination: 0 Length: 16 Loading extra water color file "../Levels/Misc/Palettes/Water Knuckles Patch.bin"... Source: 3 Destination: 2 Length: 3 Loading extra water color file "../Levels/HCZ/Palettes/Miniboss Water.bin"... Source: 0 Destination: 16 Length: 16 Loading object definition file "Common/Main.ini". Loading object definition file "Common/1P.ini". Loading object definition file "HCZ/Main.ini". Loading object definition file "HCZ/E.ini". Loading object definition file "HCZ/1.ini". Loading object definition file "HCZ/1E.ini". Loading ObjectDefinition type S3KObjectDefinitions.Common.InvisibleBlock from "Common\InvisibleBlock.cs"... Loading ObjectDefinition type S3KObjectDefinitions.Common.PathSwap from "Common\PathSwap.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.PathSwap.dll"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.InvisibleBlock.dll"... Loading ObjectDefinition type S3KObjectDefinitions.Common.InvisibleHurtBlockHorizontal from "Common\InvisibleBlock.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.InvisibleHurtBlockHorizontal.dll"... Loading ObjectDefinition type S3KObjectDefinitions.Common.InvisibleHurtBlockVertical from "Common\InvisibleBlock.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.InvisibleHurtBlockVertical.dll"... Loading ObjectDefinition type S3KObjectDefinitions.Common.Monitor from "Common\Monitor.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.Monitor.dll"... Loading ObjectDefinition type S3KObjectDefinitions.Common.Spring from "Common\Spring.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.Spring.dll"... Loading ObjectDefinition type S3KObjectDefinitions.Common.Spikes from "Common\Spikes.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.Spikes.dll"... Loading ObjectDefinition type S3KObjectDefinitions.HCZ.Button from "Common\Button.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.HCZ.Button.dll"... Loading ObjectDefinition type S3KObjectDefinitions.HCZ.BreakableBar from "HCZ\BreakableBar.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.HCZ.BreakableBar.dll"... Loading ObjectDefinition type S3KObjectDefinitions.HCZ.Fan from "Common\HCZCGZFan.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.HCZ.Fan.dll"... System.AggregateException: Si sono verificati uno o più errori. ---> System.BadImageFormatException: Il modulo doveva contenere un manifesto di assembly. (Eccezione da HRESULT: 0x80131018) in System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) in System.Reflection.Assembly.LoadFile(String path) in SonicRetro.SonLVL.API.LevelData.<>cDisplayClass102_0.b0(KeyValuePair`2 group) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:riga 1513 in System.Threading.Tasks.Parallel.<>cDisplayClass42_0`2.b1() in System.Threading.Tasks.Task.InnerInvoke() in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) in System.Threading.Tasks.Task.<>cDisplayClass176_0.b__0(Object ) --- Fine della traccia dello stack dell'eccezione interna --- in System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) in System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) in System.Threading.Tasks.Task.Wait() in System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner1 source, ParallelOptions parallelOptions, Action1 simpleBody, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) in System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable1 source, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) in System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action1 body) in SonicRetro.SonLVL.API.LevelData.InitObjectDefinitions() in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:riga 1490 in SonicRetro.SonLVL.API.LevelData.LoadLevel(String levelname, Boolean loadGraphics) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:riga 306 in SonicRetro.SonLVL.GUI.MainForm.backgroundLevelLoader_DoWork(Object sender, DoWorkEventArgs e) in C:\Programs\SonLVL\SonLVL\MainForm.cs:riga 567 ---> (Eccezione interna 0) System.BadImageFormatException: Il modulo doveva contenere un manifesto di assembly. (Eccezione da HRESULT: 0x80131018) in System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) in System.Reflection.Assembly.LoadFile(String path) in SonicRetro.SonLVL.API.LevelData.<>cDisplayClass102_0.b0(KeyValuePair`2 group) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:riga 1513 in System.Threading.Tasks.Parallel.<>cDisplayClass42_0`2.b1() in System.Threading.Tasks.Task.InnerInvoke() in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) in System.Threading.Tasks.Task.<>cDisplayClass176_0.b__0(Object )<---

Loading Icecap Zone Act 1... Loading 16x16 blocks from file "../Levels/ICZ/Blocks/Primary.bin", using compression Kosinski... Loading 128x128 chunks from file "../Levels/ICZ/Chunks/Primary.bin", using compression Kosinski... Loading 8x8 tiles from file "../Levels/ICZ/Tiles/Primary.bin", using compression KosinskiM... Loading layout from file "../Levels/ICZ/Layout/1.bin", using compression Uncompressed... Loading 16x16 blocks from file "../Levels/ICZ/Blocks/Act 1 Secondary.bin", using compression Kosinski... Loading 128x128 chunks from file "../Levels/ICZ/Chunks/Act 1 Secondary.bin", using compression Kosinski... Loading 8x8 tiles from file "../Levels/ICZ/Tiles/Act 1 Secondary.bin", using compression KosinskiM... Loading palette file "../General/Sprites/Sonic/Palettes/SonicAndTails.bin"... Source: 0 Destination: 0 Length: 16 Loading palette file "../Levels/ICZ/Palettes/1.bin"... Source: 0 Destination: 16 Length: 48 Loading extra color file "../General/Sprites/Knuckles/Palettes/Main.bin"... Source: 0 Destination: 0 Length: 16 Loading object definition file "Common/Main.ini". Loading object definition file "Common/1P.ini". Loading object definition file "ICZ/Main.ini". Loading object definition file "ICZ/E.ini". Loading object definition file "ICZ/1.ini". Loading object definition file "ICZ/1E.ini". Loading ObjectDefinition type S3KObjectDefinitions.Common.PathSwap from "Common\PathSwap.cs"... Loading ObjectDefinition type S3KObjectDefinitions.Common.InvisibleBlock from "Common\InvisibleBlock.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.PathSwap.dll"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.InvisibleBlock.dll"... Loading ObjectDefinition type S3KObjectDefinitions.Common.InvisibleHurtBlockHorizontal from "Common\InvisibleBlock.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.InvisibleHurtBlockHorizontal.dll"... Loading ObjectDefinition type S3KObjectDefinitions.Common.InvisibleHurtBlockVertical from "Common\InvisibleBlock.cs"... Loading ObjectDefinition type S3KObjectDefinitions.Common.Monitor from "Common\Monitor.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.InvisibleHurtBlockVertical.dll"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.Monitor.dll"... Loading ObjectDefinition type S3KObjectDefinitions.Common.DiagonalSpring from "Common\Spring.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.DiagonalSpring.dll"... Loading ObjectDefinition type S3KObjectDefinitions.Common.Spikes from "Common\Spikes.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.Common.Spikes.dll"... Loading ObjectDefinition type S3KObjectDefinitions.ICZ.CollapsingBridge from "Common\CollapsingBridge.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.ICZ.CollapsingBridge.dll"... Loading ObjectDefinition type S3KObjectDefinitions.ICZ.CorkFloor from "ICZ\CorkFloor.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.ICZ.CorkFloor.dll"... Loading ObjectDefinition type S3KObjectDefinitions.ICZ.TensionBridge from "Common\TensionBridge.cs"... Loading type from cached assembly "dllcache\S3KObjectDefinitions.ICZ.TensionBridge.dll"... System.AggregateException: Si sono verificati uno o più errori. ---> System.BadImageFormatException: Il modulo doveva contenere un manifesto di assembly. (Eccezione da HRESULT: 0x80131018) in System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) in System.Reflection.Assembly.LoadFile(String path) in SonicRetro.SonLVL.API.LevelData.<>cDisplayClass102_0.b0(KeyValuePair`2 group) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:riga 1513 in System.Threading.Tasks.Parallel.<>cDisplayClass42_0`2.b1() in System.Threading.Tasks.Task.InnerInvoke() in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) in System.Threading.Tasks.Task.<>cDisplayClass176_0.b__0(Object ) --- Fine della traccia dello stack dell'eccezione interna --- in System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) in System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) in System.Threading.Tasks.Task.Wait() in System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner1 source, ParallelOptions parallelOptions, Action1 simpleBody, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) in System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable1 source, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) in System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action1 body) in SonicRetro.SonLVL.API.LevelData.InitObjectDefinitions() in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:riga 1490 in SonicRetro.SonLVL.API.LevelData.LoadLevel(String levelname, Boolean loadGraphics) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:riga 306 in SonicRetro.SonLVL.GUI.MainForm.backgroundLevelLoader_DoWork(Object sender, DoWorkEventArgs e) in C:\Programs\SonLVL\SonLVL\MainForm.cs:riga 567 ---> (Eccezione interna 0) System.BadImageFormatException: Il modulo doveva contenere un manifesto di assembly. (Eccezione da HRESULT: 0x80131018) in System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) in System.Reflection.Assembly.LoadFile(String path) in SonicRetro.SonLVL.API.LevelData.<>cDisplayClass102_0.b0(KeyValuePair`2 group) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:riga 1513 in System.Threading.Tasks.Parallel.<>cDisplayClass42_0`2.b1() in System.Threading.Tasks.Task.InnerInvoke() in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) in System.Threading.Tasks.Task.<>cDisplayClass176_0.b__0(Object )<---