Pages: 1
Posted on 12-01-12, 11:24 am (rev. 1 by  MiguelMML on 12-01-12, 11:25 am)
Snifit
When you push enter... this happens.ç

Karma: 250
Posts: 100/286
Since: 09-30-12
Hi! I have a problem with this tileset that I created.
255x111
It's a forest tileset. And when I want to change the original forest with this one, it says this.

Wrong input image size.

Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

************** Texto de la excepción **************
System.Exception: Wrong input image size
en NSMBe4.GraphicsSet.import()
en NSMBe4.ImageManager.importAllBtn_Click(Object sender, EventArgs e)
en System.Windows.Forms.Control.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ButtonBase.WndProc(Message& m)
en System.Windows.Forms.Button.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4234 (VistaSP2GDR.050727-4200)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
NSMBe5
Versión del ensamblado: 5.1.0.0
Versión Win32: 5.1.0.0
Código base: file:///C:/Users/BEEP/Desktop/Tarjeta%20DS/nsmb-editor-355/NSMBe5.exe
----------------------------------------
System
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4234 (VistaSP2GDR.050727-4200)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4228 (VistaSP2GDR.050727-4200)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4230 (VistaSP2GDR.050727-4200)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4234 (VistaSP2GDR.050727-4200)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

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

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.

I've tried putting it 256x112, but it doesn't work. Can you help me?

Yayy, 100 post!!

_________________________
CSMB is cancelled. Instead, I'll be doing a mini hack soon.
Posted on 12-01-12, 11:32 am (rev. 1 by RicBent on 12-01-12, 11:33 am)
Mariomaster

Karma: 8528
Posts: 175/1681
Since: 06-09-12
I tried to import it and it didn't work.

I got this error (I think it's the same as yours. It's just german ):


Wried

PS: Why do you create a 255x112 image
_________________________
GitHub - Kuribo64 - YouTube
Posted on 12-01-12, 11:37 am
Snifit
When you push enter... this happens.ç

Karma: 250
Posts: 101/286
Since: 09-30-12
Then, I'll wait until the question is solved.
In the forest tileset, the last tile (down, right) is 255 111, that's why. I can't put it in 256x112.
_________________________
CSMB is cancelled. Instead, I'll be doing a mini hack soon.
Posted on 12-01-12, 12:44 pm


Karma: 3752
Posts: 1661/2112
Since: 06-28-11
256x112 is the right size.
You need to add one pixel to the height and it will work.
Posted on 12-01-12, 12:47 pm
Mariomaster

Karma: 8528
Posts: 176/1681
Since: 06-09-12
Posted by MiguelMML
I've tried putting it 256x112, but it doesn't work. Can you help me?

_________________________
GitHub - Kuribo64 - YouTube
Posted on 12-01-12, 12:50 pm
Snifit
When you push enter... this happens.ç

Karma: 250
Posts: 104/286
Since: 09-30-12
It gives the same problem.
Maybe it's because I select the wrong button?
I always select "Import all bitmaps with all palettes"
Ninja'd

_________________________
CSMB is cancelled. Instead, I'll be doing a mini hack soon.
Posted on 12-01-12, 12:55 pm (rev. 1 by  Freeze on 12-01-12, 12:55 pm)


Karma: 3752
Posts: 1662/2112
Since: 06-28-11
You used the wrong button.
Import all Bitmaps with all palettes needs a size of 256x224 (with 2 palettes).

But this isn't what you should use. Use the button Import this Bitmap and recreate palette. It will work fine then with a size of 256x112.
Posted on 12-01-12, 12:57 pm
Snifit
When you push enter... this happens.ç

Karma: 250
Posts: 105/286
Since: 09-30-12
It worked! Thanks  Freeze!
I got confused with the tutorial of the multi palette tilesets.
_________________________
CSMB is cancelled. Instead, I'll be doing a mini hack soon.
Posted on 12-01-12, 01:01 pm


Karma: 3752
Posts: 1663/2112
Since: 06-28-11
If you don't use two palettes, you don't need that button. Keep that in mind.
Posted on 12-02-12, 01:21 pm
Fuzz Ball
KirbyFanatic64 (LOL)

Karma: 1361
Posts: 693/950
Since: 11-13-11
@Freeze: Won't it corrupt another palette if he import only that palette? Since the transparent pixels are different...
_________________________

Great games must be fun, not fancy.

Music Hacker needed! PM me if you wish!
Posted on 12-02-12, 01:43 pm


Karma: 3752
Posts: 1664/2112
Since: 06-28-11
Good point. I have never tested it, since I always import it with two palettes.
But I guess this does not happen, because the palette gets recreated when importing.
Posted on 12-02-12, 01:55 pm
Fuzz Ball
KirbyFanatic64 (LOL)

Karma: 1361
Posts: 699/950
Since: 11-13-11
Ah, I see. Then it might not corrupt another palette, that's good news.
@ MiguelMML Do they work properly?
_________________________

Great games must be fun, not fancy.

Music Hacker needed! PM me if you wish!
Posted on 12-02-12, 02:17 pm
Snifit
When you push enter... this happens.ç

Karma: 250
Posts: 119/286
Since: 09-30-12
Yes, it work properly. Thanks all of you!
_________________________
CSMB is cancelled. Instead, I'll be doing a mini hack soon.
Pages: 1