1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

Post your batch!

  • von*ferret
  • April 12, 2007 at 4:49 AM
  • von*ferret
    • April 12, 2007 at 4:49 AM
    • #1

    What settings in your batchfiles are you guys using? Custom tools? share your thoughts.

  • hessi
    • April 12, 2007 at 8:15 AM
    • #2

    batchfiles? for compiling? what are you talking of?

    i made some batches to make the compile tools avaible in the context menu. http://www.thomashess.net/haxx0r_batches.jpg

    cp_fast.bat

    Code
    vbsp.exe %1
    
    
    vvis.exe -fast %1
    
    
    vrad.exe -ldr -fast %1

    cp_full.bat

    Code
    vbsp.exe %1
    
    
    vvis.exe %1
    
    
    vrad.exe -both %1

    cp_leak.bat

    Code
    vbsp.exe -leaktest %1
    
    
    pause

    cp_ldr.bat

    Code
    vbsp.exe %1
    
    
    vvis.exe %1
    
    
    vrad.exe -ldr %1

    cp_hdr.bat

    Code
    vbsp.exe %1
    
    
    vvis.exe %1
    
    
    vrad.exe -hdr %1

    cp_prop.bat

    Code
    vbsp.exe -onlyprops %1

    and for maya:makedevfolder.bat

    Code
    @ECHO OFF
    
    
    
    
    cls
    
    
    
    
    set /p SourceProjectName=Please enter your projectname: 
    
    
    
    
    ECHO Creating folder structure for %SourceProjectName%
    
    
    mkdir %SourceProjectName%
    
    
    cd %SourceProjectName%
    
    
    mkdir scenes
    
    
    mkdir materialsrc\models\%SourceProjectName%
    
    
    mkdir model_sources\%SourceProjectName%
    
    
    mkdir references
    
    
    mkdir dxf
    
    
    ECHO ---------------------------------------------
    
    
    ECHO explanation to the paths:
    
    
    ECHO scenes - maya scene files
    
    
    ECHO materialsrc\models\%SourceProjectName% - tga-texture files which you want to get exported
    
    
    ECHO model_sources\%SourceProjectName% - exporter will write qc and smd files here
    
    
    ECHO references - reference files like photos. NO TGA-TEXTURES!
    
    
    ECHO dxf - exported levels from the hammer editor
    
    
    
    
    ECHO ---------------------------------------------
    
    
    ECHO Batch file written by Thomas Hess aka hessi, 2006
    
    
    ECHO www.thomashess.net
    
    
    cd ..
    Display More
  • Defrag
    • April 12, 2007 at 10:40 AM
    • #3

    Ooh, I never thought of that. Good idea.

    Here's a link explaining how to add stuff to context menus so people can replicate it

    Also, I had to make mine use the source sdk environment variable or it couldn't find the tools. Not sure how you've got yours set up but this worked for me.

    Quote

    %sourcesdk%/bin/vbsp.exe %1%sourcesdk%/bin/vvis.exe -fast %1

    %sourcesdk%/bin/vrad.exe -ldr -fast %1

    pause

    Here's a load of pre-made .bat files people can drop them straight into their tools/bin dir : I also included 1 threaded versions for people that like to keep one core spare. My opteron grinds to a halt if I'm compiling with both cores, but if I run it with one thread I can keep mapping / doing other stuff in the meantime.

    Download them from here.

    I spy BF2 on the desktop!

  • Psy
    • April 12, 2007 at 10:45 AM
    • #4
    Quote from Defrag

    I spy BF2 on the desktop!

    YAY BF2...*joins server*....*crash*

    Ok...try again? *joins server*...*you have been disconnected for absolutely no reason*

    *explodes*

  • hessi
    • April 12, 2007 at 5:57 PM
    • #5

    defrag as you can see form my screenshot, the batches are in the bin folder so i dont need any env variables

  • Defrag
    • April 12, 2007 at 6:02 PM
    • #6

    Mine are in the bin folder too, but it doesn't work for me for whatever reason.

  • hessi
    • April 12, 2007 at 6:16 PM
    • #7

    maybe because i included the %sourcesdk%/bin folder to the windows PATH variable too

  • von*ferret
    • April 13, 2007 at 2:25 AM
    • #8

    yall are too fancy. So no one messes with Rad settings anymore to get more gamma or something?

  • Defrag
    • April 13, 2007 at 10:56 AM
    • #9

    I tried various RAD settings and came to the conclusion that most of them don't seem to do anything these days

  • JamesL
    • April 13, 2007 at 12:06 PM
    • #10

    -final does - it takes x10 as long and looks virtually the same

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Any of the old guard still around? D:

    Thrik
    September 28, 2026 at 7:26 PM
  2. (HLDM) dm_warehouse

    The_Invader79
    September 20, 2026 at 11:44 AM
  3. [CS:GO][WiP] cs_opera

    leplubodeslapin
    September 17, 2026 at 8:50 AM
  4. Building a Huge Library of Free Images for Everyone

    Thrik
    September 7, 2026 at 10:09 PM
  5. POLYSTRIKE - Finally Announced After Years of Development!

    Mocherad
    August 23, 2026 at 7:56 AM
  6. CS:S | cs_manoir | Map creation process by D'artagnan

    Thrik
    August 3, 2026 at 10:42 AM
  7. Custom Gamemodes Contest

    Angel
    July 20, 2026 at 11:46 AM
  8. FAQ

    Angel
    July 20, 2026 at 10:14 AM
  9. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™