Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,415,077
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-16-24 02:43 PM
Guest: Register | Login

0 users currently in ROM Hacking Related Releases | 1 guest

Main - ROM Hacking Related Releases - Reuben - DD's SMB3 Editor Released! New thread | Thread closed

Pages: 1 2 3

KP9000
Posted on 07-22-11 07:38 PM (rev. 3 of 07-22-11 07:56 PM) Link | Quote | ID: 145401


Boomboom

Level: 90

Posts: 1741/1975
EXP: 6947897
Next: 240712

Since: 02-19-07

Last post: 3570 days
Last view: 3194 days


So it's been a while since we've heard from DD, but he popped in here some days ago and released what he had completed.

This is the official thread to talk about the editor, its bugs, further development, and workarounds regarding the special Reuben ROM needed to use this.

The Editor - This editor is open source! That means further development can continue, if someone is so inclined to do so. It's project based, which means everything is written to the ROM only when you're ready to test it out. Everything is saved into project files. Coded in C#.




Download (Source)

The ROM

<KP9000> I can't link the SMB3 ROM that DD uses for his Reuben editor
<Kawa> With the nature of that ROM, I don't think a patch would solve any problems.
<Kawa> I therefore move to invoke the Sonic Rule.
<Kawa> "IPS patch would contain too much of the original shifted
around or something like that, so just post the goddamn ROM."
<Kawa> Sonic hacking is done on the ASM level, with a disassembly
and split-out graphics and other such data, so you get shifting.

This is the special ROM needed for the editor to write to. It contains the new level loading code, as well as being expanded to use the MMC5 mapper. It uses 768kB of PRG and 512kB of CHR. There are some things that this ROM doesn't have because of the change of level format. The data may still be there, or it might need to be re-created. I'm leaning toward the latter.

  • N-card doesn't work. (Sprite makes you enter the pointer it's sitting on)
  • No pre-ship castle scene
  • No post-ship castle scene
  • No "Letter from Princess" scene
  • No "Anchor's Away" scene
  • Mushroom Houses need to be set up manually
  • Spade Bonus doesn't work
  • Hammer Bros, Special Mushroom House, Coin Ship untested
  • No lock support from editor. Manual only. Untested.
  • Level sprites (pihrana, W8 trap, etc) untested
There are some known bugs.

- Sometimes, when you enter doors, the level data on the screen will appear to split in half vertically and reverse its left and right positions. Sometimes it affects where you end up, but usually it's just a visual bug.
- When you press B on the map screen to bring up your items, and then press B again to return, the game uses the default blue/white/black palette rather than the one you specified in the editor.
- As you advance to the next world (which will be buggy because the lack of level data for the castle and princess letter screens, but still works) you will be placed on the spot you specified for that world. But if you don't complete the first level on that same try, the game will place you on a spot on the map that wasn't the same as the first spot you specified, unless you chose a spot on the map that is the same as the game's default start space.
- If you get a game over at any time, the game will place you on the original game's start space for the world you're on. This will likely cause you to not be able to move at all.

There are probably more bugs, but I can't remember them.

Download ROM


____________________

Kawa
Posted on 07-22-11 08:04 PM Link | Quote | ID: 145403


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 4966/5344
EXP: 30920592
Next: 742389

Since: 02-20-07
From: The Netherlands

Last post: 4488 days
Last view: 2623 days
And for those who have no use for the source files, take this:
http://acmlm.kafuka.org/uploader/get.php?id=3979

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Fx3
Posted on 07-23-11 04:42 AM Link | Quote | ID: 145412


Micro-Goomba
Level: 9

Posts: 5/11
EXP: 2664
Next: 498

Since: 09-06-09

Last post: 4648 days
Last view: 4642 days
I need a tutorial. The interface is too simple and lacks basic info. There's no clear info about how to start a new level. I've just found a lot of messed up tiles as a CHR buffer.

GreyMaria
Posted on 07-23-11 05:57 AM (rev. 3 of 07-23-11 06:38 AM) Link | Quote | ID: 145414

>implying even the Japanese understand the Japanese
Level: 105

Posts: 2631/2851
EXP: 11911240
Next: 351020

Since: 07-13-07

Last post: 4487 days
Last view: 4457 days
I tried compiling this; it miserably failed, with no ability to view placeable tiles properly.

What the hell did I do wrong?


E: Basically, it does this.



E2:
<21:38.13> <GreyMario> additionally
<21:38.24> <GreyMario> the whole tooltip failure to undraw properly bug
<21:38.26> <GreyMario> is still a thing
<21:38.28> <GreyMario> even after all these months


____________________
we're currently experiencing some technical difficulties

Fx3
Posted on 07-23-11 07:53 AM Link | Quote | ID: 145422


Micro-Goomba
Level: 9

Posts: 6/11
EXP: 2664
Next: 498

Since: 09-06-09

Last post: 4648 days
Last view: 4642 days
Same here, you did nothing.

KP9000
Posted on 07-23-11 08:11 AM Link | Quote | ID: 145423


Boomboom

Level: 90

Posts: 1742/1975
EXP: 6947897
Next: 240712

Since: 02-19-07

Last post: 3570 days
Last view: 3194 days


It seems that the TSA file that Reuben uses by default is not being read correctly. It works fine with existing projects but when you start a new one you get garbage. We shall see if I can find one that works from an old version of Reuben, or when the next time DD shows up he can provide one. Or someone can look at the source and fix it.

Theoretically, you should still be able to use it, but you will need to completely reconstruct the TSA definitions before you even start using your tiles.

____________________

GreyMaria
Posted on 07-24-11 05:12 AM Link | Quote | ID: 145450

>implying even the Japanese understand the Japanese
Level: 105

Posts: 2636/2851
EXP: 11911240
Next: 351020

Since: 07-13-07

Last post: 4487 days
Last view: 4457 days
Thanks to an inspection by KP9000 sparked by my suggestion to check the Graphics Editor, we've discovered that default.chr has a 16-byte header, causing the graphics bug I demonstrated in my previous post.

Deleting the first 0x10 bytes of this file and recompiling will cause all new projects to display correctly.

Copy Daiz.NES.Reuben.ProjectManagement.dll into your Reuben installation to fix the problem if you don't want to recompile.

If you compile from source, or if you are DahrkDaiz, copy default.chr into Daiz.NES.Reuben.ProjectManagement\Resources\ and recompile to fix this bug.

____________________
we're currently experiencing some technical difficulties

Fx3
Posted on 07-24-11 07:18 AM Link | Quote | ID: 145452


Micro-Goomba
Level: 9

Posts: 7/11
EXP: 2664
Next: 498

Since: 09-06-09

Last post: 4648 days
Last view: 4642 days
A bug?

1. Create a new project.
2. A new level.
2. Double click on it (its name at right box).

Should give an exception error. Sorry for some portuguese words!


System.ArgumentOutOfRangeException: O valor '75' não é válido para 'Value'. 'Value' deve estar entre 'Minimum' e 'Maximum'.
Nome do parâmetro: Value
em System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
em Daiz.NES.Reuben.LevelEditor.GetLevelInfo(Level l)
em Daiz.NES.Reuben.LevelEditor.EditLevel(Level l)
em Daiz.NES.Reuben.ReubenController.EditLevel(LevelInfo li)
em Daiz.NES.Reuben.ProjectView.Open()
em Daiz.NES.Reuben.ProjectView.TrvProjectView_DoubleClick(Object sender, EventArgs e)
em System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
em System.Windows.Forms.TreeView.WndProc(Message& m)
em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Kawa
Posted on 07-24-11 01:12 PM (rev. 5 of 07-24-11 02:27 PM) Link | Quote | ID: 145455


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 4977/5344
EXP: 30920592
Next: 742389

Since: 02-20-07
From: The Netherlands

Last post: 4488 days
Last view: 2623 days
Gonna rehash my request from SMRPG hacking: please stop when you reach the framework's inner workings. "Daiz.NES.Reuben.ProjectView.TrvProjectView_DoubleClick(Object sender, EventArgs e)" is the last relevant part.

In other related news, isn't it great how exception names aren't translated? I can tell from the exception name, the '75' and the topmost method in the call stack that it's trying to set a spinner to an off-band value, probably too high.

I can't promise a fix, but I can promise an investigation.

Update: LevelEditor.cs, line 261
NumSpecials.Value = (decimal)CurrentLevel.Settings.ItemTransparency;

ItemTransparency is 75. NumSpecials ranges from 0 to 1. I suppose this should've been scaled? But do I set it to ItemTransparency / 100 (so it becomes 0.75, which is in range) or do I set NumSpecials.Maximum to 100, so it becomes a percentage? I'm gonna try the former first.

Update: I've just played my first testing level, and what I used seems to be working fine.

...but I don't think you should place a goal card in the top left corner:

It seems gravity is not an issue when Mario grabs it.

Update: http://acmlm.kafuka.org/uploader/get.php?id=3984 <-- most recent build as of just now.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Fx3
Posted on 07-24-11 05:32 PM (rev. 2 of 07-24-11 05:59 PM) Link | Quote | ID: 145460


Micro-Goomba
Level: 9

Posts: 8/11
EXP: 2664
Next: 498

Since: 09-06-09

Last post: 4648 days
Last view: 4642 days
It seems fixed. Thank you and sorry the foreign language mixed there.

EDIT: Pardon my ignorance, but how do I save the project? I've found only an option to create the ROM, but it didn't save any of my work, lost project.

Trelior
Posted on 07-24-11 09:42 PM Link | Quote | ID: 145464


Level: 99

Posts: 2520/2602
EXP: 9746644
Next: 253356

Since: 07-12-09

Last post: 4487 days
Last view: 4474 days
The way it was explained to me, Kawa, was that since programming uses its own language and syntax, things written in a normally written/spoken language within code are ignored due to being named variables, and all that.

/OffTopic

Kawa
Posted on 07-24-11 09:47 PM Link | Quote | ID: 145465


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 4978/5344
EXP: 30920592
Next: 742389

Since: 02-20-07
From: The Netherlands

Last post: 4488 days
Last view: 2623 days
Posted by Fx3
Pardon my ignorance, but how do I save the project? I've found only an option to create the ROM, but it didn't save any of my work, lost project.
When you make a new project, notice how it asks for a file name to save as -- an .rbn file. When you're done with a level or world map, click the Save button, the blue floppy disk, just under "Debug".

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Fx3
Posted on 07-25-11 04:22 AM (rev. 2 of 07-25-11 04:22 AM) Link | Quote | ID: 145474


Micro-Goomba
Level: 9

Posts: 9/11
EXP: 2664
Next: 498

Since: 09-06-09

Last post: 4648 days
Last view: 4642 days
It's not saving the ROM. It doesn't write a new ROM (crash), neither creating a new one.

Kawa
Posted on 07-25-11 10:06 AM Link | Quote | ID: 145491


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 4982/5344
EXP: 30920592
Next: 742389

Since: 02-20-07
From: The Netherlands

Last post: 4488 days
Last view: 2623 days
You've got your project, and you've got your ROM. Reuben does not edit the ROM, only the project. When you pick Project/Compile, you gotta enter a file to save as, yes?

That should be an existing file. Specifically, the Reuben base ROM, or an earlier compilation.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Fx3
Posted on 07-25-11 04:59 PM (rev. 2 of 07-25-11 05:06 PM) Link | Quote | ID: 145492


Micro-Goomba
Level: 9

Posts: 10/11
EXP: 2664
Next: 498

Since: 09-06-09

Last post: 4648 days
Last view: 4642 days
Ah, ok. Something's wrong: I've create 1 world and 1 level, created the world map with the pointers ok... but the ROM doesn't work. I tested in two emulators and they're the same. The screen is scrambled and gets locked after a few seconds.

Yup, I used the ROM that came with Reuben.

GreyMaria
Posted on 07-26-11 12:30 AM Link | Quote | ID: 145503

>implying even the Japanese understand the Japanese
Level: 105

Posts: 2638/2851
EXP: 11911240
Next: 351020

Since: 07-13-07

Last post: 4487 days
Last view: 4457 days
If I were you, I'd make sure I clicked "save" on First World before trying to compile the ROM.

This may or may not be the problem. I don't know.

____________________
we're currently experiencing some technical difficulties

Fx3
Posted on 07-26-11 02:37 AM Link | Quote | ID: 145508


Micro-Goomba
Level: 9

Posts: 11/11
EXP: 2664
Next: 498

Since: 09-06-09

Last post: 4648 days
Last view: 4642 days
It's unrelated. Are you getting a correct ROM after creating a level?

Kawa
Posted on 07-26-11 11:12 AM Link | Quote | ID: 145516


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 4984/5344
EXP: 30920592
Next: 742389

Since: 02-20-07
From: The Netherlands

Last post: 4488 days
Last view: 2623 days
I did, judging from the screenshot. I remember GM talking like he did too.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Kawa
Posted on 07-31-11 07:15 PM Link | Quote | ID: 145602


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 5003/5344
EXP: 30920592
Next: 742389

Since: 02-20-07
From: The Netherlands

Last post: 4488 days
Last view: 2623 days
http://acmlm.kafuka.org/uploader/get.php?id=3989

Fixes the bug where toggling the start position indicator doesn't refresh the level view if you have pointer display disabled at the time.

I'm planning to go over all the forms and other control containers in the project to give it sensible tab ordering, and making sure forms that shouldn't be resizable aren't.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

GreyMaria
Posted on 07-31-11 08:41 PM Link | Quote | ID: 145603

>implying even the Japanese understand the Japanese
Level: 105

Posts: 2646/2851
EXP: 11911240
Next: 351020

Since: 07-13-07

Last post: 4487 days
Last view: 4457 days
While you're at it, be a dear and fix all of the places where canvases don't redraw properly.

Like, literally anywhere you can get a tooltip.

~<3

____________________
we're currently experiencing some technical difficulties
Pages: 1 2 3


Main - ROM Hacking Related Releases - Reuben - DD's SMB3 Editor Released! New thread | Thread closed

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.028 seconds. (335KB of memory used)
MySQL - queries: 78, rows: 108/110, time: 0.017 seconds.