rfancella

Steem.ahk

Sep 17th, 2014
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. MEmu = Steem
  2. MEmuV = v3.4.1
  3. MURL = http://sourceforge.net/projects/steemsse/
  4. MAuthor = ghutch92
  5. MVersion = 2.0
  6. MCRC = 4DB34981
  7. iCRC = 1E716C97
  8. MID = 635038268925531896
  9. MSystem = "Atari ST"
  10. ;----------------------------------------------------------------------------
  11. ; Notes:
  12. ; You must manually set a TOS using the emulator first. The UK version is preferred.
  13. ; If a game does not work properly check to see if there is a patch available.
  14. ; Be sure to read the controller options very carefully since sometimes your controls
  15. ; might only work if Scroll Lock is on or Num Lock is off. This needs to be set from
  16. ; within the emulator.
  17. ;----------------------------------------------------------------------------
  18. StartModule()
  19. BezelGUI()
  20. FadeInStart()
  21.  
  22. settingsFile := modulePath . "\" . moduleName . ".ini"
  23. Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
  24.  
  25. 7z(romPath, romName, romExtension, 7zExtractPath)
  26.  
  27. bezelTopOffset := IniReadCheck(settingsFile, "Settings", "bezelTopOffset",20,,1)
  28. bezelBottomOffset := IniReadCheck(settingsFile, "Settings", "bezelBottomOffset",0,,1)
  29. bezelLeftOffset := IniReadCheck(settingsFile, "Settings", "bezelLeftOffset",0,,1)
  30. bezelRightOffset := IniReadCheck(settingsFile, "Settings", "bezelRightOffset",10,,1)
  31.  
  32. BezelStart()
  33. Run(executable . " " . ((Fullscreen = "true") ? ("-fullscreen") : ("")) . " -nonotifyinit """ . romPath . "\" . romName . romExtension . """", emuPath)
  34.  
  35. WinWait("ahk_class Steem Window")
  36. WinWaitActive("ahk_class Steem Window")
  37. BezelDraw()
  38. FadeInExit()
  39. Process("WaitClose", executable)
  40. 7zCleanUp()
  41. FadeOutExit()
  42. ExitModule()
  43.  
  44.  
  45. RestoreEmu:
  46. Send, {Pause}
  47. Return
  48.  
  49. CloseProcess:
  50. FadeOutStart()
  51. BezelExit()
  52. WinClose("ahk_class Steem Window")
  53. Return
Advertisement
Add Comment
Please, Sign In to add comment