Jump to content
The simFlight Network Forums

denwagg

new Members
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location
    Indiana

denwagg's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. How can I add the -Fastlaunch parameter to the detault FSUIPC7 Startup bat file ------------------------------------------------------------------------------------------------------------------------------------- @echo off &setlocal :: remove CMD window if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min "%~dpnx0" %* && exit :: STEAM installation: start MSFS start "" steam://rungameid/1250410 :: these variables will be expanded in the HTA code :: duration and animated dots per second set /a dur = 30 set /a adps = 3 :: width or height = 0 will set splash image to half your screen size set /a width = 0 set /a height = 0 :: image from MSFS web site set "imageurl=https://msfs-cdn.azureedge.net/wp-content/themes/publishing/dist/images/desktop-hero_8711a4cf.jpg" :: message displayed above image set "waitmessage=<b>We are preparing the cabin<br>Please wait</b>" :: Variable to hold delay (in seconds) after MSFS has been started and before FSUIPC7 is started set /a delay = 120 set "splash=%temp%\tmp.hta" :: all lines beginning with min. 6 spaces are redirected into the HTA file >"%splash%" (type "%~f0"|findstr /bc:" ") :: cmd.exe /C start mshta "%splash%" start mshta "%splash%" :: wait for MSFS to start (2mins) timeout /t %delay% /nobreak > NUL :: start FSUIPC7 start "" "F:\FSUIPC7\FSUIPC7.exe" :: start "" "F:\Pushback Express MSFS\Pushback Express_x64.exe" :: start "" "F:\Flight Crew A320 MSFS\Flight Crew A320_x64.exe" :: start "" "F:\Pilot2ATC_2020_x64\Pilot2ATC_2020.exe" exit :: End Of Batch <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>MSFS 2020 Splash Screen</title> <hta:application id="oHTA" applicationname="MSFS 2020 Splash Screen" border="thin" borderstyle="normal" caption="no" contextmenu="yes" icon="" innerborder="no" maximizebutton="no" minimizebutton="no" navigable="no" scroll="no" scrollflat="no" selection="no" showintaskbar="no" singleinstance="yes" sysmenu="no" version="1.0" windowstate="normal" /> <style type="text/css"> body {margin:0px 0px 0px 0px;} .splashscreen {position: relative;} .ctext { position: absolute; top: 5%; left: 10%; text-align: left; font-size: 3em; font-family: "verdana"; color: orange; } </style> <script type="text/jscript"> /* <![CDATA[ */ var oWSH=new ActiveXObject("WScript.Shell"); var i=parseInt(oWSH.ExpandEnvironmentStrings("%dur%")); var a=parseInt(oWSH.ExpandEnvironmentStrings("%adps%")); var w=parseInt(oWSH.ExpandEnvironmentStrings("%width%")); var h=parseInt(oWSH.ExpandEnvironmentStrings("%height%")); var s=oWSH.ExpandEnvironmentStrings("%imageurl%"); var wm=oWSH.ExpandEnvironmentStrings("%waitmessage%"); var wm1 = wm + " . "; var wm2 = wm + " .. "; var wm3 = wm + " ..."; if (w == 0) w = screen.width / 2; if (h == 0) h = screen.height / 2; window.resizeTo(w, h); window.moveTo(screen.width / 2 - w / 2, screen.height / 2 - h / 2); var j = n = 0; var m = a * i; var t = 1000 / a; function start() { window.focus(); image.src = s; image.height = h; image.width = w; n = j % 3; wm = (n == 1) ? wm1 : (n == 2) ? wm2 : wm3; document.getElementById("msg").innerHTML = wm; if (j++ < m) setTimeout('start()', t); else window.close(); } /* ]]> */ </script> </head> <body onload="start()"> <div class="splashscreen"> <img id="image" src="" alt="" height="0" width="0" /> <div class="ctext" id="msg"></div> </div> </body> </html> -------------------------------------------------------------------------------------------------- Regards and thank you Dennis
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.