Skip to content

RSEQ assembler, disassembler, and midi converter

Notifications You must be signed in to change notification settings

kitlith/rseq_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rseq_rs

TBH I still expect some breakage from the current code, so make sure to make a GitHub issue on crashes or things not working as expected.

I'm also putting more work into GotaSequenceCmd now, so you may want to use that instead of this.

Usage

Disassemble

disassemble input.brseq output.txt where input is a file in the BRSEQ format and output is where you wish its disassembly to be output.

Assemble

assemble input.txt output.brseq where input is an 'assembly' file in the format produced by disassembly, and output is where you wish the resulting BRSEQ to end up.

Invert

invert input.brseq output.brseq where input is a BRSEQ file and output is where you want to create a BRSEQ with 'inverted' notes. (for every note it does 0x7F - note_value)

This was created as a very simple test for producing songs that could be used to replace other songs before the assembler was created/finished.

Play

play input.brseq output.midi

This is essentially a reimplementation of rseq2midi using the same parsing code as the rest of these programs. YMMV, but last I checked it handled call and jump better than rseq2midi.

Credits

Atlas, for the BRSEQ documentation that was immensely useful for implementing this (https://pastebin.com/xgsKecv9) Ruben Nunez and Valley Bell, for making rseq2midi which play is based on and was also used as a form of documentation Adam Crossing, for making videos about Wii Music and inspiring me to look into this