home *** CD-ROM | disk | FTP | other *** search
/ Arcade Games (KFC) / GSPCD1975A.ISO / language.gsp < prev    next >
Encoding:
INI File  |  2008-02-25  |  6.3 KB  |  214 lines

  1. [AutoCreate]
  2. // *** Initialize variables ***
  3. CDNUMBER="GSPCD1806A"
  4. LAUNCHERID=""
  5. LAUNCHERTITLE="Arcade Games"
  6. TEMPHEIGHT=768
  7. TEMPWIDTH=1024
  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 ENGLISH graphic
  47. NewGraphic ENGLISH,MAINSCREEN
  48. ENGLISH.Top=105
  49. ENGLISH.Left=262
  50. ENGLISH.Width=474
  51. ENGLISH.Height=174
  52. ENGLISH.FrameWidth=474
  53. ENGLISH.FrameHeight=174
  54. ENGLISH.CurrentFrame=1
  55. ENGLISH.Visible=1
  56. ENGLISH.Color=16777215
  57. ENGLISH.SingleMask=0
  58. ENGLISH.SingleHotSpot=0
  59. ENGLISH.Transparent=1
  60. ENGLISH.Stretch=0
  61. ENGLISH.ClickRepeatTime=0
  62. //Prepare FRENCH graphic
  63. NewGraphic FRENCH,MAINSCREEN
  64. FRENCH.Top=288
  65. FRENCH.Left=261
  66. FRENCH.Width=472
  67. FRENCH.Height=168
  68. FRENCH.FrameWidth=472
  69. FRENCH.FrameHeight=168
  70. FRENCH.CurrentFrame=1
  71. FRENCH.Visible=1
  72. FRENCH.Color=16777215
  73. FRENCH.SingleMask=0
  74. FRENCH.SingleHotSpot=0
  75. FRENCH.Transparent=1
  76. FRENCH.Stretch=0
  77. FRENCH.ClickRepeatTime=0
  78. //Prepare SPANISH graphic
  79. NewGraphic SPANISH,MAINSCREEN
  80. SPANISH.Top=465
  81. SPANISH.Left=262
  82. SPANISH.Width=471
  83. SPANISH.Height=176
  84. SPANISH.FrameWidth=471
  85. SPANISH.FrameHeight=176
  86. SPANISH.CurrentFrame=1
  87. SPANISH.Visible=1
  88. SPANISH.Color=16777215
  89. SPANISH.SingleMask=0
  90. SPANISH.SingleHotSpot=0
  91. SPANISH.Transparent=1
  92. SPANISH.Stretch=0
  93. SPANISH.ClickRepeatTime=0
  94. // *** Load up some images and stuff ***
  95. TempWidth=ENGLISH.Width //Preserve the sprite's width and height
  96. TempHeight=ENGLISH.Height // As the next statement may try to change them
  97. ENGLISH.LoadFrame 1,"language.dat:english.bmp"
  98. ENGLISH.Width=TempWidth //Now restore the sprite's width and height
  99. ENGLISH.Height=TempHeight
  100. TempWidth=ENGLISH.Width //Preserve the sprite's width and height
  101. TempHeight=ENGLISH.Height // As the next statement may try to change them
  102. ENGLISH.LoadFrame 2,"language.dat:english2.bmp"
  103. ENGLISH.Width=TempWidth //Now restore the sprite's width and height
  104. ENGLISH.Height=TempHeight
  105. TempWidth=FRENCH.Width //Preserve the sprite's width and height
  106. TempHeight=FRENCH.Height // As the next statement may try to change them
  107. FRENCH.LoadFrame 1,"language.dat:french.bmp"
  108. FRENCH.Width=TempWidth //Now restore the sprite's width and height
  109. FRENCH.Height=TempHeight
  110. TempWidth=FRENCH.Width //Preserve the sprite's width and height
  111. TempHeight=FRENCH.Height // As the next statement may try to change them
  112. FRENCH.LoadFrame 2,"language.dat:french2.bmp"
  113. FRENCH.Width=TempWidth //Now restore the sprite's width and height
  114. FRENCH.Height=TempHeight
  115. TempWidth=SPANISH.Width //Preserve the sprite's width and height
  116. TempHeight=SPANISH.Height // As the next statement may try to change them
  117. SPANISH.LoadFrame 1,"language.dat:spanish.bmp"
  118. SPANISH.Width=TempWidth //Now restore the sprite's width and height
  119. SPANISH.Height=TempHeight
  120. TempWidth=SPANISH.Width //Preserve the sprite's width and height
  121. TempHeight=SPANISH.Height // As the next statement may try to change them
  122. SPANISH.LoadFrame 2,"language.dat:spanish2.bmp"
  123. SPANISH.Width=TempWidth //Now restore the sprite's width and height
  124. SPANISH.Height=TempHeight
  125. TempWidth=BACKGROUND.Width //Preserve the sprite's width and height
  126. TempHeight=BACKGROUND.Height // As the next statement may try to change them
  127. BACKGROUND.LoadFrame 1,"language.dat:Language Screen.bmp"
  128. BACKGROUND.Width=TempWidth //Now restore the sprite's width and height
  129. BACKGROUND.Height=TempHeight
  130. // *** Hotspots, animations, scroll to lists and applications defined here ***
  131. NewApplication APPLICATION1
  132. APPLICATION1.Description="New application"
  133. APPLICATION1.DirectFromCD=1
  134. APPLICATION1.DirectFromCDFilename="dotnetdetector.exe"
  135. APPLICATION1.DirectFromCDParameters="2.0 dotnetfx.exe wait"
  136. APPLICATION1.InstallerFilename="D:\Setup.exe"
  137. APPLICATION1.UniqueFilename="program.lnk"
  138. APPLICATION1.FileToRun="program.lnk"
  139. APPLICATION1.FileToRunParameters=""
  140. APPLICATION1.CloseLauncherAfterRunning=1
  141. APPLICATION1.UniqueNumber="1"
  142. APPLICATION1.CDID=""
  143. APPLICATION1.InsertCDMessage=""
  144. NewApplication APPLICATION2
  145. APPLICATION2.Description="New application"
  146. APPLICATION2.DirectFromCD=0
  147. APPLICATION2.DirectFromCDFilename="D:\ProgramName.exe"
  148. APPLICATION2.DirectFromCDParameters=""
  149. APPLICATION2.InstallerFilename="D:\Setup.exe"
  150. APPLICATION2.UniqueFilename="program.lnk"
  151. APPLICATION2.FileToRun="program.lnk"
  152. APPLICATION2.FileToRunParameters=""
  153. APPLICATION2.CloseLauncherAfterRunning=0
  154. APPLICATION2.UniqueNumber="2"
  155. APPLICATION2.CDID=""
  156. APPLICATION2.InsertCDMessage=""
  157.  
  158. [Start]
  159. BACKGROUNDWINDOW.KeepCentered=1
  160. BACKGROUNDWINDOW.Center
  161. BACKGROUNDWINDOW.Left=0
  162. BACKGROUNDWINDOW.Top=0
  163. BACKGROUNDWINDOW.WidthAsPercentageOfScreenWidth=100
  164. BACKGROUNDWINDOW.HeightAsPercentageOfScreenHeight=100
  165. BACKGROUNDWINDOW.Visible=1
  166. BACKGROUNDWINDOW.sendtoback
  167.  
  168. MAINSCREEN.bringtofront
  169. MAINSCREEN.KeepCentered=1
  170. MAINSCREEN.Center
  171. MAINSCREEN.Visible=1
  172.  
  173.  
  174. [ENGLISH_mouseenter]
  175. ENGLISH.currentframe=2
  176.  
  177. [ENGLISH_mouseexit]
  178. ENGLISH.currentframe=1
  179.  
  180. [ENGLISH_click]
  181. OPENFILE "SETUP.exe"
  182. MAINSCREEN.bringtofront
  183. CLOSELAUNCHER
  184.  
  185. [FRENCH_mouseenter]
  186. FRENCH.currentframe=2
  187.  
  188. [FRENCH_mouseexit]
  189. FRENCH.currentframe=1
  190.  
  191.  
  192. [FRENCH_click]
  193. runexecutableandwait "FR_SETUP.exe"
  194. runexecutableandwait "dotnetdetector.exe","2.0 dotnetfx.exe wait"
  195. MAINSCREEN.bringtofront
  196. closelauncher
  197.  
  198. [SPANISH_mouseenter]
  199. SPANISH.currentframe=2
  200.  
  201.  
  202. [SPANISH_mouseexit]
  203. SPANISH.currentframe=1
  204.  
  205.  
  206. [SPANISH_click]
  207. runexecutableandwait "ES_SETUP.exe"
  208. runexecutableandwait "dotnetdetector.exe","2.0 dotnetfx.exe wait" 
  209. mainscreen.keepcentered=1
  210. MAINSCREEN.bringtofront
  211. CLOSELAUNCHER
  212.  
  213.  
  214.