jkotlinski / lsdpack

Standalone LSDj recorder+player
GNU General Public License v2.0
116 stars 18 forks source link

.gbs build instructions? #4

Closed mbodomi closed 3 years ago

mbodomi commented 5 years ago

You could add description for outputting GBS

jkotlinski commented 5 years ago

It would be possible to make another player that supports .gbs, and a .gbs header generator. Although I’m puzzled why anyone would like to use .gbs in this day and age..? .mp3 is a lot more practical?

On Thu, 5 Sep 2019 at 22:31, mbodomi notifications@github.com wrote:

You could add description for outputting GBS

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jkotlinski/lsdpack/issues/4?email_source=notifications&email_token=AAY34OZ3LOOZCMAHOBNDLMLQIFUDPA5CNFSM4IUCFW5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJUTG7A, or mute the thread https://github.com/notifications/unsubscribe-auth/AAY34O3DTGCTHTOPQ2V27LTQIFUDPANCNFSM4IUCFW5A .

mbodomi commented 4 years ago

For eg. making a tiny game, w/ gbs playback instead of mp3 or ogg. Or a multiplatform oldskool musicdisk. Or just for the sake of adding modules to modland.

Eiyeron commented 4 years ago

Or play the same looped track for hours without the intro/fadeout nor busting one's own internet data quota with "10 hour" music videos on youtube.

jkotlinski commented 4 years ago

Which GBS playback library/program would you recommend for testing?

On Thu, 5 Dec 2019 at 10:54, Florian Dormont notifications@github.com wrote:

Or play the same looped track for hours without the intro/fadeout nor busting one's own internet data quota with "10 hour" music videos on youtube.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jkotlinski/lsdpack/issues/4?email_source=notifications&email_token=AAY34OZMZY5PIMX77WF4IDDQXDFV7A5CNFSM4IUCFW5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGAETHQ#issuecomment-562055582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY34O2L3M23273C3DJZTNLQXDFV7ANCNFSM4IUCFW5A .

cyberic99 commented 4 years ago

gbsplay is nice and also has a plugin to produce register dumps

Eiyeron commented 4 years ago

I'm partial to Losnoco's Foobar2000 plugins as they support a lot of formats, but I don't know about their accuracy. Foobar allows for quick converting, so it might be interesting to look at it to export and compare audio dumps.

Pegmode commented 3 years ago

I gave conversions from lsdpack a go. Since the .gbs does not support the LYC interrupt I ported it to the Timer interrupt. Ran into some issues with the exported gbs. I'm able to get the .gbs playing but it has issues. The compiled ROM works but not the .gbs. The behavior matches what happens with the ROM when there is no MBC present so I think there may be issues with bank switching in the .gbs but I don't have a concrete way to test this. progress

jkotlinski commented 3 years ago

@Pegmode nice effort! hope it can be made to work all the way!

cyberic99 commented 3 years ago

Nice idea @Pegmode ! maybe you can get help from people developing gbsplay. Recently, they added support for playing gameboy .vgm files, where they generate gb assembly on the fly depending on the .vgm file content: https://github.com/mmitch/gbsplay/commit/53f353f096c7ade2b000fbad4c3c1fdb7a299785

jkotlinski commented 3 years ago

Looking at things closer, the .gbs problems are very likely because MBC5 bank switching is not supported. A simple thing to try for the .gbs converter would be to comment out all writes to $3000 from the player. Sadly, by doing this, it's likely each .gbs would only fit a single song, if even that.

jkotlinski commented 3 years ago

Actually .gbs seems like it works ok now! Added instructions how to build .gbs to README.md

mbodomi commented 3 years ago

https://gitee.com/matuska-b-m/lsdsng-to-gbs-renders/ c'mon people lets do this!