Advertisement
newoski

Untitled

Jan 22nd, 2015
547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. MEmu = AAE
  2. MEmuV = v12/13/08
  3. MURL = http://pages.suddenlink.net/aae/
  4. MAuthor = djvj
  5. MVersion = 2.0.1
  6. MCRC = FADED0CC
  7. iCRC = CF058B02
  8. MID = 635038268873928953
  9. MSystem = "AAE"
  10. ;----------------------------------------------------------------------------
  11. ; Notes:
  12. ; To apply the updates, first extract the aae092808.zip to its own folder. Then extract aaeu1.zip (10/26/08 build) on top of it overwriting existing files. Do this again for aaeu2.zip (12/13/08 build)
  13. ; 12/13/08 release crashes on launch if you have joysticks plugged in or virtual joystick drivers like VJoy installed. If you cannot change this, use AAE from 10/26/08.
  14. ; Open your aae.log if it crashes and if it's filled with joystick control info, you need to unplug one joystick at a time until it stops happening.
  15. ; Make sure to set your rompath in the aae.ini. If mame_rom_path has a # before it, remove it.
  16. ; To set fullscreen, set the variable below to true
  17. ; You can also start the emu and press TAB to set options.
  18. ;----------------------------------------------------------------------------
  19. StartModule()
  20. BezelGUI()
  21. FadeInStart()
  22.  
  23. settingsFile := modulePath . "\" . moduleName . ".ini"
  24. bezelMode := IniReadCheck(settingsFile, "Settings", "BezelMode","Layout",,1) ; "Layout" or "FixResMode"
  25. Fullscreen := IniReadCheck(settingsFile, "settings", "Fullscreen","true",,1)
  26.  
  27. aaeINI := CheckFile(emuPath . "\aae.ini")
  28. IniRead, currentFullScreen, %aaeINI%, main, windowed
  29.  
  30. ;Enabling Bezel components
  31. If bezelEnabled = true
  32. { If bezelMode = FixResMode
  33. { IniWrite, 0, %aaeINI%, main, bezel
  34. IniWrite, 0, %aaeINI%, main, artwork
  35. IniWrite, 0, %aaeINI%, main, overlay
  36. BezelStart("FixResMode")
  37. } Else {
  38. IniWrite, 1, %aaeINI%, main, bezel
  39. IniWrite, 1, %aaeINI%, main, artwork
  40. IniWrite, 1, %aaeINI%, main, overlay
  41. }
  42. } Else {
  43. IniWrite, 0, %aaeINI%, main, bezel
  44. IniWrite, 0, %aaeINI%, main, artwork
  45. IniWrite, 0, %aaeINI%, main, overlay
  46. }
  47.  
  48. ; Setting Fullscreen setting in ini if it doesn't match what user wants above
  49. If ( Fullscreen != "true" And currentFullScreen = 0 )
  50. IniWrite, 1, %aaeINI%, main, windowed
  51. Else If ( Fullscreen = "true" And currentFullScreen = 1 )
  52. IniWrite, 0, %aaeINI%, main, windowed
  53.  
  54.  
  55. 7z(romPath, romName, romExtension, 7zExtractPath)
  56.  
  57. Run(executable . A_Space . romName,emuPath)
  58.  
  59. WinWait("ahk_class AllegroWindow")
  60. WinWaitActive("ahk_class AllegroWindow")
  61.  
  62. BezelDraw()
  63. FadeInExit()
  64. Process("WaitClose",executable)
  65. 7zCleanUp()
  66. BezelExit()
  67. FadeOutExit()
  68. ExitModule()
  69.  
  70.  
  71. CloseProcess:
  72. FadeOutStart()
  73. WinClose("ahk_class AllegroWindow")
  74. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement