home *** CD-ROM | disk | FTP | other *** search
/ Arcade Games (KFC) / GSPCD1975A.ISO / data1.cab / Program_Files / arcade.gsp < prev    next >
Encoding:
INI File  |  2008-03-04  |  7.6 KB  |  270 lines

  1. [AutoCreate]
  2. // *** Initialize variables ***
  3. CDNUMBER="GSPCD1806A"
  4. LAUNCHERID=""
  5. LAUNCHERTITLE="Arcade Games"
  6. TEMPHEIGHT=81
  7. TEMPWIDTH=149
  8. SetTitle LauncherTitle
  9. // *** Prepare windows and graphics ***
  10. //Prepare BACKGROUNDWINDOW and all it's graphics
  11. NewWindow BACKGROUNDWINDOW
  12. BACKGROUNDWINDOW.StayOnTop=0
  13. BACKGROUNDWINDOW.Top=0
  14. BACKGROUNDWINDOW.Left=0
  15. BACKGROUNDWINDOW.Width=640
  16. BACKGROUNDWINDOW.Height=452
  17. BACKGROUNDWINDOW.Color=0
  18. BACKGROUNDWINDOW.CloseAfter=0
  19. BACKGROUNDWINDOW.Enabled=0
  20. //Prepare MAINSCREEN and all it's graphics
  21. NewWindow MAINSCREEN
  22. MAINSCREEN.StayOnTop=0
  23. MAINSCREEN.Top=0
  24. MAINSCREEN.Left=0
  25. MAINSCREEN.Width=1025
  26. MAINSCREEN.Height=769
  27. MAINSCREEN.Color=0
  28. MAINSCREEN.CloseAfter=0
  29. MAINSCREEN.Enabled=1
  30. //Prepare BACKGROUND graphic
  31. NewGraphic BACKGROUND,MAINSCREEN
  32. BACKGROUND.Top=1
  33. BACKGROUND.Left=1
  34. BACKGROUND.Width=1024
  35. BACKGROUND.Height=768
  36. BACKGROUND.FrameWidth=1024
  37. BACKGROUND.FrameHeight=768
  38. BACKGROUND.CurrentFrame=1
  39. BACKGROUND.Visible=1
  40. BACKGROUND.Color=16777215
  41. BACKGROUND.SingleMask=0
  42. BACKGROUND.SingleHotSpot=0
  43. BACKGROUND.Transparent=0
  44. BACKGROUND.Stretch=0
  45. BACKGROUND.ClickRepeatTime=0
  46. //Prepare SNAKES graphic
  47. NewGraphic SNAKES,MAINSCREEN
  48. SNAKES.Top=513
  49. SNAKES.Left=511
  50. SNAKES.Width=471
  51. SNAKES.Height=165
  52. SNAKES.FrameWidth=471
  53. SNAKES.FrameHeight=165
  54. SNAKES.CurrentFrame=1
  55. SNAKES.Visible=1
  56. SNAKES.Color=16777215
  57. SNAKES.SingleMask=0
  58. SNAKES.SingleHotSpot=0
  59. SNAKES.Transparent=1
  60. SNAKES.Stretch=0
  61. SNAKES.ClickRepeatTime=0
  62. //Prepare BALLOONS graphic
  63. NewGraphic BALLOONS,MAINSCREEN
  64. BALLOONS.Top=230
  65. BALLOONS.Left=50
  66. BALLOONS.Width=456
  67. BALLOONS.Height=187
  68. BALLOONS.FrameWidth=456
  69. BALLOONS.FrameHeight=187
  70. BALLOONS.CurrentFrame=1
  71. BALLOONS.Visible=1
  72. BALLOONS.Color=16777215
  73. BALLOONS.SingleMask=0
  74. BALLOONS.SingleHotSpot=0
  75. BALLOONS.Transparent=1
  76. BALLOONS.Stretch=0
  77. BALLOONS.ClickRepeatTime=0
  78. //Prepare SMASH graphic
  79. NewGraphic SMASH,MAINSCREEN
  80. SMASH.Top=317
  81. SMASH.Left=511
  82. SMASH.Width=469
  83. SMASH.Height=177
  84. SMASH.FrameWidth=469
  85. SMASH.FrameHeight=177
  86. SMASH.CurrentFrame=1
  87. SMASH.Visible=1
  88. SMASH.Color=16777215
  89. SMASH.SingleMask=0
  90. SMASH.SingleHotSpot=0
  91. SMASH.Transparent=1
  92. SMASH.Stretch=0
  93. SMASH.ClickRepeatTime=0
  94. //Prepare MAZE graphic
  95. NewGraphic MAZE,MAINSCREEN
  96. MAZE.Top=423
  97. MAZE.Left=49
  98. MAZE.Width=456
  99. MAZE.Height=227
  100. MAZE.FrameWidth=456
  101. MAZE.FrameHeight=227
  102. MAZE.CurrentFrame=1
  103. MAZE.Visible=1
  104. MAZE.Color=16777215
  105. MAZE.SingleMask=0
  106. MAZE.SingleHotSpot=0
  107. MAZE.Transparent=1
  108. MAZE.Stretch=0
  109. MAZE.ClickRepeatTime=0
  110. //Prepare EXIT graphic
  111. NewGraphic EXIT,MAINSCREEN
  112. EXIT.Top=17
  113. EXIT.Left=855
  114. EXIT.Width=149
  115. EXIT.Height=81
  116. EXIT.FrameWidth=149
  117. EXIT.FrameHeight=81
  118. EXIT.CurrentFrame=1
  119. EXIT.Visible=1
  120. EXIT.Color=16777215
  121. EXIT.SingleMask=0
  122. EXIT.SingleHotSpot=0
  123. EXIT.Transparent=0
  124. EXIT.Stretch=0
  125. EXIT.ClickRepeatTime=0
  126. // *** Load up some images and stuff ***
  127. TempWidth=BACKGROUND.Width //Preserve the sprite's width and height
  128. TempHeight=BACKGROUND.Height // As the next statement may try to change them
  129. BACKGROUND.LoadFrame 1,"arcade.dat:Menu Screen.bmp"
  130. BACKGROUND.Width=TempWidth //Now restore the sprite's width and height
  131. BACKGROUND.Height=TempHeight
  132. TempWidth=BALLOONS.Width //Preserve the sprite's width and height
  133. TempHeight=BALLOONS.Height // As the next statement may try to change them
  134. BALLOONS.LoadFrame 1,"arcade.dat:balloons.bmp"
  135. BALLOONS.Width=TempWidth //Now restore the sprite's width and height
  136. BALLOONS.Height=TempHeight
  137. TempWidth=BALLOONS.Width //Preserve the sprite's width and height
  138. TempHeight=BALLOONS.Height // As the next statement may try to change them
  139. BALLOONS.LoadFrame 2,"arcade.dat:ballons over.bmp"
  140. BALLOONS.Width=TempWidth //Now restore the sprite's width and height
  141. BALLOONS.Height=TempHeight
  142. TempWidth=MAZE.Width //Preserve the sprite's width and height
  143. TempHeight=MAZE.Height // As the next statement may try to change them
  144. MAZE.LoadFrame 1,"arcade.dat:monster maze.bmp"
  145. MAZE.Width=TempWidth //Now restore the sprite's width and height
  146. MAZE.Height=TempHeight
  147. TempWidth=MAZE.Width //Preserve the sprite's width and height
  148. TempHeight=MAZE.Height // As the next statement may try to change them
  149. MAZE.LoadFrame 2,"arcade.dat:monster maze2.bmp"
  150. MAZE.Width=TempWidth //Now restore the sprite's width and height
  151. MAZE.Height=TempHeight
  152. TempWidth=SMASH.Width //Preserve the sprite's width and height
  153. TempHeight=SMASH.Height // As the next statement may try to change them
  154. SMASH.LoadFrame 1,"arcade.dat:monster smash inactive.bmp"
  155. SMASH.Width=TempWidth //Now restore the sprite's width and height
  156. SMASH.Height=TempHeight
  157. TempWidth=SMASH.Width //Preserve the sprite's width and height
  158. TempHeight=SMASH.Height // As the next statement may try to change them
  159. SMASH.LoadFrame 2,"arcade.dat:monster smash.bmp"
  160. SMASH.Width=TempWidth //Now restore the sprite's width and height
  161. SMASH.Height=TempHeight
  162. TempWidth=SNAKES.Width //Preserve the sprite's width and height
  163. TempHeight=SNAKES.Height // As the next statement may try to change them
  164. SNAKES.LoadFrame 1,"arcade.dat:snakes inactive.bmp"
  165. SNAKES.Width=TempWidth //Now restore the sprite's width and height
  166. SNAKES.Height=TempHeight
  167. TempWidth=SNAKES.Width //Preserve the sprite's width and height
  168. TempHeight=SNAKES.Height // As the next statement may try to change them
  169. SNAKES.LoadFrame 2,"arcade.dat:snakes and ladders over.bmp"
  170. SNAKES.Width=TempWidth //Now restore the sprite's width and height
  171. SNAKES.Height=TempHeight
  172. TempWidth=EXIT.Width //Preserve the sprite's width and height
  173. TempHeight=EXIT.Height // As the next statement may try to change them
  174. EXIT.LoadFrame 1,"arcade.dat:exit.bmp"
  175. EXIT.Width=TempWidth //Now restore the sprite's width and height
  176. EXIT.Height=TempHeight
  177. TempWidth=EXIT.Width //Preserve the sprite's width and height
  178. TempHeight=EXIT.Height // As the next statement may try to change them
  179. EXIT.LoadFrame 2,"arcade.dat:exit2.bmp"
  180. EXIT.Width=TempWidth //Now restore the sprite's width and height
  181. EXIT.Height=TempHeight
  182. // *** Hotspots, animations, scroll to lists and applications defined here ***
  183. NewApplication APPLICATION1
  184. APPLICATION1.Description="New application"
  185. APPLICATION1.DirectFromCD=0
  186. APPLICATION1.DirectFromCDFilename="D:\ProgramName.exe"
  187. APPLICATION1.DirectFromCDParameters=""
  188. APPLICATION1.InstallerFilename="D:\Setup.exe"
  189. APPLICATION1.UniqueFilename="program.lnk"
  190. APPLICATION1.FileToRun="program.lnk"
  191. APPLICATION1.FileToRunParameters=""
  192. APPLICATION1.CloseLauncherAfterRunning=0
  193. APPLICATION1.UniqueNumber="1"
  194. APPLICATION1.CDID=""
  195. APPLICATION1.InsertCDMessage=""
  196.  
  197. [Start]
  198. BACKGROUNDWINDOW.KeepCentered=1
  199. BACKGROUNDWINDOW.Center
  200. BACKGROUNDWINDOW.Left=0
  201. BACKGROUNDWINDOW.Top=0
  202. BACKGROUNDWINDOW.WidthAsPercentageOfScreenWidth=100
  203. BACKGROUNDWINDOW.HeightAsPercentageOfScreenHeight=100
  204. BACKGROUNDWINDOW.Visible=1
  205. BACKGROUNDWINDOW.sendtoback
  206.  
  207. MAINSCREEN.bringtofront
  208. MAINSCREEN.KeepCentered=1
  209. MAINSCREEN.Center
  210. MAINSCREEN.Visible=1
  211.  
  212.  
  213. [BALLOONS_mouseenter]
  214. BALLOONS.currentframe=2
  215.  
  216. [BALLOONS_mouseexit]
  217. BALLOONS.currentframe=1
  218.  
  219. [BALLOONS_click]
  220. RunExecutableAndWait "balloons\Puzzle.exe"
  221. MAINSCREEN.bringtofront
  222.  
  223. [MAZE_mouseenter]
  224. MAZE.currentframe=2
  225.  
  226. [MAZE_mouseexit]
  227. MAZE.currentframe=1
  228.  
  229.  
  230. [MAZE_click]
  231. RunExecutableAndWait "maze\retromaze.exe"
  232. MAINSCREEN.bringtofront
  233.  
  234. [SMASH_mouseenter]
  235. SMASH.currentframe=2
  236.  
  237.  
  238. [SMASH_mouseexit]
  239. SMASH.currentframe=1
  240.  
  241.  
  242. [SMASH_click]
  243. openfile "smash\hyperactive.exe"
  244. mainscreen.keepcentered=1
  245. MAINSCREEN.bringtofront
  246.  
  247.  
  248. [SNAKES_mouseenter]
  249. SNAKES.currentframe=2
  250.  
  251.  
  252. [SNAKES_mouseexit]
  253. SNAKES.currentframe=1
  254.  
  255.  
  256. [SNAKES_click]
  257. RunExecutableAndWait "snakes\snakes.exe"
  258. MAINSCREEN.bringtofront
  259.  
  260.  
  261. [EXIT_mouseenter]
  262. EXIT.currentframe=2
  263.  
  264. [EXIT_mouseexit]
  265. EXIT.currentframe=1
  266.  
  267. [EXIT_click]
  268. closelauncher
  269.  
  270.