Pages: 1
Posted on 02-08-17, 01:08 am
Panser


Karma: 324
Posts: 74/329
Since: 01-28-17
I tried to import some custom tilesets, but it came up with an error message, and it wouldn't let me use them. What's wrong and how can I fix it?
--___________
-/-----------------\
/-------------------\
|------|------|------|
|--------------------|
|---\________/---|
\-------------------/
-\___________/
Posted on 02-08-17, 01:15 am
Giant Red Paratroopa
Not Edible

Karma: 3366
Posts: 214/1447
Since: 02-12-16
What's the error message?
_________________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Posted on 02-08-17, 01:48 am
Panser


Karma: 324
Posts: 75/329
Since: 01-28-17
Error message:

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Index was outside the bounds of the array.

Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at NSMBe4.ROM.GetFileIDFromTable(Int32 id, Int32 tableoffset)
at NSMBe4.NSMBGraphics.LoadTileset1(UInt16 TilesetID)
at NSMBe4.NSMBGraphics.LoadTilesets(UInt16 TilesetID, Int32 JyotyuPalOverride)
at NSMBe4.TilesetList.loadTileset(UInt16 TilesetID)
at NSMBe4.TilesetList.importTilesetBtn_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
NSMBe5
Assembly Version: 5.1.0.0
Win32 Version: 5.1.0.0
CodeBase: file:///C:/Users/EZRA~1.SQU/AppData/Local/Temp/7zO56C1.tmp/NSMBe5.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8750 (QFE.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
--___________
-/-----------------\
/-------------------\
|------|------|------|
|--------------------|
|---\________/---|
\-------------------/
-\___________/
Posted on 02-08-17, 06:21 am
Roy Koopa
The guy who does things.

Karma: 12694
Posts: 2425/2796
Since: 07-01-11
What specifically were you doing in the editor. "I tried importing a tileset and it didn't work" isn't going to help us help you.
New Super Mario Bros.: Clone Tag Team 1+2 / New Super Mario Advance + Take 2 / Super Mario: Endless Earth
My two greatest assets have been mental stability and being, like, really smart.
Posted on 02-08-17, 06:59 am
Mole
Normal user

Karma: 2013
Posts: 252/359
Since: 07-08-12
You went beyond a file ID table index.
Posted on 02-08-17, 11:13 am
Panser


Karma: 324
Posts: 77/329
Since: 01-28-17
I think I get it now!
--___________
-/-----------------\
/-------------------\
|------|------|------|
|--------------------|
|---\________/---|
\-------------------/
-\___________/
Pages: 1