Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: feature request  (Read 2137 times)

0 Members and 1 Guest are viewing this topic.

pucci

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • Last login:Today at 06:54:43 pm
  • I want to build my own arcade controls!
feature request
« on: September 14, 2013, 06:01:59 am »
can you add this two great feature to GroovyMAME?

- Skip Startup Frames
- No Validity Checks

http://forum.arcadecontrols.com/index.php?topic=133643.0

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: feature request
« Reply #1 on: September 21, 2013, 01:10:11 pm »
Hi pucci,

Thanks for posting about this feature. However, I'd rather not adding patches that modify the official drivers when possible.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

pucci

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • Last login:Today at 06:54:43 pm
  • I want to build my own arcade controls!
Re: feature request
« Reply #2 on: September 21, 2013, 01:53:15 pm »
i dont' think that this patch touch driver

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19959
  • Last login:Yesterday at 12:36:11 am
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: feature request
« Reply #3 on: September 21, 2013, 01:57:19 pm »
Sure it does. That's why you have to roll your own if you want it.
***Build what you dig, bro. Build what you dig.***

pucci

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • Last login:Today at 06:54:43 pm
  • I want to build my own arcade controls!
Re: feature request
« Reply #4 on: September 22, 2013, 06:11:07 am »
Sure it does. That's why you have to roll your own if you want it.

I do not understand why you answer me so rude, why do you say that the patches go to modify the drivers?

skipStartUpFrames.txt modify video.c

Code: [Select]
--- old/emu/video.c 2013-01-11 07:32:48.000000000 -0800
+++ src/emu/video.c 2013-07-28 22:58:13.000000000 -0700
@@ -224,6 +224,20 @@
  // only render sound and video if we're in the running phase
  int phase = machine().phase();
  bool skipped_it = m_skipping_this_frame;
+ static int Frames=0;
+ int skip_startup_frames = 999;
+ if (skip_startup_frames)
+ {
+     Frames++;
+     if (skip_startup_frames)
+       {
+         if (Frames<=skip_startup_frames)
+           skipped_it = true;
+
+         if (Frames>skip_startup_frames+2)
+           skip_startup_frames=0;
+       }
+ }
  if (phase == MACHINE_PHASE_RUNNING && (!machine().paused() || machine().options().update_in_pause()))
  {
  bool anything_changed = finish_screen_updates();

validityChecks.txt modify mame.c

Code: [Select]
--- old/emu/mame.c 2013-07-28 21:23:24.000000000 -0700
+++ src/emu/mame.c 2013-01-11 07:32:48.000000000 -0800
@@ -171,8 +171,8 @@
  // otherwise, perform validity checks before anything else
  if (system != NULL)
  {
- validity_checker valid(options);
- valid.check_shared_source(*system);
+// validity_checker valid(options);
+// valid.check_shared_source(*system);
  }
 
  // create the machine configuration