|
Why is not possible save overclocking sliders in mame?
#294348 - 08/23/12 09:07 PM
|
|
|
Hi guys!
Why is not possible save overclocking sliders in mame with cheats activated?
When I restart mame, the overclocking sliders and frames adjusts are not saved. I googled but can not find official information about this.
Is there any reason from mamedevs to do this?
(Using GroovyMame Arch-Linux):P
Thanks!
|
|
|
mesk |
@ the arcade
|
|
|
Reged: 03/03/11
|
Posts: 484
|
Loc: Rhode Island
|
|
Send PM
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Rockman]
#294357 - 08/23/12 11:06 PM
|
|
|
so MAME testers isnt flooded with bug reports that are caused by the overclocking.
|
|
|
Tafoid |
I keep on testing.. testing.. testing... into the future!
|
|
|
Reged: 04/19/06
|
Posts: 3135
|
Loc: USA
|
|
Send PM
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Rockman]
#294363 - 08/23/12 11:56 PM
|
|
|
> Hi guys! > > Why is not possible save overclocking sliders in mame with cheats activated? > > When I restart mame, the overclocking sliders and frames adjusts are not saved. I > googled but can not find official information about this. > > Is there any reason from mamedevs to do this? > > (Using GroovyMame Arch-Linux):P > > Thanks!
If you want to chronically overclock emulated CPU speeds, I would suggest you adjust the driver source to the level you required before compiling. You do that with your local compile and you'll not have to deal with sliders.
Just remember, as others have mentioned, any side-effects or other ills are not reportable as bugs. The slider option is there as a Developer tool only and not viewed as a permanent solution.
|
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: mesk]
#294364 - 08/23/12 11:57 PM
|
|
|
In my opinion it would be better to not accept any bug reports at all as long as the cheat flag is enabled. That way MAME could officially support saving refresh rate or CPU speed etc in the gamename.cfg file and revert back to its default values when “cheat” is disabled.
|
----
“Anyone who has never made a mistake has never tried anything new.” --Albert Einstein
|
|
Tafoid |
I keep on testing.. testing.. testing... into the future!
|
|
|
Reged: 04/19/06
|
Posts: 3135
|
Loc: USA
|
|
Send PM
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Malmanian]
#294365 - 08/24/12 12:00 AM
|
|
|
> In my opinion it would be better to not accept any bug reports at all as long as the > cheat flag is enabled. That way MAME could officially support saving refresh rate or > CPU speed etc in the gamename.cfg file and revert back to its default values when > “cheat” is disabled.
We already have that policy of not accepting reports from any -cheat derived report. That doesn't change the fact that sliders are not meant to be a permanent solution (as mentioned above) and are just another Developer tool. Once a Developer gets the right speed found, they simply adjust the source files and it's done.
|
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Tafoid]
#294366 - 08/24/12 12:09 AM
|
|
|
> If you want to chronically overclock emulated CPU speeds, I would suggest you adjust > the driver source to the level you required before compiling. You do that with your > local compile and you'll not have to deal with sliders. > > Just remember, as others have mentioned, any side-effects or other ills are not > reportable as bugs. The slider option is there as a Developer tool only and not > viewed as a permanent solution.
does anybody know where I change the overclocking code line in ddragon.c?
|
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Tafoid]
#294367 - 08/24/12 12:24 AM
|
|
|
Greetings Tafoid and thanks for the reply!
Unfortunately on some drivers it is much harder to permanently change the refresh rate values, for example I have for some time tried to modify midtunit.c to change the refresh rate from 54.707 to 60HZ without success, but I agree that the CPU overclocking values are much easier to set. Due to the MAME policies I always feel like a criminal when I customize my own build for personal use and add/remove some “forbidden” functionalities =). Cheers
|
----
“Anyone who has never made a mistake has never tried anything new.” --Albert Einstein
|
|
Tafoid |
I keep on testing.. testing.. testing... into the future!
|
|
|
Reged: 04/19/06
|
Posts: 3135
|
Loc: USA
|
|
Send PM
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: edcosta]
#294368 - 08/24/12 12:28 AM
|
|
|
> > If you want to chronically overclock emulated CPU speeds, I would suggest you > adjust > > the driver source to the level you required before compiling. You do that with your > > local compile and you'll not have to deal with sliders. > > > > Just remember, as others have mentioned, any side-effects or other ills are not > > reportable as bugs. The slider option is there as a Developer tool only and not > > viewed as a permanent solution. > > does anybody know where I change the overclocking code line in ddragon.c?
Drivers will most commonly have a "MACHINE_CONFIG_START" for the game or parent in question and then look for "MCFG_CPU_ADD" for the CPU you want to adjust.
|
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Tafoid]
#294369 - 08/24/12 12:32 AM
|
|
|
> Drivers will most commonly have a "MACHINE_CONFIG_START" for the game or parent in > question and then look for "MCFG_CPU_ADD" for the CPU you want to adjust.
Thanks and cheers for that. I’ll give it a go on a test compile right now and post back the results:
|
----
“Anyone who has never made a mistake has never tried anything new.” --Albert Einstein
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Malmanian]
#294372 - 08/24/12 02:29 AM
|
|
|
Thanks Tafoid that worked like a charm.
edcosta:
In ddragon.c under:
static MACHINE_CONFIG_START( ddragon, ddragon_state )
change:
MCFG_CPU_ADD("maincpu", HD6309, MAIN_CLOCK)
To:
MCFG_CPU_ADD("maincpu", HD6309, 30000000) /* default 12 MHz to 30 MHz */
And change:
MCFG_CPU_ADD("sub", HD63701, MAIN_CLOCK / 2)
To:
MCFG_CPU_ADD("sub", HD63701, 15000000) /* default 6 MHz to 15 MHz */
|
----
“Anyone who has never made a mistake has never tried anything new.” --Albert Einstein
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Malmanian]
#294380 - 08/24/12 05:20 AM
|
|
|
> Thanks Tafoid that worked like a charm. > > edcosta: > > In ddragon.c under: > > static MACHINE_CONFIG_START( ddragon, ddragon_state ) > > change: > > MCFG_CPU_ADD("maincpu", HD6309, MAIN_CLOCK) > > To: > > MCFG_CPU_ADD("maincpu", HD6309, 30000000) /* default 12 MHz to 30 MHz */ > > > And change: > > MCFG_CPU_ADD("sub", HD63701, MAIN_CLOCK / 2) > > To: > > MCFG_CPU_ADD("sub", HD63701, 15000000) /* default 6 MHz to 15 MHz */
WOW! VERY NICE! now Double Dragon it is as my pcb. THANKS MilliGoodz.
|
|
|
|
Re: Why question...
[Re: edcosta]
#294389 - 08/24/12 05:48 AM
|
|
|
Why would his board be faster than MAME if it is at the verified CPU speed? I could understand if it was a bootleg made that way to deep throat quarters more quickly. Other than that, is it possible to do that on an OEM PCB? Unless it was written into the code itself?
Wondering...
|
Pessimist: Oh, this can't get any worse!
Optimist: Yes, it can!
|
|
Sune |
Connected
|
|
|
Reged: 09/21/03
|
Posts: 5648
|
Loc: Lagoa Santa, Brasil
|
|
Send PM
|
|
|
Re: Why question...
[Re: Bad A Billy]
#294392 - 08/24/12 05:53 AM
|
|
|
> Why would his board be faster than MAME if it is at the verified CPU speed? I could > understand if it was a bootleg made that way to deep throat quarters more quickly. > Other than that, is it possible to do that on an OEM PCB? Unless it was written into > the code itself? > > Wondering...
Ed lives in Brazil which almost automatically guarantees that his Double Dragon PCB is a bootleg. I'm guessing it has faster or overclocked CPUs or some other modification that eliminates or lessens the slowdowns.
S
|
|
|
AWJ |
|
|
|
Reged: 03/08/05
|
Posts: 936
|
Loc: Ottawa, Ontario
|
|
Send PM
|
|
|
Re: Why question...
[Re: Sune]
#294396 - 08/24/12 06:20 AM
|
|
|
The bottleneck on Double Dragon is the protection MCU, which is involved in processing the sprite list. Bootlegs replaced the MCU with some CPU or other running their own code, which often performed better than the original MCU did.
|
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Tafoid]
#294398 - 08/24/12 09:32 AM
|
|
|
>We already have that policy of not accepting reports from >any -cheat derived report. That doesn't change the fact >that sliders are not meant to be a permanent solution (as >mentioned above) and are just another Developer tool. Once >a Developer gets the right speed found, they simply adjust >the source files and it's done.
Thanks for the replys! Tafoid, Its ok, developers do what they think most appropriate.
But in my little opinion, I think, the cheat mode main use is for cheat the games and not for develop only tool. I don't like flooders/trollers/etc too, but they will ask with, and without saving the overclocking sliders. :/ Hehehe!! When I activate the cheat mode, I assume it can affect game performance and may be affect emulation. Is obviously.
I think is positive include in the *.cfg games the sliders configs with cheat flag activate for users who are not developers. Only looking skip the slowdowns presents in the original PCB. Modifyng the sources every time i want overclock a game is a time eater for a person only like play arcade games.
It is possible and relatively easy for advanced mame user/tweaker to make a patch for mame, that instead of changing the speed of a CPU, save cheat menu values in the cfg file of a game? Or is a mind blowing in the mame code? Apply that patch compile it, and everybody happy
Thanks!
Also, I want to thank all the mameteam for your work to preserve arcade games live
Edited by Rockman (08/24/12 11:05 AM)
|
|
|
Sune |
Connected
|
|
|
Reged: 09/21/03
|
Posts: 5648
|
Loc: Lagoa Santa, Brasil
|
|
Send PM
|
|
|
Re: Why question...
[Re: AWJ]
#294425 - 08/24/12 10:09 PM
|
|
|
> The bottleneck on Double Dragon is the protection MCU, which is involved in > processing the sprite list.
wow that must have pissed off the programmers at the time (if they cared at all)
> Bootlegs replaced the MCU with some CPU or other running > their own code, which often performed better than the original MCU did.
Thanks. I would look for alt sets on MAWS for more information but I can't.. booo hiss
S
|
|
|
CiroConsentino |
Frontend freak!
|
|
|
Reged: 09/21/03
|
Posts: 6211
|
Loc: Alien from Terra Prime... and Brazil
|
|
Send PM
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Malmanian]
#308952 - 05/20/13 01:53 AM
|
|
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Malmanian]
#308953 - 05/20/13 02:17 AM
|
|
|
I highly doubt Milligodz is watching this topic anymore but if someone else want to set the refresh rate of the midtunit.c at 60 here is how is done:
Open midtunit.c and look for this "34010 configuration" then change into this:
FALSE, /* halt on reset */ "screen", /* the screen operated on */ 4387020, /* pixel clock */
|
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Marcelo_20XX]
#354649 - 05/25/16 03:12 PM
|
|
|
Is any way now to change double dragon cpu overclock slider at compiled versions, only for that specific game, and keep that setting in some cfg file? Will this feature be added in a near future?
|
RETRODANUART.COM
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Marcelo_20XX]
#354723 - 05/26/16 04:51 PM
|
|
|
> I highly doubt Milligodz is watching this topic anymore but if someone else want to > set the refresh rate of the midtunit.c at 60 here is how is done: > > Open midtunit.c and look for this "34010 configuration" then change into this: > > FALSE, /* halt on reset */ > "screen", /* the screen operated on */ > 4387020, /* pixel clock */
That is a *very* bad idea. The 34010 is super-sensitive, and the game's liable to give up the ghost just as you reach the final boss.
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Sthiryu]
#354724 - 05/26/16 04:52 PM
|
|
|
> Is any way now to change double dragon cpu overclock slider at compiled versions, > only for that specific game, and keep that setting in some cfg file? Will this > feature be added in a near future?
No, and no. MAME presents these games the way they actually were. If you can't handle that, buy a PS4.
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Why question...
[Re: Sune]
#354725 - 05/26/16 04:55 PM
|
|
|
> wow that must have pissed off the programmers at the time (if they cared at all)
If they cared, they probably *really* hated that the NES version on a 6502 at half the clock was 60/60. If someone isn't in Brazil and they remember DD as being fluid, they're probably remembering the NES version.
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Malmanian]
#354726 - 05/26/16 04:57 PM
|
|
|
I *think* you can alter CPU clocks from Lua scripts, which would provide a more convenient solution to this. If not, you should be able to
|
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: R. Belmont]
#354809 - 05/27/16 09:49 PM
|
|
|
Far as I know, the PS4 version has accurate slowdown too.
|
---
Try checking the MAME manual at http://docs.mamedev.org
|
|
|
Re: Why question...
[Re: R. Belmont]
#354810 - 05/27/16 09:52 PM
|
|
|
Yep. I played the arcade first, then forgot about how jerky it was. Played NES, got used to that, went back to the arcade, and *bam* "What? Why's this so BAD?"
I had an even worse reaction to the arcade Contra, though, which clearly needed a change to horizontal.
|
|
|
|
Don't forget the awful jump/shoot bug!
[Re: Firehawke]
#354873 - 05/28/16 11:37 PM
|
|
|
Damn stupid you couldn't jump/shoot simultaneously if at the top of the screen.
Also Gradius arcade series where the speed of your shots were dictated by how far you were from the edge of the screen.
Konami made some infuriating design choices with their arcade games. I'd love to play them with their NES gameplay characteristics.
|
|
|
|
Re: Why is not possible save overclocking sliders in mame?
[Re: Tafoid]
#357298 - 08/04/16 12:01 AM
|
|
|
hmm new to this i want to speed up time crisis using mame ui 64 , how can i adjust this & edit the MACHINE_CONFIG_START etc.
Since the overclock sliders methods not permanent
|
|
|