Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
tutos:software:systemes:camputers_lynx [2017/01/08 12:11] nabubokon |
tutos:software:systemes:camputers_lynx [2017/01/08 13:49] nabubokon [Module AHK] |
||
---|---|---|---|
Ligne 48: | Ligne 48: | ||
Utiliser ce module: | Utiliser ce module: | ||
- | Module | + | <wrap info>Module |
- | settingsFile := modulePath . " | + | Module MEmu = Jynx |
- | Run(executable, | + | MEmuV = v1.07 |
- | WinWait(" | + | MURL = [[http:// |
- | If InStr(romName, | + | \\ |
+ | MAuthor = craiganderson | ||
- | Sleep, 500 | + | MVersion = 1.0 |
- | WinMenuSelectItem, | + | MCRC = |
- | WinWait(" | + | iCRC = |
- | Loop { ControlGetText, | + | MID = |
- | WinWait("Jynx ahk_class #32770") WinWaitActive(" | + | MSystem = "Camputers Lynx" |
- | Sleep,100 If Fullscreen = true { Sleep, 10 WinMenuSelectItem, | + | ; |
- | Sleep,1000 BlockInput, Off | + | ;Game Info |
- | BezelDraw() FadeInExit() Process(" | + | ; Moonfall: The french |
- | CloseProcess: | + | ; Dungeon Adventure: The name of the rom must include " |
+ | |||
+ | ; Colossal Adventure: Same as Dungeon Adventure. Must include " | ||
+ | |||
+ | ; Several ROMS have been modified (i.e. multiple tapes combined to one tape OR " | ||
+ | |||
+ | ; Full screen can be set in HLHQ | ||
+ | |||
+ | ; If RUN is not being typed on the screen in the games that need it, increase the value below in the module from Sleep, 6000 to maybe Sleep, 8000 (see text below in module). | ||
+ | |||
+ | ; | ||
+ | |||
+ | BlockInput, On | ||
+ | |||
+ | StartModule() | ||
+ | |||
+ | BezelGUI() | ||
+ | |||
+ | FadeInStart() | ||
+ | |||
+ | 7z(romPath, romName, romExtension, | ||
+ | |||
+ | settingsFile := modulePath . " | ||
+ | |||
+ | Fullscreen := IniReadCheck(settingsFile, | ||
+ | |||
+ | BezelStart(" | ||
+ | |||
+ | \\ | ||
+ | |||
+ | Run(executable, | ||
+ | |||
+ | \\ | ||
+ | |||
+ | WinWait(" | ||
+ | |||
+ | WinWaitActive(" | ||
+ | |||
+ | \\ | ||
+ | |||
+ | If InStr(romName, | ||
+ | |||
+ | { \\ | ||
+ | |||
+ | WinMenuSelectItem, | ||
+ | |||
+ | \\ Sleep, 10 \\ | ||
+ | |||
+ | } \\ | ||
+ | |||
+ | else \\ | ||
+ | |||
+ | If InStr(romName, | ||
+ | |||
+ | { \\ | ||
+ | |||
+ | WinMenuSelectItem, | ||
+ | |||
+ | Sleep, 10 \\ | ||
+ | |||
+ | } \\ | ||
+ | |||
+ | else \\ | ||
+ | |||
+ | { \\ | ||
+ | |||
+ | WinMenuSelectItem, | ||
+ | |||
+ | Sleep, 10 \\ | ||
+ | |||
+ | } \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | Sleep, 500 \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | WinMenuSelectItem, | ||
+ | |||
+ | \\ | ||
+ | |||
+ | WinWait(" | ||
+ | |||
+ | WinWaitActive(" | ||
+ | |||
+ | Sleep, 1000 \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | Loop \\ | ||
+ | |||
+ | { \\ | ||
+ | |||
+ | ControlGetText, | ||
+ | |||
+ | If ( edit1Text = romPath . " | ||
+ | |||
+ | Break \\ | ||
+ | |||
+ | Sleep, 100 \\ | ||
+ | |||
+ | ControlSetText, | ||
+ | |||
+ | }\\ | ||
+ | |||
+ | ControlSend, | ||
+ | |||
+ | \\ | ||
+ | |||
+ | WinWait(" | ||
+ | |||
+ | WinWaitActive(" | ||
+ | |||
+ | Sleep, 6000 ; increase this value if RUN is not being typed on the games that need it. \\ | ||
+ | |||
+ | SetKeyDelay, | ||
+ | |||
+ | Send, {r down}{r up}{u down}{u up}{n down}{n up}{ENTER down}{ENTER up} \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | Sleep,100 \\ | ||
+ | |||
+ | \\ If Fullscreen = true \\ | ||
+ | |||
+ | { \\ | ||
+ | |||
+ | Sleep, 10 \\ | ||
+ | |||
+ | WinMenuSelectItem, | ||
+ | |||
+ | } \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | Sleep,1000 \\ | ||
+ | |||
+ | BlockInput, Off \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | BezelDraw() \\ | ||
+ | |||
+ | FadeInExit() \\ | ||
+ | |||
+ | Process(" | ||
+ | |||
+ | 7zCleanUp() \\ | ||
+ | |||
+ | BezelExit() \\ | ||
+ | |||
+ | FadeOutExit() \\ | ||
+ | |||
+ | ExitModule() \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | CloseProcess: | ||
+ | |||
+ | FadeOutStart() | ||
+ | |||
+ | Process, Close, Jynx-Windows-64bit.exe | ||
+ | |||
+ | Process, Close, Jynx-Windows-32bit.exe | ||
+ | |||
+ | Return | ||
+ | |||
+ | </ | ||
Marche parfaitement | Marche parfaitement | ||