This is mostly interesting to go that way when multiple sequences use a same VAB / samples bank set.Yagotzirck wrote: ↑August 12th, 2020, 7:41 pm [*]The best way: in order to avoid redundancy, the driver (or in other words, the exe containing the music player's code) is kept in a separate file, and each PSF/minipsf only contains sequence + VAB data related to the track they're associated to, and all PSF files share the same driver code without including it inside each PSF/minipsf
I'd prefer to use the 2nd approach for obvious reasons, but neither of those guides explain how to do that (or maybe they do and it just went over my head).
To do so you need to make use of tags and basically proceed as follow:
Using PSFLab, save your driver as driver.psf then rename it as driver.psflib
Create a new PSF file and import your VAB file at the address you defined in your driver.
Using Edit -> EXE Settings, set this address as the Text section start
Update the Text section size so it can hold the whole file.
Save it as vab.psf then rename it as vab.psflib
Create a new PSF file and import your sequence file at the address you defined in your driver.
Using Edit -> EXE Settings, set this address as the Text section start
Update the Text section size so it can hold the whole file.
Using Edit -> Tag.. add those two lines:
_lib=driver.psflib
_lib2=vab.psflib
Save it as sequence.psf then rename it as sequence.minipsf
If done correctly you should be able to play the resulting file with your PSF player.
About Martian Gothic:
Some XM files might make use of 0006.VH/0007.VB, 0188.VH/0189.VB, 0190.VH/0191.VB and 0193.VH/0194.VB. instead of 0008.VAB
So i think the Bgm parameters i previously posted might be correct, just the currently loaded VAB that isn't.
Thanks for the extractor, as you mentionned most VAB / VH,VB sets are just for sfx.
Any chance you could update it at some point so it would extract the whole content ?
Maybe the game also makes use of another file to play the XM/VAB stuff, i don't really know atm as i never dealt with this format so far.
I'll keep digging with this game when i have some free time, hopefully we'll get something at some point.
@DD-Indeed
Thanks for the OST.