MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Yoshin222
MAME Fan
Reged: 10/06/21
Posts: 3
Send PM


Loading Custom CPS3 Roms
#392063 - 10/06/21 09:42 PM


I've tried looking for a solution to no avail, so i hope this prod isn't bothering anybody, but how would somebody load a CPS3 Game with additional chips? I've been Romhacking Red Earth for a while now, and after seeing how 4rd Strike used additional Simms/Interleaved files to load extra data, i was wondering if such a thing would be possible for Red Earth as well? Kinda like how ya can load custom Neo-Geo games via the hash folder


For context, i'm using mame-rr-0144-test0 for debugging and whatnot, please let me know if it's impossible on that revision or how i can go about doing this if not. I apologize if this is a dumb question, and thanks in advance for the time!



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2261
Send PM


Re: Loading Custom CPS3 Roms new [Re: Yoshin222]
#392064 - 10/07/21 08:25 AM


> For context, i'm using mame-rr-0144-test0 for debugging and whatnot, please let me
> know if it's impossible on that revision or how i can go about doing this if not.

If the "0144" is indicative of the version of MAME that it was built off of (0.144), then that version of MAME came out approximately a decade ago. There have been a number of improvements to the CPS3 driver since then that you're going to be lacking.

Is there a particular reason why you're not choosing to edit the source of the latest official version of MAME instead?



Yoshin222
MAME Fan
Reged: 10/06/21
Posts: 3
Send PM


Re: Loading Custom CPS3 Roms new [Re: MooglyGuy]
#392067 - 10/07/21 09:11 PM


In all sincerity, it's specifically cause of the debugger, and i've tried for ages to get recent builds up to no success. Bit maddening tbh lol
Is the Debugger still availible with recent versions? I admit i've been out of the loop with recent MAME for a while now



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3203
Loc: A long way from you
Send PM


Re: Loading Custom CPS3 Roms new [Re: Yoshin222]
#392068 - 10/07/21 09:33 PM


> Is the Debugger still availible with recent versions?

Yes.



Yoshin222
MAME Fan
Reged: 10/06/21
Posts: 3
Send PM


Re: Loading Custom CPS3 Roms new [Re: Robbbert]
#392070 - 10/07/21 11:05 PM


Dope
Now my question is what about the source would i edit to allow me to do this? I've looked through the source and am unsure what i would need to edit



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2261
Send PM


Re: Loading Custom CPS3 Roms new [Re: Yoshin222]
#392071 - 10/07/21 11:47 PM


> Dope
> Now my question is what about the source would i edit to allow me to do this? I've
> looked through the source and am unsure what i would need to edit

You haven't quite clearly defined what it is you want to do.

There's a comment in the driver file along the lines of:


Code:


/* individual configs for each machine, depending on the SIMMs installed */



Below that, then based on the relevant names for each machine, it should be relatively straightforward to infer the SIMM configuration for each indivudal game. Make whatever game it is you're hacking resemble the SIMM layout for whatever game it is you want it to be like, and that should get you most of the way there.

It's probably a safe bet that you're targeting your ROM hack at a "no-CD" hack of the game in order to make it easier, in which case you'll want your hack to mimic the no-CD-hack ROM layouts found starting around line 2890 of cps3.cpp. The whole thing more or less amounts to code LEGO, so as long as you take a few minutes to observe how it all hooks together, it should be relatively easy.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 341 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 598