Jump to content
LaunchBox Community Forums

Bat file help for taito Type X game please?


Cnells2000

Recommended Posts

Im Trying to start half life survivor with a batch file i created off a old one i had. I was trying to boot HL2, Then Xpadder then when i push Escape, it would magically close all of it and return to the main screen. On this video on my Pc, its actually full screen. my recording just looks funny. my resolution is originally at 3840 X 2160. When i click the bat, it changes to 1368 X 760 starts the game, and Xpadder loads up also. but when i push F4 to Escape HL2, The resolution Does not return and xpadder does not close as well. can someone give me some help on making this bat load the game, load xpadder, and when exited (F4), return to original resolution of 3840 X 2160?

 

Run E:\Taito Type X\Half Life Surviver v2.0\SIMPLY AUSTIN - No Console - Fullscreen (ish).bat
Sleep, 50
Run, E:\Taito Type X\Half Life Surviver v2.0\Xpadder hls\Xpadder.exe
Sleep, 1000

SetTimer, ProcessCheckTimer, 2000
Return
 
ProcessCheckTimer:
Process, Exist, Hl2.exe
pid1 := ErrorLevel
If (!pid1)
         {
     Process, Close, Hl2Exit.exe
         ExitApp
         }
 {
     Process, Close, Xpadder.exe
         ExitApp
         }
Return

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...