16-09-2017, 10:31 AM
|
Posts: 56
Threads: 2
Joined: Dec 2014
|
> re-write the game
how is this an answer to anything lol
Anyway there are a few problems which may explain why that rip is so bad and why there hasn't been a proper one as of now.
First of the sample rate is not stored but calculated, this makes it hard to figure out what the proper sample rate is. I think they use a standard value of 0x1000 now.
Secondly most of the fields of the structs used to store information about the samples are unknown. Not only that, but I believe there were like 40 32-bit integers for each sample while I expected there to be around 6. To make it even worse most of these fields are zero, with no sign of there being a value for looping or anything related to that.
And at last not all of the instruments are actually stored as data, but some are created when needed. These are mostly "8-bit" sounds like sines etc.
The only way to figure this out is by debugging everything but that takes a lot of time (not to mention I could hardly debug anything at all at the time I made this program).
|