johnparker007 Posted July 29, 2023 Report Share Posted July 29, 2023 Continuing this thread: ...in here, as it's a better place than the Blockbuster's VHS Emporium now I've started doing a little coding on it Got some very early progress on this idea for a sound ROM editing tool, I'm decoding the entire sound Rom (testing with Andy Capp MPU4 to start with) and can play it back. There is 'background noise' which is expected at present, due to how the adpcm encoding works (offset from previous byte). I believe once I can decode the header and have all the samples individually decoded from their starting address, the background noise will disappear. Cool to hear some vaguely recognisable noisy sound though Going to work on figuring out the header stuff for the MPU4 type format (also shared by some other techs) next, hopefully sort out that background noise... 7 [ Arcade Simulator ] Pre-alpha installer: http://arcadesimulator.net | Known Issues: https://tinyurl.com/yz4uom2e | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
johnparker007 Posted July 30, 2023 Author Report Share Posted July 30, 2023 (edited) Some more progress ...seems like the sound hardware broadly falls into OKI, NEC, Yamaha. Focussing on OKI for now (used by MPU4)... still some 'background hiss' but much improved since the previous video, and I'm not extracting the sample rates yet, so I think they are a bit too fast. They are now extracted as individual samples... Edited July 30, 2023 by johnparker007 1 [ Arcade Simulator ] Pre-alpha installer: http://arcadesimulator.net | Known Issues: https://tinyurl.com/yz4uom2e | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
Altharic Posted July 30, 2023 Report Share Posted July 30, 2023 James Wallace has some experience of this kind of thing https://github.com/james-wallace-ghub/WilliamsOKIEditor/releases 1 Link to comment Share on other sites More sharing options...
johnparker007 Posted July 30, 2023 Author Report Share Posted July 30, 2023 59 minutes ago, Altharic said: James Wallace has some experience of this kind of thing https://github.com/james-wallace-ghub/WilliamsOKIEditor/releases Interesting, ta for the link! [ Arcade Simulator ] Pre-alpha installer: http://arcadesimulator.net | Known Issues: https://tinyurl.com/yz4uom2e | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
johnparker007 Posted July 30, 2023 Author Report Share Posted July 30, 2023 Cleaned up/fixed some more code in the decoder, now I have the samples sounding nice and clear, no more 'background noise' [ Arcade Simulator ] Pre-alpha installer: http://arcadesimulator.net | Known Issues: https://tinyurl.com/yz4uom2e | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
johnparker007 Posted July 31, 2023 Author Report Share Posted July 31, 2023 Started some basic GUI for the sound editor, very much like the Samples window in MFME... vid shows playing individual samples from list: 1 [ Arcade Simulator ] Pre-alpha installer: http://arcadesimulator.net | Known Issues: https://tinyurl.com/yz4uom2e | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
johnparker007 Posted August 1, 2023 Author Report Share Posted August 1, 2023 I ain't afraid of no ghosts! Looking at overrides - here I convert to the fruit machine sound chip bitrate, there is another step yet to encode this to PCM audio, so quality may drop a (quite small) amount when on the real hardware... samples can be much longer, since the MPU4 standard game board has 4x RAM slots, and usually they only use half. To be continued, unless I get slimed 2 [ Arcade Simulator ] Pre-alpha installer: http://arcadesimulator.net | Known Issues: https://tinyurl.com/yz4uom2e | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
infection Posted August 1, 2023 Report Share Posted August 1, 2023 1 hour ago, johnparker007 said: I ain't afraid of no ghosts! Looking at overrides - here I convert to the fruit machine sound chip bitrate, there is another step yet to encode this to PCM audio, so quality may drop a (quite small) amount when on the real hardware... samples can be much longer, since the MPU4 standard game board has 4x RAM slots, and usually they only use half. To be continued, unless I get slimed does worms sound roms work in this app Link to comment Share on other sites More sharing options...
johnparker007 Posted August 1, 2023 Author Report Share Posted August 1, 2023 (edited) 16 minutes ago, infection said: does worms sound roms work in this app Worms looks to be scorpion 5, so not yet. I'm currently just developing it with the OKI sound chip (used in MPU4), but I'm planning to add support for NEC and Yamaha later once everything is working well - so once I've made codecs for Yamaha and NEC, it should be able to load/edit/save Sc5 Yamaha sound ROMs (I think!). Edited August 1, 2023 by johnparker007 1 [ Arcade Simulator ] Pre-alpha installer: http://arcadesimulator.net | Known Issues: https://tinyurl.com/yz4uom2e | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
Mavroz Posted August 2, 2023 Report Share Posted August 2, 2023 (edited) Looking really promising John, hopefully it can be used as you expect. Brilliant. Mfme has the option to load a sound rom for a few tech's , don't know if you have ever noticed it? I haven't used it, never had the need yet. Edited August 2, 2023 by Mavroz 1 Link to comment Share on other sites More sharing options...
johnparker007 Posted August 2, 2023 Author Report Share Posted August 2, 2023 (edited) 1 hour ago, Mavroz said: Looking really promising John, hopefully it can be used as you expect. Brilliant. Mfme has the option to load a sound rom for a few tech's , don't know if you have ever noticed it? I haven't used it, never had the need yet. I didn't actually notice that I have checked out some of the standard sound ROM loading (as part of the usual layout) in MFME though, it's been a useful reference. Now I've got them loading for OKI (MPU4) into my tool, the next step is to encode them back into a ROM set. Once that's done and working, I'll move onto encoding the 'overrides' (like the Ghostbusters loop in the vid) into the ROM. Hopefully then that newly built sound ROM set can be played in emulation and potentially real machine too... Edited August 2, 2023 by johnparker007 3 [ Arcade Simulator ] Pre-alpha installer: http://arcadesimulator.net | Known Issues: https://tinyurl.com/yz4uom2e | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
johnparker007 Posted September 21, 2023 Author Report Share Posted September 21, 2023 Haven't been looking at this project for a while (full WIP source code from link in my sig) - however I logged into the Mecca recently and saw that someone had tested that Ghostbusters test rom in their real Haunted House machine 3 [ Arcade Simulator ] Pre-alpha installer: http://arcadesimulator.net | Known Issues: https://tinyurl.com/yz4uom2e | Donation info: https://tinyurl.com/yzvgl4xo [ Community Drive ] The drive: http://tinyurl.com/yckze665 [ Fruit Machine Database ] Initial google sheets (WIP): https://tinyurl.com/2c5znxzz [ Fruit Machine ROM Archive ] The archive: https://tinyurl.com/3jhzbueb [ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch [ Oasis ] Source code: https://github.com/johnparker007/Oasis [ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor Link to comment Share on other sites More sharing options...
Recommended Posts