Pages

Powered by Blogger.

Apr 24, 2009

Left 4 Dead Server Launcher

Left 4 Dead Server Launcher is a batch file that launches the game directly with selected options
You dont have to download the file, just copy the code and create it as a filename.bat and put that batch file in the root directory of your Left 4 Dead game (where left4dead.exe is) Then launch the batch file, choose the map, difficulty and episode and play.

The code:

@echo off
@rem Left 4 Dead server
@rem launcher by Minsk

:DIFSLCT
cls
echo Select difficulty:
echo 1. Easy
echo 2. Normal
echo 3. Hard
echo 4. Impossible
echo.
set /p L4DDN=Enter number 1-4:
if %L4DDN% EQU 1 (set DIFFICULTY=easy & goto MAPSLCT)
if %L4DDN% EQU 2 (set DIFFICULTY=normal & goto MAPSLCT)
if %L4DDN% EQU 3 (set DIFFICULTY=hard & goto MAPSLCT)
if %L4DDN% EQU 4 (set DIFFICULTY=impossible & goto MAPSLCT)
goto DIFSLCT

:MAPSLCT
cls
echo Select campaign:
echo 1. No Mercy
echo 2. Death Toll
echo 3. Dead Air
echo 4. Blood Harvest
echo.
set /p L4DMN=Enter number 1-4:
if %L4DMN% EQU 0 (goto MAPSLCT)
if %L4DMN% GTR 4 (goto MAPSLCT)
if %L4DMN% EQU 1 (set CAMPAIGN=l4d_hospital)
if %L4DMN% EQU 2 (set CAMPAIGN=l4d_smalltown)
if %L4DMN% EQU 3 (set CAMPAIGN=l4d_airport)
if %L4DMN% EQU 4 (set CAMPAIGN=l4d_farm)
goto LVLSLCT

:LVLSLCT
cls
set /p L4DLN=Select level 1-5:
if %L4DLN% EQU 1 (set LEVEL=1 & goto PREPARE%L4DMN%)
if %L4DLN% EQU 2 (set LEVEL=2 & goto PREPARE%L4DMN%)
if %L4DLN% EQU 3 (set LEVEL=3 & goto PREPARE%L4DMN%)
if %L4DLN% EQU 4 (set LEVEL=4 & goto PREPARE%L4DMN%)
if %L4DLN% EQU 5 (set LEVEL=5 & goto PREPARE%L4DMN%)
goto LVLSLCT

:PREPARE1
if %L4DLN% EQU 1 (set SUFFIX=01_apartment)
if %L4DLN% EQU 2 (set SUFFIX=02_subway)
if %L4DLN% EQU 3 (set SUFFIX=03_sewers)
if %L4DLN% EQU 4 (set SUFFIX=04_interior)
if %L4DLN% EQU 5 (set SUFFIX=05_rooftop)
goto CONFIRM

:PREPARE2
if %L4DLN% EQU 1 (set SUFFIX=01_caves)
if %L4DLN% EQU 2 (set SUFFIX=02_drainage)
if %L4DLN% EQU 3 (set SUFFIX=03_ranchhouse)
if %L4DLN% EQU 4 (set SUFFIX=04_mainstreet)
if %L4DLN% EQU 5 (set SUFFIX=05_houseboat)
goto CONFIRM

:PREPARE3
if %L4DLN% EQU 1 (set SUFFIX=01_greenhouse)
if %L4DLN% EQU 2 (set SUFFIX=02_offices)
if %L4DLN% EQU 3 (set SUFFIX=03_garage)
if %L4DLN% EQU 4 (set SUFFIX=04_terminal)
if %L4DLN% EQU 5 (set SUFFIX=05_runway)
goto CONFIRM

:PREPARE4
if %L4DLN% EQU 1 (set SUFFIX=01_hilltop)
if %L4DLN% EQU 2 (set SUFFIX=02_traintunnel)
if %L4DLN% EQU 3 (set SUFFIX=03_bridge)
if %L4DLN% EQU 4 (set SUFFIX=04_barn)
if %L4DLN% EQU 5 (set SUFFIX=05_cornfield)
goto CONFIRM

:CONFIRM
cls
echo Difficulty: %DIFFICULTY%
echo Campaign/Level: %CAMPAIGN%%SUFFIX%
echo.
set /p L4DST=Start server with current settings y/n?:
if "%L4DST%"=="y" goto RUNSERV
if "%L4DST%"=="Y" goto RUNSERV
goto DIFSLCT

:RUNSERV
cls
title %CAMPAIGN%%SUFFIX% - %DIFFICULTY%
left4dead.exe -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty %DIFFICULTY% +map %CAMPAIGN%%SUFFIX%
goto END

:END
echo Server stopped.
pause


14 comments:

  1. Only because no one has posted anything. You are a saint. Thanks for this.

    ReplyDelete
  2. Made one for L4D2... www.l4d2-launcher.tk

    ReplyDelete
  3. The other day, while I was at work, my sister stole my iPad and tested to see
    if it can survive a 30 foot drop, just so she can be a youtube sensation.
    My apple ipad is now destroyed and she has 83 views.
    I know this is completely off topic but I had to share it with someone!
    Feel free to surf my homepage Free Annual Credit Report

    ReplyDelete
  4. Hi there! I know this is kind of off topic but I was
    wondering if you knew where I could find a captcha plugin for my comment
    form? I'm using the same blog platform as yours and I'm having trouble finding one?
    Thanks a lot!

    Here is my blog fast online cash loan
    Also visit my weblog fast online cash loan

    ReplyDelete
  5. Hi there! I know this is kind of off topic but I was wondering if you knew where I
    could find a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having trouble finding one?

    Thanks a lot!

    Check out my blog :: fast online cash loan
    Also see my web site: fast online cash loan

    ReplyDelete
  6. My coder is trying to persuade me to move to .net from PHP.

    I have always disliked the idea because of the expenses.

    But he's tryiong none the less. I've been
    using Movable-type on a number of websites for about a year and am worried about switching to another
    platform. I have heard excellent things about blogengine.
    net. Is there a way I can transfer all my wordpress content into it?

    Any kind of help would be greatly appreciated!


    Also visit my blog: healthy diet plan
    Also see my website: healthy diet plans

    ReplyDelete
  7. Celebrities have shown throughout history that they can have unique
    tastes in wristwatches. In the end it has to be added that you can also look for genuine information in the internet about these Bulova Watches.
    Online watch sites are plentiful and costs are great, but
    take extreme caution when buying any product over the internet.
    Also visit my homepage ... just click the next article

    ReplyDelete
  8. Wow that was odd. I just wrote an extremely long comment
    but after I clicked submit my comment didn't appear. Grrrr... well I'm not writing all that over again.
    Anyhow, just wanted to say fantastic blog!

    Here is my site; bankruptcy florida

    ReplyDelete
  9. If you would lіke to obtain a gooԁ deаl from this ρaragraph thеn you
    have tо apρly such methoԁs
    to your won web sitе.

    My ρage :: cialis

    ReplyDelete
  10. This paragraph աill assist tҺe internet people fߋr creating new web site or еven
    а blog from start tߋ еnԀ.

    my blog post - steam games keep crashing to desktop

    ReplyDelete
  11. My spouse and I stumbled over here from a different page and thought I might as
    well check things out. I like what I see so now i am following
    you. Look forward to looking at your web page repeatedly.



    my website - trailer (http://codghostshacks.org)

    ReplyDelete
  12. excellent publish, very informative. I ponder
    why the opposite experts of this sector do not
    notice this. You should proceed your writing. I am confident, you have a huge readers' base already!


    Visit my web page: music (https://taylorswift1989albumdownloadleak.wordpress.com)

    ReplyDelete
  13. I could not refrain from commenting. Exceptionally well written!

    my web-site :: warlords of draenor release date (warlordsofdraenorstrategy.wordpress.com)

    ReplyDelete