Kuribo64
Views: 23,013,982 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
11-06-24 01:03 AM
Guest:

0 users reading BMS to MIDI converter in C! | 1 bot

Main - Misc. ROM hacking - BMS to MIDI converter in C! Hide post layouts | New reply

Pages: 1 2
Yoshimaster96
Posted on 09-21-15 11:44 PM Link | #64283
https://www.dropbox.com/s/zmvweepxbhpkfuh/BMSDEC3.C?dl=0
Syntax: BMSDEC3 INFILE OUTFILE
Example output: (Pikmin 1: Forest of Hope) https://www.dropbox.com/s/9mukrojd434uvnc/play3.mid?dl=0

Converts MOST GameCube BMS files to MIDI files. Written in C using only stdio.h, so should compile on any modern computer.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Jesse
Posted on 09-22-15 11:22 AM Link | #64303
doesn't there already exist such thing?

Yoshimaster96
Posted on 09-22-15 12:04 PM Link | #64307
Posted by Jesse
doesn't there already exist such thing?
YOu mean the PHP one? Yeah, that one is broken, and I could never get it to work.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Anthe
Posted on 09-22-15 06:52 PM Link | #64316
Very nice. The PHP one was indeed quite crappy. Thank you!

____________________
[image]

Jesse
Posted on 09-22-15 08:01 PM Link | #64319
huh what are you talking about, I mean the exe. There was an exe which I converted bms stuff with, or rather, I converted a file and it outputs midis which were previously bms's.

Anyway, better to much than too less (failed dutch sentence). And if you write midi to bms we would be all happy because it doesn't look like that arookas guy is going to release his program anywhere soon.

Yoshimaster96
Posted on 09-22-15 08:57 PM Link | #64324
Arookas did release a MIDI to BMS, but hasn't yet released BMS to MIDI. I tried Arookas's program, but it gave me some error that I cannot explain. Plus, it seems to be in C#, meaning it's only for Windows. Mine is in C using only stdio.h, so even Mac and Linux can compile it.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 10-16-15 10:32 PM Link | #65073
Now on GitHub!

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Ambiance 69
Posted on 10-30-15 01:13 PM Link | #65242
So we can import custom music to GCN games like Mario Kart Double Dash, Mario Party 6 and such...

____________________
You can't escape me.

Yoshimaster96
Posted on 10-30-15 03:49 PM Link | #65255
Posted by Ambiance 69
So we can import custom music to GCN games like Mario Kart Double Dash, Mario Party 6 and such...

This program rips music, it does not import music.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

SGC
Posted on 10-31-15 03:33 AM (rev. 4 of 10-31-15 06:56 AM) Link | #65274
A tutorial on how to use it would be nice. I have gotten a head ache running around the internet trying to figure this out. This is in dire need of a tutorial ,and because of that it makes it very unuser friendly. That's a huge issue in my book. There isn't even a read me file. When I download something I expect some sort of instructions. I give this lack of consideration an F.

____________________
MKDS Hacking & Modding Discord:
https://discordapp.com/invite/CAktUYP

Yoshimaster96
Posted on 10-31-15 03:45 PM Link | #65285
Have you compiled it? The syntax for the command line is BMS_DE~1.EXE INFILE OUTFILE.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

SGC
Posted on 10-31-15 04:27 PM Link | #65287
Posted by Yoshimaster96
Have you compiled it? The syntax for the command line is BMS_DE~1.EXE INFILE OUTFILE.

How do you compile it?

____________________
MKDS Hacking & Modding Discord:
https://discordapp.com/invite/CAktUYP

Yoshimaster96
Posted on 10-31-15 04:50 PM Link | #65289
You need a C compiler. I use mingw64, because I have 64 bit Windows. I then do:
gcc -o BMS_DE~1.EXE BMS_DE~1.C

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

SGC
Posted on 11-02-15 02:14 AM Link | #65325
I cannot covert this file I keep getting this error "Permission denied collect2.exe: error: Id returned 1 exit status" not everyone can program so why isn't there a pre compiled version?

____________________
MKDS Hacking & Modding Discord:
https://discordapp.com/invite/CAktUYP

CodingKoopa
Posted on 11-02-15 02:26 AM Link | #65326

SGC
Posted on 11-02-15 11:44 AM Link | #65343
Posted by TheKoopaKingdom

Alright so how do I use it?

____________________
MKDS Hacking & Modding Discord:
https://discordapp.com/invite/CAktUYP

Yoshimaster96
Posted on 11-02-15 01:20 PM (rev. 2 of 11-02-15 01:20 PM) Link | #65346
For Windows:
Open cmd.exe (ctrl R, type "cmd" in the box)
Drag the executable to the window, DO NOT PRESS ENTER. Press space.
To insert the first argument, drag the BMS file to the window. Press space.
To insert the second argument, drag the BMS file again, and add a .mid extension to the name.
Now press enter, and wait. If it takes a super long time, it crashed. It should only take a second or so at most.
BMS_DEC is used for Luigi's Mansion, Super Mario Sunshine, and Pikmin 1.
BMS_DE~1 is used for Donkey Kong Jungle Beat, Mario Kart Double Dash, and Super Mario Galaxy 1/2.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Hiccup
Posted on 11-02-15 06:50 PM (rev. 2 of 11-02-15 06:52 PM) Link | #65363
Does this export the instruments in a format that you can use allongside the midi, so the sequence sounds right?
If not, is there a program that does? Or just one that gives the same end result of being able to play the sequence, properly, outside the game.

Yoshimaster96
Posted on 11-02-15 07:16 PM Link | #65365
I'll try to figure out that.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

SGC
Posted on 11-02-15 11:06 PM Link | #65380
I need a compiled version of BMS_DE~1.

____________________
MKDS Hacking & Modding Discord:
https://discordapp.com/invite/CAktUYP
Pages: 1 2

Main - Misc. ROM hacking - BMS to MIDI converter in C! Hide post layouts | New reply

Page rendered in 0.041 seconds. (2048KB of memory used)
MySQL - queries: 29, rows: 235/235, time: 0.009 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.