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: BattleZone slowness?!  (Read 2097 times)

0 Members and 1 Guest are viewing this topic.

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 29, 2025, 09:39:08 am
    • Centipede MAME cabinet
BattleZone slowness?!
« on: March 13, 2003, 12:35:22 am »
Kinda off topic, I know, but is everyone else getting REAL slow fps with BattleZone vector game?

My AMD Athlon XP 1800+ yields only about 40% speed at 1024x768x16

Other vecotr games seem pretty slow too, but at least they do hit the 100% mark.   Most any other game I run yields 150%-400%
"3 warps to Uranus" -- so I stopped playing!

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Today at 05:14:22 pm
  • The Bears Still Suck!
Re:BattleZone slowness?!
« Reply #1 on: March 13, 2003, 02:07:16 am »
Might try using the nosleep or force something like 800x600 on those games.
« Last Edit: March 13, 2003, 09:08:15 pm by SirPoonga »

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:BattleZone slowness?!
« Reply #2 on: March 13, 2003, 07:02:48 am »
Using the new artwork system can slow things down considerably.  I can play BattleZone at full speed with no artwork, but with the artwork overlay I get a pretty poor framerate.  This problem occurs (for me) in a lot of games that use artwork.

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 29, 2025, 09:39:08 am
    • Centipede MAME cabinet
Re:BattleZone slowness?!
« Reply #3 on: March 13, 2003, 07:57:12 am »
Minwah:

I do not have any artwork in place.  (I knew about artwork slowdowns).

What processor do you have, and at what resolution are you running BattleZone?   I only get full speed if I go 640x480.
"3 warps to Uranus" -- so I stopped playing!

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 29, 2025, 09:39:08 am
    • Centipede MAME cabinet
Re:BattleZone slowness?!
« Reply #4 on: March 13, 2003, 07:11:43 pm »
Update:

Even my a.s.s-slow Mac  (350 Mhz G3) runs Battlezone at 177% speed, 1280x960  (!!!)   What's going on here?  :(

I do notice the PC version seems to put colored vectors (green) while Mac uses white...
« Last Edit: March 13, 2003, 09:55:53 pm by Justin »
"3 warps to Uranus" -- so I stopped playing!

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Today at 05:14:22 pm
  • The Bears Still Suck!
Re:BattleZone slowness?!
« Reply #5 on: March 13, 2003, 09:10:31 pm »
a 350 g3 isn;t that slow :)

Did you try the no sleep option?

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 29, 2025, 09:39:08 am
    • Centipede MAME cabinet
Re:BattleZone slowness?!
« Reply #6 on: March 13, 2003, 10:02:35 pm »
Should -nosleep be set to 0 or 1?  

Also, how does the new -high_priority work?  Isn't this similar to -nosleep?   Sorry, the documentation is very vague in this area...
"3 warps to Uranus" -- so I stopped playing!

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
Re:BattleZone slowness?!
« Reply #7 on: March 13, 2003, 10:49:07 pm »
In mame.ini sleep should be set to 0 and you can make high priorty 1.  Making it high priority can improve things but not guaranteed.  It just means mame will have more resources allocated to it and other background applications are less likely to take those resources.  Some people have said it makes no difference.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Today at 05:14:22 pm
  • The Bears Still Suck!
Re:BattleZone slowness?!
« Reply #8 on: March 13, 2003, 10:56:22 pm »
actually, try sleep at 1.  Sleep cycles is something windows does.  It may improve performance.


high priority is differnt, and a new option.  If mame is the only thing running then highpriority won't do anything.

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 29, 2025, 09:39:08 am
    • Centipede MAME cabinet
Re:BattleZone slowness?!
« Reply #9 on: March 13, 2003, 11:01:46 pm »
Another weirdness:  

Launch SuperBreakout, and 'insert a coin'.  Start 1 player game, and don't hit any other button.  Look at your framerates.

In my case, frame rates jump wildly from 30 to 400  (or something like that).  Just two values, up and down... game reacts accordingly.
As soon as I hit the button to launch the ball, all returns to normal.

I get this same behaviour off a lot of games.  (?!)  

Ideas?  You guys getting the same?  Looks like a MAME bug to me.  :(
sleep and cycles did not help
"3 warps to Uranus" -- so I stopped playing!

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:BattleZone slowness?!
« Reply #10 on: March 14, 2003, 07:58:54 am »
If you are seeing colours (other than white) in battlezone then you are using artwork.  Turn off overlays in mame.ini or artwork altogether.

Sorry, I'm not sure what res my BattleZone runs at (I have res set to auto) and I am using an ArcadeVGA which picks odd resolutions when plugged into a PC monitor (and also cripples framerates).

But yes, I have seen odd framerate drops in *some* games.  I can't remember any in particular (maybe 1 or 2 neogeo/cps2 games?).  It sits at perfect 60fps and then for no apparent reason will flick to say 55 for a split second.  Even on un-extreme parts like title screen...who knows why!?  (I tried Super Breakout & it was perfect, but on a 2.26GHz P4 [not mine] ).

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Today at 05:14:22 pm
  • The Bears Still Suck!
Re:BattleZone slowness?!
« Reply #11 on: March 14, 2003, 09:37:59 am »
If you are seeing colours (other than white) in battlezone then you are using artwork.  Turn off overlays in mame.ini or artwork altogether.
No, it doesn't mean he is using artwork:)

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re:BattleZone slowness?!
« Reply #12 on: March 14, 2003, 10:19:33 am »
Justin,

You may also want to try using an older version (.37) of mame for the vector games.  Many of them run slower in the later versions of mame.

Another option would be to get Retrocade and use their versions of the vector games. Retrocade is not supported anymore and it apparently won't run on my laptop, but it runs very well on my 233Mhz pc at home.
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:BattleZone slowness?!
« Reply #13 on: March 14, 2003, 11:57:40 am »
If you are seeing colours (other than white) in battlezone then you are using artwork.  Turn off overlays in mame.ini or artwork altogether.
No, it doesn't mean he is using artwork:)

Sorry, artwork or a MAME version previous to the new artwork system is being used.

Is that right?

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re:BattleZone slowness?!
« Reply #14 on: March 14, 2003, 02:13:39 pm »
I just put mame .66 and battle zone on my Win2k laptop.  No artwork at all.  The game graphics are green and the radar display is red.
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 29, 2025, 09:39:08 am
    • Centipede MAME cabinet
Re:BattleZone slowness?!
« Reply #15 on: March 14, 2003, 06:46:30 pm »
So Erik, what speed do you get at 1024x768x16?
"3 warps to Uranus" -- so I stopped playing!

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 29, 2025, 09:39:08 am
    • Centipede MAME cabinet
Re:BattleZone slowness?!
« Reply #16 on: March 14, 2003, 09:40:12 pm »
Guys, I just figured it out... Indeed, MAME was using OVERLAYS.    I set overlay parameter to '0' (off) and BattleZone now runs at well over 250% speed.  Of course all vectors are now white.

(All this time, I thought overlays required special artwork in the 'artwork' folder.. not so, mine is empty)
"3 warps to Uranus" -- so I stopped playing!

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 29, 2025, 09:39:08 am
    • Centipede MAME cabinet
Re:BattleZone slowness?!
« Reply #17 on: March 14, 2003, 09:43:36 pm »
Another weirdness:  

Launch SuperBreakout, and 'insert a coin'.  Start 1 player game, and don't hit any other button.  Look at your framerates.

In my case, frame rates jump wildly from 30 to 400  (or something like that).  Just two values, up and down... game reacts accordingly.
As soon as I hit the button to launch the ball, all returns to normal.

I get this same behaviour off a lot of games.  (?!)  

Ideas?  You guys getting the same?  Looks like a MAME bug to me.  :(
sleep and cycles did not help

OK, another mistery solved:  As it turns out, the FPS jerkiness was being caused by the Keyboard LEDs lighting up.  This, as you know, happens only in certain games.  I turned the LED feature off in the mame.ini, and now no jerkiness whatsoever is present in these games when inserting coins.

Does everyone see this?!  Try Marble Madness  (insert coin only)
« Last Edit: March 16, 2003, 11:27:49 am by Justin »
"3 warps to Uranus" -- so I stopped playing!

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:BattleZone slowness?!
« Reply #18 on: March 16, 2003, 11:16:51 am »
Interesting, I just tried Marble Madness and yes, I get exactly the same.  I turned off keyboard LED's and it *almost* fixed it completely.  But I still see an occasional drop in frames for no apparent reason.

I don't have any lighted buttons so I think I'll leave keyboard LED's off for good now...