Jump to content
(Open Beta) HyperSpin 2 is now available for everyone ×

2 Screenshots

About This File

MEmu := "Cxbx-Reloaded"
MEmuV := "nightly"
MURL := ["https://github.com/Cxbx-Reloaded/Cxbx-Reloaded"]
MAuthor := ["teeedubb"]
MVersion := "1.0"
MSystem := ["Xbox"]
;----------------------------------------------------------------------------
; Notes: 
;Based on djvj's cxbx module
;
;----------------------------------------------------------------------------
StartModule()
FadeInStart()

settingsFile := modulePath . "\" . moduleName . ".ini"
Fullscreen := IniReadCheck(settingsFile, "settings", "Fullscreen","true",,1)
7z(romPath, romName, romExtension, 7zExtractPath)

; Setting Fullscreen setting in registry if it doesn't match what user wants above
currentFullScreen := ReadReg("Fullscreen")
If ( Fullscreen != "true" And currentFullScreen = 1 )
    WriteReg("Fullscreen", 0)
Else If ( Fullscreen = "true" And currentFullScreen = 0 )
    WriteReg("Fullscreen", 1)

    Run(executable . " """ . romPath . "\default.xbe""", emuPath)

WinWait("Cxbx-Reloaded ahk_class WndMain")
WinWaitActive("Cxbx-Reloaded ahk_class WndMain")

FadeInExit()
Process("WaitClose", executable)
7zCleanUp()
FadeOutExit()
ExitModule()


ReadReg(var1) {
    RegRead, regValue, HKEY_CURRENT_USER, Software\Cxbx-Reloaded\XBVideo, %var1%
    Return %regValue%
}

WriteReg(var1, var2) {
    RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Cxbx-Reloaded\XBVideo, %var1%, %var2%
}

CloseProcess:
    FadeOutStart()
    WinClose("Cxbx-Reloaded ahk_class WndMain")
Return


What's New in Version 07/30/2024 05:42 AM   See changelog

Released

No changelog available for this version.


Aspect Ratio

16:9

User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

×
×
  • Create New...