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: Mamewah + Capcom games = squished  (Read 1933 times)

0 Members and 1 Guest are viewing this topic.

Impostor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:September 27, 2005, 03:18:35 pm
  • I want my own arcade controls!
Mamewah + Capcom games = squished
« on: July 27, 2003, 12:48:28 am »
I've been racking my brains on this problem and I am out of ideas.  Hopefully one of you guys can shed some light.  Here's the situation:

Emu: Mame32 (not the gui)
FE: Mamewah .954b
ArcadeVGA + Jpac + Ipac4

When I first installed Mamewah, Capcom games ran at full screen 640x480 w/ hw-stretch.

Then I ran ArcadeVGARes utility to create custom .ini files for each games.  After that Capcom games ran at some weird horizontally squished resolution, I think 324x288.  Ok, I thought the new .ini files would cause this.  So I deleted the entire .ini directory.  Shutdown and start up Mamewah again.  Same problem.  Capcom games still squished.  hwstretch option in mame.ini file is TRUE.

To see if it's front end or mame related, I went to msdos cmdline window and ran mame.  No problem here.  Capcom games come up full screen.  Then I tried using my old FE, the Cocktail FE.  No problem there either.  Capcom games at full screen.

Switch back to using Mamewah, and Capcom games are squished again.  It's like Mamewah starts up mame but it doesn't read in the mame.ini or it continues to read in the custom .ini's even though they all have been deleted.

Anyone have any ideas?

Impostor
« Last Edit: July 27, 2003, 12:54:17 am by Impostor »

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Mamewah + Capcom games = squished
« Reply #1 on: July 27, 2003, 09:59:51 am »
Firstly, are you using MAME32 or Windows commandline MAME? - you kinda contradicted yourself by saying 'Mame32 (not the gui)'.

Now, the 'weird horizontally squished resolution', (384x224) is the original correct resolution for Capcom CPS games - that is the whole point of the ArcadeVGA, to use the original resolution of the arcade games.  It was squashed in the arcade, only some operators chose to stretch the screen vertically using the arcade monitors controls.

So it seems pointless to me to run any game at 640x480 hstretch using the ArcadeVGA, except for the vertical games with >288 lines, which will not otherwise fit on the screen....

As for your problem, I can tell you that unless you have set any 'Default Options' in MAMEWAH, MAMEWAH will NOT launch games differently from running MAME at a commandline - that is simply what MAMEWAH does.

Maybe you have MAME's 'switchres' setting set to '0'?
What setting do you have for 'resolution'?

Impostor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:September 27, 2005, 03:18:35 pm
  • I want my own arcade controls!
Re:Mamewah + Capcom games = squished
« Reply #2 on: July 27, 2003, 01:28:40 pm »
Hi Minwah,

I'm using Windows commandline Mame.  In mame.ini, I have switchres TRUE, resolution 640x480.  In MameWah, there are no default options.

I didn't know that the orig resolution of Capcom games are at 384x224.  What's odd is that I can delete the entire ini directory, but Capcom games still comes up at the 384x224 resolution when invoked thru MameWah.  I noticed that in the dosbox that pops up before the game runs, it's reporting that mame.ini is N/A.  I verified that the mame.ini is in the same dir as mame.exe.  However, if I move the mame.ini into the ini directory, then it finds the mame.ini but the game still comes up at 384x224.

When I just run mame gamename on windows cmdline, they come up at 640x480.  Really odd problem.

Btw, excellent FE Minwah!

Impostor

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Mamewah + Capcom games = squished
« Reply #3 on: July 27, 2003, 03:12:58 pm »
Hi Minwah,

I'm using Windows commandline Mame.  In mame.ini, I have switchres TRUE, resolution 640x480.  In MameWah, there are no default options.

I didn't know that the orig resolution of Capcom games are at 384x224.  What's odd is that I can delete the entire ini directory, but Capcom games still comes up at the 384x224 resolution when invoked thru MameWah.  I noticed that in the dosbox that pops up before the game runs, it's reporting that mame.ini is N/A.  I verified that the mame.ini is in the same dir as mame.exe.  However, if I move the mame.ini into the ini directory, then it finds the mame.ini but the game still comes up at 384x224.

When I just run mame gamename on windows cmdline, they come up at 640x480.  Really odd problem.

Btw, excellent FE Minwah!

Impostor

Very odd.  All I can suggest is delete your INI folder and MAME.INI, and try 'mame -cc'-ing a new one and start again.

I still can't think of why it should react differently via MAMEWAH from the commandline - it really does just do the same.

 ???

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 13, 2025, 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Mamewah + Capcom games = squished
« Reply #4 on: July 27, 2003, 11:31:45 pm »
They are supposed to be "squished"  it's a bug in mame that when you use hwstretch the aspct ratio for some games screw up.  I even force a custom aspect to mame just to get that letterbox efffect on the capcom titles.  

In other words leave them alone, they are supposed to look like that.  :)

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Mamewah + Capcom games = squished
« Reply #5 on: July 28, 2003, 05:01:36 am »
They are supposed to be "squished"  it's a bug in mame that when you use hwstretch the aspct ratio for some games screw up.  I even force a custom aspect to mame just to get that letterbox efffect on the capcom titles.  

In other words leave them alone, they are supposed to look like that.  :)

I think Impostor is now confused by why his game would launch at 640x480 from a commandline, but 384x224 from MAMEWAH.  I'm not sure  ???

Impostor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:September 27, 2005, 03:18:35 pm
  • I want my own arcade controls!
Re:Mamewah + Capcom games = squished
« Reply #6 on: July 28, 2003, 12:09:49 pm »
I tried what Minwah suggested by deleting the mame.ini file.  Sure enough, this resolved the 384x244 res of Capcom games when invoked from MameWah.

I'll do a diff between the old mame.ini and the newly generated one and then flip set each settings one by one to see which one would have caused this.

Still can't figure out why mame execution on cmdline would be different than Mamewah executing mame.

Update: Here's what I found out.  Using the newly generated mame.ini file.  If I set the 'resolution' to 640x480 then Mamewah will execute mame w/ Capcom games in the 384x244 res.  If I set 'resolution' to auto, then Capcom games will run at full screen mode.  

But the kicker is that running mame w/ Capcom games on cmdline and 'resolution' set to 640x480, Capcom games actually come up at 640x480.  If 'resolution' is set to auto, then Capcom games comes up at some random resolution.

So it comes back to how is Mamewah executing the mame.exe?  The other thing I noticed is that when invoking Mamewah, it seems to be starting another XP shell or something.  For example, sitting on XP desktop, I have several notepads and WinExplorer open.  I rearranged the windows around.  Then start up Mamewah.  When I exit Mamewah, all the windows that I had rearranged has been reset back to their original position on my desktop, like I hadn't moved them at all.  

I know I have a lot of questions.  I do like Mamewah and I'm trying to work thru some issues on my installation.  I know that Minwah put a lot of work into this product and it's completely free.  So I'd totally understand if Minwah says "take it or leave it."

Impostor
« Last Edit: July 28, 2003, 01:42:30 pm by Impostor »

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Mamewah + Capcom games = squished
« Reply #7 on: July 28, 2003, 01:42:12 pm »
Still can't figure out why mame execution on cmdline would be different than Mamewah executing mame.

Me either, let us know if you figure it out...

Impostor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:September 27, 2005, 03:18:35 pm
  • I want my own arcade controls!
Re:Mamewah + Capcom games = squished
« Reply #8 on: July 28, 2003, 09:00:50 pm »
Updated:

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Mamewah + Capcom games = squished
« Reply #9 on: July 29, 2003, 05:59:51 am »
This is definately not a MAMEWAH problem:  MAMEWAH launches MAME in exactly the same way as a comandline (open 'debug.log' in MW's folder to see for yourself).

Just to be sure, I did a similar check to you, here is what happened:

1) With 'resolution 640x480' in MAME.INI:

a) Commandline ran 'MAME sf2' - res changed to 640x480

b) MAMEWAH launched SF2 - res changed to 640x480

2) With 'resolution auto' in MAME.INI:

a) Commandline ran 'MAME sf2' - res changed to 800x600

b) MAMEWAH launched SF2 - res changed to 800x600


There must be something else causing the problem...but I really can't think what. :(  All I can suggest is double check your MAMEWAH setup for MAME...

As for your Windows moving position, I think this may be due to the resolution switching, MAMEWAH does not launch anything other than the emulator itself.

rampy

  • *shrug*
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2910
  • Last login:March 02, 2007, 11:32:16 am
  • ...as useless as a JPG is to Helen Keller
    • Build Your Own PVR
Re:Mamewah + Capcom games = squished
« Reply #10 on: July 29, 2003, 12:43:04 pm »
just a random thought that has happened to me a couple of times.

I have various orphaned versions of mame on my PC...

Mamewah might be pointing to one version of mame and you are invoking from the commandline / deleting/changing the ini files in a another...

*shrug*

just a thought

Rampy

Impostor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:September 27, 2005, 03:18:35 pm
  • I want my own arcade controls!
Re:Mamewah + Capcom games = squished
« Reply #11 on: July 29, 2003, 02:15:36 pm »
Thanks guys for looking into this.  I will uninstall MameWah and mame.  And then re-install everything.

Impostor

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Mamewah + Capcom games = squished
« Reply #12 on: July 29, 2003, 02:21:25 pm »
just a random thought that has happened to me a couple of times.

I have various orphaned versions of mame on my PC...

Mamewah might be pointing to one version of mame and you are invoking from the commandline / deleting/changing the ini files in a another...

*shrug*

just a thought

Rampy

That's true.  I was assuming the correct MAME was being referenced but it's something to check...

Impostor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:September 27, 2005, 03:18:35 pm
  • I want my own arcade controls!
Re:Mamewah + Capcom games = squished
« Reply #13 on: July 29, 2003, 11:41:35 pm »
Tonite, I searched for duplicates of mame or its .ini files.  No duplicates.  

I was just messing around and change my desktop video color setting from 32-bit to 16-bit.  And suddenly all the Capcom games are displaying at the 640x480 resolution whether its from Mamewah or from cmdline.  I flipped back to 32-bit to see if the problem resurface, but it did not.  I can't get the problem to occur any more.  

Maybe the ArcadeVGA card got stuck in some weird display mode or something.  And flipping it to 16-bit color mode fixed it somehow....  I really don't know.

So thank you rampy, Howard_Casto, and especially Minwah for your ideas on debugging my problem!

Impostor

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Mamewah + Capcom games = squished
« Reply #14 on: July 30, 2003, 11:13:38 am »
Tonite, I searched for duplicates of mame or its .ini files.  No duplicates.  

I was just messing around and change my desktop video color setting from 32-bit to 16-bit.  And suddenly all the Capcom games are displaying at the 640x480 resolution whether its from Mamewah or from cmdline.  I flipped back to 32-bit to see if the problem resurface, but it did not.  I can't get the problem to occur any more.  

Maybe the ArcadeVGA card got stuck in some weird display mode or something.  And flipping it to 16-bit color mode fixed it somehow....  I really don't know.

So thank you rampy, Howard_Casto, and especially Minwah for your ideas on debugging my problem!

Impostor

Very strange...glad you got it working tho :)

Impostor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:September 27, 2005, 03:18:35 pm
  • I want my own arcade controls!
Re:Mamewah + Capcom games = squished
« Reply #15 on: July 30, 2003, 11:41:45 am »
I'm very impressed with your MameWah FE, Minwah!  Excellent job!

Impostor

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Mamewah + Capcom games = squished
« Reply #16 on: July 30, 2003, 06:36:05 pm »
I'm very impressed with your MameWah FE, Minwah!  Excellent job!

Impostor

Thank you, I do try :)

StephenH

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 544
  • Last login:January 09, 2023, 06:15:45 am
  • I'm a llama!
Re:Mamewah + Capcom games = squished
« Reply #17 on: August 01, 2003, 03:23:32 am »
Try running at 400x300 and adjusting the controls on your monitor.