News Forums IRC Wiki Riivolution Reggie! NSMBW Depot

RVLution

A RVLution is on the horizon.

Skip to content

[WIP] LayoutStudio - editor for NW4R layouts

[WIP] LayoutStudio - editor for NW4R layouts

Postby Treeki on Sun Aug 05, 2012 4:40 pm

Working towards my second publicly released app - I figured I'd make a thread for it instead of posting more stuff about it in the Newer discussion thread!

LayoutStudio is (well, will be) a nice graphical editor for NW4R layouts (.brlyt/.brlan files). This includes the menus and interfaces in NSMBW, the Wii sysmenu channel banners (though these use a different version of the format which I don't quite support yet) and interface elements/menus in many, many other games.

What I've got down so far:
- Reading and writing for .brlyt files (no brlan yet)
- Loading and saving .arc files, and seeing the contents (interface for this still needs a bit of polish)
- Basic renderer for layouts that supports Pictures and Windows with some settings, and simple materials
- The start of an interface for editing layout data

And what's left (that I can think of right now):
- Layout Editor: Integrate the renderer so it can preview edited layouts; add/remove panes; pane search; editing of pane properties; editing of materials; editing of groups
- Animation editing
- Renderer: Windows with 8 frame components[needs testing]; textboxes (depends on Fonts); better material support
- Textures: Support for all texture formats; saving of tpl files; graphical interface for editing
- Fonts: Everything. Reading, writing, editing. I'm thinking about skipping on the latter two and just adding Import and Export brfnt files
- A way to load textures and fonts that aren't contained within the same arc as the layout - NSMBW uses this on textures for a couple of layouts, and ALL the fonts

Current screenshot as of.. a few minutes ago: http://treeki.rustedlogic.net/ls_scenegraph.png
Source code: http://www.github.com/Treeki/LayoutStudio

This app is fully open source - I push changes the day I write them - and runs on Windows, Linux and Mac OS (but is only regularly tested on Linux). You can compile it using Qt and try it out if you like... but it doesn't really do anything useful for editing yet!
Treeki:
Reggie! developer
Ashamed File Depot developer
Newer Super Mario Bros. Wii team member: hacks, reverse-engineering, custom code, tools, hype, plus a bit of everything else
Treeki
 
Posts: 581
Joined: Tue Dec 01, 2009 1:20 am
Location: Rogueport

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Andy Afro on Sun Aug 05, 2012 7:13 pm

WOW will make editing those files alot easier
Andy Afro
 
Posts: 156
Joined: Sat Oct 08, 2011 7:25 pm

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby JasonP27 on Mon Aug 06, 2012 2:34 am

Can't wait for a working version of this to be released!

If and when you implement brlan editing, will you be all the frame/pane modes i.e. RLPA, RLTP etc?

This is really cool and can really make editing these much easier even if it only just helps with some of it.

Will LS support conversion of brlyt<->xmlyt and brlan<->xmlan as well? more or less either build the function into LS or be able to point LS to the location of Benzin.exe and LS does the work for you? :)
User avatar
JasonP27
 
Posts: 1066
Joined: Tue Jul 27, 2010 8:22 am
Location: Australia

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Treeki on Mon Aug 06, 2012 12:36 pm

Yes, I'd like to eventually support editing for everything in the format, and rendered previews for as much as possible.


Xmlyt/xmlan won't be supported, LS just reads and writes the brlyt/brlan files directly.
Treeki:
Reggie! developer
Ashamed File Depot developer
Newer Super Mario Bros. Wii team member: hacks, reverse-engineering, custom code, tools, hype, plus a bit of everything else
Treeki
 
Posts: 581
Joined: Tue Dec 01, 2009 1:20 am
Location: Rogueport

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby JasonP27 on Mon Aug 06, 2012 12:43 pm

Treeki wrote:Yes, I'd like to eventually support editing for everything in the format, and rendered previews for as much as possible.


Xmlyt/xmlan won't be supported, LS just reads and writes the brlyt/brlan files directly.

OK I only asked because if there is some kind of edit that needs to be done to the files manually because it's not supported in LS then it would be easy to be able to save in that format... but then again I suppose you may just support manually editing the code inside LS?
User avatar
JasonP27
 
Posts: 1066
Joined: Tue Jul 27, 2010 8:22 am
Location: Australia

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Treeki on Mon Aug 06, 2012 1:08 pm

I'm going to make every available property editable through the interface, even if it can't be previewed. I'd like to avoid the mess surrounding xmlyt/xmlan files (different versions of Benzin sometimes use different formats IIRC, and it includes quite a few tags which are missing names or don't even map to actual properties and are just padding bytes).
Treeki:
Reggie! developer
Ashamed File Depot developer
Newer Super Mario Bros. Wii team member: hacks, reverse-engineering, custom code, tools, hype, plus a bit of everything else
Treeki
 
Posts: 581
Joined: Tue Dec 01, 2009 1:20 am
Location: Rogueport

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Mario64 on Mon Aug 06, 2012 1:21 pm

WOO!!! I can't wait to make awesome animations! P.S. How do you edit animations and things inside .bin files?
I'm Mario64. I'm looking for level designers to join my hack, You Super Mario Bros. Me! PM me if you want to apply!

Visit my forum! http://www.youmemario.freeforums.org/

Image
My youtube account: http://www.youtube.com/user/mrpraprith
User avatar
Mario64
 
Posts: 572
Joined: Sat Apr 21, 2012 5:19 pm
Location: My House!

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Treeki on Sat Aug 18, 2012 2:56 am

It's been quite a while since I last posted here, but I've been working hard on it and pushing changes most days! What's new?

You can rearrange panes by dragging them around the tree - including those with child panes. You can't add new ones or delete existing ones yet, but that's coming.

I've done various fixes to the renderer, and I've made it display in a separate window when a layout is opened. And as from tonight, you can view and edit the generic Pane properties! I've still got to add the stuff specific to various types (Picture, TextBox, Window) and materials, so there's a way to go, but this is still some exciting progress. And you can't save yet... but that's just because I haven't added a save button to the layout window, but all the logic for creating brlyt files is in there. I'll add it eventually.

Here's a new screenshot: http://dl.dropbox.com/u/4558613/LS_rotatedPauseMenu.png

And as always, the latest source is up for anyone who wants to give this a shot.
Treeki:
Reggie! developer
Ashamed File Depot developer
Newer Super Mario Bros. Wii team member: hacks, reverse-engineering, custom code, tools, hype, plus a bit of everything else
Treeki
 
Posts: 581
Joined: Tue Dec 01, 2009 1:20 am
Location: Rogueport

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby JasonP27 on Sat Aug 18, 2012 6:13 am

Treeki you are a LEGEND. This is gonna be so awesome!... it already is by the looks of it and it's not near finished yet :lol:

I might have to figure out how to compile this to check it out :D
User avatar
JasonP27
 
Posts: 1066
Joined: Tue Jul 27, 2010 8:22 am
Location: Australia

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Treeki on Sat Aug 18, 2012 11:56 pm

New today so far: Fixed a couple of bugs, added key shortcuts for the stuff in the File menu and started working on the editor for Picture properties.

The bulk of the work today has been on an editor for the texture coordinate sets... Now I can reuse that when I need to use them, though (I know I'll need them for windows as well)


And of course, a screenshot: http://dl.dropbox.com/u/4558613/LS_pictureTexCoords.png
Treeki:
Reggie! developer
Ashamed File Depot developer
Newer Super Mario Bros. Wii team member: hacks, reverse-engineering, custom code, tools, hype, plus a bit of everything else
Treeki
 
Posts: 581
Joined: Tue Dec 01, 2009 1:20 am
Location: Rogueport

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Mario64 on Sun Aug 19, 2012 12:49 am

Thanks, Treeki. This is gooonna be good. (gets evil look in face)
I'm Mario64. I'm looking for level designers to join my hack, You Super Mario Bros. Me! PM me if you want to apply!

Visit my forum! http://www.youmemario.freeforums.org/

Image
My youtube account: http://www.youtube.com/user/mrpraprith
User avatar
Mario64
 
Posts: 572
Joined: Sat Apr 21, 2012 5:19 pm
Location: My House!

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby max31 on Thu Aug 23, 2012 6:29 am

That program can open animations for blocks?
Hi I'm a french and I create tilesets and sometimes few backgrounds, I also make logos.
P.S. : Sorry if my english has some mistakes, I improve it every day.
User avatar
max31
 
Posts: 703
Joined: Fri Jan 13, 2012 4:46 pm
Location: France

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Treeki on Sat Aug 25, 2012 3:17 am

max31 wrote:That program can open animations for blocks?
No, block animations have nothing to do with this...



Anyway, thought I'd post here. I know I've been slacking a bit but I've been busy and over the past few days I haven't really had enough time at my computer uninterrupted to work on this. :| That's hopefully over now...

Today's update brings editing of vertex colours (well, actually something I did the other day but didn't get around to pushing) and also proper rendering of them. Now to figure out if I can get QColorDialog to edit alpha values...
Treeki:
Reggie! developer
Ashamed File Depot developer
Newer Super Mario Bros. Wii team member: hacks, reverse-engineering, custom code, tools, hype, plus a bit of everything else
Treeki
 
Posts: 581
Joined: Tue Dec 01, 2009 1:20 am
Location: Rogueport

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby max31 on Wed Aug 29, 2012 2:00 pm

Ok thank you :)
Hi I'm a french and I create tilesets and sometimes few backgrounds, I also make logos.
P.S. : Sorry if my english has some mistakes, I improve it every day.
User avatar
max31
 
Posts: 703
Joined: Fri Jan 13, 2012 4:46 pm
Location: France

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Shane2100AD on Mon Sep 10, 2012 4:07 pm

Will this be able to edit all .brylt files, like those in MKWii?

Thanks,
Shane.
2012: The biggest financial scam of the 21st century.
Shane2100AD
 
Posts: 26
Joined: Thu Sep 06, 2012 2:37 am

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Adrian971226 on Wed Dec 05, 2012 5:12 am

How do I compile this?
A lover of NSMBW hacking and Minecraft modding. ;)
User avatar
Adrian971226
 
Posts: 164
Joined: Tue Jan 17, 2012 10:48 am
Location: Acorn Plains' computer.

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby JasonP27 on Wed Dec 05, 2012 7:31 am

Treeki wrote:You can compile it using Qt


Did you bother reading the first post??
User avatar
JasonP27
 
Posts: 1066
Joined: Tue Jul 27, 2010 8:22 am
Location: Australia

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Adrian971226 on Wed Dec 05, 2012 9:03 am

Yes, I downloaded qt, but then??
A lover of NSMBW hacking and Minecraft modding. ;)
User avatar
Adrian971226
 
Posts: 164
Joined: Tue Jan 17, 2012 10:48 am
Location: Acorn Plains' computer.

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby Mario64 on Fri Dec 07, 2012 10:42 pm

We're not all Python experts.
I'm Mario64. I'm looking for level designers to join my hack, You Super Mario Bros. Me! PM me if you want to apply!

Visit my forum! http://www.youmemario.freeforums.org/

Image
My youtube account: http://www.youtube.com/user/mrpraprith
User avatar
Mario64
 
Posts: 572
Joined: Sat Apr 21, 2012 5:19 pm
Location: My House!

Re: [WIP] LayoutStudio - editor for NW4R layouts

Postby JasonP27 on Sat Dec 08, 2012 5:34 am

someone asks how to do it, I didn't know they expected a full fledged tutorial... I haven't compiled LayoutStudio or I'd give you the details. There is however, this thing called Google. It works wonders for stuff like this...
User avatar
JasonP27
 
Posts: 1066
Joined: Tue Jul 27, 2010 8:22 am
Location: Australia

Next

Return to General Game Modding

Who is online

Users browsing this forum: No registered users and 1 guest