lmsilva Posted May 21, 2014 Posted May 21, 2014 I'm having a problem where HyperSpin turns into a window when certain games change the system's resolution. More specifically, I have created my own launcher for Popcap games so that I can change the resolution to 800x600 before starting the game and then back to 1920x1080 when the game exits (don't ask why, long story...but if you are really curious, I just posted another thread on the subject :oP). The problem is that one of the games messes up HyperSpin when it returns. Check out this video to see what is happening: This is not the first time it has happened to me but, in the past, I was able to fix it by making sure the emulator runs in the same definition as my system and hyperspin (e.g. 1920x1080). Unfortunately, I cannot do that this time so...I really don't know what to do. While looking for answers, I noticed someone described a similar problem in this forum thread: http://www.hyperspin-fe.com/forum/archive/index.php/t-11516.html Per its suggestion, I tried adding this line to my HyperLaunch script but it didn't seem to have any effect: WinMove, ahk_pid %PID%, ,0,0,A_ScreenWidth, A_ScreenHeight Any thoughts on how I can fix this problem? Thank you, Luis
gigapig Posted May 21, 2014 Posted May 21, 2014 I know the resolutions must match, but have you also tried exiting the game using Hyperlaunch instead of exiting via the games menu?
lmsilva Posted May 21, 2014 Author Posted May 21, 2014 That was my original plan but I was having trouble cleanly killing my app and changing back the resolution in hyperlaunch 1.x so I deactivated the exit hotkey altogether. Any tips on how I should capture the exit ( both from the hotkey and when the app cleanly exits by itself)?
gigapig Posted May 21, 2014 Posted May 21, 2014 Hyperlaunch 1.x is before my time and no longer supported, so maybe someone else can help. Unless you upgrade of course.
lmsilva Posted May 21, 2014 Author Posted May 21, 2014 I can't right now dude ( I started doing it but there's a learning curve into HyperLaunch 2.x and I simply do not have the time to upgrade my arcade right now...(I already put wayyyy to much time in getting what I have right now to work)! Hyperlaunch 1.x is before my time and no longer supported, so maybe someone else can help. Unless you upgrade of course.
gigapig Posted May 21, 2014 Posted May 21, 2014 I can't right now dude (I started doing it but there's a learning curve into HyperLaunch 2.x and I simply do not have the time to upgrade my arcade right now...(I already put wayyyy to much time in getting what I have right now to work)! Of course, I completely understand.
lmsilva Posted May 22, 2014 Author Posted May 22, 2014 So I have another data point... It turns out this happens when I change the system's resolution to anything lower than 800x600. For instance, all games that play at 640x480, if I change the resolution OR if they run in full screen, hyperspin turns into a window when I exit the game.
lmsilva Posted May 22, 2014 Author Posted May 22, 2014 Ok, I managed to solve my problem )))) I changed my launcher script to perform a winActivate and winMove OnExit: OnExit, ExitSub return ExitSub: ; change back resolution to fullHD Process, Close, %gamePath% ChangeResolution(systemWidth, systemHeight) [b] WinActivate, HyperSpin WinMove, HyperSpin, ,0,0,systemWidth, systemHeight[/b] ExitApp Thanks everybody
gigapig Posted May 22, 2014 Posted May 22, 2014 Glad you got worked out, and thanks for adding the information.
peabody9 Posted April 29, 2015 Posted April 29, 2015 That's a neat picec of code, I'd like to use it clean up a resolution issue I get when I exit mednafen (neogeo pocket) but where do I put it?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.