Professional Documents
Culture Documents
Home
Contact
Site Map
Site Disclaimer
With SSD hard drives, faster CPUs and RAM, and 64-bit operating systems like
Windows 7 and Linux there is now much more choice, with better and faster
alternatives to running up MAME either on a desktop PC or in a dedicated
arcade cabinet conversion like mine.
Having said all of that, DOS MAME is still alive and active with the likes of
AdvanceMAME et-al, and it's still a great platform for a fast booting arcade
cabinet. I simply prefer the flexibility of being able to run MAME, ZSES and
regular PC games all from a single frontend like MALA.
So moving forward, I'm still around, and I'm still tweaking and modding, and I'll
be concentrating on developing my MAME movie script.....albeit very slowly
LOL.
All of the above will be posted here as always.
Best wishes, dosmame
Blog
DOS MAME Retired
9/23/2013
Links
Search
Search
Home
Site Disclaimer
MAME Attract Movie Generation Script
MAME Configurations Blog
ARCHIVED [DOS MAME]
About MAME
Getting DOS MAME
DOS Environment
Setting Up DOS Soundcards
DOS Memory Managers
MAME ROMS
DOS MAME Checklist
Running DOS MAME
DOS Software Compatibility
DOS Hardware Compatibility
Troubleshooting Guide
MAME Frontends
MAME Displays
MAME SCART
DOS Networking
Instant Sheller
MAME World
Soft15Khz
Quckres
MameWah!
Cabmame64
MAME Optimisation
Advancemame
My Software Config
My Hardware
My Boot Screens
Downloads
x64 MAME Cabinet
19W7602 K7000
Monitor Swap CGA-SVGA
Contact
Site Map
SSD Disk C
c:\arcade\..
Windows Tweaks
Prerequisites
Take ownership of windows resource files - Rightclick on the file and 'Take Ownership'
C:\Windows\System32\imageres.dll
C:\Windows\System32\en-US\winlogon.exe.mui
C:\Windows\Branding\Basebrd\basebrd.dll
C:\Windows\System32\imageres.dll
C:\Windows\System32\en-US\winlogon.exe.mui
C:\Windows\Branding\Basebrd\basebrd.dll
http://www.sevenforums.com/tutorials/126315-welcome-log-text-messagechange.html
'Run as Administrator' - C:\Program Files (x86)\Resource
Hacker\ResHacker.exe
open winlogon.exe.mui on your desktop
string from the left menu and delete the text from items 63 and 64.
save the file to your desktop
Cursors
Set shell
Regedit HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon
'Shell' "c:\arcade\mala\mala.exe"
cmd as administrator
bcdedit /set {current} bootstatuspolicy ignoreallfailures
reboot - not power off!!
If you have a power kill switch, you'll need to set the hard drives policy for
'Quick Removal' to avoid disk corruption. There will be a performance hit as it
disabled write caching.
device manager
right click hard drive
policies
removal policy - quick removal
I've been having some reliability issues with Windows XP x64 - lock outs &
slowness, so I've gone ahead an migrated my Final Fight Cabinet to Windows 7
x64 which I've been holding off because I was unable to completely hide the OS
whilst booting. But now it's done.
Also I've upgraded the video card to an Nvidia 8800 GTS which should provide
better PC game support, as I run Crazy Taxi 3, Raiden III and Virtual Tennis
2009.
In addition I'm using an SSD for the boot device to help improve boot and menu
performance.
MALA and all game images and snaps now reside on the SSD.
ROMs and PC games are on the SATA disk - mainly because it's only a 60GB
SSD.
Here is a shell script I've written to generate AVI files for your favorite game
Just copy everything below into a text file and save as MAME2AVI.BAT
Run MAME2AVI
The script will search and create and missing attract movies
Read the instructions
@echo off
::::::::::::::::::::::::::::::::::::::::::::::::::
:::
:::
::: MAME ATTRACT CREATOR SCRIPT
:::
:::
:::
::: DOSMAME V1.0 June 2011
:::
:::
:::
::: HTTP://DOSMAME.MAMEWORLD.NET
:::
:::
:::
::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::
:::
:::
::: MAME2AVI.BAT
:::
:::
:::
::: PREREQUISITES:
:::
::: MENCODER
:::
::: http://oss.netfarm.it/mplayer-win32.php
:::
::: PUT MENCODER AND THIS SCRIPT IN THE
:::
::: 'tools' DIRECTORY SPECIFIED IN THE USER
:::
::: OPTIONS BELOW
:::
:::
:::
::: A WORKING WINDOWS COMMAND-LINE VERSION
:::
::: OF MAME
:::
:::
:::
:::
:::
:::
:::
::: THIS SCRIPT WILL;
:::
::: .SKIP AVI CREATION IF THE MOVIE ALREADY
:::
::: EXISTS IN %mame_dir%\avi\
:::
::: .SKIP ROMS NOT AVAILABLE IN %mame_dir%\roms:::
:::
:::
:::
:::
:::
:::
::: BEFORE RUNNING, SETUP YOUR USER OPTIONS!
:::
:::
:::
::: MAKE A BACKUP!
:::
:::
:::
::: USAGE IS ENTIRLY AT YOUR OWN RISK
:::
::: xDOSMAMEx
:::
::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::
:::
::: DEBUG OPTIONS
:::
set debug=0
set debug_rom=8ballact
:: SET DEBUG TO 1 AND SET A ROM NAME IF YOU NEED TO DEBUG
:: A ROM AND SKIP THROUGH EACH STEP OF THE SCRIPT
:::
::: END OF DEBUG OPTIONS
:::
::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::
:::
::: SET USER OPTIONS BELOW
:::
set parents_only=1
:: SET THIS TO 1 IF YOU ONLY WANT PARENT GAMES, OR 0
(ZERO) FOR ALL
set game_duration=50
:: THIS IS THE AMMOUNT OF TIME THE MOVIE WILL RUN IN
SECONDS
set trim=25
:: THIS IS THE AMOUNT OF TIME IN SECONDS TO TAKE OFF THE
BEGINNING OF THE MOVIE
set mame_dir=d:\mame
:: THIS IS THE DIRECTORY OF MAME.EXE
set mame_exe=groovymame64.exe
:: THIS IS THE MAME EXECUTABLE
set tools=d:\roms2avi
:: THIS IS THE FOLDER WHERE THIS SCRIPT AND MEMCODER LIVES
:::
::: END OF USER OPTIONS
:::
::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::
:::
::: MAIN SCRIPT - DON'T TOUCH THIS BELOW
:::
if %debug% == 1 @echo on
cd %mame_dir%
if %parents_only% == 1 for /f "tokens=2" %%a in
('%mame_dir%\%mame_exe% -listclones') do call :doIt %%a
if %parents_only% == 0 for /f "tokens=1" %%a in
('%mame_dir%\%mame_exe% -listfull') do call :doIt %%a
:doIt
set rom=%1
if exist %mame_dir%\avi\%rom%.avi goto aviExist
if not exist %mame_dir%\roms\%rom%.zip goto romNotExist
if not exist avi mkdir avi
echo.
echo Running game %rom%
echo.
if %debug% == 1 if %rom% == %debug_rom% pause
start /min /wait %mame_dir%\%mame_exe% %rom% -aviwrite
%rom%.avi -str %game_duration% -nouse_backdrops
-nouse_bezels -window
if %debug% == 1 if %rom% == %debug_rom% pause
:createVideo
echo.
echo Creating video for %rom%
echo.
:aviExist
echo.
echo %rom%.avi exists - skipping %rom%
goto :end
:romNotExist
echo.
echo %rom% rom not found
goto :end
:end
:::
::: END OF MAIN SCRIPT
:::
::::::::::::::::::::::::::::::::::::::::::::::::::
Now I have the ArcadeVGA and a stable POST and boot screen on my Wells
Gardner K7000 arcade monitor, so now it's time to 'brand' my MAME PC
In order to flash the ASUS P5W BIOS, I need to create a DOS boot USB stick.
This is acomplished by using unetbootin-win http://unetbootin.sourceforge.net/
From unetboow-win, select - Create a FREEDOS boot disk, choose your USB
stick and you're done.
Now we need to create 2 images;
1 - the BIOS boot logo which should be BMP 640 x 480 x 256 colours
2 - the BIOS setup logo which should be BMP 640 x 80 x 16 colours
I used photofiltre to create the image and infranview to convert to 16 and 265
colour BMPs
From the ATI flash tools, run OEMLOGO.exe
Load the original motherboard ATI BIOS and replace 'OEM logo'
To finish, select 'SAVE ROM AS' and place it on your USB key
To flash the motherboard AMI BIOS, insert the USB boot key and boot with NO
drivers
Backup existing ROM
afu236u.exe /obackup.rom
Flash new ROM
afu236u.exe /iff-ami.rom
Reboot
Next we want to brand the Windows boot screen with our own image
To do this I used instant sheller to change the boot logo and hide the mouse
cursor and boot to the frontend
You will need a 640 x 480 x 16 colour image; here is the one I created;
Nothing news worthy here, just some updated pics of the internals showing the
PC (q6700 @ 3.2GHz + 4GB RAM + ATI HD4350), SATA system disk and
backup IDE disk, PC PSU, arcade monitor (WG K7000), J-Pac, vintage
freecycled Realistic AV to power the speakers, coin box and mouse
ROM
No OC
blitz
1941
alpinerd
airco22b
blitz
blitz99
Cybrcycc
Gauntleg
Gradius4
Propcycl
Radikalb
Raveracw
Ridgerac
Scud
Sidebs2
Starblad
Starsldr
Stunrun
Surfplnt
135%
1280%
60%
83%
135%
158%
121%
190%
253%
85%
104%
95%
106%
85%
110%
103%
44%
473%
90%
ASUS OC
@ +20%
157%
1629%
70%
96%
159%
184%
141%
218%
343%
99%
130%
108%
124%
104%
137%
126%
53%
578%
113%
Diff
+16%
+27%
+17%
+16%
+17%
+16%
+17%
+14%
+35%
+16%
+25%
+14%
+16%
+23%
+25%
+23%
+22%
+22%
+26%
BENCHMARK.BAT
::
::MAME Benchmark Script v1.0
::DOSMAME Jan 2011
::
@echo off
::USER VALUES HERE
set bench_log=bench_results.csv
set bench_time=90
set mameversion=cabmame64.exe
set games=(blitz 1941 alpinerd airco22b blitz blitz99 cybrcycc dolphin
gauntleg gradius4 hyprdriv propcycl radikalb raveracw ridgerac scud
sidebs2 starblad starsldr stunrun surfplnt)
::END OF USER VALUES
::MAIN SCRIPT
echo This will delete your last %bench_log%
echo CTRL + C to quit
echo.
pause
del %bench_log% /q
echo ROM,Result >> %bench_log%
for %%a in %games% do call :doit %mameversion% %%a %bench_time%
%bench_log%
goto end
:doit
echo Benchmarking %2 please wait %3 seconds
for /f "tokens=2 delims=:(" %%b in ('%1 %2 -bench %3') do echo %2,%%b
>> %4
:end
::END OF MAIN SCRIPT
Here are some benchmark figures for a standard MAME 0.141 64 bit
executable next to some different compilations
Specs;
Motherboard - ASUS P5W, Intel 975X +Intel ICH7R 1333/1066/800MHz
CPU - Intel Q6700 Quad Core @ 2.66 GHz, L2 Cache 8 MB
Video Card - Saphire ATI HD4350 512Mb PCI-e
Catalyst 10.11 Radeon drivers
Windows XP 64 Bit
BENCHMARK.BAT
::
::MAME Benchmark Script v1.0
::DOSMAME Jan 2011
::
@echo off
::USER VALUES HERE
set bench_log=bench_results.csv
set bench_time=90
set mameversion=mame64.exe
set games=(blitz 1941 alpinerd airco22b blitz blitz99 Cybrcycc Dolphin
Gauntleg Gradius4 Hyperdriv Propcycl Radikalb Raveracw Ridgerac Scud
Sidebs2 Starblad Starsldr Stunrun Surfplnt)
::END OF USER VALUES
::MAIN SCRIPT
echo This will delete your last %bench_log%
echo CTRL + C to quit
echo.
pause
del %bench_log% /q
echo ROM,Result >> %bench_log%
for %%a in %games% do call :doit %mameversion% %%a %bench_time%
%bench_log%
goto end
:doit
echo Benchmarking %2 please wait %3 seconds
for /f "tokens=2 delims=:(" %%b in ('%1 %2 -bench %3') do echo %2,%%b
>> %4
:end
::END OF MAIN SCRIPT
Results
ROM
blitz
1941
alpinerd
airco22b
blitz
blitz99
Cybrcycc
Gauntleg
Gradius4
Propcycl
Radikalb
Raveracw
Ridgerac
Scud
Sidebs2
Starblad
Starsldr
Stunrun
Surfplnt
Standard 64bit
Compile 1
Diff STD vs
Compile 2
Diff STD vs Diff Compile 1
EXE
ARCHOS=-msse3 Compile 1 ARCHOS=-march=pentium-m Compile 2 vs Compile 2
-msse3
135.12%
1279.61%
59.86%
82.54%
135.47%
158.07%
120.90%
190.46%
253.03%
84.92%
104.39%
95.08%
106.41%
84.83%
109.60%
102.78%
43.73%
473.23%
89.76%
135.83%
1374.81%
60.31%
83.71%
136.76%
159.47%
124.31%
191.61%
286.91%
87.63%
111.42%
92.54%
106.62%
87.09%
105.66%
105.52%
44.44%
481.55%
94.89%
100.53%
107.44%
100.75%
101.42%
100.95%
100.89%
102.82%
100.60%
113.39%
103.19%
106.73%
97.33%
100.20%
102.66%
96.41%
102.67%
101.62%
101.76%
105.72%
136.21%
1374.54%
61.04%
83.86%
136.78%
158.46%
124.71%
192.63%
285.68%
87.81%
111.69%
92.98%
107.17%
87.13%
106.11%
105.44%
44.60%
481.22%
95.25%
There are some very minor gains to be had over the standard 64 bit compilation
As you can see from the graph, there's not much to be gained between the
safer ARCAHOS=-msse3 and the more risky ARCHOS=-march=pentium-m
-msse3
Well it had to happen eventually, the Wells Gardner K7000 is back in place. As
much as I liked the flexibility of the SVGA monitor, it just doesn't produce the
same results as a low res monitor.
Now I just had to fix the tearing in horizontal scrollers......[now fixed]
100.81%
107.42%
101.97%
101.60%
100.97%
100.25%
103.15%
101.14%
112.90%
103.40%
106.99%
97.79%
100.71%
102.71%
96.82%
102.59%
101.99%
101.69%
106.12%
100.28%
99.98%
101.21%
100.18%
100.01%
99.37%
100.32%
100.53%
99.57%
100.21%
100.24%
100.48%
100.52%
100.05%
100.43%
99.92%
100.36%
99.93%
100.38%
Probably not much interest to anyone other than me...but here it is :-)
With the cabinet 99% finished, it was time to add the finishing touches
http://www.youtube.com/watch?v=yBeUvOPwvPo
Well I went ahead and swapped the CGA monitor for an SVGA monitor
The new monitor is a 19 inch Samsung Syncmaster 950B
I stripped the monitor out of it's plastic casing to reveal the tube and ciruit
boards
Clearly I'm not going to be able to swap the tube into the k7000 mounting frame
The tube is 3cm too long too, so I had to fit some spacers between the brackets
and the cabinet to bring the screen forward
Here is my new addition to the cabinet project. A PowerColor ATI Radeon 9250
256MB 128bit DVI+CRT+TV PCI (R92P-LD3).
Not exactly bleeding edge, actually compared to the capabilities of the
previously installed ATI HD4350 PCI-e card, it's a real slouch for playing 3D
games. BUT it's perfect for 2D MAME and will output perfectly to my 15Khz
arcade monitor with a slight BIOS modification.
The new graphics card may well spell the end for the x64 Windows build due to
a lack of x64 drivers, and a new build of crunchbang linux 10a2 x86_64 :-D
Ground
Red 18ga
+5 volts
Black 18ga
Red 18ga
Blue 18ga
Ground
+5 volts
- 5 volts
2
4
5
6
A Ground
Black 18ga
C +5 volts
Red 18ga
B Ground
D +5 volts
E - 5 volts
F +12 volts
NA
Key
Gray
Coin Lockout
Not Used
11 M Not Used
Yellow
Violet
Blue/S
Red
Blue
Black
Red/S
Brown
SOLDER SIDE
Coin Counter 1 8
Speaker +
Red Video
Blue Video
Video Ground
Test
P1 Coin
H Key
J Coin Counter 2
K Coin Lockout
10 L Speaker -
12 N Green Video
Black 18ga
Red 18ga
Blue 18ga
Orange 18ga
NA
Yellow/S
Gray/S
Violet/S
Orange
Green
Orange/S
16 T P2 Coin
Brown/S
15 S Tilt
White/S
Gray
P1 Start
17 U P2 Start
Gray/S
Green
P1 Down
19 W P2 Down
Green/S
Blue
Yellow
Red
Orange
Violet
White
Green/S
Brown
Black
Black
P1 UP
P1 Left
P1 Right
P1 Button 1
P1 Button 2
P1 Button 3
P1 Button 4
P1 Button 5
Ground
Ground
18 V P2 Up
20 X P2 Left
21 Y P2 Right
22 Z P2 Button 1
23 a P2 Button 2
24 b P2 Button 3
25 c P2 Button 4
26 d P2 Button 5
27 e Ground
28 f
Ground
Blue/S
Yellow/S
Red/S
Orange/S
Violet/S
White/S
Black/S
Brown/S
Black
Black
- Windows Firewall
- Print Spooler
1 x HDMI
I was testing the rig using the 15 pin VGA output, since that is what is
connected to my J-Pac
Seems the video was being initialized on the 15 pin VGA output, then when the
Windows drivers started, the output switched to DVI
Problem fixed, now using the DVI output with a converter.
All I need to do now is rebuild with Windows XP x64 :-)
Whilst I'm trying to figure out my options for sourcing a cabinet, I've been
playing around with Linux and Windows to see which I would prefer to run
eventually.
To recap; my core hardware specs are;
Q6700 Quad Core CPU
NVIDIA 9500 PCI-E
Conclusion
Hardware support is excellent with Linux and Windows 7, not so much for XP
x64
I can compile my own version of MAME on both
Windows is expensive
The choice between them is very close at the moment. I'm edging towards
Windows XP, mainly because I know I can run soft15khz when I eventually
hook it up to an arcade monitor. I also know my hardware has drivers for XP
x64.
I'm always going to edge towards Linux and I would prefer to run Linux, but only
if I can configure it to run at the correct
resolution.x64_MAME_Cabinet_-_Linux_or_Windows
Site Map
Login