Register - Login
Views: 85788629
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - JCS - Stats - Latest Posts - Color Chart - Smilies
09-26-17 06:34:20 PM

Jul - NSMB Hacking (Archive) - NSMB Editor 5 Downloads New poll - New thread - New reply
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14Next newer thread | Next older thread
BastarB
Member
Level: 14


Posts: 27/34
EXP: 10500
For next: 2571

Since: 01-21-10


Since last post: 7.0 years
Last activity: 6.0 years

Posted on 02-06-10 12:27:35 PM Link | Quote
Originally posted by dirbaio
Maybe your ROM is broken.
Try importing it into a very clean rom and test it on no$gba and flashcart.


I have already tried that without success! =/
Hiccup
Member
Disgustingly Naive Smartass
Level: 52


Posts: 175/727
EXP: 1082958
For next: 882

Since: 05-19-09


Since last post: 10 days
Last activity: 1 day

Posted on 02-06-10 12:55:24 PM Link | Quote
I think this happened to me once no success. Quick question what is the maximum time limit you can set in a level (that will work ingame)
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 359/-1288
EXP: NaN
For next: 0

Since: 07-28-09
From: Spain

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 02-06-10 01:07:05 PM Link | Quote
No idea. I have never tried it.
It is stored as a 16bit int, so the theoretical maximum would be 65536. but i dont know if the game likes more than 3 digits in the time... Test it!
BastarB
Member
Level: 14


Posts: 28/34
EXP: 10500
For next: 2571

Since: 01-21-10


Since last post: 7.0 years
Last activity: 6.0 years

Posted on 02-06-10 01:08:34 PM (last edited by BastarB at 02-06-10 01:41 PM) Link | Quote
Well damn it, this problem really bothering me, it's not that my level is "Outstanding" or something like that, it's just that it wouldn't be so fun if this happened when you have completed the editing process of a whole level, backups is the answer I quess. Is it possible to copy material from a level into another one? From one window to another? I tried it, and the level editor just crashed!=P
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 360/-1288
EXP: NaN
For next: 0

Since: 07-28-09
From: Spain

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 02-06-10 01:31:27 PM Link | Quote
yeah, that's one problem with the editor.
The clipboard is separate for every opened level... I will fix this ASAP.
BastarB
Member
Level: 14


Posts: 29/34
EXP: 10500
For next: 2571

Since: 01-21-10


Since last post: 7.0 years
Last activity: 6.0 years

Posted on 02-06-10 01:41:41 PM Link | Quote
Well, in a desperate try I copied COMPLETELY ALL hex-data from another dungeon-map of mine (that was originally created from 1-1 area 3), then I succeded to enter the problematic area, however, Ofcourse, I didn't enter at the right space since the edited Hex-data changed the location of the entrance, but the level "Worked" So it was related to some of the Hex-data I think, I'm not sure which one and in which data-block thou. Maybe I'm going to examine a copy of the problematic Area to point which setting in which specific block causes the level to freeze!=P
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 361/-1288
EXP: NaN
For next: 0

Since: 07-28-09
From: Spain

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 02-06-10 01:52:22 PM Link | Quote
yeah. cool idea.
If you still have a copy of the broken level, you can try copying back block by block and see what block is causing trouble... And once you know what block is, you can try to see what byte is...
It will definitely help to improve the editor because it seems its breaking the levels sometimes...
Ninji

Boomboom
Why did my user title say I'm a toaster anyway
Level: 83


Posts: 1438/1988
EXP: 5402871
For next: 29350

Since: 07-26-07
From: Rogueport

Since last post: 84 days
Last activity: 75 days

Posted on 02-06-10 02:11:45 PM Link | Quote
Blocks 1-5: settings
Block 6: entrances
Block 7: sprites
Block 8: views
Block 9: zones
Block 10 and 12: progress paths
Block 11 and 13: movement paths
Block 14: sprite sets

Once you figure out which block is breaking it, you can use this info to find out what it is.


dirbaio: What if you used the same method Reggie uses? Whenever you copy something, it's encoded into text (with a specific string at the start/end to identify it). Whenever the clipboard changes, the new text is checked for those strings and the paste button is enabled if it's valid.

I don't know how .NET handles the clipboard, but I think it would be a lot easier than storing a custom data type (it was far easier for me with Qt)
BastarB
Member
Level: 14


Posts: 30/34
EXP: 10500
For next: 2571

Since: 01-21-10


Since last post: 7.0 years
Last activity: 6.0 years

Posted on 02-06-10 04:43:40 PM Link | Quote
Originally posted by dirbaio
yeah. cool idea.
If you still have a copy of the broken level, you can try copying back block by block and see what block is causing trouble... And once you know what block is, you can try to see what byte is...
It will definitely help to improve the editor because it seems its breaking the levels sometimes...


Okey, now I was a little confused at first, but I soon noticed that it is a problem in both BLOCK 1 and BLOCK 5 that causes the level to crash. I seems that I have to replace the data in both Block 1 and 5 to be able to get the level to play correctly. Yet, I do not know which byte in the different blocks that causing trouble, I have to figure it out.
I'm very new when it comes to blocks and stuff, are BLOCK 1 and 5 in someway related to each other?


BastarB
Member
Level: 14


Posts: 31/34
EXP: 10500
For next: 2571

Since: 01-21-10


Since last post: 7.0 years
Last activity: 6.0 years

Posted on 02-06-10 05:33:59 PM (last edited by BastarB at 02-06-10 05:41 PM) Link | Quote
Okey, here is my results!

As I said in my above post, there was two different problems, both problems managed to crash the game, one of the problems was located in BLOCK 1 and the other one was located in BLOCK 5.

Here comes the data of BLOCK 1 that made my level crash:

00 00 00 00 2C 01 23 00 FF FF FF FF 23 00 FF FF FF FF FF 00(problem, change 00 to FF to fix) FF FF FF FF 00 00 07 00 00 00 00 00

Correct fixed data:

00 00 00 00 2C 01 23 00 FF FF FF FF 23 00 FF FF FF FF FF FF FF FF FF FF 00 00 07 00 00 00 00 00



Here comes the data of BLOCK 5 that made my level crash:

00 00 FF 00(problem, change 00 to FF to fix) FF 00 FF FF FF FF 02 00 02 00 00 00 00 00 00 00

Correct fixed data:

00 00 FF FF FF 00 FF FF FF FF 02 00 02 00 00 00 00 00 00 00

i don't know if these two problems are related to the camera or any other kind of settings, any suggestions?

Anyway I hope this info helps a bit^^

PSI Purple
Member
Level: 18


Posts: 37/60
EXP: 25509
For next: 4388

Since: 06-28-09
From: Onett, Eagleland

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 02-06-10 05:51:02 PM (last edited by Treeki at 02-06-10 06:10 PM) Link | Quote
Originally posted by Link 70222
It's not importing, it's exporting. I accidentally imported something that looks like crap as tiles and i'm trying to replace it with the original by taking it from a clean ROM. But I can't seem to do that...


Hm, looks like l'm having this quoted problem too. When l try to export a tileset, it gives an Unhandled Exception with a note of "The specified path is not of legal form." And it gives this little debugger info l cannot comprehend.


************** Exception Text **************
System.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetFullPath(String path)
at System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName)
at System.Drawing.IntSecurity.DemandWriteFileIO(String fileName)
at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
at NSMBe4.NSMBTileset.ExportGFX(String filename)
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)


(Couldn't stop it from stretching my post due to lack of BBC Code knowledge here. I'll Edit it away if no one likes it)
Ninji

Boomboom
Why did my user title say I'm a toaster anyway
Level: 83


Posts: 1440/1988
EXP: 5402871
For next: 29350

Since: 07-26-07
From: Rogueport

Since last post: 84 days
Last activity: 75 days

Posted on 02-06-10 06:12:35 PM Link | Quote
Originally posted by BastarB
Okey, here is my results!

As I said in my above post, there was two different problems, both problems managed to crash the game, one of the problems was located in BLOCK 1 and the other one was located in BLOCK 5.
I checked the bytes you mentioned.

The first one is unknown, we're not sure exactly what it does. The second one is the palette number for the top layer background.

Originally posted by PSI Purple
Hm, looks like l'm having this quoted problem too. When l try to export a tileset, it gives an Unhandled Exception with a note of "The specified path is not of legal form." And it gives this little debugger info l cannot comprehend.
I removed the unneeded bit from your post.

That crash is being caused by the filename the image is being saved as. I didn't write the code so I'm not sure exactly what's wrong, Dirbaio should know.
PSI Purple
Member
Level: 18


Posts: 38/60
EXP: 25509
For next: 4388

Since: 06-28-09
From: Onett, Eagleland

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 02-06-10 06:26:15 PM Link | Quote
Originally posted by Treeki
That crash is being caused by the filename the image is being saved as. I didn't write the code so I'm not sure exactly what's wrong, Dirbaio should know.


But the error comes up before anything tells me what to name it and where to save it. I don't think that's it for this situation.
Hiccup
Member
Disgustingly Naive Smartass
Level: 52


Posts: 177/727
EXP: 1082958
For next: 882

Since: 05-19-09


Since last post: 10 days
Last activity: 1 day

Posted on 02-07-10 06:16:47 AM Link | Quote
Is it possible to activate sprite 197 to destroy some blocks that stop you progress by defeating all enemies on screen a certain number of enemies ect something like that maybe with the event sprites/system?
BastarB
Member
Level: 14


Posts: 32/34
EXP: 10500
For next: 2571

Since: 01-21-10


Since last post: 7.0 years
Last activity: 6.0 years

Posted on 02-07-10 08:16:49 AM (last edited by BastarB at 02-07-10 09:19 AM) Link | Quote
The Gameicon and header info seems to be destroyed when the rom-file has been hacked. Which is the best tool to change the Game-icon back to the original state? Is this a bug in the editor that corrupts the icon?


EDIT: I succeded to edit the game-info and changed the game icon to the original one to my hacked rom using DSbuff v1 final. The rom file booted like normal, but when I entered one of my hacked levels, I got Black Screens.
If any of you guys know a way to edit the icon and header info without any issues, please tell me!!! =)
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 363/-1288
EXP: NaN
For next: 0

Since: 07-28-09
From: Spain

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 02-07-10 12:11:41 PM Link | Quote
Hi to everybody... Seems that the editor is too buggy

The problem with importing / exporting is that you first have to select the file you want to import / export to, and its path will go to the text box, and after click import or export. Yeah, I know, it's tricky. I really dont know why i coded it that way, but now i realize it's idiot. Next version will have that improved...

The problem with the icon / title is that the editor recognises the space for the icon / title as free space, so when you edit stuff, it puts files there, so it gets corrupted... If after that you revert it back to normal with whatever editor, it overwrites the file the editor put there (probably a level file, that's why your level crashes...) I'll fix it IMMEDIATLY

@BastarB, that's really weird. So your level worked before and it no longer works now because of that... I wonder if it's the editor that changed those FF's ???
Ninji

Boomboom
Why did my user title say I'm a toaster anyway
Level: 83


Posts: 1465/1988
EXP: 5402871
For next: 29350

Since: 07-26-07
From: Rogueport

Since last post: 84 days
Last activity: 75 days

Posted on 02-07-10 12:13:26 PM Link | Quote
Originally posted by dirbaio
@BastarB, that's really weird. So your level worked before and it no longer works now because of that... I wonder if it's the editor that changed those FF's ???
Well, one of them is from the background top layer setting. The other one is unknown.

I wish we know exactly why this game crashes so much
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 364/-1288
EXP: NaN
For next: 0

Since: 07-28-09
From: Spain

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 02-07-10 12:41:33 PM Link | Quote
well...
I wonder why the game doesnt like a 00 of top BG...
But the other byte is even stranger... Why did it change to 00? Or it was already 00 but it is incompatible with one of the newer settings?
Link 70222
Member
Level: 16


Posts: 15/47
EXP: 17671
For next: 2585

Since: 07-02-09


Since last post: 6.0 years
Last activity: 3.0 years

Posted on 02-07-10 12:50:26 PM Link | Quote
Originally posted by dirbaio


The problem with importing / exporting is that you first have to select the file you want to import / export to, and its path will go to the text box, and after click import or export. Yeah, I know, it's tricky. I really dont know why i coded it that way, but now i realize it's idiot. Next version will have that improved...



That only works with exporting, it seems. When I try it with importing, it says " The given was not present in the dictionary." Which is strange, because importing was the only thing that used to work for me.
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 365/-1288
EXP: NaN
For next: 0

Since: 07-28-09
From: Spain

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 02-07-10 12:58:58 PM Link | Quote
well, that's ANOTHER problem, related to the process to convert images to paletted images, i guess it's related to alpha. Check that you have no semi-transparent pixels in your image...

I'll try to fix it ASAP but i can't do it if i dont know why it happens. Can you send me the PNG image that produces the error to yosoydario@gmail.com?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14Next newer thread | Next older thread
Jul - NSMB Hacking (Archive) - NSMB Editor 5 Downloads New poll - New thread - New reply




Rusted Logic

Acmlmboard - commit 2f1bc75 [2017-08-27]
©2000-2017 Acmlm, Xkeeper, Inuyasha, et al.

30 database queries, 9 query cache hits.
Query execution time: 0.164413 seconds
Script execution time: 0.015942 seconds
Total render time: 0.180355 seconds