Page 159 of 275 FirstFirst ... 59 109 149 157 158 159 160 161 169 209 259 ... LastLast
Results 1,581 to 1,590 of 2742

Thread: HyperLaunch 2.x Released

  1. #1581
    Full Member
    Join Date
    Aug 2011
    Location
    Ystad Sweden
    Posts
    94
    Thanks
    2
    Thanked 5 Times in 4 Posts

    Default

    Quote Originally Posted by DrMoney View Post
    TranceChris, I was experiencing the same problem with the menu still showing as well. Adding MouseMove,500,500 directly above Run, %executable%, %emuPath% seems to have fixed it for me.
    That worked! Thanks alot! Nice to see that darn menu gone

  2. #1582
    Ultimate HyperSpin Guru

    Join Date
    Mar 2010
    Location
    portugal
    Posts
    5,029
    Thanks
    736
    Thanked 1,288 Times in 662 Posts

    Default

    djvj, I'm posting my prosystem module. It's your module changed to work around a bug that prosystem has which introduces a couple of seconds of sound latency to the games when you launch it fullscreen through the command line. This makes playing the games pretty annoying, solution is to launch it windowed instead. I left that configurable just in case. Trnzaddict asked me to post it on another thread, but I guess you could introduce this changes on your module instead of having 2 different modules around for the same emulator.

    Code:
    ;----------------------------------------------------------------------------
    ; Atari 7800
    ; ProSystem v1.3  
    ; by djvj & brolly
    ; 1.3
    ;
    ; Notes:
    ;----------------------------------------------------------------------------
    Fullscreen=true
    StartWindowed=true ;When launching ROMs from the command line the sound is a second or two behind the action, regardless of the sound latency setting, set this to true if you want to fix it
    ;----------------------------------------------------------------------------
    
    proSysINI := CheckFile(emuPath . "ProSystem.ini")
    IniRead, currentFullScreen, %proSysINI%, Display, Fullscreen
    iniRead, Menu, %proSysINI%, Display, MenuEnabled
    
    ; Setting Fullscreen setting in ini if it doesn't match what user wants above
    If ( Fullscreen = "true" And currentFullScreen = "false" And StartWindowed != "true")
    	IniWrite, true, %proSysINI%, Display, Fullscreen
    Else If ( StartWindowed = "true" Or (Fullscreen != "true" And currentFullScreen = "true") )
    	IniWrite, false, %proSysINI%, Display, Fullscreen
    
    ; Disable the emu's menu if it's active
    If ( Menu != "false" )
    	IniWrite, false, %proSysINI%, Display, MenuEnabled
    
    GUI_ID := FadeInStart()
    
    7z1 := 7z(romPath, romName, romExtension, 7zExtractDir)
    
    Run, %executable% "%romPath%%romName%%romExtension%", %emuPath%
    
    WinWait, ahk_class ProSystem Emulator
    WinWaitActive, ahk_class ProSystem Emulator
    
    If ( Fullscreen = "true" And StartWindowed = "true")
    {
    	;Make it fullscreen
    	Sleep 200
    	Send ^f
    }
    
    GUI_ID2 := FadeInExit()
    
    Process, WaitClose, %executable%
    
    7z2 := 7zCleanUp()
    
    GUI_ID4 := FadeOutExit()
    
    WinActivate, Hyperspin
    
    ExitApp
    
    CloseProcess:
    	GUI_ID3 := FadeOutStart()
    	WinClose, ahk_class ProSystem Emulator
    Return

  3. The Following 3 Users Say Thank You to brolly For This Useful Post:

    djvj (04-23-2012), DrMoney (04-24-2012), Trnzaddict (04-23-2012)

  4. #1583
    Ultimate HyperSpin Guru
    djvj's Avatar
    Join Date
    Mar 2009
    Location
    Long Island
    Posts
    7,983
    Thanks
    1,011
    Thanked 2,369 Times in 1,009 Posts
    Blog Entries
    3

    Default

    Thanks brolly, I updated on HyperList. Module is now v1.4.
    "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."

    HyperLaunch's New Official Home

    If you appreciate my work:


    My Apps:
    Window Logger
    Idle Volume Adjuster
    ExplorerRestorer
    Rom Folder Cleaner
    Module Updater
    My Guides:
    How To Mod Guncons with Aimtrak

  5. The Following User Says Thank You to djvj For This Useful Post:

    DrMoney (04-26-2012)

  6. #1584
    Resident Guinea Gamer
    Trnzaddict's Avatar
    Join Date
    Apr 2010
    Location
    Ct
    Posts
    1,285
    Thanks
    134
    Thanked 241 Times in 133 Posts

    Default

    Quote Originally Posted by brolly View Post
    djvj, I'm posting my prosystem module. It's your module changed to work around a bug that prosystem has which introduces a couple of seconds of sound latency to the games when you launch it fullscreen through the command line. This makes playing the games pretty annoying, solution is to launch it windowed instead. I left that configurable just in case. Trnzaddict asked me to post it on another thread, but I guess you could introduce this changes on your module instead of having 2 different modules around for the same emulator.

    Code:
    ;----------------------------------------------------------------------------
    ; Atari 7800
    ; ProSystem v1.3  
    ; by djvj & brolly
    ; 1.3
    ;
    ; Notes:
    ;----------------------------------------------------------------------------
    Fullscreen=true
    StartWindowed=true ;When launching ROMs from the command line the sound is a second or two behind the action, regardless of the sound latency setting, set this to true if you want to fix it
    ;----------------------------------------------------------------------------
    
    proSysINI := CheckFile(emuPath . "ProSystem.ini")
    IniRead, currentFullScreen, %proSysINI%, Display, Fullscreen
    iniRead, Menu, %proSysINI%, Display, MenuEnabled
    
    ; Setting Fullscreen setting in ini if it doesn't match what user wants above
    If ( Fullscreen = "true" And currentFullScreen = "false" And StartWindowed != "true")
    	IniWrite, true, %proSysINI%, Display, Fullscreen
    Else If ( StartWindowed = "true" Or (Fullscreen != "true" And currentFullScreen = "true") )
    	IniWrite, false, %proSysINI%, Display, Fullscreen
    
    ; Disable the emu's menu if it's active
    If ( Menu != "false" )
    	IniWrite, false, %proSysINI%, Display, MenuEnabled
    
    GUI_ID := FadeInStart()
    
    7z1 := 7z(romPath, romName, romExtension, 7zExtractDir)
    
    Run, %executable% "%romPath%%romName%%romExtension%", %emuPath%
    
    WinWait, ahk_class ProSystem Emulator
    WinWaitActive, ahk_class ProSystem Emulator
    
    If ( Fullscreen = "true" And StartWindowed = "true")
    {
    	;Make it fullscreen
    	Sleep 200
    	Send ^f
    }
    
    GUI_ID2 := FadeInExit()
    
    Process, WaitClose, %executable%
    
    7z2 := 7zCleanUp()
    
    GUI_ID4 := FadeOutExit()
    
    WinActivate, Hyperspin
    
    ExitApp
    
    CloseProcess:
    	GUI_ID3 := FadeOutStart()
    	WinClose, ahk_class ProSystem Emulator
    Return
    Awesome Brolly, Thankyou!

  7. #1585
    Full Member synakcm's Avatar
    Join Date
    May 2011
    Location
    Connecticut, USA
    Posts
    202
    Thanks
    3
    Thanked 59 Times in 38 Posts
    Blog Entries
    1

    Default

    Small request for the FadeInStart() function being built by HyperLaunch. Can you please disable the mouse cursor prior to starting the fade-in/fade-out process? I'm using nomousy as a workaround in my modules, but it would be nice to have that feature built in (if not for me, then others who aren't touching their modules and still want fade effects)

    Thanks

  8. #1586
    Ultimate HyperSpin Guru
    djvj's Avatar
    Join Date
    Mar 2009
    Location
    Long Island
    Posts
    7,983
    Thanks
    1,011
    Thanked 2,369 Times in 1,009 Posts
    Blog Entries
    3

    Default

    Did you try setting hide_cursor=true in your settings\settings.ini?
    "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."

    HyperLaunch's New Official Home

    If you appreciate my work:


    My Apps:
    Window Logger
    Idle Volume Adjuster
    ExplorerRestorer
    Rom Folder Cleaner
    Module Updater
    My Guides:
    How To Mod Guncons with Aimtrak

  9. #1587
    Full Member synakcm's Avatar
    Join Date
    May 2011
    Location
    Connecticut, USA
    Posts
    202
    Thanks
    3
    Thanked 59 Times in 38 Posts
    Blog Entries
    1

    Default

    Quote Originally Posted by djvj View Post
    Did you try setting hide_cursor=true in your settings\settings.ini?
    My bad, didn't realize that was there. Thanks

  10. #1588
    Full Member synakcm's Avatar
    Join Date
    May 2011
    Location
    Connecticut, USA
    Posts
    202
    Thanks
    3
    Thanked 59 Times in 38 Posts
    Blog Entries
    1

    Default FadeInStart() -> fadeInDelay not used

    djvj,

    On line 522 of HL2 v2.17, where the FadeInStart() function is being added, the script is sleeping for a hard coded 2000ms instead of using the %fadeInDelay% that it's read from the Settings\System Name.ini. By replacing "Sleep, 2000" with "Sleep, %fadeInDelay%" I can confirm that it works as expected.
    Last edited by synakcm; 04-26-2012 at 02:05 PM.

  11. #1589
    Ultimate HyperSpin Guru
    djvj's Avatar
    Join Date
    Mar 2009
    Location
    Long Island
    Posts
    7,983
    Thanks
    1,011
    Thanked 2,369 Times in 1,009 Posts
    Blog Entries
    3

    Default

    Thanks for finding that synakcm. I know I had it correct before (cause I went through testing different values), I must of reverted it at some point and didn't realize it.
    "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."

    HyperLaunch's New Official Home

    If you appreciate my work:


    My Apps:
    Window Logger
    Idle Volume Adjuster
    ExplorerRestorer
    Rom Folder Cleaner
    Module Updater
    My Guides:
    How To Mod Guncons with Aimtrak

  12. #1590
    .

    Join Date
    May 2010
    Location
    mcbride, usa
    Posts
    633
    Thanks
    81
    Thanked 97 Times in 67 Posts

    Default

    @ djvj

    Is there anyway that the "hide_cursor" setting could be made as a per-module setting. Or maybe just to be able to turn it off for selected systems. I really like the feature and not having to use nomousy but it interferes with some of my PopCap games and a couple of my PC games.

Page 159 of 275 FirstFirst ... 59 109 149 157 158 159 160 161 169 209 259 ... LastLast

Similar Threads

  1. Questions for the "HyperLaunch 2.x Released" tutorial
    By Buxilaks in forum HyperLaunch Legacy Archive
    Replies: 6
    Last Post: 10-23-2012, 08:06 AM
  2. PinMAME 2.5 has been released.
    By Dazz in forum HyperPin Main Forum
    Replies: 0
    Last Post: 06-06-2012, 05:40 AM
  3. HyperLaunch 2.x Released
    By BadBoyBill in forum HyperSpin Main Forum
    Replies: 877
    Last Post: 10-06-2011, 12:47 PM
  4. Hyperlaunch 1.04 released
    By brian_hoffman in forum HyperSpin Main Forum
    Replies: 68
    Last Post: 09-05-2009, 03:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •