Skip to content

objHPZ.ini Issues #196

@FMPJ3

Description

@FMPJ3

Program: SonLVL
Build Date: 06/16/2025 13:12:16
OS Version: Microsoft Windows NT 6.2.9200.0
Log:
Operating system: Microsoft Windows NT 6.2.9200.0
Opening INI file "C:\Users\parke\Desktop\ROM Hacks\s2disasm-master\s2disasm-master\SonLVL INI Files\SonLVL.ini"...
Game type is S2.
Loading Hidden Palace Zone...
Loading 128x128 chunks from file "../mappings/128x128/HPZ.kos", using compression Kosinski...
Loading 16x16 blocks from file "../mappings/16x16/HPZ.kos", using compression Kosinski...
Loading palette file "../art/palettes/SonicAndTails.bin"...
Source: 0 Destination: 0 Length: 16
Loading palette file "../art/palettes/HPZ.bin"...
Source: 0 Destination: 16 Length: 48
Loading palette file "../art/palettes/HPZ underwater.bin"...
Source: 0 Destination: 0 Length: 64
Loading layout from file "../level/layout/HPZ_1.kos", using compression Kosinski...
Loading 8x8 tiles from file "../art/kosinski/HPZ.kos", using compression Kosinski...
Loading object definition file "obj.ini".
Loading object definition file "objHPZ.ini".
Loading ObjectDefinition type S2ObjectDefinitions.Common.InvisibleBlock from "Common\InvisibleBlock.cs"...
Loading type from cached assembly "dllcache\S2ObjectDefinitions.Common.InvisibleBlock.dll"...
Loading ObjectDefinition type S2ObjectDefinitions.HPZ.Bridge from "HPZ\Bridge.cs"...
Compiling code file...
Loading ObjectDefinition type S2ObjectDefinitions.Common.PathSwapper from "Common\PathSwapper.cs"...
Loading type from cached assembly "dllcache\S2ObjectDefinitions.Common.PathSwapper.dll"...
Error loading object definition Emerald:
System.ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at SonicRetro.SonLVL.API.ByteConverter.ToInt16(Byte[] value, Int32 startIndex) in C:\Programs\SonLVL\SonLVLAPI\ByteConverter.cs:line 61
at SonicRetro.SonLVL.API.LevelData.GetOffsetList(Byte[] file) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:line 1833
at SonicRetro.SonLVL.API.MappingsFrame.Load(Byte[] file, EngineVersion version, Dictionary2 labels) in C:\Programs\SonLVL\SonLVLAPI\DataTypes.cs:line 1396 at SonicRetro.SonLVL.API.ObjectHelper.MapToBmp(Byte[] artfile, Byte[] mapfile, Int32 frame, Int32 startpal, Boolean priority, EngineVersion version) in C:\Programs\SonLVL\SonLVLAPI\ObjectHelper.cs:line 21 at SonicRetro.SonLVL.API.DefaultObjectDefinition.Init(ObjectData data) in C:\Programs\SonLVL\SonLVLAPI\ObjectDefinition.cs:line 519 Loading type from cached assembly "dllcache\S2ObjectDefinitions.Common.Spikes.dll"... System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFoundException: Could not find file 'C:\Users\parke\Desktop\ROM Hacks\s2disasm-master\s2disasm-master\SonLVL INI Files\HPZ\Bridge.cs'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames) at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames) at SonicRetro.SonLVL.API.LevelData.<>c__DisplayClass103_0.<InitObjectDefinitions>b__0(KeyValuePair2 group) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:line 1610
at System.Threading.Tasks.Parallel.<>c__DisplayClass42_02.<PartitionerForEachWorker>b__1() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at 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) at 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) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action1 body) at SonicRetro.SonLVL.API.LevelData.InitObjectDefinitions() in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:line 1561 at SonicRetro.SonLVL.API.LevelData.LoadLevel(String levelname, Boolean loadGraphics) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:line 322 at SonicRetro.SonLVL.GUI.MainForm.backgroundLevelLoader_DoWork(Object sender, DoWorkEventArgs e) in C:\Programs\SonLVL\SonLVL\MainForm.cs:line 576 ---> (Inner Exception #0) System.IO.FileNotFoundException: Could not find file 'C:\Users\parke\Desktop\ROM Hacks\s2disasm-master\s2disasm-master\SonLVL INI Files\HPZ\Bridge.cs'. File name: 'C:\Users\parke\Desktop\ROM Hacks\s2disasm-master\s2disasm-master\SonLVL INI Files\HPZ\Bridge.cs' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames) at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames) at SonicRetro.SonLVL.API.LevelData.<>c__DisplayClass103_0.<InitObjectDefinitions>b__0(KeyValuePair2 group) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:line 1610
at System.Threading.Tasks.Parallel.<>c__DisplayClass42_0`2.b__1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---

Loading Hidden Palace Zone...
Loading 16x16 blocks from file "../mappings/16x16/HPZ.kos", using compression Kosinski...
Loading 8x8 tiles from file "../art/kosinski/HPZ.kos", using compression Kosinski...
Loading 128x128 chunks from file "../mappings/128x128/HPZ.kos", using compression Kosinski...
Loading layout from file "../level/layout/HPZ_1.kos", using compression Kosinski...
Loading palette file "../art/palettes/SonicAndTails.bin"...
Source: 0 Destination: 0 Length: 16
Loading palette file "../art/palettes/HPZ.bin"...
Source: 0 Destination: 16 Length: 48
Loading palette file "../art/palettes/HPZ underwater.bin"...
Source: 0 Destination: 0 Length: 64
Loading object definition file "obj.ini".
Loading object definition file "objHPZ.ini".
Loading ObjectDefinition type S2ObjectDefinitions.Common.PathSwapper from "Common\PathSwapper.cs"...
Loading type from cached assembly "dllcache\S2ObjectDefinitions.Common.PathSwapper.dll"...
Loading ObjectDefinition type S2ObjectDefinitions.Common.InvisibleBlock from "Common\InvisibleBlock.cs"...
Loading type from cached assembly "dllcache\S2ObjectDefinitions.Common.InvisibleBlock.dll"...
Loading ObjectDefinition type S2ObjectDefinitions.HPZ.Bridge from "HPZ\Bridge.cs"...
Compiling code file...
Loading type from cached assembly "dllcache\S2ObjectDefinitions.Common.Spikes.dll"...
System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFoundException: Could not find file 'C:\Users\parke\Desktop\ROM Hacks\s2disasm-master\s2disasm-master\SonLVL INI Files\HPZ\Bridge.cs'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
at SonicRetro.SonLVL.API.LevelData.<>c__DisplayClass103_0.b__0(KeyValuePair2 group) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:line 1610 at System.Threading.Tasks.Parallel.<>c__DisplayClass42_02.b__1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at 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)
at 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)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action1 body)
at SonicRetro.SonLVL.API.LevelData.InitObjectDefinitions() in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:line 1561
at SonicRetro.SonLVL.API.LevelData.LoadLevel(String levelname, Boolean loadGraphics) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:line 322
at SonicRetro.SonLVL.GUI.MainForm.backgroundLevelLoader_DoWork(Object sender, DoWorkEventArgs e) in C:\Programs\SonLVL\SonLVL\MainForm.cs:line 576
---> (Inner Exception #0) System.IO.FileNotFoundException: Could not find file 'C:\Users\parke\Desktop\ROM Hacks\s2disasm-master\s2disasm-master\SonLVL INI Files\HPZ\Bridge.cs'.
File name: 'C:\Users\parke\Desktop\ROM Hacks\s2disasm-master\s2disasm-master\SonLVL INI Files\HPZ\Bridge.cs'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
at SonicRetro.SonLVL.API.LevelData.<>c__DisplayClass103_0.b__0(KeyValuePair2 group) in C:\Programs\SonLVL\SonLVLAPI\LevelData.cs:line 1610 at System.Threading.Tasks.Parallel.<>c__DisplayClass42_02.b__1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---

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