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: Problem with the displayed image  (Read 2199 times)

0 Members and 1 Guest are viewing this topic.

adder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 640
  • Last login:February 04, 2021, 10:51:51 am
  • Location: Easy St.
Problem with the displayed image
« on: July 07, 2014, 05:51:08 pm »
Hi, so i thought i would finally give groovymame a try for the first time after trying to understand it all for ages :)

im using windows xp 64bit, i have a X300 pcie card and installed crt_emudriver 9.3 (which detected my card as 'ATI Radeon X300/X550/X1050 Series')

i am using a scart tv which works fine when using a 16.4Khz scan rate

by the way my goals are (incase anyone thinks perhaps i should have set up in a different/better way to suit my needs), i will be physically rotating my tv to display between horizontal/vertical games. im not bothered about the refresh rate of the games i play being out by a few hz (eg. 3 hz in either direction). like most others i want to keep input lag down, and dont want any uneven stretching going on on the vertical for non-interlace games (but dont care what happens on the horizontal as long as it's not too 'visible' ;) - eg. i dont mind if it is a little bit blurry on the horizontal for some games.

in vmmaker.ini i used the following:
Code: [Select]
ListFromXML = 1
MonitorHorizontal = 0
MonitorType = "CUSTOM"
monitor_specs0    15625-16400, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.160, 1.056, 0, 0, 288, 448
ModeTableMethod_Custom = 0
ModeTableMethod_XML = 2
UpdateRegistry = 1

then i ran vmmaker.exe, there was several explosions and some fire (joke ;)) and now i have the following modelines in my registry (note: beforehand i edited ReslList.txt and removed everything but the '## Desktop ## 640 x 480 @ 30.000000 desktop' entry)

Code: [Select]
Modeline "640x480_60 15.6KHz 60.0Hz" 13.000 640 664 728 832 480 482 487 521 interlace -hsync -vsync   
Modeline "1234x240_60 15.7KHz 60.0Hz" 25.060 1232 1280 1400 1600 240 242 245 261  -hsync -vsync   
Modeline "1234x256_59 16.4KHz 59.2Hz" 26.760 1232 1288 1416 1632 256 258 261 277  -hsync -vsync   
Modeline "1234x272_56 16.4KHz 56.0Hz" 26.760 1232 1288 1416 1632 272 274 277 293  -hsync -vsync   
Modeline "1234x288_53 16.4KHz 53.1Hz" 26.760 1232 1288 1416 1632 288 290 293 309  -hsync -vsync   
Modeline "1234x448_60 15.6KHz 60.0Hz" 25.010 1232 1280 1400 1600 448 466 471 521 interlace -hsync -vsync   
Modeline "1234x464_60 15.6KHz 60.0Hz" 25.010 1232 1280 1400 1600 464 474 479 521 interlace -hsync -vsync   
Modeline "1234x480_60 15.6KHz 60.0Hz" 25.010 1232 1280 1400 1600 480 482 487 521 interlace -hsync -vsync   
Modeline "1234x496_60 16.2KHz 60.0Hz" 26.130 1232 1288 1408 1616 496 499 504 539 interlace -hsync -vsync   
Modeline "1234x512_59 16.4KHz 59.0Hz" 26.740 1232 1288 1416 1632 512 515 520 555 interlace -hsync -vsync   
Modeline "1234x528_57 16.4KHz 57.4Hz" 26.740 1232 1288 1416 1632 528 531 536 571 interlace -hsync -vsync   
Modeline "1234x544_56 16.4KHz 55.8Hz" 26.740 1232 1288 1416 1632 544 547 552 587 interlace -hsync -vsync   
Modeline "1234x560_54 16.4KHz 54.3Hz" 26.730 1232 1288 1416 1632 560 563 568 603 interlace -hsync -vsync   
Modeline "1234x576_53 16.4KHz 52.9Hz" 26.730 1232 1288 1416 1632 576 579 584 619 interlace -hsync -vsync

ok and then in the mame.ini which i generated with the -cc command, i made some changes (eg. 'monitor arcade_15'), my mame.ini can be seen at the bottom of this post.

then, when i tried some various games, i have the problem which i think some others here had (but cant for the life of me find the old posts) which is, for all games i tried, the image being very small and in the left hand corner of the screen (see first pic below).  i tested some of the modelines in arcadeOSD and they display ok there (see second pic below). so, not sure how to proceed now, perhaps i just did something silly in the mame.ini file? (eg. incorrent switchres options). would appreciate any help, many thanks!

NOTE: attached to this post is a game log (the problem occurs on all games i tried, horizontal and vertical).
also attached is directx dxdiag output data (wasnt sure to attach 32bit or 64bit so attached both).





MAME.INI:
Code: [Select]
#
# CORE CONFIGURATION OPTIONS
#
readconfig                1
writeconfig               0

#
# CORE SEARCH PATH OPTIONS
#
rompath                   roms
hashpath                  hash
samplepath                samples
artpath                   artwork
ctrlrpath                 ctrlr
inipath                   .;ini
fontpath                  .
cheatpath                 cheat
crosshairpath             crosshair

#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory             cfg
nvram_directory           nvram
memcard_directory         memcard
input_directory           inp
state_directory           sta
snapshot_directory        snap
diff_directory            diff
comment_directory         comments

#
# CORE OUTPUT DIRECTORY OPTIONS
#
hiscore_directory         hi

#
# CORE STATE/PLAYBACK OPTIONS
#
state                     
autosave                  0
playback                 
record                   
mngwrite                 
aviwrite                 
wavwrite                 
snapname                  %g/%i
snapsize                  auto
snapview                  internal
statename                 %g
burnin                    0

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip             0
frameskip                 0
seconds_to_run            0
throttle                  1
syncrefresh               1
sleep                     0
speed                     1.0
refreshspeed              0

#
# CORE ROTATION OPTIONS
#
rotate                    1
ror                       0
rol                       0
autoror                   0
autorol                   0
flipx                     0
flipy                     0

#
# CORE ARTWORK OPTIONS
#
artwork_crop              1
use_backdrops             0
use_overlays              0
use_bezels                0
use_cpanels               0
use_marquees              0

#
# CORE SCREEN OPTIONS
#
brightness                1.0
contrast                  1.0
gamma                     1.0
pause_brightness          0.65
effect                    none

#
# CORE VECTOR OPTIONS
#
antialias                 1
beam                      1.0
flicker                   0

#
# CORE SOUND OPTIONS
#
sound                     1
samplerate                48000
samples                   1
volume                    0

#
# CORE INPUT OPTIONS
#
coin_lockout              1
ctrlr                     
mouse                     0
joystick                  1
lightgun                  0
multikeyboard             0
multimouse                0
steadykey                 0
ui_active                 0
offscreen_reload          0
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85
natural                   0
joystick_contradictory    0
coin_impulse              0

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             keyboard
adstick_device            keyboard
pedal_device              keyboard
dial_device               keyboard
trackball_device          keyboard
lightgun_device           keyboard
positional_device         keyboard
mouse_device              mouse

#
# CORE DEBUGGING OPTIONS
#
log                       0
verbose                   0
update_in_pause           0
debug                     0
debugscript               
debug_internal            0

#
# CORE MISC OPTIONS
#
drc                       1
drc_use_c                 0
bios                     
cheat                     1
skip_gameinfo             0
uifont                    .
ramsize                   
confirm_quit              0
ui_mouse                  0
autoboot_command         
autoboot_delay            2
autoboot_script           
http                      0
http_port                 8080
http_path                 web

#
# CORE MKChamp OPTIONS
#
disable_hiscore_patch     0
disable_nagscreen_patch   1
disable_loading_patch     1

#
# CORE SWITCHRES OPTIONS
#
modeline_generation       1
monitor                   arcade_15
orientation               rotate_r
connector                 auto
interlace                 1
doublescan                1
cleanstretch              0
changeres                 1
powerstrip                0
lock_system_modes         1
lock_unsupported_modes    1
refresh_dont_care         1
dotclock_min              0
sync_refresh_tolerance    10.0
frame_delay               1
black_frame_insertion     0
modeline                  auto
ps_timing                 auto
lcd_range                 auto
crt_range0                auto
crt_range1                auto
crt_range2                auto
crt_range3                auto
crt_range4                auto
crt_range5                auto
crt_range6                auto
crt_range7                auto
crt_range8                auto
crt_range9                auto

#
# WINDOWS DEBUGGING OPTIONS
#
oslog                     0
watchdog                  0
debugger_font             "Lucida Console"
debugger_font_size        9

#
# WINDOWS PERFORMANCE OPTIONS
#
priority                  1
multithreading            0
numprocessors             auto
profile                   0
bench                     0

#
# WINDOWS VIDEO OPTIONS
#
video                     d3d
numscreens                1
window                    0
maximize                  1
keepaspect                0
unevenstretch             1
prescale                  1
waitvsync                 0
menu                      0

#
# DIRECTDRAW-SPECIFIC OPTIONS
#
hwstretch                 0

#
# DIRECT3D-SPECIFIC OPTIONS
#
filter                    0

#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable               0
hlslpath                  hlsl
hlsl_prescale_x           0
hlsl_prescale_y           0
hlsl_preset               -1
hlsl_write               
hlsl_snap_width           2048
hlsl_snap_height          1536
shadow_mask_alpha         0.0
shadow_mask_texture       aperture.png
shadow_mask_x_count       320
shadow_mask_y_count       240
shadow_mask_usize         0.09375
shadow_mask_vsize         0.109375
curvature                 0.03
pincushion                0.03
scanline_alpha            1.0
scanline_size             1.0
scanline_height           1.0
scanline_bright_scale     1.0
scanline_bright_offset    0.0
scanline_jitter           0.0
defocus                   0.0,0.0
converge_x                0.3,0.0,-0.3
converge_y                0.0,0.3,-0.3
radial_converge_x         0.0,0.0,0.0
radial_converge_y         0.0,0.0,0.0
red_ratio                 1.0,0.0,0.0
grn_ratio                 0.0,1.0,0.0
blu_ratio                 0.0,0.0,1.0
saturation                1.4
offset                    0.0,0.0,0.0
scale                     0.95,0.95,0.95
power                     0.8,0.8,0.8
floor                     0.05,0.05,0.05
phosphor_life             0.4,0.4,0.4

#
# NTSC POST-PROCESSING OPTIONS
#
yiq_enable                0
yiq_cc                    3.59754545
yiq_a                     0.5
yiq_b                     0.5
yiq_o                     1.570796325
yiq_p                     1.0
yiq_n                     1.0
yiq_y                     6.0
yiq_i                     1.2
yiq_q                     0.6
yiq_scan_time             52.6
yiq_phase_count           2

#
# VECTOR POST-PROCESSING OPTIONS
#
vector_length_scale       0.8
vector_length_ratio       500.0

#
# BLOOM POST-PROCESSING OPTIONS
#
vector_bloom_scale        0.3
raster_bloom_scale        0.225
bloom_lvl0_weight         1.0
bloom_lvl1_weight         0.21
bloom_lvl2_weight         0.19
bloom_lvl3_weight         0.17
bloom_lvl4_weight         0.15
bloom_lvl5_weight         0.14
bloom_lvl6_weight         0.13
bloom_lvl7_weight         0.12
bloom_lvl8_weight         0.11
bloom_lvl9_weight         0.10
bloom_lvl10_weight        0.09

#
# PER-WINDOW VIDEO OPTIONS
#
screen                    auto
aspect                    auto
resolution                auto
view                      auto
screen0                   auto
aspect0                   auto
resolution0               auto
view0                     auto
screen1                   auto
aspect1                   auto
resolution1               auto
view1                     auto
screen2                   auto
aspect2                   auto
resolution2               auto
view2                     auto
screen3                   auto
aspect3                   auto
resolution3               auto
view3                     auto

#
# FULL SCREEN OPTIONS
#
triplebuffer              0
switchres                 1
full_screen_brightness    1.0
full_screen_contrast      1.0
full_screen_gamma         1.0

#
# WINDOWS SOUND OPTIONS
#
audio_latency             2.0

#
# INPUT DEVICE OPTIONS
#
dual_lightgun             0


Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Problem with the displayed image
« Reply #1 on: July 07, 2014, 06:09:32 pm »
Quote
note: beforehand i edited ReslList.txt and removed everything but the '## Desktop ## 640 x 480 @ 30.000000 desktop' entry

This is probably the problem. CRT Emudriver for XP needs at least 17 different modes, otherwise dynamic modelines don't work (yes). Leaving the default resolutions in ReslList.txt will produce enough modes to keep the list above 17.

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

adder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 640
  • Last login:February 04, 2021, 10:51:51 am
  • Location: Easy St.
Re: Problem with the displayed image
« Reply #2 on: July 07, 2014, 06:12:54 pm »
Quote from: Calamity
This is probably the problem. CRT Emudriver for XP needs at least 17 different modes, otherwise dynamic modelines don't work (yes). Leaving the default resolutions in ReslList.txt will produce enough modes to keep the list above 17.

oops had no idea about that, ok i will give that a go and report back, cheers!

adder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 640
  • Last login:February 04, 2021, 10:51:51 am
  • Location: Easy St.
Re: Problem with the displayed image
« Reply #3 on: July 08, 2014, 11:23:46 am »
hey that seemed to work and i think things are ok now (the reason i sound unsure is, at first, after adding some additional modelines to get the list above 17, kungfu master did the 'squished in screen' thing again but only once and then seemed to be ok. also, it was strange as, for kung fu master (256x256 res) switchres was choosing (via the magic modelines) a resolution of 512x512 instead of 256x256.. rtype was also incorrectly choosing an interlace mode also. however, the problem seemed to go away, to be honest im not sure why. i didnt touch mame.ini,  some things i did (dont know if they affected anything) were deleting the files in the .cfg folder, also going into xp desktop, display properties and 'list all modes' under adapter information. and a few reboots. anyway now kungfu master is choosing 256x256 so thats good, rtype is ok also (not running interlace anymore).
   ... anyway now things seem to be ok and im loving groovymame :)
« Last Edit: July 08, 2014, 11:33:00 am by jadder »