Jump to content
(Public Beta) HyperSpin 2 is now available for everyone ×
  • 0

Taito Type X and Hyperlaunch 3.0


langersld

Question

Posted

I just wanted to get clarification that Taito Type X is working fine in the New RocketLauncher...

In the PC Launcher.ini...I am pointing the script to the bat files

eg:

[super Street Fighter IV]

Application=C:\Hyperspin\Games\Taito Type X\Super Street Fighter IV\Super Street Fighter IV.bat

AppWaitExe=game.exe

I seem to be getting an issue where the game starts fine but after 20 seconds closes and the Hyperlaunch "now loading page appears"

Any help appreciated

  • Answers 1.4k
  • Created
  • Last Reply

Recommended Posts

Posted
You don't have to, setup something else, play some games, have a hot candlelit bubble bath and listen to some Kenny G.

It will all still be here tomorrow. :)

i'm stubborn mate I know I should walk away and think eh oh I cant do this, but I get a buzz when it works :) ya know what your right balls to type x for the time being but as Arnie said on more than one occasion "I'll Be Back!!!!"

[sIGPIC][/sIGPIC]

Posted

i'll come back to this system at a later date hopefully by then someone will have walked us all through it, just like to say a big thank you to Gigapig for all his help and djvj for his guidance, I wouldn't even want to know what goes through his mind he's a god of some sorts:) anyway iv'e a life besides hyperspin and also i'm going to play me some of my systems that are working :) relax time oh and who the hell is Kenny G????

[sIGPIC][/sIGPIC]

Posted
@djvj -

Noticed this today... The ..Modules/DXWnd/DXWnd.ini file as pulled from the dropbox has the System (rotation type) for all games as "Vertical". However, when editting that file using HLHQ, it uses "Vertical Rotation". When it is set as "Vertical Rotation", that's when "standard" appears on the logs... Could this be the source of rotation issues for some?

Its not mine, I'm having other issues, but this appears out of sync...

Hope this helps...

Thank you! This would definitely cause a problem. What's odd is it still rotated my monitor (as you can see from my log above). This is the reason I never caught the error in the ISD. Sorry guys.

Fixed on dropbox: http://www.hyperspin-fe.com/forum/showthread.php?26053-DXWnd-Module&p=258495&viewfull=1#post258495

*Leers at the person who caused this bug...you know who you are.*

"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:
donate_button.png

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

Posted
Thank you! This would definitely cause a problem. What's odd is it still rotated my monitor (as you can see from my log above). This is the reason I never caught the error in the ISD. Sorry guys.

Fixed on dropbox: http://www.hyperspin-fe.com/forum/showthread.php?26053-DXWnd-Module&p=258495&viewfull=1#post258495

*Leers at the person who caused this bug...you know who you are.*

Can confirm that this is now working... thanks DJVJ & wahoobrian... Im sure there is going to be a lot of happy Gamers.......

only issue im getting is with both raiden games ... they load and rotate but remain aspect ratio... any ideas on how to stretch them full screen:beer:....

Posted

Wahoo, I would like to thank you again, as you would have read some for us have spent a lot of time on this, there have been many late nights and heads banged on various surfaces.

If these are indeed working we can start getting some guides together.

Thank you Sir.

56uIzxg.png

Posted
Wahoo, I would like to thank you again, as you would have read some for us have spent a lot of time on this, there have been many late nights and heads banged on various surfaces.

If these are indeed working we can start getting some guides together.

Thank you Sir.

It's not working for me, not sure what I'm doing different but its loading the same as before only now when I exit, hyperspin is rotated, and when I exit hyperspin I have to rotate my desktop back to normal and I have to change my resolution to a smaller one then back to my usual resolution otherwise my task bar is stuck half way up and to the left of the screen, wtf!!

Edit

I now have it working the way you guys wanted :) only hyperspin loses focus when I exit the game.

I hadnt added the game.exe to dxwnd, doh

Now to find how I flip it.

sig2.png?raw=1sig.jpg?raw=1

 

Posted
It's not working for me, not sure what I'm doing different but its loading the same as before only now when I exit, hyperspin is rotated, anyd when I exit hyperspin I have to rotate my desktop back to normal and I have to change my resolution to a smaller one then back to my usual resolution otherwise my task bar is stuck half way up and to the left of the screen, wtf!!

Edit

I now have it working the way you guys wanted :)

I hadnt added the game.exe to dxwnd, doh

Now to find how I flip it.

Will you need to change the rotation from 90 to 180 degrees?

56uIzxg.png

Posted
It's not working for me, not sure what I'm doing different but its loading the same as before only now when I exit, hyperspin is rotated, anyd when I exit hyperspin I have to rotate my desktop back to normal and I have to change my resolution to a smaller one then back to my usual resolution otherwise my task bar is stuck half way up and to the left of the screen, wtf!!

Edit

I now have it working the way you guys wanted :)

I hadnt added the game.exe to dxwnd, doh

Now to find how I flip it.

Will you need to change the rotation from 90 to 180 degrees?

Also been trying to visualise your setup. Do you have a verticle monitor in a cab, one that rotates at the touch of a button or is it on a desk?

Just curious.

56uIzxg.png

Posted
Will you need to change the rotation from 90 to 180 degrees?

Also been trying to visualise your setup. Do you have a verticle monitor in a cab, one that rotates at the touch of a button or is it on a desk?

Just curious.

Just trying to find where I need to change it, I'll have a nose in the module itself.

Homemade rotation system, rotates automatically using ahk script :)

I found how to bring focus back here in the module:

;    Sleep, 500 ;Uncomment these 2 lines if HS doesn't regain focus after closing a vertical game, sloppy but it works until 

something else is thought of
;    Send, {ALTDOWN}{TAB}{ALTUP}

As it says, remove the comments. I know we're not supposed to edit the module but it works :)

Edit

I needed to edit the module to change rotation to suit my setup:

If system = Vertical
{    If verticalMethod = iRotate
       Run("iRotate.exe /rotate=90 /exit", moduleExtensionsPath) ; another option to rotate screen
   Else If  verticalMethod = Display
       Run("display.exe /rotate:[color=#FF0000]180[/color]", moduleExtensionsPath) ; Switching to [color=#FF0000]180[/color]�
   ;Sleep, 200
}

Another one ticked off :)

Massive thank you to all of you who got this sorted :cheers:

Next up, Homura

sig2.png?raw=1sig.jpg?raw=1

 

Posted

Djvj, would it be possible to add the postlaunch/postexit abilities to the global settings for dxwnd.ahk ?

The only way I can think of getting my monitor to rotate at the moment is changing the name of game.exe to gamevertical.exe, and having an ahk to listen out for process gamevertical.exe which then fires off the rotate monitor command. Once the process is killed the rotation is reversed.

sig2.png?raw=1sig.jpg?raw=1

 

Posted

For you folks that are/were having the vertical issues, how are things looking now with the fix DJVJ made? The only game I have "working" is GigaWing Generations, it rotates fine, but I get the extra-fatty version of that one - It stretches all the way across my 1920x1080 dimensions.... Are you guys seeing similar behavior? I can't even get the others to run... But I'm trying to focus on one at a time...

Posted

we have a winner almost, it launches uses dxwnd rotates but its pixelated how do I change the resolution?

[sIGPIC][/sIGPIC]

Posted
What verison of DXWnd are you guys using? Are you using the version from djvj's ftp dir?

I'm using the version specified in the module - v2.01.90

Posted
we have a winner almost, it launches uses dxwnd rotates but its pixelated how do I change the resolution?

What game(s) specifically? You having any luck with Raiden III, IV, etc?

Posted

I can't even get it to run the game in HSHQ via DXWnd. Any ideas what is wrong? I try to run it in HSHQ and all it does is open windows explorer and DXWnd, gives me that error and never runs the game. The game runs outside of DXWnd if I run the bat file from djvj but it does not run when I try to from inside DXWnd using the game.exe

09:39:57:035 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.0.8
09:39:57:036 | HL |     INFO  | +0     | Main - System Specs:
				HyperLaunch Dir: C:\Emulation\Front Ends\HyperSpin\HyperLaunch
				OS: WIN_VISTA
				Architecture: 64-bit (might not be accurate)
				OS Language: 0409
				OS Admin Status: Yes
				Monitor #1 (\\.\DISPLAY1): 1024x768 (1024x738 work)
				AutoHotkey Path: C:\Program Files\AutoHotkey\AutoHotkey.exe
				AHK Version: 1.1.09.04
				Unicode: No
09:39:57:036 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x y w h
09:39:57:036 | HL |     INFO  | +0     | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\HyperLaunch\HyperLaunch.exe exists
09:39:57:036 | HL |     INFO  | +0     | Main - HyperLaunch received "Taito Type X" and "GigaWing Generations"
09:39:57:042 | HL |     INFO  | +0     | Main - GigaWing Generations is switching to emulator DXWnd via: C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Settings\Taito Type X\Games.ini
09:39:57:042 | HL |     INFO  | +0     | Main - Checking for a [DXWnd] section in C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Settings\Taito Type X\Emulators.ini
09:39:57:043 | HL |     INFO  | +0     | Main - Checking for a [DXWnd] section in C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Settings\Global Emulators.ini
09:39:57:043 | HL |     INFO  | +0     | Main - Found [DXWnd] in C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Settings\Global Emulators.ini
09:39:57:043 | HL |     INFO  | +0     | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Modules\DXWnd\DXWnd.ahk exists
09:39:57:049 | HL |     INFO  | +16    | Main - CRC Check - CRC matches, this is an official unedited module.
09:39:57:049 | HL |     INFO  | +0     | Main - GigaWing Generations will use module: C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Modules\DXWnd\DXWnd.ahk
09:39:57:060 | HL |     INFO  | +0     | Main - Using standard method with "Rom Extensions" SkipChecks or without any SkipChecks.
09:39:57:061 | HL |     INFO  | +16    | Main - INI Keys read
09:39:57:062 | HL |     INFO  | +0     | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Module Extensions\7z.exe exists
09:39:57:062 | HL |     INFO  | +0     | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Module Extensions\7z.dll exists
09:39:57:063 | HL |     INFO  | +0     | CheckPaths - Started
09:39:57:064 | HL |     INFO  | +0     | CheckPaths - Found rom by matching extension: D:\Emulation\Roms\Taito Type X (Rotate)\GigaWing Generations\game.exe
09:39:57:064 | HL |     INFO  | +0     | CheckFile - Checking if C:\Emulation\Emulators\DXWnd\dxwnd.exe exists
09:39:57:065 | HL |     INFO  | +0     | CheckPaths - Ended
09:39:57:065 | HL |     INFO  | +0     | BuildScript - User Variables:
				;----------------------------------------------------------------------------
				; INJECTED VARIABLES
				;----------------------------------------------------------------------------

				#NoTrayIcon
				#InstallKeybdHook
				DetectHiddenWindows, ON
				SetTitleMatchMode, 2
				SendMode, Event
				0 = 2
				frontendPID = 0
				frontendPath = C:\Emulation\Front Ends\HyperSpin
				frontendExe = HyperSpin.exe
				frontendExt = exe
				frontendName = HyperSpin
				frontendDrive = C:
				exitEmulatorKey = z|H:S
				exitEmulatorKeyWait = 0
				forceHoldKey = ~Esc
				restoreFE = true
				exitScriptKey = `
				emuFullPath = C:\Emulation\Emulators\DXWnd\dxwnd.exe
				emuPath = C:\Emulation\Emulators\DXWnd
				emuName = DXWnd
				emuExt = exe
				romPath = D:\Emulation\Roms\Taito Type X (Rotate)\GigaWing Generations
				romPathFromIni = D:\Emulation\Roms\Taito Type X|D:\Emulation\Roms\Taito Type X (Rotate)
				romExtension = .exe
				romExtensionOrig = .exe
				romExtensions = 7z|zip|exe|bat|lnk
				executable = dxwnd.exe
				systemName = Taito Type X
				dbName = GigaWing Generations
				romName = game
				romMapPath = 
				romMappingEnabled = false
				romMappingLaunchMenuEnabled = false
				romMappingFirstMatchingExt = false
				romMappingShowAllRomsInArchive = false
				romMappingNumberOfWheelsByScreen = 7
				romMappingMenuWidth = 300
				romMappingMenuMargin = 50
				romMappingTextFont = Bebas Neue
				romMappingTextOptions = cFFFFFFFF r4 s40 Bold
				romMappingDisabledTextColor = ff888888
				romMappingTextSizeDifference = 5
				romMappingTextMargin = 10
				romMappingTitleTextFont = Bebas Neue
				romMappingTitleTextOptions = cFFFFFFFF r4 s60 Bold
				romMappingTitle2TextFont = Bebas Neue
				romMappingTitle2TextOptions = cFFFFFFFF r4 s15 Bold
				romMappingGameInfoTextFont = Bebas Neue
				romMappingGameInfoTextOptions = cFFFFFFFF r4 s15 Regular
				romMappingBackgroundBrush = aa000000
				romMappingColumnBrush = 33000000
				romMappingButtonBrush1 = 6f000000
				romMappingButtonBrush2 = 33000000
				romMappingBackgroundAlign = Stretch and Lose Aspect
				romMappingMenuFlagWidth = 40
				romMappingMenuFlagSeparation = 5
				romMappingDefaultMenuList = FullList
				romMappingSingleFilteredRomAutomaticLaunch = false
				skipchecks = False
				romMatchExt = true
				logFile = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\HyperLaunch.log
				logLabel := ["    INFO"," WARNING","   ERROR","  DEBUG1","  DEBUG2"]
				logLevel = 3
				logIncludeModule = true
				logIncludeFileProperties = true
				logShowCommandWindow = false
				logCommandWindow = false
				navUpKey = Numpad1
				navDownKey = Numpad3
				navLeftKey = Numpad4
				navRightKey = Numpad2
				navSelectKey = a
				originalWidth = 1024
				originalHeight = 768
				dtEnabled = false
				dtPath = C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe
				dtUseSCSI = false
				dtAddDrive = true
				emuIdleShutdown = 0
				hideEmu = true
				hideFE = true
				fadeIn = true
				fadeInDuration = 500
				fadeInTransitionAnimation = DefaultAnimateFadeIn
				fadeInDelay = 0
				fadeInExitDelay = 0
				fadeOutExitDelay = 0
				fadeOut = false
				fadeOutDuration = 500
				fadeOutTransitionAnimation = DefaultAnimateFadeOut
				fadeOutDelay = 0
				fadeLyrInterpolation = 7
				fadeLyr1Color = FF000000
				fadeLyr1AlignImage = Align to Top Left
				fadeLyr2Pos = Center
				fadeLyr2X = 300
				fadeLyr2Y = 300
				fadeLyr2Adjust = 1.5
				fadeLyr2PicPad = 0
				fadeLyr3Pos = Center
				fadeLyr3X = 300
				fadeLyr3Y = 300
				fadeLyr3Adjust = 0.75
				fadeLyr3Speed = 750
				fadeLyr3Animation = DefaultFadeAnimation
				fadeLyr37zAnimation = DefaultFadeAnimation
				fadeLyr3Type = imageandbar
				fadeLyr3ImgFollow7zProgress = true
				fadeLyr3Repeat = 1
				fadeLyr3PicPad = 0
				fadeLyr4Adjust = 0.75
				fadeLyr4X = 100
				fadeLyr4Y = 100
				fadeLyr4Pos = Above Layer 3 - Left
				fadeLyr4FPS = 10
				fadeLyr4PicPad = 0
				fadeTranspGifColor = FFFFFF
				fadeBarWindow = true
				fadeBarWindowX = 
				fadeBarWindowY = 
				fadeBarWindowW = 600
				fadeBarWindowH = 120
				fadeBarWindowR = 20
				fadeBarWindowM = 20
				fadeBarWindowHatchStyle = 8
				fadeBarBack = true
				fadeBarBackColor = FF555555
				fadeBarH = 20
				fadeBarR = 5
				fadeBarColor = DD00BFFF
				fadeBarHatchStyle = 3
				fadeBarPercentageText = true
				fadeBarInfoText = true
				fadeBarXOffset = 0
				fadeBarYOffset = 100
				fadeRomInfoDescription = text
				fadeRomInfoSystemName = text
				fadeRomInfoYear = text
				fadeRomInfoManufacturer = text
				fadeRomInfoGenre = text
				fadeRomInfoRating = text
				fadeRomInfoOrder = Description|SystemName|Year|Manufacturer|Genre|Rating
				fadeRomInfoTextPlacement = corners
				fadeRomInfoTextMargin = 5
				fadeRomInfoText1Options = cFF555555 r4 s20 Bold
				fadeRomInfoText2Options = cFF555555 r4 s20 Bold
				fadeRomInfoText3Options = cFF555555 r4 s20 Bold
				fadeRomInfoText4Options = cFF555555 r4 s20 Bold
				fadeRomInfoText5Options = cFF555555 r4 s20 Bold
				fadeRomInfoText6Options = cFF555555 r4 s20 Bold
				fadeStats_Number_of_Times_Played = text with label
				fadeStats_Last_Time_Played = text with label
				fadeStats_Average_Time_Played = text with label
				fadeStats_Total_Time_Played = text with label
				fadeStats_System_Total_Played_Time = text with label
				fadeStats_Total_Global_Played_Time = text with label
				fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time
				fadeStatsInfoTextPlacement = topLeft
				fadeStatsInfoTextMargin = 5
				fadeStatsInfoText1Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText2Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText3Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText4Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText5Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText6Options = cFF555555 r4 s20 Bold
				fadeText1X = 0
				fadeText1Y = 0
				fadeText1Options = cFFFFFFFF r4 s20 Right Bold
				fadeText1 = Loading Game
				fadeText2X = 0
				fadeText2Y = 0
				fadeText2Options = cFFFFFFFF r4 s20 Right Bold
				fadeText2 = Extraction Complete
				fadeFont = Arial
				fadeSystemAndRomLayersOnly = false
				fadeInterruptKey = 
				detectFadeErrorEnabled = true
				fadeImgPath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Media\Fade
				HLDataPath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Data
				HLMediaPath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Media
				HLErrSoundPath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Media\Sounds\Error
				modulesPath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Modules
				moduleFullName = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Modules\DXWnd\DXWnd.ahk
				moduleName = DXWnd
				modulePath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Modules\DXWnd
				moduleExtension = ahk
				moduleExtensionsPath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Module Extensions
				libPath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Lib
				7zEnabled = false
				7zPath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Module Extensions\7z.exe
				7zDllPath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Module Extensions\7z.dll
				7zExtractPath = C:\Emulation\Front Ends\HyperSpin\Zip Dump
				7zExtractPathOrig = 
				7zAttachSystemName = true
				7zDelTemp = true
				7zSounds = true
				7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar
				7zFormatsNoP = zip,rar,7z,lzh,gzip,tar
				mgEnabled = false
				mgKey = ~NumpadSub
				mgBackgroundColor = FF000000
				mgSidePadding = 0.2
				mgYOffset = 500
				mgImageAdjust = 1
				mgFont = Arial
				mgText1Options = x10p y30p w80p Center cBBFFFFFF r4 s100 BoldItalic
				mgText1Text = Please select a game
				mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
				mgText2Offset = 70
				mgUseSound = true
				mgSoundfreq = 300
				mgExitEffect = none
				mgSelectedEffect = rotate
				mgUseGameArt = false
				mgArtworkDir = Artwork1
				hpEnabled = false
				hpKey = p
				hpBackToMenuBarKey = b
				hpZoomInKey = d
				hpZoomOutKey = e
				hpScreenshotKey = ~PrintScreen
				hpHiToTextPath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Module Extensions\HiToText.exe
				hpSaveStateKeyCodes = 
				hpLoadStateKeyCodes = 
				keymapperEnabled = false
				keymapper = ahk
				xpadderFullPath = C:\Program Files (x86)\Xpadder\Xpadder.exe
				joyToKeyFullPath = C:\Emulation\Front Ends\HyperSpin\Utilities\JoyToKey\JoyToKey.exe
				keymapperProfilePath = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Profiles\ahk
				keymapperFrontEndProfileName = HyperSpin
				keymapperHyperLaunchProfileEnabled = false
				JoyIDsEnabled = false
				JoyIDsPreferredControllersSystem = use_global
				JoyIDsPreferredControllersGlobal = use_global
				CustomJoyNamesEnabled = false
				CustomJoyNames = 
				FEProfile = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Profiles\ahk\HyperSpin
				defaultProfile = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Profiles\ahk\_Default
				systemProfile = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Profiles\ahk\Taito Type X
				xPadderSystemProfile = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Profiles\ahk\Taito Type X\_Default
				emuProfile = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Profiles\ahk\Taito Type X\DXWnd
				romProfile = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Profiles\ahk\Taito Type X\GigaWing Generations
				blankProfile = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Profiles\ahk\blank
				HyperLaunchProfile = C:\Emulation\Front Ends\HyperSpin\HyperLaunch\Profiles\ahk\HyperLaunch
				bezelEnabled = false
				statisticsEnabled = true

09:39:57:066 | HL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
09:39:57:066 | HL |     INFO  | +0     | BuildScript - Loaded Fade Init.ahk scripts
09:39:57:066 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
09:39:57:066 | HL |     INFO  | +0     | BuildScript - Loaded User Functions Init.ahk script
09:39:57:067 | HL |     INFO  | +0     | BuildScript - Module:
				MEmu = DXWnd
				MEmuV = v2.01.90
				MURL = http://sourceforge.net/projects/dxwnd/
				MAuthor = djvj
				MVersion = 2.0.2
				MCRC = B9F17C2D
				iCRC = 5D806D1F
				MID = 635038268886599500
				MSystem = "PC Games","Taito Type X"
				;--------------------------------------------------------------------------------------------------------------------
				; Notes:
				; DXWnd is a windows hooker that intercepts DirectX calls to make fullscreen programs run within a window.
				; It can be downloaded here: http://sourceforge.net/projects/dxwnd/
				; Extract it to your "Module Extensions" folder
				; Read the notes in the ini for further settings to help with rotating your monitor for vertical games
				; Vertical games are windowed, rotated, windows hidden (taskbar/start button/desktop), then the correct resolution is calculated and the game's window is maximized. This gives the look of a fullscreen game, but it's actually in a window.
				; You may have to set Skipchecks to true in your HyperLaunch.ini, otherwise HyperLaunch will error looking for a rom if your exe/bat/lnk is not the same name as you have in your xml.
				;
				; Taito Type X Instructions:
				; 1. Backup your game.exe and typex_bindings.bin for each game (only if you want to have a backup)
				; 2. In HyperHQ, use the Wizard to create a new wheel, name it Taito Type X
				; 3. Download everything you see on the FTP, keeping dir names/structure and empty "sv" dirs.
				;
				; Taito Type X Notes:
				; - IMPORTANT *** Requires files located in my user dir on the ftp at /Upload Here/djvj/Taito Type X/. I hacked every exe to save its config/logs into the sv subdir. If you use my exes, make sure you create an sv dir so the game can save its settings. ***
				; - IMPORTANT *** Edit the dxwnd.ini file and update the dirs to where your games are located, or update the paths in dxwnd itself. ***
				; - IMPORTANT *** Do not attempt to run TTX games off an SMB share, they won't work.
				; - Make sure the game's folder and bat files in each game's dir are named the same as the database's game name
				; - Every game, except Arcana Hearts, saves config and logs to a D or Z partition. Arcana saves everything in the registry . I hacked every game.exe so you do not need D or Z drives. Instead you just create an sv dir inside each game's root folder and it will save all configs/logs in there instead.
				; - The controls bin only needs to be made once, then copy/paste your control bin into each game's dir, overwriting the existing one.
				; - Arcana Hearts I had to hex edit the controls into the exe. I provided a txt with info where (in hex) and what the controls are (CHANGE KEYS.txt). (Note, with the updated loader this is no longer necessary and works as a standard game)
				; - Taisen has no way to change the keys afaik, you are out of luck on this one until a solution surfaces.
				; - Raiden 4 is very buggy, but I finally got it working 100% everytime on my PC. If it starts crashing when it worked prior, reboot your PC.
				; - Raiden 4 requires a trick to get it to work correctly, otherwise it crashes everytime. I hope someone finds a better hack one day as the one I use I feel like it might not work everytime. There have been reports it doesn't work on every PC...
				; - All the games should exit with the ESC key except for Arcana Hearts which the script will send Alt+F4
				; - Some systems iRotate might not work, try commenting the iRotate.exe lines and uncomment the display.exe lines instead
				;
				; - Homura and Shikigami no Shiro III use custom d3d8 and d3d9 dll files, these fix the the games from going hyperfast. I did not make them and they create a wahwahwah.arc file when you launch the game. Edit this file in notepad and change InitProxyFunctions to 0 and PartOfENBSeries to localhost. Save the file, then change it to read-only so it doesn't get restored.
				; - If SF4 is locking up during the intro movie, copy the 2 d3d dlls to your SF4 dir. This will fix it.
				;
				; - If your KOF98 UM came with d3d9.dll, d3d9d.dll, or d3dx9_36.dll in its root folder, remove all these for the game to work.
				;
				; - Lastly, every PC is different, so results will vary. Try playing with sleep timers if you think the script is working too fast for your PC.
				; - Also if you have video issues or odd things are happening in game, play with vsync and try updating to the latest video card driver, or revert to an older one.
				;
				; - If you have any further issues, please consult the discussion thread at http://www.hyperspin-fe.com/forum/showthread.php?t=13627
				;--------------------------------------------------------------------------------------------------------------------
				StartModule()
				FadeInStart()

				 ; check for and load into memory the Settings.ini
				settingsFile := CheckFile(modulePath . "\" . moduleName . ".ini")

				verticalMethod := IniReadCheck(settingsFile, "settings", "VerticalMethod", "Display",,1)
				system := IniReadCheck(settingsFile, romName, "System","Standard",,1)
				titleClass := IniReadCheck(settingsFile, romName, "TitleClass",A_Space,,1)
				launchExe := IniReadCheck(settingsFile, romName, "LaunchExe",A_Space,,1)
				AppExe := IniReadCheck(settingsFile, romName, "AppExe",A_Space,,1)

				; Get HS's original size so we can restore it properly later
				;WinGetPos, hsX, hsY, hsW, hsH, ahk_class ThunderRT6FormDC ; HS1
				;WinGetPos, hsX, hsY, hsW, hsH, ahk_class ApolloRuntimeContentWindow ; HS2, shouldn't be needed for HS2 though as it fixes itself

				Loop, Parse,  romPathFromIni, |
				{	GetFullName(A_LoopField)	; converts relative path to absolute
					IfExist %A_LoopField%\%launchExe%
					{	romPath = %A_LoopField%
						romFound = true
						Break
					}Else IfExist %A_LoopField%\%romName%\%launchExe%
					{	romPath = %A_LoopField%\%romName%
						romFound = true
						Break
					}
				}
				If !romFound
					ScriptError("Could not find the executable """ . launchExe . """ in any paths defined in your Rom_Path:`n" . romPathFromIni)

				WinMinimize, ahk_class ApolloRuntimeContentWindow ; fix for HS2 not minimizing
				Sleep, 100
				WinMinimizeAll ;If we don't minimize, parts of HS still show on our screen, doesn't work with HS2 for an unknown reason
				Run(executable, emuPath, "Min", "dxPID")	; launch dxwnd to force windowed mode

				If system = Vertical
				{	If verticalMethod = iRotate
						Run("iRotate.exe /rotate=90 /exit", moduleExtensionsPath) ; another option to rotate screen
					Else If  verticalMethod = Display
						Run("display.exe /rotate:90", moduleExtensionsPath) ; Switching to 90�
					;Sleep, 200
				}

				;Making our own custom hideDesktop(), because upon rotation, coordinates get messed up and only part of the desktop is hidden
				Gui 1: Color, 000000
				Gui 1: -Caption +ToolWindow
				Gui 1: Show, x0 y0 W%A_ScreenWidth% H%A_ScreenHeight%, BlackScreen	; experimental to hide entire desktop and windows

				Gui 2: Color, 000000
				Gui 2: -Caption +ToolWindow
				Gui 2: Show, x0 y0 W%A_ScreenHeight% H%A_ScreenWidth%, BlackScreen2	; experimental to hide entire desktop and windows

				Sleep, 200 ;DO NOT REMOVE THIS LINE, game will launch minimized if you do, increase sleep if this is still happening
				Run(romPath . "\" . launchExe, romPath,, "AppPID")

				WinWait(titleClass)
				Sleep, 500 ;Some lag so we don't lose our custom hideDesktop which happens if this is too short
				WinActivate, %titleClass%

				MaximizeWindow(titleClass)
				FadeInExit()

				Gui 1: Destroy	; no longer needed after game is rotated. GUi 2 still covers the entire desktop

				Process("WaitClose", (If AppExe ? AppExe : AppPID))

				Gui 2: Color, 000000	; experimental to hide entire desktop and windows
				Gui 2: -Caption +ToolWindow
				Gui 2: Show, x0 y0 W%A_ScreenWidth% H%A_ScreenHeight%, BlackScreen2

				If system = Vertical
				{	If verticalMethod = iRotate
						Run("iRotate.exe /rotate=0 /exit", moduleExtensionsPath) ; another option to rotate screen
					Else If verticalMethod = Display
						Run("display.exe /rotate:0", moduleExtensionsPath) ; Switching back to 0�
				}

				WinClose("DXWnd",,,"Notepad++")
				Sleep, 200
				IfWinExist, Warning ahk_class #32770	; dxwnd pops up a box asking to restore desktop settings and will not close until a selection is made. This selects no (button2)
					ControlSend,Button2,{Enter},Warning ahk_class #32770
				errorLvl := Process("WaitClose", dxPID,"1")
				If errorLvl	; if DXWnd did not close, force close it. This sometimes happens on exit.
					Process("Close", dxPID)

				WinMinimizeAllUndo
				Sleep, 500

				; Settings for restoring Hyperspin from vertical games
				;IniRead, system, %settingsFile%, Screen, Fullscreen, standard ; unsure I needed this, shouldn't be needed
				;WinMove, ahk_class ThunderRT6FormDC,, hsX, hsY, hsW, hsH ; HS1
				;WinMove, ahk_class ApolloRuntimeContentWindow,, hsX, hsY, hsW, hsH ; HS2, shouldn't be needed for HS2 though as it fixes itself

				;	Sleep, 500 ;Uncomment these 2 lines if HS doesn't regain focus after closing a vertical game, sloppy but it works until something else is thought of
				;	Send, {ALTDOWN}{TAB}{ALTUP}

				Gui 1: Destroy	; experimental to hide entire desktop and windows
				Gui 2: Destroy	; experimental to hide entire desktop and windows
				FadeOutExit()
				ExitModule()


				MaximizeWindow(class){
					Global
					WinSet, Style, -0xC00000, %class%	;Removes the titlebar of the game window
					WinSet, Style, -0x40000, %class%		;Removes the border of the game window
					WinGetPos, appX, appY, appWidth, appHeight, %class%
					widthMaxPercenty := ( A_ScreenWidth / appWidth )
					heightMaxPercenty := ( A_ScreenHeight / appHeight )

					If  ( widthMaxPercenty < heightMaxPercenty )
						percentToEnlarge := widthMaxPercenty
					Else
						percentToEnlarge := heightMaxPercenty

					appWidthNew := appWidth * percentToEnlarge
					appHeightNew := appHeight * percentToEnlarge
					; Transform, appX, Round, %appX%
					Transform, appY, Round, %appY%
					Transform, appWidthNew, Round, %appWidthNew%, 2
					Transform, appHeightNew, Round, %appHeightNew%, 2

					; (Taito Type X game) This step is only necessary because this game resizes itself too wide, we need to bring it back to a normal vertical game ratio
					If romName = GigaWing Generations
						appHeightNew := ( A_ScreenWidth * 0.789316 ) ;Vertical games have a 0.789316 ratio (width/height) when first launched, so whatever the new A_ScreenWidth (when rotated) is, we should multiply by this ratio to find out the new appHeightNew

					; appXPos := ( A_ScreenWidth / 2 ) - ( appWidthNew / 2 )
					appYPos := ( A_ScreenHeight / 2 ) - ( appHeightNew / 2 )
					; WinMove, %class%,, appXPos, appYPos
					WinMove, %class%,, 0, appYPos, appWidthNew, appHeightNew
				}

				HaltEmu:
					If system = Vertical
					{	If verticalMethod = iRotate
							Run("iRotate.exe /rotate=0 /exit", moduleExtensionsPath) ; another option to rotate screen 
						Else If verticalMethod = Display 
							Run("display.exe /rotate:0", moduleExtensionsPath) ; Switching back to 0� 
						Sleep, 200 
					}
				Return
				RestoreEmu:
					If system = Vertical
					{	If verticalMethod = iRotate
							Run("iRotate.exe /rotate=90 /exit", moduleExtensionsPath) ; another option to rotate screen 
						Else If verticalMethod = Display
							Run("display.exe /rotate:90", moduleExtensionsPath) ; Switching to 90� 
					}
				Return

				CloseProcess:
					FadeOutStart()
					WinClose(titleClass)
				Return

09:39:57:067 | HL |     INFO  | +0     | BuildScript - Loaded HideDesktop scripts
09:39:57:067 | HL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
09:39:57:067 | HL |     INFO  | +0     | BuildScript - Loaded User Functions.ahk script
09:39:57:067 | HL |     INFO  | +0     | BuildScript - Finished injecting functions into module
09:39:57:068 | HL |     INFO  | +0     | Main - Module is built
09:39:57:068 | HL |     INFO  | +0     | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\HyperLaunch\AutoHotkey.dll exists
09:39:57:069 | HL |     INFO  | +0     | Main - Hiding taskbar
09:39:57:280 | HL |     INFO  | +218   | Main - Running module
09:40:33:690 | HL |     INFO  | +36411 | Main - Module ended, exiting HyperLaunch normally
09:40:33:690 | HL |     INFO  | +0     | ExitScript - Started
09:40:33:917 | HL |     INFO  | +218   | SystemCursor - Restoring mouse cursor
09:40:33:923 | HL |     INFO  | +16    | ExitScript - Ended

Posted

Homura too now fast as hell though, I know theres something written somewhere about that, oh and as for it filling the whole screen point dxwnd to game.exe not the bat file

[sIGPIC][/sIGPIC]

Posted
Homura too now fast as hell though, I know theres something written somewhere about that, oh and as for it filling the whole screen point dxwnd to game.exe not the bat file

Oh ok, I didn't realize I needed to "configure" anything within DXWnd. What did you do? I added GigaWing Generations and added its game.exe, but there was no real change to the behavior. Still had the extra wide version... But there were a ton of other options in there.... Do you have to set a desired resolution in there?

Posted

no I didn't change anything just pointed it to gigawing generations folder game.exe, then use hyperlaunchhq opened dxwnd module settings using irotate and rom to vertical

[sIGPIC][/sIGPIC]

Posted

Just to be clear, I was referring to the Emulator DXWnd settings, not the Module DXWnd settings.... (just to confuse matters more, both have seperate, independent dxwnd.ini files)....

Posted

Raiden III wont work keeps telling me theres a missing rom path I've checked and can't see a problem

[sIGPIC][/sIGPIC]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...