magostin Posted January 14, 2011 Posted January 14, 2011 if i want to have the Emu go fullscreen using the Alt & Enter keystroke. the following doesnt work, what am i doing wrong? i'm new to scripting.. ;**********************************ATARI 800*********************************** else if (systemName = "ATARI 800" && executable = "Altirra.exe") { hideDesktop() SendInput, {Alt}{Enter} Hotkey, %exitEmulatorKey%, CloseProcess RunWait, %executable% "%romPath%%romName%%romExtension%", %emuPath% }
djvj Posted January 14, 2011 Posted January 14, 2011 u want to press alt-enter after the emu runs, plus add a sleep before you send it, otherwise it will try to send the key at the same time as it ran the emu. "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
magostin Posted January 14, 2011 Author Posted January 14, 2011 can you write an example or copy and paste the code above with what you advised. i don't know autohotkey scripting, i just copy stuff already written to try.. thx,
DrMoney Posted January 15, 2011 Posted January 15, 2011 Its already pretty close its just the order of the script: ;**********************************ATARI 800*********************************** else if (systemName = "ATARI 800" && executable = "Altirra.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess RunWait, %executable% "%romPath%%romName%%romExtension%", %emuPath% SendInput, {Alt}{Enter} } If that doesn't work then maybe add "Sleep,100" before the send input line. TUTORIAL!: Xpadder and You If you're super into using genuine controllers for emulation check THIS GUY out.
djvj Posted January 15, 2011 Posted January 15, 2011 The sleep would likely have to be longer, I don't see the emu being ready to acknowledge and alt+enter key press in only 1/10 of a second after being ran. I would start with 1000 and work your way down. "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
DrMoney Posted January 15, 2011 Posted January 15, 2011 I didn't even notice. That was around what i intended, sorry. TUTORIAL!: Xpadder and You If you're super into using genuine controllers for emulation check THIS GUY out.
magostin Posted January 15, 2011 Author Posted January 15, 2011 it didn't work. with or without the sleep 1000 ;**********************************ATARI 800*********************************** else if (systemName = "ATARI 800" && executable = "Altirra.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess RunWait, %executable% "%romPath%%romName%%romExtension%", %emuPath% Sleep,1000 SendInput, {Alt}{Enter} }
chillinwater Posted January 15, 2011 Posted January 15, 2011 remove "wait" from RunWait, %executable% "%romPath%%romName%%romExtension%", %emuPath% nothing happens after the "wait" when used. Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me! https://hyperspin-fe.com/forums/topic/259-setting-up-un-official-systems-with-hyperspin/?do=findComment&comment=31034
magostin Posted January 16, 2011 Author Posted January 16, 2011 it still didnt work, and now the emulator is behind hyperspin. is a better emu out there than altira? that works with hyperspin? i'm thinking its altira that is the problem.
chillinwater Posted January 19, 2011 Posted January 19, 2011 try this link, Atari 800xl...800winxl.exe exit this emu while in fullscreen (outside Hyperspin) then when you load it while in Hyperspin it should automatically go into fullscreen with no special tinkering. or test this if you really want "Atiira". I dont use this or have it setup personally so I cant test it. I dont know which emu is better (never heard of "Altirra" before) ;**********************************ATARI 800*********************************** else if (systemName = "ATARI 800" && executable = "Altirra.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Run, %executable% "%romPath%%romName%%romExtension%", %emuPath% sleep, 1000 WinActivate, %executable% ;or actual "altirra" window name on taskbar Sleep,1000 SendInput, {Alt}{Enter} ;SendInput, {LAltdown}{Enter}{LAltup} ;alternative (currently disabled with ";") Process, WaitClose, , %executable% ;or actual "altirra" window name on taskbar WinActivate, HyperSpin } Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me! https://hyperspin-fe.com/forums/topic/259-setting-up-un-official-systems-with-hyperspin/?do=findComment&comment=31034
craiganderson Posted April 21, 2014 Posted April 21, 2014 Any outcome? thanks craiga http://craigandersonthemes.weebly.com/
Roverius Posted April 19, 2015 Posted April 19, 2015 Maybe you can change the .\Hyperspin\settings\Atari800.ini file Example: [exe info] path = H:\hyperspin\Emulators\Atari800\ rompath = H:\hyperspin\Emulators\Atari800\Roms\ userompath = true exe = Altirra.exe /fullscreen /escexit <------Check this romextension =rar parameters = searchsubfolders = false pcgame = false winstate = HIDDEN hyperlaunch =false <----and this I did this for another emulator and it worked well. Not sure of the Altirra.exe, because i never tested that 1. Anyway, it cant hurt to try it out. Regards, Roverius
clockterra Posted April 29, 2015 Posted April 29, 2015 Hi i use another setting and works nice, you are using sendinput, and i use only send and works great... here as an example... } IniWrite, %fullscreenWidth%, %emupath%gpuOglv3.ini, resolution, fWidthIniWrite, %fullscreenHeight%, %emupath%gpuOglv3.ini, resolution, fHeightRun, "%Emupath%%Executable%" -run=atomiswave -rom=%RomName%SetTimer, CheckWin, 2 sizeOrg=CheckWin:IfWinNotExist, ahk_class window{ return}else{ WinGetPos,,,W,,ahk_class window if(W != sizeOrg && sizeOrg != ""){ Goto StartGame }else{ sizeOrg = %W% }}return StartGame: SetTimer, CheckWin, Off WinActivate ahk_class window send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 582 Send !{ENTER} Blockinput off sleep, 1000 Gui Destroy winactivate, DEMUL Process, WaitClose, %executable%return CloseProcess: Process, Close, %executable% ExitApp return Gui Destroy winactivate, DEMUL Process, WaitClose, %executable%return My problem is with hyperspin 2 and demul 582 after 5 or 10 minuts playing it get out of fullscreen and i dont know why, if i use the emulator alone without hyperspin do the same but if i use it throught hyperspin 3 it works perfect (its like with it, it block fullscreen and demul works great) and i tried to use same scripts because i have all my systems in hyperspin 2 but unable to solve that..
Recommended Posts
Archived
This topic is now archived and is closed to further replies.