;--------------------------------------------------------------------------------------------------------------------
; Taito Type X
; PCLauncher.exe
; by djvj
; 1.1
;
; About the script:
; - 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.
; - Arcana Heart 3 changes your windows res and does not restore it after you exit the game, my script records your res, then restores it after the game closes.
; - 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...
;
; 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.
;
; 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 lnks\dxwnd.ini file and update the dirs to where your games are located, or update the paths in dxwnd itself. ***
; - PCLauncher.exe is just a dummy exe, it can be 0-byte if you don't have one.
; - 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).
; - 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.
; - Taisen has no way to change the keys afaik, you are out of luck on this one until a solution surfaces.
; - 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/showt ... hp?t=13627" onclick="window.open(this.href);return false;
;--------------------------------------------------------------------------------------------------------------------
Run, "D:\Hyperspin\emulators\Taito Type X2\allinone.exe"
Run, "D:\Hyperspin\Pantallas de Espera\Taito Type X2\hypersplash.exe"
Run, %rompath%%romname%%romextension%
;fix for runing .lnk files - see above
executable = %romname%.exe
Gui, Color, 000000
Gui, -Caption +ToolWindow
Gui, Show, x0 y0 W%A_ScreenHeight% H%A_ScreenWidth%, BlackScreen
sleep, 3600
Process, Close, hypersplash.exe
Process, WaitClose, game.exe
CloseProcess:
ControlSend, , {Esc}, ahk_pid %Errorlevel%
Process, Exist, %Executable%
WinKill, ahk_pid %Errorlevel%
sleep, 100
Process, WaitClose, %Executable%
Run, "D:\Hyperspin\Pantallas de Espera\Taito Type X2\hypersplash.exe"
Gui, Color, 000000
Gui +AlwaysOnTop -Caption +ToolWindow
Gui, Show, x0 y0 W%A_ScreenWidth% H%A_ScreenHeight%, BlackScreen
colorDepth = 32 ; bits (quality)
screenWidth = 1024 ; pixels
screenHeight = 768 ; pixels
refreshRate = 60 ; Hz (frequency)
sleep, 2500
Process, Close, hypersplash.exe
WinActivate, HyperSpin
ExitApp
Return
Dites moi si vous avez un soucie
Et voici mon settings :
[exe info]
path=D:\HyperSpin\Emulators\Taito Type X2\
rompath=D:\HyperSpin\Emulators\Taito Type X2\Roms\
userompath=
exe=Taito.exe
romextension=lnk
parameters=
searchsubfolders=
pcgame=true
winstate=MAXIMIZED
hyperlaunch=true
Per_Game_Modules=false
Cp_Wizard_Enabled=use_global
Skipchecks=false
Hide_Cursor=use_global
Hide_Desktop=use_global
Hide_Taskbar=use_global
CPWizard_Enabled=use_global
CPWizard_Delay=use_global
CPWizard_Params=use_global
Fade_In=use_global
Fade_Out=use_global
Fade_Color=use_global
Fade_In_Duration=use_global
Fade_Out_Duration=use_global
Fade_In_Delay=use_global
7z_Enabled=use_global
7z_Extract_Dir=use_global
7z_Delete_Temp=use_global
Keymapper_Enabled=use_global
Keymapper=use_global
MultiGame_Enabled=use_global
MultiGame_Background_Color=use_global
MultiGame_Side_Padding=use_global
MultiGame_Y_Offset=use_global
MultiGame_Image_Adjust=use_global
MultiGame_Font=use_global
MultiGame_Text_1_Options=use_global
MultiGame_Text_1_Text=use_global
MultiGame_Text_2_Options=use_global
MultiGame_Text_2_Offset=use_global
MultiGame_Use_Sound=use_global
MultiGame_Sound_Frequency=use_global
MultiGame_Exit_Effect=use_global
MultiGame_Selected_Effect=use_global
MultiGame_Use_Game_Art=use_global
MultiGame_Art_Folder=use_global
[filters]
parents_only=false
themes_only=false
wheels_only=false
[themes]
use_parent_vids=true
use_parent_themes=false
animate_out_default=false
reload_backgrounds=false
[wheel]
alpha=.15
small_alpha=1
style=vertical
speed=high
pin_center_width=500
horz_wheel_y=512
vert_wheel_position=right
y_rotation=center
norm_large=360
norm_small=230
vert_large=400
vert_small=240
pin_large=500
pin_small=200
horz_large=240
horz_small=150
letter_wheel_x=800
letter_wheel_y=384
text_width=700
text_font=Style4
small_text_width=260
large_text_width=400
text_stroke_size=6
text_stroke_color=0x000000
text_color1=0x00BFFD
text_color2=0xFFFFFF
text_color3=0x00BFFD
color_ratio=139
shadow_distance=0
shadow_angle=45
shadow_color=0x000000
shadow_alpha=1
shadow_blur=0
[pointer]
animated=true
x=975
y=384
[video defaults]
path=
[sounds]
game_sounds=true
wheel_click=true
[navigation]
game_jump=50
use_indexes=false
jump_timer=400
remove_info_wheel=false
remove_info_text=false
use_last_game=false
last_game=BBCS
random_game=false
start_on_favorites=false
[Special Art A]
default=false
active=true
x=512
y=720
in=0.4
out=0.4
length=3
delay=0
type=normal
start=top
[Special Art B]
default=true
active=true
x=512
y=740
in=0.4
out=0.4
length=3
delay=0
type=fade
start=none
[Special Art C]
active=true
x=512
y=384
in=0
out=0
length=3
delay=10
type=fade
start=none
[Game Text]
game_text_active=true
show_year=true
show_manf=true
show_description=true
text_color1=0xffffff
text_color2=0x0099cc
stroke_color=0x000000
text_font=Style1
text1_textsize=26
text1_strokesize=7
text1_x=32
text1_y=610
text2_textsize=36
text2_strokesize=8
text2_x=30
text2_y=640