Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Arcade Voices patches

Reply to topic
Author Message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Arcade Voices patches
Post Posted: Tue Jun 26, 2018 7:42 pm
Last edited by Maxim on Sat Jul 07, 2018 8:35 am; edited 3 times in total
I've made a a patch to Space Harrier to replace the voices with high-quality playback of the original arcade ROM data. This includes:

* Welcome to the Fantasy Zone (added at the start)
* Get Ready
* Aargh!

Download the patch at http://www.smspower.org/Hacks/SpaceHarrier-SMS-ArcadeVoices-Mod

This is using pcmenc at its maximum quality setting, with the original data from the arcade ROM as its input. The original data is only 8kHz, so don't expect too much! The quality is also impacted by the animations the game does.

Source is available at https://github.com/maxim-zhao/sms-hq-samples for the curious.

I'm curious to hear how well it performs on a real system...

Any suggestions on what game to do next? (One with an arcade original I can get the data from.)
  View user's profile Send private message Visit poster's website
  • Joined: 28 Feb 2016
  • Posts: 396
  • Location: Barcelona
Reply with quote
Post Posted: Tue Jun 26, 2018 10:05 pm
Hello Maxim, thanks for sharing.

I tried it patching 60hz version and I don't hear " Welcome to the Fantasy Zone (added at the start) " and don't notice any improve to samples "Get Ready" and "Aargh!"

Is it possible you upload incorrect patch???? Tried in Emulicious, Meka and Fusion emulators
  View user's profile Send private message
  • Joined: 30 Mar 2009
  • Posts: 282
Reply with quote
Post Posted: Tue Jun 26, 2018 10:52 pm
Yeah, my experience is the same as Abel.
I patched the rom marked as Space Harrier (JP and USA).
no difference in the samples i heard "get ready" and "argh", and no "welcome to the fantasy zone" either.
  View user's profile Send private message Visit poster's website
  • Joined: 06 Apr 2015
  • Posts: 60
Reply with quote
Post Posted: Wed Jun 27, 2018 3:19 am
Maxim wrote
Any suggestions on what game to do next? (One with an arcade original I can get the data from.)


I don't know if it's possible since the SMS version doesn't use voices, but how about Shinobi's "Welcome to Bonus Stage!" and the grunt that Musashi does when he takes a hit but doesn't die?
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Wed Jun 27, 2018 5:27 am
Whoops, I guess I had the before and after files mixed up :( I've remade it and it's a more healthy 44KB patch now (it adds 43.5KB of sample data).

It's hard to add voices without freezing the game and restarting the music. That's why I'm looking to replace existing voices...
  View user's profile Send private message Visit poster's website
  • Joined: 29 Jun 1999
  • Posts: 335
  • Location: Brazil
Reply with quote
Post Posted: Wed Jun 27, 2018 5:46 am
How about Altered Beast?
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Wed Jun 27, 2018 6:49 am
It's a good candidate - I'll have a look. Wise fwom youw gwave!
  View user's profile Send private message Visit poster's website
  • Joined: 26 Jan 2014
  • Posts: 505
Reply with quote
Post Posted: Wed Jun 27, 2018 7:06 am
Good idea, perfectly executed, thank you Maxim.
  View user's profile Send private message Visit poster's website
  • Joined: 28 Feb 2016
  • Posts: 396
  • Location: Barcelona
Reply with quote
Post Posted: Wed Jun 27, 2018 9:47 am
Now it works perfect ! Get Ready !

Candidates:

- Alex Kidd: The Lost Stars
- Altered Beast
- Shadow Dancer
- Space Harrier 3D

Thankyou ;)
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Wed Jun 27, 2018 10:03 am
I spent my morning commute trying to get the voice samples out of the arcade Altered Beast ROMs, but the format seems really strange. Sadly there's not much information online about it. Is there an "arcade perfect" version on some other system which might have the same, or better, data?
  View user's profile Send private message Visit poster's website
  • Joined: 08 May 2018
  • Posts: 6
Reply with quote
Post Posted: Wed Jun 27, 2018 10:54 am
Try Alex Kidd: The Lost Stars!
  View user's profile Send private message Visit poster's website
  • Joined: 30 Mar 2009
  • Posts: 282
Reply with quote
Post Posted: Wed Jun 27, 2018 11:27 am
Works perfectly now.
Amazing.

I'll try it on my real system tonight.


Another candidate would be Outrun.
There's the "Get ready" and "checkpoint" samples.
And if the arcade roms aren't good, the genesis version is pretty close.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Wed Jun 27, 2018 11:58 am
As discussed elsewhere recently, it may sound less good on newer model systems as the upper volume levels are not accurately reproduced. Meka emulates this limitation - I built a modified version with "model 1" levels because I found it made a big difference.
  View user's profile Send private message Visit poster's website
  • Joined: 28 Feb 2016
  • Posts: 396
  • Location: Barcelona
Reply with quote
Post Posted: Wed Jun 27, 2018 1:07 pm
Altered Beast PC Engine CD version????

Candidates:

- Alex Kidd: The Lost Stars
- Altered Beast
- Gauntlet
- Impossible Mission ( MS voices in this game are very poor )
- Out Run ( I do not remember voices )
- Shadow Dancer
- Shinobi ( )
- Space Harrier 3D

Thankyou ;)
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Wed Jun 27, 2018 1:15 pm
I did make a mod to Impossible Mission to insert the C64 audio, but retained the playback engine. The original audio for many of these titles is actually pretty bad... but I'm hoping sometimes there's a CD quality original which was used for the later ports, instead of the low quality original. Space Harrier uses 8kHz 8-bit samples (except the scream which is 4kHz), Altered Beast seems to use 8kHz 4-bit samples - because of space constraints, as far as I can tell.
  View user's profile Send private message Visit poster's website
  • Joined: 12 Jan 2005
  • Posts: 184
  • Location: Reconquista, Santa Fe, Argentina
Reply with quote
Post Posted: Wed Jun 27, 2018 2:48 pm
Hey, thanks for this!

I've always wondered if it would be possible to add a PSG rendition of the Hang On theme to SMS Hang On. But from what I've read it's not trivial at all.
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Wed Jun 27, 2018 2:52 pm
I think it would be pretty easy actually, but you may need to remove the SFX.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Wed Jun 27, 2018 10:03 pm
So Altered Beast uses an ADPCM chip; I found some excessive 48kHz stereo emulator rips at https://www.sounds-resource.com/arcade/altbeastarcade/sound/1239/ which seem usable but I'd be happier to have a raw dump. The samples seem to be about 8kHz underneath. In theory the sample rate could be variable, though.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Thu Jun 28, 2018 10:42 pm
Right, so the original Altered Beast has 16 samples and the Master System one only has four. Adding new samples is hard work - it was probably half the time I spent on Space Harrier, and that was to add one Can someone help me with where the samples are played, and how that compares to the SMS version? Which roars go with which creatures? Which samples should be dropped because they would pause the game too much? Who says "Never give up"? I guess adding "Rise from your grave" and "welcome to your doom" will be pretty important...
  View user's profile Send private message Visit poster's website
  • Joined: 06 Apr 2015
  • Posts: 60
Reply with quote
Post Posted: Fri Jun 29, 2018 3:16 pm
Maxim wrote
Who says "Never give up"?


This occurs following a game over, when the player inserts another coin and presses start.
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Sat Jun 30, 2018 1:10 am
If you can download the wav pack I linked above and tell me where each sample is used (in as much detail as possible) that would really help me out. I've spent some time to process the samples and insert them into the ROM, next is the hard part of hacking them into the game safely. I'd foolishly assumed that in most cases I would not have extra samples to add...
  View user's profile Send private message Visit poster's website
  • Joined: 06 Apr 2015
  • Posts: 60
Reply with quote
Post Posted: Sun Jul 01, 2018 2:43 am
Aaaaaaaaaaaa – unused? (Maybe it was meant to be Nef in human form when dying at the end of the game? But as it is he just silently falls)
Aaaaaargh – player dies
Growl 1 – unused?
Growl 2 – player transforms into bear, stage 3
Growl 3 – player transforms into tiger, stage 4
Growl 4 – player transforms into dragon, stage 2
Ha – unused?
Hahahahaha – Nef takes the power orbs from the beast after the boss is defeated
Huh,uh – unused? (Maybe it was meant to be Nef in human form when dying at the end of the game? But as it is he just silently falls)
Never Give Up – when the player inserts a coin to continue, happens when pressing start
Power Up – human grabs first two power up orbs
Rise from your grave – beginning of first level (this whole “wise fwom youw gwabe” shit is really exaggerated)
Uh – player takes damage but doesn't die
Welcome to your doom – Nef in human form prior to transforming to boss monster form
Wolf – player transforms into wolf, stage 1 and stage 5
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Sun Jul 01, 2018 4:57 am
Thanks! I guess the Master System version uses the same sample for each transformation, but I can add some logic based on the level. If I can drop the used ones it will make things rather easier - and I can probably get under 4Mb, saving some load time on Everdrive.
  View user's profile Send private message Visit poster's website
  • Joined: 28 Feb 2016
  • Posts: 396
  • Location: Barcelona
Reply with quote
Post Posted: Sun Jul 01, 2018 8:59 pm
I found this youtube video, maybe it can help you with more example games:



;)
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Mon Jul 02, 2018 3:23 am
I've already gone way further than that: http://www.smspower.org/forums/15940-GameSamplesExtractionMegaThread

I think my list is exhaustive, at least for Master System games.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Tue Jul 03, 2018 9:39 pm
Last edited by Maxim on Sat Jul 07, 2018 8:36 am; edited 1 time in total
And it's done:

http://www.smspower.org/Hacks/AlteredBeast-SMS-ArcadeVoices-Mod

Please test and let me know if there are any issues - I had to hack in three samples which was quite tough, I had zero bytes left over in the low 32KB in the end. The places I hook to add samples may be triggered from elsewhere - if so, please tell me. I wasn't able to play through the whole game myself...
  View user's profile Send private message Visit poster's website
  • Joined: 28 Feb 2016
  • Posts: 396
  • Location: Barcelona
Reply with quote
Post Posted: Wed Jul 04, 2018 8:30 pm
Perfect Maxim.

It just worked fine in "Altered Beast (UEB) (Playpal Version).sms"

I think worst gameplay is pushing "1"+"2" for jumping or "UP"+"1"+"2" for high jumping, maybe can hack and adding megadrive pad and remap "1"+"2" to "C"

What's your next game audio hack?

Thankyou
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Wed Jul 04, 2018 9:09 pm
Not sure what's next, I've been a little diverted trying to make some videos of these two - it seems to help promote some interest - but really what I need is good data, a clear idea where the samples go, and a game that isn't too dreadful to play. Altered Beast was hard work by this measure. I might do Alex Kidd: The Lost Stars next as it's only a couple of samples.
  View user's profile Send private message Visit poster's website
  • Joined: 26 Jan 2014
  • Posts: 505
Reply with quote
Post Posted: Thu Jul 05, 2018 5:55 am
About Altered Beast, voices seems too low compare to SFX & music.
  View user's profile Send private message Visit poster's website
  • Joined: 29 Mar 2012
  • Posts: 563
  • Location: Spain
Reply with quote
Post Posted: Thu Jul 05, 2018 7:00 am
Popoulous shold also be quite easy, as it's like 2 or 3 samples.
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Thu Jul 05, 2018 7:33 am
Revo wrote
About Altered Beast, voices seems too low compare to SFX & music.

They are already amplified, but I might try compressing them (dynamic range) to boost the loudness. The balance seems better in FM mode, but that may be Meka's mixing levels.

It's always a challenge because I can't easily make the music quieter to compensate - which is something Populous does.

Populous on Master System only has one sample, does the original have any?

Is there a decent source for the Impossible Mission voices? The C64 voices are kind of weird. Impossible Mission 2025 doesn't seem much better.
  View user's profile Send private message Visit poster's website
  • Joined: 29 Jun 1999
  • Posts: 335
  • Location: Brazil
Reply with quote
Post Posted: Thu Jul 05, 2018 10:45 pm
Does it only work in Meka? I tried running the patched rom in Fusion and it didn't work.
  View user's profile Send private message Visit poster's website
  • Joined: 22 Mar 2015
  • Posts: 151
Reply with quote
Post Posted: Fri Jul 06, 2018 1:09 am
I tried Emulicious and Genesis Plus GX (Retroarch core) and worked fine, I found an issue in final stage the roar seems to be the dragon's roar not the wolf's, great work Maxim!!! never thought this could be possible ...
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Fri Jul 06, 2018 7:04 am
It looks like I messed up the animal sounds... I'll post a new version later today with boosted audio and that issue fixed.
  View user's profile Send private message Visit poster's website
  • Joined: 12 Aug 2010
  • Posts: 1
Reply with quote
Post Posted: Fri Jul 06, 2018 9:54 am
PrOfUnD Darkness wrote
Does it only work in Meka? I tried running the patched rom in Fusion and it didn't work.


The patch works fine in Fusion 3.64 and vdmgr 0.1.9
Altered Beast.png (16.79 KB)
Altered Beast.png

  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Fri Jul 06, 2018 6:24 pm
New versions of both patches:

http://www.smspower.org/Hacks/SpaceHarrier-SMS-ArcadeVoices-Mod

Corrects the checksum and product code and adds an SDSC tag for credit purposes.

http://www.smspower.org/Hacks/AlteredBeast-SMS-ArcadeVoices-Mod

Corrects the animal noises, boosts the voice volumes (with some quality loss due to clipping) and corrects some cut-off audio.
  View user's profile Send private message Visit poster's website
  • Joined: 02 Jan 2005
  • Posts: 632
Reply with quote
Post Posted: Fri Jul 06, 2018 7:22 pm
The boss music in Space Harrier keeps playing after the first boss. Using Fusion emulator.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Sat Jul 07, 2018 8:34 am
Last edited by Maxim on Sat Jul 07, 2018 11:08 am; edited 1 time in total
Alex Kidd: The Lost Stars is now done. It also uses ADPCM data at a weird sampling rate (similar to Altered Beast); I approximated it with 8kHz samples taken from a MAME rendering of the sound test.

http://www.smspower.org/Hacks/AlexKiddTheLostStars-SMS-ArcadeVoices-Mod

I chose not to use the "Customer is King" voice (plays when you insert a coin) as there's no equivalent trigger, or the extra samples in the sound test (which seem not to be used in the game) - so it's just the "Find the Miracle Ball" and "Aargh" samples. Replacing existing samples is much easier than adding new ones!

On a technical note, the game has virtually no unused space in the first 32KB so I made use of slot 1 paging. This should work fine on an Everdrive but is not compatible with all Sega mapper chips. I was also unable to insert an SDSC tag as a result.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Sat Jul 07, 2018 8:50 am
Posted v1.2 for Space Harrier and Altered Beast, fixing the boss music bug on the former.
  View user's profile Send private message Visit poster's website
  • Joined: 22 Mar 2015
  • Posts: 151
Reply with quote
Post Posted: Thu Feb 27, 2020 5:35 pm
I was playing these games set overclock on and I noticed the voices are speed up, while the advantages of overclocking are better graphics animation and a bit improved control response, I wonder is it possible to adapt these patches to an cpu overclock of 125% and 150%?? Thanks.
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Thu Feb 27, 2020 5:41 pm
That would be possible but super niche :) you’d need to rebuild the data with the expected clock rate and then write new playback engines to match it.
  View user's profile Send private message Visit poster's website
  • Joined: 22 Mar 2015
  • Posts: 151
Reply with quote
Post Posted: Thu Feb 27, 2020 7:36 pm
So, It is possible to have it ready for overclocked and not overclocked on the same patch?. It's good news to me thank you.
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13179
  • Location: London
Reply with quote
Post Posted: Thu Feb 27, 2020 7:47 pm
No, it has to be a different patch for each. I'm not planning on making this.
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!