Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,491,094
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-27-24 04:32 AM
Guest: Register | Login

0 users currently in ROM Hacking | 2 guests | 2 bots

Main - ROM Hacking - SMB3 Music Inserter - WIP Release (beta 1.3) New thread | New reply

Pages: 1 2 3

JaSp
Posted on 12-12-09 02:39 PM Link | Quote | ID: 122240


Shyguy
Level: 24

Posts: 57/95
EXP: 73292
Next: 4833

Since: 03-02-07
From: Paris, France

Last post: 4351 days
Last view: 4146 days
So far I believe you'll have to manually edit your music slot from your levels' headers via hex.
The correct order should be this :
- compile your ROM from Reuben
- patch it with the music ips from smb3mi
- insert songs with smb3mi
- replace the music bytes via hex to get the proper songs to load


Sorry for not having updated anything for a long time, I've been very busy recently and it's not likely to change for the coming weeks/months...

KP9000
Posted on 12-13-09 01:49 AM Link | Quote | ID: 122343


Boomboom

Level: 90

Posts: 1173/1975
EXP: 6953758
Next: 234851

Since: 02-19-07

Last post: 3581 days
Last view: 3204 days


Success!

Thanks, I appreciate the help, there.

____________________

messiaen
Posted on 12-16-09 05:23 PM Link | Quote | ID: 123090


Cheep-cheep
Level: 32

Posts: 158/193
EXP: 204464
Next: 1978

Since: 05-26-08
From: Porto Alegre, Brazil

Last post: 4444 days
Last view: 4772 days
Do you plan releasing the source code for this? I'm interested in learning about MusicXML for similar music hacking purposes and I'm also considering learning some C#. XML parsing is still something I haven't tried, though, are there good libraries for this in C#? Doing it in C (which is basically what I know) seems not so trivial.

Anyway, great work on this.

Kawa
Posted on 12-16-09 06:06 PM Link | Quote | ID: 123096


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

Posts: 3009/5344
EXP: 30946679
Next: 716302

Since: 02-20-07
From: The Netherlands

Last post: 4499 days
Last view: 2634 days
http://www.recordare.com/xml.html. The .Net Framework has built-in XML support, and LINQ can help walk the DOM.

____________________
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

JaSp
Posted on 12-18-09 04:10 PM Link | Quote | ID: 123314


Shyguy
Level: 24

Posts: 58/95
EXP: 73292
Next: 4833

Since: 03-02-07
From: Paris, France

Last post: 4351 days
Last view: 4146 days
No problem for the source, however as I've learned to program by myself, it's probably the worst optimized and designed program ever let alone poorly commented

source for the MusicXML converter

I used the .NET XPath library for XML, it might not be the best way to efficiently do this, but it was the most humanly understandable for me (as you can write the actual path in plain text for your nodes and elements)

by the way, about the MIDI converter, I thought it would be kinda easy to do, but I've encountered some compatibility problems for different MIDI file types, and mainly a problem with approximation, since most of the MIDI files aren't accurate about the notes durations and all, so I tried to create some kind of approximation/rounding algorithms and it's quite messy :/
I'll try to work on it again when I have time to do so.
here's a wip version ; it might work depending on your midi file, but I'm not sure you can eventually get something out of it

messiaen
Posted on 12-18-09 05:32 PM Link | Quote | ID: 123329


Cheep-cheep
Level: 32

Posts: 159/193
EXP: 204464
Next: 1978

Since: 05-26-08
From: Porto Alegre, Brazil

Last post: 4444 days
Last view: 4772 days
Thanks Kawa and JaSp. That was the motivation I needed to start learning C# . I also tried writing a MIDI converter a few months ago and was turned down by the many possible variants, it's indeed a hardware format so it can get very messy in polyphonic contexts.

KP9000
Posted on 12-18-09 07:57 PM Link | Quote | ID: 123352


Boomboom

Level: 90

Posts: 1181/1975
EXP: 6953758
Next: 234851

Since: 02-19-07

Last post: 3581 days
Last view: 3204 days


A couple of bugs that I've encountered so far-

When timer runs <100, the custom music doesn't restart using a faster tempo, it picks some other song to play, which is usually some combination of tracks and parts from other songs.

Also, DD released another ROM thus overwriting some of his pointer data with some of your data.

____________________

JaSp
Posted on 12-18-09 08:12 PM Link | Quote | ID: 123356


Shyguy
Level: 24

Posts: 59/95
EXP: 73292
Next: 4833

Since: 03-02-07
From: Paris, France

Last post: 4351 days
Last view: 4146 days
that's strange, I was sure to have sorted out the timer issue; but I kinda rushed the beta patch so I'll have to look at it again.

I'll wait for the 1.0 version of Reuben before making another patch though, not to mention that I need time to do so!
Pages: 1 2 3


Main - ROM Hacking - SMB3 Music Inserter - WIP Release (beta 1.3) New thread | New reply

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

Page rendered in 0.022 seconds. (340KB of memory used)
MySQL - queries: 67, rows: 95/95, time: 0.016 seconds.