Citra

MEmu := "Citra"

MEmuV := "2015-08-01"

MURL := ["http://citra-emu.org/"]

MAuthor := ["djvj"]

MVersion := "1.0"

MCRC := ""

iCRC := ""

MID := ""

MSystem := ["Nintendo 3DS"]


;---------------------------------------------------------------------------- 


; Notes:


; Roms must be decrypted to run in the emu


; See here for a guide on decrypting games you own: https://gbatemp.net/threads/tutorial-how-to-decrypt-extract-rebuild-3ds-roms-run-xy-oras-without-update.383055/


;---------------------------------------------------------------------------- 


StartModule()


BezelGUI()


FadeInStart()




; settingsFile := modulePath . "\" . moduleName . ".ini"


; Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)




BezelStart()


hideEmuObj := Object("Select ahk_class ConsoleWindowClass",0,"Citra ahk_class Qt5QWindowIcon",1) ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later


7z(romPath, romName, romExtension, 7zExtractPath)




HideEmuStart()


Run(executable . " """ . romPath . "\" . romName . romExtension . " """, emuPath)




WinWait("Citra ahk_class Qt5QWindowIcon")

SetTitleMatchMode, 2

WinWaitActive("Citra ahk_class Qt5QWindowIcon")

Send {f11}



BezelDraw()


HideEmuEnd()


FadeInExit()


Process("WaitClose", executable)


7zCleanUp()


BezelExit()


FadeOutExit()


ExitModule()






CloseProcess:


FadeOutStart()


WinClose("Citra ahk_class Qt5QWindowIcon")


Return


<?xml version="1.0" encoding="UTF-8"?>

<INISCHEMA>

<INIFILES>

<INIFILE name="%ModuleName%" required="false">

<INITYPE>Module</INITYPE>

<SECTIONS>

<SECTION name="Settings" required="false">

<SECTIONTYPE>Global</SECTIONTYPE>

<KEYS>

<KEY name="Fullscreen" required="false" nullable="false">

<KEYTYPE>Boolean</KEYTYPE>

<DESCRIPTION>If true emulator will run fullscreen.</DESCRIPTION>

</KEY>

<KEY name="Bezel_Top_Offset" required="false" nullable="false">

<KEYTYPE>Integer</KEYTYPE>

<DESCRIPTION>If you see part of the emulator window at the top of your playing screen increase this value. If your playing screen is hidden at the top decrease it. Default is 30.</DESCRIPTION>

</KEY>

<KEY name="bezel_Bottom_Offset" required="false" nullable="false">

<KEYTYPE>Integer</KEYTYPE>

<DESCRIPTION>If you see part of the emulator window at the bottom of your playing screen increase this value. If your playing screen is hidden at the bottom decrease it. Default is 8.</DESCRIPTION>

</KEY>

<KEY name="bezel_Left_Offset" required="false" nullable="false">

<KEYTYPE>Integer</KEYTYPE>

<DESCRIPTION>If you see part of the emulator window at the left of your playing screen increase this value. If your playing screen is hidden at the left decrease it. Default is 8.</DESCRIPTION>

</KEY>

<KEY name="bezel_Right_Offset" required="false" nullable="false">

<KEYTYPE>Integer</KEYTYPE>

<DESCRIPTION>If you see part of the emulator window at the right of your playing screen increase this value. If your playing screen is hidden at the right decrease it. Default is 8.</DESCRIPTION>

</KEY>

</KEYS>

</SECTION>

</SECTIONS>

</INIFILE>

[Settings]

Fullscreen=true