Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08110 Image Enhancement Major Always Oct 15, 2021, 08:11 Oct 20, 2021, 01:00
Tester john_iv View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows 10/11 (64-bit)
Status [?] Confirmed Driver dkong.cpp
Version 0.236 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 08110: dkong, pacman, 1942: -autostretchxy causing cropping in some vertical games
Description The following command line produces an integer stretch that crops the image at top and bottom.

My understanding is that it should *not* be cropped (unless using -intoverscan) and shrink down and letter/pillarbox to fit.

Note: This is on a physical 2560x1440 display (it does not appear to crop on a second system's monitor which has a 1920x1200 display)

mame dkong -norc -noues -nofilter -autostretchxy

Does this in other vertical games, like 1942 and pacman.

Happens in official .236 and today's tree 0.236 (mame0236-150-gffe92ecc727)
Steps To Reproduce Run the command line.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems dkong, pacman, 1942
Attached Files
png file icon cropped puckman.png (75,255 bytes) Oct 15, 2021, 18:16 Uploaded by john_iv
john_iv
png file icon cropped puckman 2.png (83,798 bytes) Oct 15, 2021, 18:17 Uploaded by john_iv
john_iv
Relationships
There are no relationship linked to this issue.
Notes
6
User avatar
No.19348
Tafoid
Administrator
Oct 15, 2021, 17:55
I don't seem to see it. Is artwork involved again?
User avatar
No.19349
john_iv
Senior Tester
Oct 15, 2021, 18:15
No, artwork is out of the mix w/ the -norc switch, I have my in-game artwork in non-standard named directories.
Do you have a monitor at that resolution?
Ok, it looks like it's physical monitor resolution related. On my 1440p it causes cropping, on my old 1980x1200 it does not.

2560x1440 monitor:
mame puckman -nofilter -noues -autostretchxy -verbose -norc

Error opening translation file English
**Error loading plugin.ini**
Video: Monitor 65537 = "\\.\DISPLAY1" (primary)
Video: Monitor 65539 = "\\.\DISPLAY2"
Direct3D: Using Direct3D 9
Physical width 2560, height 1440
Direct3D: Initialize
Direct3D: Configuring adapter #0 = AMD Radeon RX 5600 XT
Direct3D: YUV format = RGB
Direct3D: Max texture size = 16384x16384
Direct3D: Device created at 2560x1440
Direct3D: Initialize HLSL
Direct3D: First store options
Direct3D: HLSL initialized
RawInput: APIs detected
RawInput: APIs detected
RawInput: APIs detected
DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels
Input: Adding keyboard #0: HID Keyboard Device (device id: \\?\HID#VID_D209&PID_0301&MI_00#9&2f94dd5c&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding keyboard #1: HID Keyboard Device (device id: \\?\HID#VID_D209&PID_0301&MI_01#9&bbd9f9a&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding keyboard #2: HID Keyboard Device (device id: \\?\HID#VID_045E&PID_00DB&MI_00#9&ecca7b0&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding keyboard #3: HID Keyboard Device (device id: \\?\HID#virtualdevice&10&Col02#2&d21ad2d&0&0001#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding keyboard #4: HID Keyboard Device (device id: \\?\HID#virtualdevice&10&Col03#2&d21ad2d&0&0002#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding mouse #0: HID-compliant mouse (device id: \\?\HID#VID_046D&PID_C408#7&1e19524&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding mouse #1: HID-compliant mouse (device id: \\?\HID#virtualdevice&10&Col01#2&d21ad2d&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding mouse #2: HID-compliant mouse (device id: \\?\HID#virtualdevice&10&Col04#2&d21ad2d&0&0003#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding lightgun #0: HID-compliant mouse (device id: \\?\HID#VID_046D&PID_C408#7&1e19524&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding lightgun #1: HID-compliant mouse (device id: \\?\HID#virtualdevice&10&Col01#2&d21ad2d&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding lightgun #2: HID-compliant mouse (device id: \\?\HID#virtualdevice&10&Col04#2&d21ad2d&0&0003#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Skipping DirectInput for XInput compatible joystick 0x12b48d98.
Input: Adding joystick #0: XInput Player 1 (device id: XInput Player 1)
unzip: opened archive file roms\puckman.zip
unzip: found roms\puckman.zip ECD
unzip: roms\puckman.zip has no ZIP64 ECD locator
unzip: read roms\puckman.zip central directory
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
Optional shared pointer ':rocktrv2_prot' not found
Optional shared pointer ':s2650_tileram' not found
Optional shared pointer ':s2650_spriteram' not found
Optional memory region ':screen' not found
Starting Puck Man (Japan set 1) ':'
  (missing dependencies; rescheduling)
Starting Zilog Z80 ':maincpu'
Starting 74LS259 Addressable Latch ':mainlatch'
Starting Watchdog Timer ':watchdog'
Starting gfxdecode ':gfxdecode'
Starting palette ':palette'
Starting Video Screen ':screen'
Starting Speaker ':mono'
  (missing dependencies; rescheduling)
Starting Namco ':namco'
Starting Puck Man (Japan set 1) ':'
  (missing dependencies; rescheduling)
Starting Speaker ':mono'
Starting Puck Man (Japan set 1) ':'
Attempting to parse: default.cfg
Attempting to parse: puckman.cfg
Average speed: 100.00% (8 seconds)
Sound: buffer overflows=1 underflows=0
-------------------------------------------------------------------------------------------------------------------
1920x1200 monitor
c:\O\Games\MAME>mame puckman -autostretchxy -norc -nofilter -verbose
Reading translation file English: 1 strings, original table at word offset 7, translated table at word offset 9
Loaded 0 translations from file English
Starting plugin data...
Video: Monitor 65537 = "\\.\DISPLAY1" (primary)
Direct3D: Using Direct3D 9
Physical width 1920, height 1200
Direct3D: Initialize
Direct3D: Configuring adapter #0 = AMD Radeon (TM) R9 390 Series
Direct3D: YUV format = RGB
Direct3D: Max texture size = 16384x16384
Direct3D: Device created at 1920x1200
Direct3D: Initialize HLSL
Direct3D: Unable to find D3DXCreateEffectFromFileW
RawInput: APIs detected
RawInput: APIs detected
RawInput: APIs detected
DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels
Input: Adding keyboard #0: Wireless Keyboard Filter Device (device id: \\?\HID#VID_045E&PID_07B2&MI_00#7&84af9a8&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding mouse #0: HID-compliant mouse (device id: \\?\HID#VID_045E&PID_07B2&MI_01&Col01#7&1b8c441a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding lightgun #0: HID-compliant mouse (device id: \\?\HID#VID_045E&PID_07B2&MI_01&Col01#7&1b8c441a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
unzip: opened archive file roms\puckman.zip
unzip: found roms\puckman.zip ECD
unzip: roms\puckman.zip has no ZIP64 ECD locator
unzip: read roms\puckman.zip central directory
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
unzip: found roms\puckman.zip in cache
unzip: opened archive file roms\puckman.zip
unzip: closing archive file roms\puckman.zip and sending to cache
Optional shared pointer ':rocktrv2_prot' not found
Optional shared pointer ':s2650_tileram' not found
Optional shared pointer ':s2650_spriteram' not found
Optional memory region ':screen' not found
Starting Puck Man (Japan set 1) ':'
  (missing dependencies; rescheduling)
Starting Zilog Z80 ':maincpu'
Starting 74LS259 Addressable Latch ':mainlatch'
Starting Watchdog Timer ':watchdog'
Starting gfxdecode ':gfxdecode'
Starting palette ':palette'
Starting Video Screen ':screen'
Starting Speaker ':mono'
  (missing dependencies; rescheduling)
Starting Namco ':namco'
Starting Puck Man (Japan set 1) ':'
  (missing dependencies; rescheduling)
Starting Speaker ':mono'
Starting Puck Man (Japan set 1) ':'
Attempting to parse: default.cfg
Attempting to parse: puckman.cfg
Average speed: 100.03% (4 seconds)
Sound: buffer overflows=3 underflows=0
User avatar
No.19350
john_iv
Senior Tester
Oct 15, 2021, 18:16
For vertical games the cropping occurs using Y only axis as well. See pics.
User avatar
No.19358
ICEknight
Tester
Oct 16, 2021, 01:49
edited on: Oct 16, 2021, 19:49
Can confirm this, since it also happens to me: https://i.imgur.com/F9Dhenf.png
User avatar
No.19359
ICEknight
Tester
Oct 16, 2021, 20:22
Also of note, "intoverscan" is turned off in my tests (and I assume the OP's too), so the picture shouldn't be going outside of the screen boundaries.

When this bug happens, it makes no difference whether it's on or off, so perhaps the problem might be related?
User avatar
No.19362
B2K24
Moderator
Oct 20, 2021, 01:00
I can confirm this behavior using my Acer Predator XB271HU