(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-19-24 01:19 PM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Call to make a new, LM-like SMW editor
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
Sukasa
Posts: 193/2068
To be honest, I htink that most people are too occupied with christmas and their jobs and that... I think there is a lot of interest, but it's just been swept under the table because of the holidays.
FreeDOS +
Posts: 135/1312
K, a question for you guys: Is there any point for doing this or what? There should be plenty of resources on this board for making a full-blown editor, but no interest.

With the winter quarter in college about to start, I have just about no time to work on it.
HyperHacker
Posts: 253/5072
Originally posted by Kailieann
Originally posted by HyperHacker
If we use Fu's hacks, though, we restrict functionality and run into possible copyright issues.


I'm trying to say something clever about this statement in a rom-hacking forum, but I can't stop laughing about it.

Yeah, it's not likely, but since Fu wrote the code, you never know. I don't mean like the FBI is going to bust down your door for copying some ASM hacks without permission, but if nothing else Fu may be rather ticked.
Yoshi Master
Posts: 12/82
Well, peter, I don't know much at all about making editors or anything related to the project but, I could test it for bugs and other kinds of glitches. This would rock, I can see it now... Yoshi Master's mario all-stars!... Yeah, that would kick ass...
Sukasa
Posts: 67/2068
Copyright issues over ASM hacks for SMW?

riiiiiiiiiiiight. anyways, it shouldn't really be a problem, otherise why would they be made available for everyone to use in their hacks?
Squash Monster
Posts: 66/296
FreeDOS is right. Just because the entire lot of us are a bunch of scofflaws, it doesn't mean that what we do is /inately/ illegal.

That MWL format looks pretty juicy, good post, S Hacker.

Do you know the format of the actual level data type stuff inside that file?

I'll take a good look inside a file in a few minutes myself. I suspect the actual level data format should be very familiar...

EDIT: Okay, looking at the file LM saves when you export level 105 out of an unmodified ROM, which should presumably come out the same for everyone. Want to verify that I'm reading this right... does the layer one data start out "33 40 08 80 27 58 10 BF 77"?
FreeDOS +
Posts: 102/1312
ROM hacking doesn't necessarily have anything to do with illegal actions. You can have your own homemade dump and everything's legal. Distribute IPS patches and you won't distribute any of the original ROM either.
Kailieann
Posts: 131/808
Originally posted by HyperHacker
If we use Fu's hacks, though, we restrict functionality and run into possible copyright issues.


I'm trying to say something clever about this statement in a rom-hacking forum, but I can't stop laughing about it.
HyperHacker
Posts: 240/5072
If we use Fu's hacks, though, we restrict functionality and run into possible copyright issues.

Also, when values 8-F are the same as 0-7, it means the value is really only 3 bits.
Pac
Posts: 52/804
Originally posted by Smallhacker
I needed this back when I in secret was working on a program which converts SMB levels into MWLs.


Damn it Smallhacker. _¬ I thought it was supposed to stay secret.


Originally posted by Yoshi master
Possibly make an editor able to edit all the games in mario all-stars + SMW. I don't see that happening, but it would rock!


True, that would be pretty cool. Really though, would that be so difficult to make? I mean, hasn't enough data on SMB1, SMB2j, SMB2usa and SMB3 already been found? I'll help out with finding level offsets if enough people are interested in giving this new editor SMAS support. Is anybody up for it?
Smallhacker
Posts: 117/832
It's easier to begin messing with MWLs. This is copied and pasted from a PM sent by FuSoYa:



Just the basic outline that I typed out for myself when I made it.
It's essentially just a container format, and consists of a header,
an optional comment, and the offset/size list that describes where
in the file each section of data is and how many bytes it has. The
data sections themselves are in the same format as you'd find in the
ROM (except for a few extra header bytes).

*New MWL format*

First two letters are "LM", then 2 bytes (WORD) for version number.
4 bytes for offset of offset table, 4 bytes for size of offset table.
4 bytes extra flags (reserved).

Optional Data (comment field)
Lunar Magic x.xx
©2000-2003FuSoYa
Defender of Relm

Now the offset & size pair list (each value is 4 bytes):

1 Level Number + 5 bytes Entrance Data + 17 extra bytes for future stuff
2 layer 1 level data (should have 8 byte header: 4 for flags, 4 for orig ROM address)
3 layer 2 BG/level data '''
4 sprite data '''
5 palette data '''
6 secondary exit list
7 animated data '''
8 Super ExGFX bypass


I needed this back when I in secret was working on a program which converts SMB levels into MWLs.
Sukasa
Posts: 57/2068
Hmmm... I could try for that. FreeDOS got some good stuff, but it should be fun to try and decode the rest of the header... .mwl storm, here I come!
FreeDOS +
Posts: 95/1312
If anyone cares, here's what I got within the three days I was working on it..


Super Mario World, reverse engineering documentation
- collecting for libsmwhax

INFO OR STUFF
Basically, I'm haxing SMW myself with only KHexEdit as my guide. It's a
difficult project, but someday I'll find it to have paid off

TECH STUFF
Yoshi's Island 1 - begins around 0x30ad0, ends ???
Yoshi's Island 2 - begins around 0x30c30, ends ???
LEVEL FORMAT
Exact format not yet known
Change the first four bits of 0x30adf affects music that is played in Yoshi's Island 1 (doesn't fit for other levels)
0 - Plains music (Nintendo's original setting)
1 - Cave music
2 - "Sky" level music (eg, Yoshi's Island 3)
3 - Castle music
4 - Ghost house music
5 - Water music
6 - Boss fight music
7 - Bonus level music (eg, 100 bonus points)
8-f - Cycles in the same order
Squash Monster
Posts: 58/296
What would the button do?

Replace the selected level with whatever the program feels like at the moment.

...That is to say, Ailure gets a happy smile point for being right about random level generators.


Sukasa was asking for what to start with?

Personally, I'd recomend pinning down the game's level format.
Ailure
Posts: 193/2602
You know, if there is ever a open source editor SMW in a usable state, I might make a such button.

Though, as everyone know... random, or at least... semi-random levels are boring.

Not impossible to do, and there is already a such concept with other games... such as doom. But thoose levels tend to be... sucky. :/
MathOnNapkins
Posts: 92/1106
Originally posted by Sukasa
and how would I do that?

I can't even remember where every version of SMW is on the drive, nor can I get any viruses onto it, no internet on it...

Meh, I'll just start making lists on certain things.


I was talking to Twinklestar.

"Do my hack for me" button? What EXACTLY would that do?
Smallhacker
Posts: 109/832
I can still give some help if it's needed.
Sukasa
Posts: 56/2068
and how would I do that?

I can't even remember where every version of SMW is on the drive, nor can I get any viruses onto it, no internet on it...

Meh, I'll just start making lists on certain things.
MathOnNapkins
Posts: 91/1106
The obvious answer is to delete all copies of SMW on your HD and infect all your programs with malicious virii.
Sukasa
Posts: 50/2068
So, uh, what do you guys want me to do right now?

I'm going on Xmas holidayz soon, so I should be able to keep up with some of what I should be doing here (KATW, i'm looking at Tpo100Tv2).
This is a long thread. Click here to view it.
Acmlm's Board - I3 Archive - ROM Hacking - Call to make a new, LM-like SMW editor


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.003 seconds; used 366.72 kB (max 432.30 kB)