Phalanx PCM8 patch... (if anyone can get this working)

Started by H68k, May 24, 2014, 04:46:51 AM

Previous topic - Next topic

H68k

I found this on some guys website some time ago, it's a loader and some BUP patch file.. that supposedly patches the sound driver of Phalanx to work with Rydeens 8 channel software mixing adpcm driver.

So far though, all of my attempts to get it working have failed.

If anyone has any success with it, or knows how to get it working... please post your results.


http://nfggames.com/x68000/Uploads/phalanx_pcm.7z

eidis

 Hi H68k !

Here you go:
http://nfggames.com/X68000/Games/Phalanx.zip

The patch did not only enable PCM polyphony but eliminated the dreaded bus error message which showed every time when someone tried to install this game to HDD. Me and Caius tackled this beast for a long time and finally decided to give up. The best news are still to come. Phalanx now works on 2MB equipped machines and can be run from LHES. It will not run with pressing Q key two times because of some hackery which I was forced to perform in order to get it running from HDD.

Keep the scene alive !
Eidis
X68000 personal computer is called, "X68K" or "no good good" is called, is the PC that are loved by many people today.

caius

Damned japanese language!If only I knew this was also an HDD install I would try before!Anyway another great game added and great job, Eidis!

eidis

According to the readme file, the music driver caused bus error and the patch only disables the notification. ;)

Keep the scene alive !
Eidis

P.S. Translate Google is out friend.
X68000 personal computer is called, "X68K" or "no good good" is called, is the PC that are loved by many people today.

H68k

Thanks Eidis... So this is basicly, a two "two for the price of one" patch? fantastic!

So that error message in garish orange bold text.. was something to do with this adpcm polyphony patch? on the one occasion I managed briefly to get phalanx to run, I thought the game was "trolling" me, being part of kinda of anti copy feature, that kicked in after it detected something on the disk had been modified etc.

Veering off abit, but still on this subject I guess.. would it be possible to patch Genocide 2's sound driver for polyphonic adpcm? and perhaps some other games that suffer from the problem of music samples being dropped or cut short to play sound FX or other music samples?

caius

Quote from: eidis on May 25, 2014, 02:04:29 AM
According to the readme file, the music driver caused bus error and the patch only disables the notification. ;)

Keep the scene alive !
Eidis

P.S. Translate Google is out friend.

So, you patched only the MDRV.R and added the PHA_ST.X to the !Start.bat?But I see there is also hiocs.x , mxdrv303.x and rdnb.x in the batch file and te README doesn't seem to mention them.Sorry but I'm really bad in japanese also with google translate.  :)

eidis

There are two patches. One for MDRV.R and other requires the presence of MXDRV303.X and MXDRV163.X The included PHA_ST.X and RDN.X IMHO makes them all work together and the template for !Start.bat can be found in CONFIG.COM

Keep the scene alive !
Eidis

Quote: Veering off abit, but still on this subject I guess.. would it be possible to patch Genocide 2's sound driver for polyphonic adpcm? and perhaps some other games that suffer from the problem of music samples being dropped or cut short to play sound FX or other music samples?

Please have mercy. I just finished a two month marathon with the V4 :D
X68000 personal computer is called, "X68K" or "no good good" is called, is the PC that are loved by many people today.

caius

OK.I made the patching procedure myself but I noticed that the game refuses to start if you don't include HIOCS.X and MXDRV303.X, these two files are not included in the batch file provided by CONFIG.COM.How did you discover they are needed?
Besided only DISK 1 and 2 are present, the third containing the  opening has non been extracted.Anyway I've experienced the data corruption in Diskexplorer me too.I'm wondering if this bug regards only X68000 files or also other systems like FM-TOWNS which I work with very often.

eidis

 The for_30.doc in Rydeen directory explains the relevance of mxdrv. About the HIOCS.X .... Well, that is part of the hackery which I mentioned earlier. Phalanx floppy disks contain a file called COMMAND.X which is not the same as Human68K command interpreter. This one acts like a loader or some sort of protection. I replaced it with a Human68K 3.02 COMMAND.X and somehow managed to get it all running because HIOCS.X was loaded by default in my other HDD image.

You could try to make a proper HDD installer for the intro disk if you feel up to the task.

Keep the scene alive !
Eidis
X68000 personal computer is called, "X68K" or "no good good" is called, is the PC that are loved by many people today.

caius

In the installation I made I omit the COMMAND.X and the game work the same.Pardon, Eidis, but I didn't yet get why HIOCS.X is needed in this installation since it's not mentioned in its autoexec.BAT.

eidis

It is a lucky coincidence that the game allowed to be launched. HIOCS.X just happened to be in memory. By the way, it is possible to make the install a bit cleaner. You could try to use 2hdsim method and use the patched files. I think this could work.

Keep the scene alive !
Eidis
X68000 personal computer is called, "X68K" or "no good good" is called, is the PC that are loved by many people today.

caius

OK, I installed and tested it with 2HDSIM method, I'm uploading the HDD template on the uploads section of the FTP.

eidis

Kudos for the install and sorry, I was wrong. The 2hdsim method still features the nasty bug where it can only be launched from LHES and now we have to worry about the file not being fragmented or else it will not mount.

Keep the scene alive !
Eidis
X68000 personal computer is called, "X68K" or "no good good" is called, is the PC that are loved by many people today.

caius

Did you mean my 2HDSIM install doesn't works?Strange, I tested it in the XM6 emulator before the upload and it worked.Obviously I fragmented the two disk images with liner.x.

eidis

It does, but only from LHES. The same as with previous release.

Keep the scene alive !
Eidis
X68000 personal computer is called, "X68K" or "no good good" is called, is the PC that are loved by many people today.

caius

Yes, confirmed, it works only from LHES, even if I didn't try on real hardware.Is it a problem that it can't be launched under DOS?

eidis

Not to people who try both methods ;)

Keep the scene alive !
Eidis
X68000 personal computer is called, "X68K" or "no good good" is called, is the PC that are loved by many people today.

H68k

There's no rush Eidis.. It would be nice at some point, or in the near future.. to have polyphonic adpcm patches for these games. to work around the issue of the X68k only having a single channel adpcm chip.

Including the high speed IOCS driver is also a good idea, when i was testing it in XM6, with the cpu clock set to 10Mhz, i could play some MDX music files that really push the hardware with miner stuttering and very breaf pauses, that really slowed it down.. or that where borderline impossible to play when using the stock IOCS driver.


On another thought.. perhaps if the X68k's hardware designers had used an MSM6295 4 channel chip, instead of the 6258.. and maybe included a Z80 dedicated to driving it's sound hardware.. it might have attracted some more game developers? and arcade ports?

eidis

X68000 personal computer is called, "X68K" or "no good good" is called, is the PC that are loved by many people today.

neko68k

Can we get this on an non-SASI disk? I don't feel like doing the extra work today...