Outils pour utilisateurs

Outils du site


tutos:software:systemes:camputers_lynx

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

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:51]
nabubokon [Module AHK]
Ligne 48: Ligne 48:
 Utiliser ce module: Utiliser ce module:
  
-Module MEmu = Jynx MEmuV = v1.07 MURL = [[http://jynx-emulator.tumblr.com/|http://jynx-emulator.tumblr.com/]] MAuthor = craiganderson MVersion = 1.0 MCRC = iCRC = MID = MSystem = "Camputers Lynx" ;—————————————————————————- ; Game Info ; Moonfall: The french (fr) rom seems to work better that the other two. ; Dungeon Adventure: The name of the rom must include "Dungeon" or "dungeon." The module changes the display setting if either of those words are in the rom. ; Colossal Adventure: Same as Dungeon Adventure. Must include "Colossal" or "colossal" in rom name. ; Several ROMS have been modified (i.e. multiple tapes combined to one tape OR "fixed" for other reasons) in order to make them playable. These include Dungeon Adventure, Colossal Adventure, Mazeman, Power Blaster. PM Me if you need these roms. ; 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, 7zExtractPath)+<wrap info>Module AHK \\
  
-settingsFile :modulePath . "\" . moduleName . ".ini" Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1) BezelStart("fixResMode")+Module MEmu Jynx \\
  
-Run(executable, emuPath)+MEmuV = v1.07 \\
  
-WinWait("Jynx ahk_class #32770") WinWaitActive("Jynx ahk_class #32770")+MURL = [[http://jynx-emulator.tumblr.com/|http://jynx-emulator.tumblr.com/]] \\
  
-If InStr(romName, "Dungeon") or InStr(romName, "dungeon") { WinMenuSelectItem, Jynx ahk_class #32770, , Display, Level 9 game colours Sleep, 10 } else If InStr(romName, "Colossal") or InStr(romName, "colossal") { WinMenuSelectItem, Jynx ahk_class #32770, , Display, Level 9 game colours Sleep, 10 } else { WinMenuSelectItem, Jynx ahk_class #32770, , Display, Normal Lynx colours Sleep, 10 }+MAuthor = craiganderson \\ 
 + 
 +MVersion = 1.0 \\ 
 + 
 +MCRC = \\ 
 + 
 +iCRC = \\ 
 + 
 +MID = \\ 
 + 
 +MSystem = "Camputers Lynx" \\ 
 + 
 +;—————————————————————————- \\ 
 + 
 +;Game Info \\ 
 + 
 +; Moonfall: The french (fr) rom seems to work better that the other two. \\ 
 + 
 +; Dungeon Adventure: The name of the rom must include "Dungeon" or "dungeon." The module changes the display setting if either of those words are in the rom. \\ 
 + 
 +; Colossal Adventure: Same as Dungeon Adventure. Must include "Colossal" or "colossal" in rom name. \\ 
 + 
 +; Several ROMS have been modified (i.e. multiple tapes combined to one tape OR "fixed" for other reasons) in order to make them playable. These include Dungeon Adventure, Colossal Adventure, Mazeman, Power Blaster. PM Me if you need these roms. \\ 
 + 
 +; 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, 7zExtractPath) \\ 
 + 
 +settingsFile := modulePath . "\" . moduleName . ".ini" \\ 
 + 
 +Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1) \\ 
 + 
 +BezelStart("fixResMode") \\ 
 + 
 +\\ 
 + 
 +Run(executable, emuPath) \\ 
 + 
 +\\ 
 + 
 +WinWait("Jynx ahk_class #32770"
 + 
 +WinWaitActive("Jynx ahk_class #32770"
 + 
 +If InStr(romName, "Dungeon") or InStr(romName, "dungeon") 
 + 
 +{ 
 + 
 +WinMenuSelectItem, Jynx ahk_class #32770, , Display, Level 9 game colours 
 + 
 +\\ 
 +Sleep, 10 
 + 
 +} 
 + 
 +else 
 + 
 +If InStr(romName, "Colossal") or InStr(romName, "colossal") 
 + 
 +{ 
 + 
 +WinMenuSelectItem, Jynx ahk_class #32770, , Display, Level 9 game colours 
 + 
 +Sleep, 10 
 + 
 +} 
 + 
 +else 
 + 
 +{ 
 + 
 +WinMenuSelectItem, Jynx ahk_class #32770, , Display, Normal Lynx colours 
 + 
 +Sleep, 10 
 + 
 +}
  
 Sleep, 500 Sleep, 500
Ligne 62: Ligne 149:
 WinMenuSelectItem, Jynx ahk_class #32770, , File, Run TAP file … WinMenuSelectItem, Jynx ahk_class #32770, , File, Run TAP file …
  
-WinWait("Open Lynx TAP file ahk_class #32770") WinWaitActive("Open Lynx TAP file ahk_class #32770") Sleep, 1000+WinWait("Open Lynx TAP file ahk_class #32770") 
 + 
 +WinWaitActive("Open Lynx TAP file ahk_class #32770") 
 + 
 +Sleep, 1000 
 + 
 +Loop 
 + 
 +
 + 
 +ControlGetText, edit1Text, Edit1, Open Lynx TAP file ahk_class #32770 
 + 
 +If ( edit1Text = romPath . "\" . romName . romExtension ) 
 + 
 +Break 
 + 
 +Sleep, 100 
 + 
 +ControlSetText, Edit1, %romPath%\%romName%%romExtension%, Open Lynx TAP file ahk_class #32770 
 + 
 +
 + 
 +ControlSend, Button1, {Enter}, Open Lynx TAP file ahk_class #32770 
 + 
 +WinWait("Jynx ahk_class #32770"
 + 
 +WinWaitActive("Jynx ahk_class #32770"
 + 
 +Sleep, 6000 ; increase this value if RUN is not being typed on the games that need it. 
 + 
 +SetKeyDelay, 50 
 + 
 +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, Jynx ahk_class #32770, , Display, Full screen 
 + 
 +
 + 
 +Sleep,1000 
 + 
 +BlockInput, Off 
 + 
 +BezelDraw() 
 + 
 +FadeInExit() 
 + 
 +Process("WaitClose", executable) 
 + 
 +7zCleanUp() 
 + 
 +BezelExit() 
 + 
 +FadeOutExit() 
 + 
 +ExitModule()
  
-Loop { ControlGetText, edit1Text, Edit1, Open Lynx TAP file ahk_class #32770 If ( edit1Text = romPath . "\" . romName . romExtension ) Break Sleep, 100 ControlSetText, Edit1, %romPath%\%romName%%romExtension%, Open Lynx TAP file ahk_class #32770 } ControlSend, Button1, {Enter}, Open Lynx TAP file ahk_class #32770+CloseProcess:
  
-WinWait("Jynx ahk_class #32770"WinWaitActive("Jynx ahk_class #32770") Sleep, 6000 ; increase this value if RUN is not being typed on the games that need it. SetKeyDelay, 50 Send, {r down}{r up}{u down}{u up}{n down}{n up}{ENTER down}{ENTER up}+FadeOutStart()
  
-Sleep,100 If Fullscreen = true { Sleep, 10 WinMenuSelectItem, Jynx ahk_class #32770, , Display, Full screen }+ProcessClose, Jynx-Windows-64bit.exe
  
-Sleep,1000 BlockInputOff+ProcessCloseJynx-Windows-32bit.exe
  
-BezelDraw() FadeInExit() Process("WaitClose", executable) 7zCleanUp() BezelExit() FadeOutExit() ExitModule()+Return
  
-CloseProcess: FadeOutStart() Process, Close, Jynx-Windows-64bit.exe Process, Close, Jynx-Windows-32bit.exe Return+</wrap>
  
 Marche parfaitement Marche parfaitement
  
  
tutos/software/systemes/camputers_lynx.txt · Dernière modification: 2017/02/17 15:34 de stephco08