Skip to content

Add support for reheadered D00 songs#219

Merged
mywave82 merged 2 commits into
adplug:masterfrom
mistydemeo:d00_reheadered_songs
Jul 10, 2024
Merged

Add support for reheadered D00 songs#219
mywave82 merged 2 commits into
adplug:masterfrom
mistydemeo:d00_reheadered_songs

Conversation

@mistydemeo

@mistydemeo mistydemeo commented Jun 28, 2024

Copy link
Copy Markdown
Contributor

Some old-style D00 songs were reheadered later on. These are identifiable via version numbers with bit 8 set. They can be read like old-style D00 songs by skipping the new header and jumping to the old one instead.

I considered trying to get adplug to read the new-style header, but there's a couple other inconsistencies it wasn't happy with; it seemed easier just to use the old-style header. The Mac OS X EdLibPlay player does the same thing. If you're interested in some samples, the EdLibPlay download comes with a number of them. I used Laxity/The_Alibi.d00 as my sample song for this patch.

Some old-style D00 songs were reheadered later on. These are
identifiable via version numbers with bit 8 set. They can be
read like old-style D00 songs by skipping the new header and
jumping to the old one instead.
@mywave82

mywave82 commented Jul 7, 2024

Copy link
Copy Markdown
Contributor

We need to add a sample song into the test database :-)

@mywave82

mywave82 commented Jul 7, 2024

Copy link
Copy Markdown
Contributor

@mistydemeo Testfile added looks OK?

@mistydemeo

Copy link
Copy Markdown
Contributor Author

Yes, that testfile looks perfect - doesn't work in HEAD, works with this PR.

@mywave82 mywave82 merged commit b5fe1a7 into adplug:master Jul 10, 2024
@mistydemeo mistydemeo deleted the d00_reheadered_songs branch July 10, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants