Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Audit "Fixing Up" and "Adding More" Custom OSTs:) #1451

Open
KMFDManic opened this issue Sep 18, 2022 · 105 comments
Open

WIP Audit "Fixing Up" and "Adding More" Custom OSTs:) #1451

KMFDManic opened this issue Sep 18, 2022 · 105 comments

Comments

@KMFDManic
Copy link
Contributor

KMFDManic commented Sep 18, 2022

@mahoneyt944 @MistyDreams @kurrono

To keep things nicely aligned, here is a quick Audit of where we stand with the Custom OSTs. I will edit this first post, accordingly, as we update things! If any "samples" zips need to change, let me know @mahoneyt944 , so that I can have the audited files correct for Xtreme, as well as Plus:) Anyone else following this feed is welcome to join in on the discussion! Audiophiles are welcome to help "finalize some of the OSTs!

Personal Thanks, Arcadez2003, Big Blue Frontend, Gpstar81, Grant2258,

Added Source for OSTs, 2003 Xtreme

https://github.com/KMFDManic/mame2003-xtreme

  • Bad Dudes (WIP)
  • Bionic Commando (WIP)
  • Cave Ninja AKA Joe & Mac (incomplete) (added to Xtreme) (samples NOT finished)
  • Contra (incomplete) (added to Xtreme/Plus) (samples NOT finished)
  • CPS1 Trio - Forgotten Worlds, Ghouls 'n Ghosts, Strider (WIP)
  • Double Dragon (complete) (added to Xtreme/Plus) (samples available)
  • Double Dragon II (WIP)
  • Final Fight (complete) (added to Xtreme/Plus) (samples available)
  • Ghosts 'n Goblins (incomplete) (added to Xtreme) (samples NOT finished)
  • Haunted Castle (incomplete) (added to Xtreme) (samples NOT finished)
  • Ikari Warriors (complete) (added to Xtreme/Plus) (samples available)
  • Moonwalker (complete) (added to Xtreme/Plus) (samples available)
  • New Zealand Story AKA Kiwi Craze (WIP)
  • NBA Jam (complete) (added to Xtreme/Plus) (samples available)
  • OutRun (complete) (added to Xtreme/Plus) (samples available)
  • RoboCop (complete) (added to Xtreme/Plus) (samples available)
  • RollerGames (WIP)
  • Shinobi (complete) (added to Xtreme) (samples available)
  • Splatterhouse (WIP)
  • Street Fighter I (complete) (added to Xtreme/Plus) (samples available)
  • Street Fighter II (complete) (added to Xtreme/Plus) (samples available)
  • TMNT (WIP)
  • Ultraman (incomplete) (added to Xtreme) (samples NOT finished)
  • Volleyball (WIP)
@mahoneyt944
Copy link
Collaborator

mahoneyt944 commented Sep 19, 2022

Good reference list. I can pretty much convert / debug any of these into 2003+. Figured we'd finalize contra next? But we can do them in any order you prefer. Definitely a cool mod....I think in the long run though we should explore some solutions to getting these samples available to the public. I'm not sure who operates some of the sample source sites available now, but maybe one of those would be interested in hosting the OST samples?

@mahoneyt944
Copy link
Collaborator

Also, if you didn't already, I updated the robocop samples. This will require you to fix the sample name typos in Xtreme and renumber the play calls since the duplicate intro sample was removed.

There wasn't much done, beside light editing of the samples and some volume equalization but I think it sounds pretty good all and all.
https://drive.google.com/file/d/1zgwR7kYksskvyrCkZztSPFE7nPVfL1tn/view?usp=sharing

@KMFDManic
Copy link
Contributor Author

@mahoneyt944 I wouldn't worry so much about the hosting, til we are pretty set on these Custom OSTs. But, I have a good idea of where they can be posted, and can worry about that when the time comes. I will check out RoboCop:) Thanks again! And, I will check back in this feed for follow-ups.

@mahoneyt944
Copy link
Collaborator

@KMFDManic I have contra converted over. Did you have samples for this one yet or did you want me to create some?

@KMFDManic
Copy link
Contributor Author

@mahoneyt944 I have Contra samples partially done. You're welcome to pick some songs out, if you'd like, and we can scratch that one off of the list, as well. Ikari worked out great with your choices:) Hopefully, you like the Shinobi sample set I put together.

@mahoneyt944
Copy link
Collaborator

@KMFDManic
I merged support for contra here. d65b98f

It now supports sample fading as well. Still need to finalize the samples for this, but the functionality is all there. I found there's almost 1 to 1 samples available for contra from contra evolution and super contra. Do you have any particular preferences on these? I can build a full set of samples pretty easily for this one with true split channels.

Figured it might be easier to rename the samples also to there actual stage names such as "jungle" instead of stage1 etc. As long as you're ok with it I'll finalize the samples by the weekend. Or however you prefer otherwise.

@KMFDManic
Copy link
Contributor Author

@mahoneyt944 I'll have to link u to a few samples I uses in my test video for it. But, essentially, I've always felt Crysis was a spiritual successor to Contra, in the way that they both start out as human as a game can get...Then, they get increasingly alien in nature.

For Contra, which clearly has a first stage and protagonist based off of Predator, with Arnold Swarzeneggar, I feel a nice Predator theme remix would fit the first stage.

Samples, you can let me know what feels best for you. Actually, I list the samples I used in my Contra demonstration:

https://youtu.be/wtR1zHhRkgc

Feel free to be as creative as u want. You did exceptionally well with Ikari:)!

@SumavisionQ5
Copy link
Contributor

@KMFDManic Maybe you can add Captain Commando to your list.
There is a PSX port exclusive in Japan and it brings all new and different tracks.
You can check it here: https://downloads.khinsider.com/game-soundtracks/album/captain-commando-psx-gamerip

@ZOMBIE39
Copy link

ZOMBIE39 commented Sep 26, 2022

@KMFDManic After scanning the sound samples with the latest dat files the following results were obtained.
Is that what these sound samples mean when they are updated with a two-channel version?
QQ截图20220927005046
QQ截图20220927005034
QQ截图20220927005025

@mahoneyt944
Copy link
Collaborator

mahoneyt944 commented Sep 26, 2022

-02 is the right channel audio. When it's missing and -01(left channel) samples are available it will push the left channel to both speakers or vise versa.

@ZOMBIE39
Copy link

-02 is the right channel audio. When it's missing and -01(left channel) samples are available it will push the left channel to both speakers or vise versa.

I have compared the waveforms of the two channels in the stereo sound sample file and can see that -01 and -02 are not simply two identical audio, perhaps the producers felt that stereo was not suitable for these games?

@mahoneyt944
Copy link
Collaborator

mahoneyt944 commented Sep 27, 2022

01 and 02 are left and right mono samples which were split from stereo, they have slight differences in tone, echo, reverb, sometimes different instrumental tracks etc but overall are fairly close. That said, most left and right channels can be enjoyed even without their complimentary channel being available. The main reason someone may choose to do this, is because the samples are quite large and the platform they are using may not have enough memory to use a full set. Cutting a full set of samples to only 01 samples for instance, cuts the memory usage and storage requirement in half at the cost of true stereo. The core is designed to push a single mono sample to both speakers in the event that it's counterpart sample is not available. This effectively stimulates stereo with the benefits mentioned above.

So yes using only 01 samples isn't true stereo but can still be a good option for those trying to push performance out of lower spec hardware. Some of the new sample packs that are WIP only have 01 available currently and are used for testing purposes.

@MistyDreams
Copy link
Contributor

MistyDreams commented Sep 27, 2022

the sf2 i got from a certain archive was stereo if you arent going to release stereo samples remove the 02 samples :)

@mahoneyt944
Copy link
Collaborator

mahoneyt944 commented Sep 27, 2022

@MistyDreams
They will all have stereo eventually. The xtreme packs do not have 02 samples so as I convert, fix, and sometimes rewrite the OST support for 2003+, I'm auditing sample packs to include proper stereo channels then share those packs with @KMFDManic

ikari was redone and I'm currently rebuilding the contra pack now.

@KMFDManic
Copy link
Contributor Author

@MistyDreams Might be a good idea to edit your last post, as it refers to a site with copyrighted content that would violate github's rules. As far as the samples of -01, -02, having "dormant" coding for more advanced future use, was the primary goal with that. Depending on WHICH platform, some are only capable of supporting Mono Samples, as they would crash from running out of memory, attempting to run STEREO. There was far less interesting in Custom Samples, initially. But, with more and more platforms showing interest, "STEREO" options are more viable, nowadays:) I also greatly appreciate your tremendous support in help with anything MAME, related!

@mahoneyt944 I greatly appreciate your interest in this project, for sure! You have truly made an impact on things. Looking forward to your opinion on Contra. I can help with any of the remaining OST, custom samples wise. It is refreshing and nice to have more creative output with them, as well, such as what you've shown with Ikari, etc, thus far!

@SumavisionQ5 Capcom Samples can be a little finicky to work with, and we were hoping to get Forgotten Worlds/Strider implemented, and go from there. As of now, the coding needs fixed up a bit for those 2 specifics. But, I am very familiar with Captain Commando. I enjoyed playing the Capcom Collections/Generations, etc, over the years:)

@MistyDreams
Copy link
Contributor

@KMFDManic never posted any links just mentioned the site, but if thats an issue there are links here directly providing the samples in this issue. It will be problematic finding the right samples since hosting them could cause issues. Hopefully something can be done for users. maybe stereo and mono release packs with crcs.

@KMFDManic
Copy link
Contributor Author

KMFDManic commented Sep 27, 2022

@MistyDreams Referencing that exact site has caused problems with Reddit, Discord, etc, in the past, as it is very arguably and unquestionably "illegal" (hosting does not warrant legal downloading), and can lead to potential legal issues if people believe it is legitimate to freely download from, which is why I avoid usage of it. It has also caused controversy on other github repos, when brought up, since many mistakenly believe it is a safe download resource.

Ultimately, we would find a free hosting site, to post the mono/stereo samples of, which would be a safer bet.

@MistyDreams
Copy link
Contributor

@KMFDManic never knew an archive site would be an issue have seen it mentioned all over the place. I Wouldnt mention any direct links to it anyway is good to know. I would say the same can be said about most hosting sites just that one makes easier searches.

@KMFDManic
Copy link
Contributor Author

@MistyDreams That is a huge and common misconception, which you, yourself, are also now running into. This is really no different than sites that were widely mentioned, then had takedowns and computers seized, and so on, due to copyright infringement. 30 seconds on THAT site shows they are breaking the law by not "utilizing quality control" to ensure violations are not occurring. Nintendo, Sega, Sony, have "current" "digital" sold games on there, which absolutely breaks laws regarding legal downloads. Generally, it is up to the End User to "buy" games legally, then "dump" them legally. Being that I am part of several projects that get decent exposure, as is MAME 2003 Plus, Libretro, in general. It isn't the wisest idea to promote sites that have copyright infringed downloads that are very grey area. It can look quite bad for any and all involved.

This has been something I have been dealing with for 2+ decades in various projects I have been part of. When being a part of any project that gets exposure, it is best to try to remain within the confines of the law, as none of us want legal trouble, nor drama:) I have personally seen more than a few ignore such warnings, and end up being made examples of by Nintendo, and so on. It definitely is not a pretty thing to have a lawsuit slapped upon you by Nintendo, for 1 Million Plus dollars, as you would have no way out, but to declare bankruptsy.

We are here to help people run stuff, not break the law in the process:)

@MistyDreams
Copy link
Contributor

we are talking about sample sets here not current ninetendo games. Nintendo aint going to be bothering people for downloading unrelated sample sets. The same rule apllies anywhere dont post direct links.

@KMFDManic
Copy link
Contributor Author

Anyone going to that site would see it hosts copyrighted files that are grey area, is what I am meaning. The sample sets can easily be hosted elsewhere, to avoid legal drama and/or trouble. Referencing a site with potentially illegal content, despite it also having legal content can lead to a lot of trouble. Being that I have faced drama first hand, from unscrupulous competition in the past, I choose to stay on a clean path, with the End User being responsible for what is on their end. I certainly have no need to reference or link to a site that infringes and hurts companies. If someone spends years and makes a homebrew game, and then it is "illegally" posted on THAT site. Anyone grabbing the samples there, might think. Hey, maybe so and so game is here, too. Then, we essentially enabled them to download games they shouldn't be downloading, and became an accessory to law breaking. This can be argued all day and night. But, at the end, why bother, when it is easier to just not promote breaking of the law to begin with:)

I try to get my real life responsibilities done, then help people enjoy emulation. But, if it is going to come to a point where I am involved in any sort of "enabling" of copyright infringement, I would rather completely separate myself from any given project. It simply isn't worth chancing any legal repercussions for myself, nor any of you.

@MistyDreams
Copy link
Contributor

Well emulation contents is a gray area. I dont really care about that site per say. I will agree contents for emulation could be argued day and night.

@KMFDManic
Copy link
Contributor Author

KMFDManic commented Sep 27, 2022

In a different reality, I would love laws to be more forgiving when it comes to "obsolete", never to be seen again games, like anyone else. Look how long it took for Winnie the Pooh to become public domain, heh. And, the very first thing someone did was turn it into a slasher film! Imagine the day when Mario DOES become public domain, probably far after OUR time. Anyone could use Mario, but the hat he wears, a few other signature things, might still be protected. But, anyone and everyone COULD make a Mario Game, Movie, etc.

In any case, to try to get back on track, it would probably be best to delete references to that Site, and just make it more agreeable with a neutral hosting link, that would not potentially infringe upon Nintendo, Sega, Sony, etc. No matter what it comes down to, you CAN grab Nintendo Switch Games there, which is in no way, shape, or form, legal:)

Remember when a certain torrent site tried to protect its self interests by starting their own government on an island, haha:)?

@MistyDreams
Copy link
Contributor

i reworded it already dont think I had to personally. I just dont feel strongly about it. I can see you do though.

@KMFDManic
Copy link
Contributor Author

KMFDManic commented Sep 27, 2022

This is not just about me. This is the whole big picture. You really think Libretro would want any reputation for promoting of piracy within their sub repos? and, based on previous drama I have previously dealt with, as mentioned above...it simply isn't worth taking such a risk, whatsoever.

In a nutshell, I started trying to fix up and work with Cores, Libretro Wise, around 2016. Soon after that, Competition arrived on the Scene, who essentially made it their number one goal to try to remove me from said Scene, and prevent me from having stuff, such as Custom OSTs in MAME, and so on. Imagine if I would have given in, and let them win? We would not have ANY Custom OSTs in 2003 Plus, and Xtreme would not even exist.

These people have resorted to tactics, such as bringing the drama directly to Libretro in Discord, and even "reporting" violations of licenses that weren't even violated. Promoting Piracy is just not something not worth taking a risk with, given how malicious and evil people can be, at times.

Byuu, who was a great coder, recently committed suicide, after being relentlessly harrassed and bullied online. The site that was the catalyst for this, is now "pretty much done", as a seemingly direct result of that.

Many choose to hide behind keyboards and cause trouble for others online. I see no reason to be a part of any of that, especially by promoting piracy, and automatically making myself, or anyone else involved a potential target for legal prosecution.

arcadez2003, as well as grant2258 have also seen their share of drama in RetroPie, as well as Libretro Scenes. And, I wish neither of them had! But, it is inevitable to run into confrontations, at some point. In my case, my Repo was "forked", and attempts were made to "ban" me and prevent me from doing anything Xtreme Wise, Custom OSTs, etc. In the end, many great and fantastic people showed support, and were still working on some more fun and Xtreme Stuff for MANY Cores, not just MAME:)! And, those who caused the trouble have "shamefully" exited the Scene without much of a word.

In the end, @MistyDreams I appreciate all you do. But, I also do not want you, nor anyone else involved in THIS project to ever have to worry about legal drama. That is what it really comes down to.

@MistyDreams
Copy link
Contributor

Most of the drama isint legal its cancel culture gone wrong. 99% of license violations complaint come from people with no authority ie only copyrights holders and contributors have a say with any authority. Its bitter people wanting something for themselves or there own motives to attack others. Anyway still dont think I committed a massive crime.

@Wilstorm
Copy link
Contributor

Wilstorm commented Sep 27, 2022

@KMFDManic - I always felt mum's the word with basically anything emulation. I think if guys like you didn't work "gray" areas we wouldn't have many classics.

I guess I was under the impression even sound samples are copyright infringement without written consent or owning it here in the US. Or at a minimum some of the material pulled from commercially sold CD/DVDs or OSTs, like "The Warriors". It's such an iconic classic from the late 70s. I do have the soundtrack and the movie so I'm good to go.

I guess I was thinking the very content in question (i.e. -- samples, song and music bytes) are just as much a violation as any hosting site would be just as liable as those churning them out!

It sounds like you had some experience with it, can you clarify that the samples are indeed legal to obtain and be in our possession for these OSTs? Aren't samples protected by default as an extension of the game or as pointed out above rips from commercial media or commercial OSTs?

I hope to make one thing abundantly clear. Growing up I didn't have two nickels to rub together and when "warez" and BBS's hit the scene I was all over and didn't give it a 2nd thought. I guess I still don't give a shit today, just being honest. Hasn't everyone at one point in their lives downloaded questionable content/programs/music, even if temporary, when short on funding?! ;)

With that being said I love the work you do and wouldn't sell anyone out, for any of this. I just never felt that strongly about it. It seems petty and just isn't worth the time, at all, in any capacity. I can enjoy the content you churn out or write letters trying to "troll" folks...hmmm...that's a no brainer! :)

Any way thanks for all the hard work and amazing "arcade enrichment" you bring to the emulation scene!!! I think you started something amazing and please do keep going. I just figured if there was something to clarify easily that doesn't require reading between the lines or a gray area it could be useful information.

@MistyDreams
Copy link
Contributor

Well not sure pretty sure commercial music is copyrighted it could be an issue. Hosting certainly would be for copyrighted stuff I guess.

I know the mame sample set has zero issues for whatever reasons. The bottom line is the samples are linked here. I mentioned my sf2 was stereo cause the op had missing samples. It lead to this Im not heavily involved in big projects might be worth asking libretro about the samples.

@Wilstorm
Copy link
Contributor

@KMFDManic - Just to be clear. I completely and whole heartedly respect your point of view and would definitely adhere to any requests or suggestions you make when it comes to how to handle the custom OST samples. I agree with following forum rules. I just wasn't aware you felt so strongly about it.

@MistyDreams - I always wondered why MAME samples are so openly shared. I can't help it, I just "slant" toward sharing all, for lack of better words... the greater good! ;)

I have to get this out of my system. I have to say I've enjoyed watching your work on this core and can't help to think you have a "fire" in ya that reminds me of grant2258, not saying it's you at all, but feisty ya be fur sure! ;)

@mahoneyt944
Copy link
Collaborator

There's definitely gray area..... I mean weird al made a career out of using other people's music, with his own customizations. One could argue that we are parodying the original tracks since we do edit the original tracks to use here. I know with the samples I've worked on the tracks are split, cut, edited, faded, filtered etc to fit the game better. There's probably a line of "fair use" around this .... I feel arguments can be made for both sides but I'm not trying to fight that fight either.

@MistyDreams replying to your comment about mame samples specifically, I've always assumed these are not copyright material since these are recreations or newly created captures of original sounds, but they are not the original sounds themselves. Like recording a live concert maybe. Or when a band covers another bands song etc.

@mahoneyt944
Copy link
Collaborator

First you want to make sure the function is hooked up correctly. You can replace the sound call you're working on with the bool function and add some test code or logging in the bool function to verify that the sound triggers are being successfully sent to the bool function. Once you have them they can be processed/ modded.

The new system defines these functions in ost_samples.h and includes that in any file using ost support.

@kurrono
Copy link

kurrono commented Mar 1, 2023

the maximun i got it working is like muting the game.. no sfx and no custom music playing....
fully muted game

@mahoneyt944
Copy link
Collaborator

mahoneyt944 commented Mar 2, 2023

If you remove the sound latch, you'll lose sound. So the bool function needs to return when it should latch default sounds or ignore them to play custom tracks

@kurrono
Copy link

kurrono commented Mar 3, 2023

and battletoads arcade is a weird game is not hackable .. i tried...
if u go diagnose music is 1 to 9.... and the triggering on songs 1 to 6 their value is 1.. 7 is for song7 and 8 is 16 and 9 is 11..
but sfx is 1 to 185
si if i use 2 to 6... the music will play on sfx values,...

@kurrono
Copy link

kurrono commented Mar 3, 2023

i know the bool goes on taitosnd.h like bool game_plying = false; plus in here "#include taitosnd.h"
then where the music code goes is like taitosnd.c goes game_playing = true; the soundlatch_w goes here but taito is different no latch is taitosound_comm_w(offset,data & 0xff);
then rastan.c here goes another #include,sndhrdw,taitosnd.h" and of course game_playing = true; top and bottom..still i cant make it work ..

im planning to go to ur ost_samples.c and h... but i put smash tv on the wrong spot whre mk was located..
williams hrdw has 3 diffreten spots one for narc one for mk and one for smash tv and other games

@kurrono
Copy link

kurrono commented Mar 3, 2023

if i get rastan working i can get the rest working..
it does the same thing as smash tv.. mute no sfx polaying
i'm missing something..
hacking game is file.c without the xtra files .h and souindhdrw is easier to hack
this with 3 files im missing smthing

@mahoneyt944
Copy link
Collaborator

Part of how I hook up the new way is a function ost_support_enabled

extern bool ost_support_enabled (int ost);

And MDRV_INSTALL_OST_SUPPORT

#define MDRV_INSTALL_OST_SUPPORT(ost) \

Which installs and checks for a value for each ost we support. Or in other words an identifier. This removes the game_playing bool used prior. This also passes a reference for machine to use outside the driver.

These identifiers are just a simple enum which allows for easy updates and additions.

enum
{
OST_SUPPORT_DISABLED = 0,
OST_SUPPORT_CONTRA,
OST_SUPPORT_DDRAGON,
OST_SUPPORT_FFIGHT,
OST_SUPPORT_IKARI,
OST_SUPPORT_MK,
OST_SUPPORT_MOONWALKER,
OST_SUPPORT_NBA_JAM,
OST_SUPPORT_OUTRUN,
OST_SUPPORT_ROBOCOP,
OST_SUPPORT_SF1,
OST_SUPPORT_SF2
};

If you are hooking up a new function and losing sound. You probably are not returning the original sound latch at all. Your bool function needs to return true when you want default sounds to play or false when you're ignoring original sounds. This is why the switch functions default returns true.

default:
schedule_default_sound = true;
break;

This logic can be found all over the code base here as well for the hook.

if( ost_support_enabled(OST_SUPPORT_OUTRUN) ) {
if(generate_ost_sound_outrun( data )) sound_shared_ram[0]=data&0xff;
}
else {
sound_shared_ram[0]=data&0xff;
}

@kurrono
Copy link

kurrono commented Mar 4, 2023

i managed to make offroad and rastan work in one file.....
i might use ost suppor on smash tv..
killer instinct is a mission to make it .. custom ost.. i tohght music was on dcs.. butg i added usrint. to it and it dont trigger nothing..so the music is on kints.c.. but whn u try to play custom music.. oither values from other stages messups glacius song value 1.. for 30 or whatever..
some arcades emulation from mame arent perfect.. osme music are klunked....
jackal is a hard one too .music is on ram,,,, try to hack there and the game gets stcuk when it loads on ram
commonram1_w ..

@kurrono
Copy link

kurrono commented Mar 4, 2023

now igot smash tv working with ur ost_samples method....
i did the same with cityconnection but the game no goodto be hacked..
intead og playing samples.. it makes weird ground noises ..if u hack the game
and thesample only plays in 255...

@kurrono
Copy link

kurrono commented Mar 8, 2023

OMg hacking that batman game using ur ost_samples.h i had to use it in 3 files...
batman.c
atarijsa.c
and astarigen.c...
it took me awhile ot figure that out.. road runner and 720 degrees was eassier....

@kurrono
Copy link

kurrono commented Mar 8, 2023

oh in batman i use the Batman ost from the movie 1989 with michael keaton and her... Kim Basinger

@kurrono
Copy link

kurrono commented Mar 14, 2023

mahoney i want to ask you one more question..on how to fix battletoads..if its possible..
battletoads vaslues are 1 to 9
but sound sfx is 1 to 185
theres a way t ochange the cases with
case 0x01 to 0x09 =>case 0xBA to 0xC2

is snes i can change that but here on mame ..no clue..maybe not possible....

@mahoneyt944
Copy link
Collaborator

It would seem that it's masking the data. So you'd have to determine if there's a common factor or bitwise conversion taking place there. Kind of a trial and error approach... or see if the documentation in the source file gives you any clues.

@kurrono
Copy link

kurrono commented Mar 15, 2023

i thin k i found it

WRITE16_HANDLER( BSMT2000_data_0_w )
{
bsmt2000_reg_write(&bsmt2000[0], offset, data, mem_mask);
}

@kurrono
Copy link

kurrono commented Mar 16, 2023

then sdome taito games are ok to hack like rastan or ninja warriors
now darius2d or2 or superman..oh jesus those are terrible ..it keeps triggering the same value.. making the music continuing looping.. witohut finishing the.song lie every 3 seconds..terrible..

@kurrono
Copy link

kurrono commented Apr 20, 2023

its done battletoads i got it woking..no more 1-1-1-1-1-1-7-11-16
now is 1028 for 1st track, 27652 for 2nd, 3328 for 3rd, 50180 4th song, 32256 the 5th, 3840 for 6th track,
1793 for 7th, 4097 for 8th, 2817 for last song...damn it took me awhile...

now some taito gamesare like impossible to hack like darius 3 screen or superman..
cause the values for music ..plays for sfx or mame coders didint fix that good in some games..
and jackal it still no good to hack like city connection... if u hack city connection instead of playing music it plays a ground noise...

@kurrono
Copy link

kurrono commented May 25, 2023

is there a way to fix data inmame games... that data work form the driver..not the rom...right?
darius 2 or darius 2d
both have their data wrong

music starts from 0A =10 ,0B =11 ,0c =12 0D = 13 ,0E=14,0F=15,
10 to 15 no datavalue working...
then 16 is 6 ? is supposed to be 22?
17 =7,18=8,19=9,1A=10,1B=11,1C=12,1D=13,1E=14==> is shooting sfx
as u can see is using 14 for music and 14 for sfx..that makes no sense ..i guess this game is impossible to hack it

@mahoneyt944
Copy link
Collaborator

Not all games we support are fully working so that adds issues when trying to hack things.

@kurrono
Copy link

kurrono commented May 25, 2023

yes ur right...jackal is in the same spot..is the mame team how created the drivers.. it needs improvement..
but ninja warriors is working ok with custom music..
than darius 2 or 2d

@kurrono
Copy link

kurrono commented May 25, 2023

i tried to hack killer instinct... that is terrible.. it has the values where it goes .. but has the same problem with sfx too

@ac3nl
Copy link

ac3nl commented Jul 30, 2023

Are the Contra OST samples completed yet?

@mahoneyt944
Copy link
Collaborator

The set I use is left channel only. can't remember if @KMFDManic had a copy or not available.

@ac3nl
Copy link

ac3nl commented Aug 12, 2023

it is weird: contra.zip (samples) were added to mame2003plius months ago.
NOBODY seems to have this complete, so why was it added in the first place?

@mahoneyt944
Copy link
Collaborator

mahoneyt944 commented Aug 12, 2023

@ac3nl to be fair, this is a WIP. The functionality for contra now works in this core, but the sample set is not yet complete. We have sets that are used for testing.... Distribution of these files it also illegal, so that's problematic.

@kurrono
Copy link

kurrono commented Aug 29, 2023

mahoney i cant make narc work on ost_samples i need to know ..to make it work it needs modifications like somebody did on NbaJam..?
ost_samples_narc.zip

@kurrono
Copy link

kurrono commented Aug 31, 2023

i got it working instead of 0x01 it was FF01..but the game dont mute..is playing dual music

@mahoneyt944
Copy link
Collaborator

@kurrono if you get original and ost sound simultaneously then you either are not cancelling the original sound correctly or you have the wrong trigger value. Try blocking the original sound before adding more sound over top to ensure you have the correct values

@kurrono
Copy link

kurrono commented Sep 3, 2023

i tried that already..it doesnt work.....the arcade remains with the original music intact..changing those values

@ac3nl
Copy link

ac3nl commented Feb 5, 2024

any updates about contra.zip sample files?
DAT still giving missing errors

@KMFDManic
Copy link
Contributor Author

any updates about contra.zip sample files?
DAT still giving missing errors

@ac3nl you're welcome to help finish up any sample sets that are incomplete. It mostly comes down to creatively choosing what to replace the default tracks with. Dat.wise, is somewhat insignificant in this case, as you can technically run about any sample you want to run. If we agreed on a solid sample set for any given game, such as has already been done for final fight, etc, then the dat would be more practical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants