home *** CD-ROM | disk | FTP | other *** search
INI File | 2008-03-04 | 7.6 KB | 270 lines |
- [AutoCreate]
- // *** Initialize variables ***
- CDNUMBER="GSPCD1806A"
- LAUNCHERID=""
- LAUNCHERTITLE="Arcade Games"
- TEMPHEIGHT=81
- TEMPWIDTH=149
- SetTitle LauncherTitle
- // *** Prepare windows and graphics ***
- //Prepare BACKGROUNDWINDOW and all it's graphics
- NewWindow BACKGROUNDWINDOW
- BACKGROUNDWINDOW.StayOnTop=0
- BACKGROUNDWINDOW.Top=0
- BACKGROUNDWINDOW.Left=0
- BACKGROUNDWINDOW.Width=640
- BACKGROUNDWINDOW.Height=452
- BACKGROUNDWINDOW.Color=0
- BACKGROUNDWINDOW.CloseAfter=0
- BACKGROUNDWINDOW.Enabled=0
- //Prepare MAINSCREEN and all it's graphics
- NewWindow MAINSCREEN
- MAINSCREEN.StayOnTop=0
- MAINSCREEN.Top=0
- MAINSCREEN.Left=0
- MAINSCREEN.Width=1025
- MAINSCREEN.Height=769
- MAINSCREEN.Color=0
- MAINSCREEN.CloseAfter=0
- MAINSCREEN.Enabled=1
- //Prepare BACKGROUND graphic
- NewGraphic BACKGROUND,MAINSCREEN
- BACKGROUND.Top=1
- BACKGROUND.Left=1
- BACKGROUND.Width=1024
- BACKGROUND.Height=768
- BACKGROUND.FrameWidth=1024
- BACKGROUND.FrameHeight=768
- BACKGROUND.CurrentFrame=1
- BACKGROUND.Visible=1
- BACKGROUND.Color=16777215
- BACKGROUND.SingleMask=0
- BACKGROUND.SingleHotSpot=0
- BACKGROUND.Transparent=0
- BACKGROUND.Stretch=0
- BACKGROUND.ClickRepeatTime=0
- //Prepare SNAKES graphic
- NewGraphic SNAKES,MAINSCREEN
- SNAKES.Top=513
- SNAKES.Left=511
- SNAKES.Width=471
- SNAKES.Height=165
- SNAKES.FrameWidth=471
- SNAKES.FrameHeight=165
- SNAKES.CurrentFrame=1
- SNAKES.Visible=1
- SNAKES.Color=16777215
- SNAKES.SingleMask=0
- SNAKES.SingleHotSpot=0
- SNAKES.Transparent=1
- SNAKES.Stretch=0
- SNAKES.ClickRepeatTime=0
- //Prepare BALLOONS graphic
- NewGraphic BALLOONS,MAINSCREEN
- BALLOONS.Top=230
- BALLOONS.Left=50
- BALLOONS.Width=456
- BALLOONS.Height=187
- BALLOONS.FrameWidth=456
- BALLOONS.FrameHeight=187
- BALLOONS.CurrentFrame=1
- BALLOONS.Visible=1
- BALLOONS.Color=16777215
- BALLOONS.SingleMask=0
- BALLOONS.SingleHotSpot=0
- BALLOONS.Transparent=1
- BALLOONS.Stretch=0
- BALLOONS.ClickRepeatTime=0
- //Prepare SMASH graphic
- NewGraphic SMASH,MAINSCREEN
- SMASH.Top=317
- SMASH.Left=511
- SMASH.Width=469
- SMASH.Height=177
- SMASH.FrameWidth=469
- SMASH.FrameHeight=177
- SMASH.CurrentFrame=1
- SMASH.Visible=1
- SMASH.Color=16777215
- SMASH.SingleMask=0
- SMASH.SingleHotSpot=0
- SMASH.Transparent=1
- SMASH.Stretch=0
- SMASH.ClickRepeatTime=0
- //Prepare MAZE graphic
- NewGraphic MAZE,MAINSCREEN
- MAZE.Top=423
- MAZE.Left=49
- MAZE.Width=456
- MAZE.Height=227
- MAZE.FrameWidth=456
- MAZE.FrameHeight=227
- MAZE.CurrentFrame=1
- MAZE.Visible=1
- MAZE.Color=16777215
- MAZE.SingleMask=0
- MAZE.SingleHotSpot=0
- MAZE.Transparent=1
- MAZE.Stretch=0
- MAZE.ClickRepeatTime=0
- //Prepare EXIT graphic
- NewGraphic EXIT,MAINSCREEN
- EXIT.Top=17
- EXIT.Left=855
- EXIT.Width=149
- EXIT.Height=81
- EXIT.FrameWidth=149
- EXIT.FrameHeight=81
- EXIT.CurrentFrame=1
- EXIT.Visible=1
- EXIT.Color=16777215
- EXIT.SingleMask=0
- EXIT.SingleHotSpot=0
- EXIT.Transparent=0
- EXIT.Stretch=0
- EXIT.ClickRepeatTime=0
- // *** Load up some images and stuff ***
- TempWidth=BACKGROUND.Width //Preserve the sprite's width and height
- TempHeight=BACKGROUND.Height // As the next statement may try to change them
- BACKGROUND.LoadFrame 1,"arcade.dat:Menu Screen.bmp"
- BACKGROUND.Width=TempWidth //Now restore the sprite's width and height
- BACKGROUND.Height=TempHeight
- TempWidth=BALLOONS.Width //Preserve the sprite's width and height
- TempHeight=BALLOONS.Height // As the next statement may try to change them
- BALLOONS.LoadFrame 1,"arcade.dat:balloons.bmp"
- BALLOONS.Width=TempWidth //Now restore the sprite's width and height
- BALLOONS.Height=TempHeight
- TempWidth=BALLOONS.Width //Preserve the sprite's width and height
- TempHeight=BALLOONS.Height // As the next statement may try to change them
- BALLOONS.LoadFrame 2,"arcade.dat:ballons over.bmp"
- BALLOONS.Width=TempWidth //Now restore the sprite's width and height
- BALLOONS.Height=TempHeight
- TempWidth=MAZE.Width //Preserve the sprite's width and height
- TempHeight=MAZE.Height // As the next statement may try to change them
- MAZE.LoadFrame 1,"arcade.dat:monster maze.bmp"
- MAZE.Width=TempWidth //Now restore the sprite's width and height
- MAZE.Height=TempHeight
- TempWidth=MAZE.Width //Preserve the sprite's width and height
- TempHeight=MAZE.Height // As the next statement may try to change them
- MAZE.LoadFrame 2,"arcade.dat:monster maze2.bmp"
- MAZE.Width=TempWidth //Now restore the sprite's width and height
- MAZE.Height=TempHeight
- TempWidth=SMASH.Width //Preserve the sprite's width and height
- TempHeight=SMASH.Height // As the next statement may try to change them
- SMASH.LoadFrame 1,"arcade.dat:monster smash inactive.bmp"
- SMASH.Width=TempWidth //Now restore the sprite's width and height
- SMASH.Height=TempHeight
- TempWidth=SMASH.Width //Preserve the sprite's width and height
- TempHeight=SMASH.Height // As the next statement may try to change them
- SMASH.LoadFrame 2,"arcade.dat:monster smash.bmp"
- SMASH.Width=TempWidth //Now restore the sprite's width and height
- SMASH.Height=TempHeight
- TempWidth=SNAKES.Width //Preserve the sprite's width and height
- TempHeight=SNAKES.Height // As the next statement may try to change them
- SNAKES.LoadFrame 1,"arcade.dat:snakes inactive.bmp"
- SNAKES.Width=TempWidth //Now restore the sprite's width and height
- SNAKES.Height=TempHeight
- TempWidth=SNAKES.Width //Preserve the sprite's width and height
- TempHeight=SNAKES.Height // As the next statement may try to change them
- SNAKES.LoadFrame 2,"arcade.dat:snakes and ladders over.bmp"
- SNAKES.Width=TempWidth //Now restore the sprite's width and height
- SNAKES.Height=TempHeight
- TempWidth=EXIT.Width //Preserve the sprite's width and height
- TempHeight=EXIT.Height // As the next statement may try to change them
- EXIT.LoadFrame 1,"arcade.dat:exit.bmp"
- EXIT.Width=TempWidth //Now restore the sprite's width and height
- EXIT.Height=TempHeight
- TempWidth=EXIT.Width //Preserve the sprite's width and height
- TempHeight=EXIT.Height // As the next statement may try to change them
- EXIT.LoadFrame 2,"arcade.dat:exit2.bmp"
- EXIT.Width=TempWidth //Now restore the sprite's width and height
- EXIT.Height=TempHeight
- // *** Hotspots, animations, scroll to lists and applications defined here ***
- NewApplication APPLICATION1
- APPLICATION1.Description="New application"
- APPLICATION1.DirectFromCD=0
- APPLICATION1.DirectFromCDFilename="D:\ProgramName.exe"
- APPLICATION1.DirectFromCDParameters=""
- APPLICATION1.InstallerFilename="D:\Setup.exe"
- APPLICATION1.UniqueFilename="program.lnk"
- APPLICATION1.FileToRun="program.lnk"
- APPLICATION1.FileToRunParameters=""
- APPLICATION1.CloseLauncherAfterRunning=0
- APPLICATION1.UniqueNumber="1"
- APPLICATION1.CDID=""
- APPLICATION1.InsertCDMessage=""
-
- [Start]
- BACKGROUNDWINDOW.KeepCentered=1
- BACKGROUNDWINDOW.Center
- BACKGROUNDWINDOW.Left=0
- BACKGROUNDWINDOW.Top=0
- BACKGROUNDWINDOW.WidthAsPercentageOfScreenWidth=100
- BACKGROUNDWINDOW.HeightAsPercentageOfScreenHeight=100
- BACKGROUNDWINDOW.Visible=1
- BACKGROUNDWINDOW.sendtoback
-
- MAINSCREEN.bringtofront
- MAINSCREEN.KeepCentered=1
- MAINSCREEN.Center
- MAINSCREEN.Visible=1
-
-
- [BALLOONS_mouseenter]
- BALLOONS.currentframe=2
-
- [BALLOONS_mouseexit]
- BALLOONS.currentframe=1
-
- [BALLOONS_click]
- RunExecutableAndWait "balloons\Puzzle.exe"
- MAINSCREEN.bringtofront
-
- [MAZE_mouseenter]
- MAZE.currentframe=2
-
- [MAZE_mouseexit]
- MAZE.currentframe=1
-
-
- [MAZE_click]
- RunExecutableAndWait "maze\retromaze.exe"
- MAINSCREEN.bringtofront
-
- [SMASH_mouseenter]
- SMASH.currentframe=2
-
-
- [SMASH_mouseexit]
- SMASH.currentframe=1
-
-
- [SMASH_click]
- openfile "smash\hyperactive.exe"
- mainscreen.keepcentered=1
- MAINSCREEN.bringtofront
-
-
- [SNAKES_mouseenter]
- SNAKES.currentframe=2
-
-
- [SNAKES_mouseexit]
- SNAKES.currentframe=1
-
-
- [SNAKES_click]
- RunExecutableAndWait "snakes\snakes.exe"
- MAINSCREEN.bringtofront
-
-
- [EXIT_mouseenter]
- EXIT.currentframe=2
-
- [EXIT_mouseexit]
- EXIT.currentframe=1
-
- [EXIT_click]
- closelauncher
-
-