The NEW Build Your Own Arcade Controls
Main => Software Forum => Topic started by: dax on March 02, 2006, 05:24:24 pm
-
Ok, here are some logs... can someone figure out what's going on?
I will take for example, the game Xybots. I have Mame 0.69 (i686) installed. If I open up a MSDOS window and type: cd\mame and then mame xybots the game shows up in the proper resolution for my setup (Win98, AVGA, acrade monitor horiz, OptiPac, J-Pac, P3-500), but if I do the same thing through MameWah, the game displays really small inside what appears to be a 640x480 or higher resolution mode. I've dumped logs showing what's going on:
Dos call, with debug turned on:
display shows:
c:\mame> mame xybots
Ok.
parsing MAME.ini...N/A [mame.ini in \mame, it finds it in \mame\ini - makes no difference tho]
parsing xybots.ini...OK.
Using DirectInput 7
Keyboards=1 Mice=3 Joysticks=0 Lightguns=0
Mouse support enabled
Joystick support disabled
Keyboards=1 Mice=3 Joysticks=0 Lightguns=0
Best mode = 0x0x0 @ default Hz
Primary surface created: 800x600 (xxx)
Primary buffer: 44100 Hz, 16 bits, 2 channels
SSE supported
Average FPS: 59.99 (8 frames)
error.log shows:
using performance counter for timing ... cycles/second = 1193180
width 336, height 240 depth 16
set visible area 0-0 0-0
atarimo_init:
width=8 (shift=3), height=8 (shift=3)
spriteram mask=3F, size=64
slipram mask=1FF, size=512
bitmap size=512x512
set visible area 0-335 0-239
Physical width 800, height 600
Machine reset
watchdog armed
cpu #0 (PC=00000554): unmapped memory word write to 00FFED00 = 0020 & FFFF
cpu #0 (PC=00000562): unmapped memory word write to 00FFED00 = 0024 & FFFF
Ok, now running this from MameWah, I can't see what the display is, but here's the error.log for the MameWah run (in the wrong, higher resolution):
using performance counter for timing ... cycles/second = 1193180
width 336, height 240 depth 16
set visible area 0-0 0-0
atarimo_init:
width=8 (shift=3), height=8 (shift=3)
spriteram mask=3F, size=64
slipram mask=1FF, size=512
bitmap size=512x512
set visible area 0-335 0-239
Physical width 640, height 480
Machine reset
watchdog armed
cpu #0 (PC=00000554): unmapped memory word write to 00FFED00 = 0020 & FFFF
cpu #0 (PC=00000562): unmapped memory word write to 00FFED00 = 0024 & FFFF
Can anyone make any sense of this and have an idea of why, when invoking the game from MameWah, the game appears tiny on the screen, but when invoking from DOS, it works fine?
c:\mame\ini\xybots.ini has:
resolution 336x240
which is the proper resolution.
Just to be safe, there are 4 versions of Xybots and every .ini file has the same resolution command in it.
Now either the MameWah-invoked version is ignoring the ini file, or something else is screwing it up, but it is not switching into the proper resolution to run the game, like it does from the command line.
Something is wrong here, and I cannot figure out what it is. I see the differences in the logs. Someone who knows more about these systems will undoubtedly know why this is messed up. Unfortunately, I do not.
Anyone have any idea?
-
Nobody has any idea? I will post more settings to see if anyone can spot anything wrong:
c:\mame\mame.ini: (I put full path names in recently to see if that made a difference)
### MAME.ini ###
### Frontend Related ###
clones 1
### Windows path and directory options ###
rompath c:\mame\roms
samplepath c:\mame\samples
inipath c:\mame\ini
cfg_directory c:\mame\cfg
nvram_directory c:\mame\nvram
memcard_directory c:\mame\memcard
input_directory c:\mame\inp
hiscore_directory c:\mame\hi
state_directory c:\mame\sta
artwork_directory c:\mame\artwork
snapshot_directory c:\mame\snap
diff_directory c:\mame\diff
ctrlr_directory c:\mame\ctrlr
cheat_file cheat.dat
history_file history.dat
mameinfo_file mameinfo.dat
### Windows video options ###
autoframeskip 1
frameskip 0
waitvsync 0
triplebuffer 0
window 0
ddraw 1
direct3d 0
hwstretch 1
cleanstretch 0
resolution auto
zoom 3
refresh 0
scanlines 0
switchres 1
switchbpp 1
maximize 1
keepaspect 1
matchrefresh 0
syncrefresh 0
throttle 1
full_screen_brightness 0.000000
frames_to_run 0
effect none
screen_aspect 4:3
sleep 1
rdtsc 0
high_priority 0
### Windows Direct3D 2D video options ###
d3dtexmanage 1
d3dfilter 1
d3dprescale 0
d3dfeedback 0
d3dsaturate 0
d3dscan 100
d3deffectrotate 1
d3deffect none
# d3dcustom <NULL> (not set)
# d3dexpert <NULL> (not set)
### Windows sound options ###
audio_latency 1
### Input device options ###
mouse 1
joystick 0
lightgun 0
steadykey 0
keyboard_leds 1
a2d_deadzone 0.300000
# ctrlr <NULL> (not set)
### Mame CORE video options ###
norotate 0
ror 0
rol 0
autoror 0
autorol 0
flipx 0
flipy 0
#debug_resolution auto
gamma 1.000000
brightness 1.000000
pause_brightness 0.650000
### Mame CORE vector game options ###
antialias 1
translucency 1
beam 1.000000
flicker 0.000000
intensity 1.500000
### Mame CORE sound options ###
samplerate 44100
samples 1
resamplefilter 1
sound 1
volume 0
### Mame CORE misc options ###
artwork 0
use_backdrops 0
use_overlays 0
use_bezels 0
artwork_crop 0
artwork_resolution 0
cheat 0
debug 0
# playback <NULL> (not set)
# record <NULL> (not set)
log 1
maxlogsize 10000
oslog 0
skip_disclaimer 0
skip_gameinfo 0
crconly 0
bios 0
### Configuration options ###
readconfig 1
verbose 1
----------------------------
mame.dat (not sure what this file actually does but this one was specified by AVGA)
@textval,yes,no,auto,mame,amame,dmame,vsmame,alt,None,Windows,Tracball,Spinner
@textval,vesa1,vesa2b,vesa2l,vesa3,8,16,auto,0,1,2,3,4,5,6,7,8,9,10,11
@textval,11025,22050,44100,auto,240x240,256x240,256x256,256x264,288x240
@textval,296x240,304x240,320x200,320x240,320x256,336x240,352x256,352x264
@textval,352x288,368x240,392x240,384x288,400x256,448x240,512x240,512x288
@textval,512x448,512x512,632x264,640x240,640x400,640x480,800x600,None
@textval,SBlaster,SB AWE32,ProAudio,UltraMax,Ultra,Windows,ESQ,none,auto
@textval,standard,dual,4button,6button,8button,fspro,wingex,wingwarrior,sidewinder
@textval,gamepadpro,grip,grip4,sneslpt1,sneslpt2,sneslpt3,psxlpt1,psxlpt2,psxlpt3
@textval,n64lpt1,n64lpt2,n64lpt3,db9lpt1,db9lpt2,db9lpt3,tgxlpt1,tgxlpt2,tgxlpt3
Mame Exe,exe,1,3,7,3,@
Cheats,cheat,1,0,1,1,@
Debug,debug,1,0,1,1,@
Record,record,6,0,1,1,@
Playback,playback,6,0,1,1,@
Create Log,log,6,0,1,1,@
Artwork,artwork,1,0,1,0,@
Tweak,tweak,1,0,1,1,@
NTSC,ntsc,1,0,1,1,@
Vesa Mode,vesamode,1,12,15,14,@
Resolution,resolution,1,34,62,34,@
Skip Lines,skiplines,0,0,224,0,@
Skip Columns,skipcolumns,0,0,288,0,@
Scan Lines,scanlines,1,0,1,1,@
Stretch,stretch,1,0,1,1,@
Depth,depth,1,16,18,18,@
Gamma,gamma,5,0,200,120,@
VGA Frequency,vgafreq,0,-1,3,-1,@
VSync,vsync,1,0,1,1,@
Wait VSync,waitvsync,1,0,1,1,@
Always Synced,alwayssynced,1,0,1,1,@
Triple Buffer,triplebuffer,1,0,1,1,@
Center X,centerx,0,-8,8,0,@
Center Y,centery,0,-16,16,0,@
Wait Interlace,waitinterlace,1,0,1,1,@
Flip X,flipx,1,0,1,1,@
Flip Y,flipy,1,0,1,1,@
----------------------------
\mame\mamewah\mamewah.ini:
### mamewah.ini (mamewah v1.61) ###
### (Global) Screen-Saver Options ###
delay 300
slide_duration 3
### Audio Options ###
enable_sounds 1
sound_volume 100
music_path
enable_music 1
music_volume 100
### Movie Options ###
intro_movie_file
exit_movie_file
keep_movie_preview_aspect game_aspect
delay_before_movie_preview 2
music_movie_mix mute_movies
movie_volume 100
### Misc Options ###
layout Classic 640x480
ctrlr
wrap_list 0
remember_current_game 1
keep_image_aspect 1
refresh_images 0
correct_orientations horizontal
safe_mode 0
show_cursor 0
keyboard_led_states -,-,-
winipac_file
mamewah_ipc_file
lcd_com_port 1
lcd_settings
exit_action windows
app_to_run_on_exit
### Settings used by MAMEWAH ###
current_emulator mame
locked 0
last_ipc
---------------------------------
\mame\mamewah\ini\mame.ini:
### mame.ini (mamewah v1.61) ###
emulator_title M.A.M.E.
### List Generation Settings ###
rom_path c:\mame\roms
rom_extension zip
dat_file c:\mame\mame.dat
nms_file
catver_ini_file
list_generation_method rom_folder_vs_listinfo
### Execution Settings ###
emulator_executable c:\mame\mame.exe
commandline_format [name] {autodosbox}
alt_commandline_format_1 [name]{autodosbox}{nosafelaunch}
alt_commandline_format_2 [name]{autodosbox}{nosafelaunch}
game_specific_config_path c:\mame\ini
### Artwork Locations ###
artwork_1_image_path c:\mame\snap
artwork_2_image_path c:\mame\marquees
artwork_3_image_path c:\mame\cabinets
artwork_4_image_path c:\mame\cpanels
artwork_5_image_path
artwork_6_image_path
artwork_7_image_path
artwork_8_image_path
artwork_9_image_path
artwork_10_image_path
movie_preview_path
movie_artwork_no 1
### Screen-Saver Settings ###
enable_music_in_screensaver 1
saver_type slideshow
movie_path
movie_fullscreen 1
quit_delay 30
wrapper_executable
wrapper_commandline_format [name]{nodosbox}{nosafelaunch}
scr_file
### External Application Settings ###
ipc_file_or_path
app_1_executable
app_1_commandline_format
app_2_executable
app_2_commandline_format
app_3_executable
app_3_commandline_format
auto_launch_apps
### Additional Settings ###
music_path
lcd_display_file_path
lcd_fe_text
### Settings used by MAMEWAH ###
current_list 0