1.  
  2.  *****Example*****
  3.  
  4.  
  5.  
  6. @echo off
  7.  
  8. CLS
  9.  
  10. echo                                                                         
  11. echo      Darren's Mame Boot CD V 14-10-06                                   
  12. echo                                                                        
  13. echo  Welcome to "Darren's bootable CD". This self-booting disc will         
  14. echo  turn almost any P.C computer into a M.A.M.E powered arcade machine.   
  15. echo                                                                         
  16. echo  This version supports the following hardware:-                         
  17. echo                                                                         
  18. echo  AMD 450Mhz, Athlon 850, 3Ghz Best for some CHD games and all NEO-GEO   
  19. echo  128Mb RAM, 256Mb for all NEO-GEO games                                 
  20. echo  80Gb HDD for all ROM sets plus all CHD's                               
  21. echo  Ati, Radeon, or Ultimarc ArcadeVGA                                     
  22. echo  J-Pac set to Mame - 15khz                                              
  23. echo  Most Sound Blaster ISA CARD                                            
  24. echo  Most Sound Blaster PCI CARD (But Not SB LIVE or AUDIGY)                
  25. echo                                                                         
  26. echo  Software Used:                                                         
  27. echo                                                                         
  28. echo  Dmame v100 & i686, Hiscore.dat V100, History.dat V100, ArcadeOS 2.52.  
  29. echo                                                                         
  30. pause
  31.  
  32. cls
  33.  
  34. echo   WARNING! This disc can "DESTROY" data. It has options within that can
  35. echo    format drives. BE CAREFUL if you have any other drives installed in  
  36. echo                  your machine that contain data.                        
  37. pause
  38.  
  39. REM ** MENU OPTION. SOUND CARD OPTION
  40. CLS
  41. echo                                                                          
  42. echo               MASTER MENU. (SOUND CARD OPTIONS)                          
  43. echo                                                                          
  44. echo  1- PCI Sound Blaster 128    (See ReadME)                                
  45. echo                                                                          
  46. echo                                                                          
  47. echo  2- ISA Sound Blaster 64     (See ReadME)                                
  48. echo                                                                          
  49. echo                                                                          
  50. echo  3- To EXIT SET-UP.                                                      
  51. echo                                                                          
  52. echo                                                                          
  53. CHOICE /C:123 /N "Option 1 will be chosen after 20s. Your Choice: "
  54. IF errorlevel==3 GOTO ENDD
  55. IF errorlevel==2 GOTO ISA
  56. IF errorlevel==1 GOTO PCI
  57.  
  58. :PCI
  59. *
  60. *
  61. goto vgam
  62.  
  63. :ISA
  64. cls
  65. echo                                                                          
  66. echo             Now installing M.A.M.E with ISA sound support.               
  67. echo                                                                          
  68. echo                                                                          
  69. echo   *********************************************************************  
  70. echo   * Use the following disk tool to create a pirmary DOS partition for *  
  71. echo   * your files to reside on. If your not sure how to do this, there   *  
  72. echo   * are many websites that can help. Just search for help with FDISK  *  
  73. echo   *********************************************************************  
  74. echo                                                                          
  75. echo                                                                          
  76. echo   Note: Even if you do not need to edit your drives partitions, please   
  77. echo   check to make sure everything is in order (with Fdisk) before you      
  78. echo   continue.                                                              
  79. echo   just press Escape while in Fdisk to continue on with setup.            
  80. echo                                                                          
  81. pause
  82.  
  83. cls
  84. echo                                                                          
  85. echo                              Fdisk Menu                                  
  86. echo                                                                          
  87. echo  1- Run Fdisk                                                            
  88. echo                                                                          
  89. echo                                                                         
  90. echo  2- Skip Fdisk                                                           
  91. echo                                                                          
  92. echo                                                                          
  93.  
  94. CHOICE /C:12 /N "Option 2 will be chosen after 6s. Your Choice: "
  95. IF errorlevel==2 GOTO asi
  96. IF errorlevel==1 GOTO f
  97. :f
  98. a:\fdisk
  99. :asi
  100. cls
  101.  
  102. echo   **IMPORTANT**                                                          
  103. echo                                                                          
  104. echo  If you created or deleted any partitions with Fdisk, please reset now.  
  105. echo  Once you get back to the Fdisk menu chose option 2 to skip Fdisk,       
  106. echo  If you didn't change anything or even use Fdisk press any key to        
  107. echo  continue.                                                               
  108. echo                                                                          
  109. pause
  110.  
  111. cls
  112. echo  Getting ready to format drive C:\
  113. A:\FORMAT C:
  114. A:\SYS.COM C
  115. A:\scandisk C:
  116. echo  Installing DOS.....
  117. mkdir C:\Dos
  118. A:\XCOPY32 D:\SYSTEM\Dos c:\Dos /E
  119. C:\DOS\SMARTDRV
  120. echo  Installing ArcadeOS V2.52.....
  121. mkdir C:\ArcadeOS
  122. A:\XCOPY32 D:\SYSTEM\ArcadeOS C:\ArcadeOS /E
  123.  
  124.  
  125. echo                                                                          
  126. echo     MAME INSTALLATION OPTIONS.                                           
  127. echo                                                                          
  128. echo                                                                          
  129. echo   1- To setup Dmame v100 i686 Pentium Optimised                          
  130. echo                                                                          
  131. echo   2- To setup Dmame v100 Standard                                        
  132. echo                                                                          
  133. echo                                                                          
  134.  
  135. CHOICE /C:12 /N "Option 1 will be chosen after 15s. Your Choice: "
  136. IF errorlevel==2 GOTO MAi
  137. IF errorlevel==1 GOTO MAPPi
  138.  
  139. :MAPPi
  140. cls
  141. echo Installing M.A.M.E V100_i686. This may take time.....
  142. mkdir C:\Mame
  143. A:\XCOPY32 D:\SYSTEM\MAMEPP C:\Mame
  144.  
  145.  
  146. goto isaso
  147.  
  148. :MAi
  149. cls
  150. echo Installing M.A.M.E V100_Standard. This may take time.....
  151. mkdir C:\Mame
  152. A:\XCOPY32 D:\SYSTEM\Mame C:\Mame
  153.  
  154.  
  155. :isaso
  156. cls
  157. echo Installing ISA Sound Blaster Drivers.....
  158. A:\XCOPY32 D:\SND\ISA\CISA C:\
  159. mkdir C:\CTCM
  160. A:\XCOPY32 D:\SND\ISA\CTCM C:\CTCM
  161. mkdir C:\SB16
  162. A:\XCOPY32 D:\SND\ISA\SB16 C:\SB16
  163.  
  164.  
  165. :vgam
  166. CLS
  167.  
  168. echo                                                                         
  169. echo                             (VGA) MENU                                   
  170. echo                                                                         
  171. echo   1- To SET-UP ArcadeOS using ArcadeVGA CARD and 15Khz ARCADE MONITOR.   
  172. echo                                                                          
  173. echo   2- To SET-UP ArcadeOS using other make VGA CARD and 15Khz MONITOR.     
  174. echo                                                                          
  175. echo   3- To SET-UP ArcadeOS using any make VGA CARD and VGA MONITOR.         
  176. echo                                                                          
  177. echo   4- To SET-UP ArcadeOS using VGA CARD with TV OUT and a TV.             
  178. echo                                                                          
  179. CHOICE /C:1234 /N "Option 1 will be chosen after 30s. Your Choice: "
  180. IF errorlevel==4 GOTO TV
  181. IF errorlevel==3 GOTO VGA
  182. IF errorlevel==2 GOTO ATI
  183. IF errorlevel==1 GOTO ULT
  184.  
  185. :ult
  186. cls
  187. echo  Installing Arcade monitor and ArcadeVGA.....
  188. REM ** ArcadeOS USING ArcadeVGA CARD and 15Khz ARCADE MONITOR
  189. mkdir C:\MPG
  190. A:\xcopy32 D:\VIDEO\MPG C:\MPG
  191. A:\XCOPY32 D:\VIDEO\ULTI\arcadeos.cfg C:\ARCADEOS
  192. A:\XCOPY32 D:\VIDEO\ULTI\mame.cfg C:\MAME
  193.  
  194.  
  195. goto atx
  196.  
  197. :ati
  198. cls
  199. echo  Installing Arcade monitor and standard vga card.....
  200. REM ** ArcadeOS using other make VGA CARD and 15Khz MONITOR
  201. mkdir C:\MPG
  202. A:\xcopy32 D:\VIDEO\MPG C:\MPG
  203. A:\XCOPY32 D:\VIDEO\ATI\arcadeos.cfg C:\ARCADEOS
  204. A:\XCOPY32 D:\VIDEO\ATI\mame.cfg C:\MAME
  205.  
  206.  
  207.  
  208.  
  209. REM ** ATX CONTROL
  210. :atx
  211. cls
  212.  
  213.  
  214. echo                                                                          
  215. echo   1- SET-UP "ATXOFF" (Exit ArcadeOS and your P.C. will stay ON)          
  216. echo      (Easier to up-date ROMS after Exiting ArcadeOS)                     
  217. echo                                                                          
  218. echo                                                                          
  219. echo   2- SET-UP "ATXOFF" (Exit ArcadeOS and your P.C. will turn OFF)             
  220.  
  221. CHOICE /C:12 /N "Option 1 will be chosen after 15s. Your Choice: "
  222. IF errorlevel==2 GOTO ON
  223. IF errorlevel==1 GOTO OFF
  224.  
  225. :OFF
  226. A:\XCOPY32 D:\RUN\ATXOFF\GO.BAT C:\ARCADEOS
  227.  
  228. GOTO end
  229.  
  230. :ON
  231. A:\XCOPY32 D:\RUN\ATXON\GO.BAT C:\ARCADEOS
  232.  
  233. :end
  234. cls
  235. echo.
  236. echo.
  237. echo.
  238.  
  239.  
  240. echo             Setup is Complete, Remove C.D and Re-Start P.C               
  241.  
  242.  
  243. :endd
  244. @echo on

Back