The SWMXP.INI file contains the essential configuration information that controls the default behavior of XPSWMMThis file may be edited with any text editor. It can also be edited under Tools > Application Settings


The file consists of a number of lines in the form:

[Block_name]

VARIABLE=VALUE

BLOCK_NAME is a header for the VARIABLE & VALUE that follows it must be one of: [Main], [Config], [Display], [Settings], [Engine] [web], [STATUS], [Recent File List], [Field Precision], [Field Defaults], [Pest], or [Comments].

VARIABLE is not case-sensitive. VALUE is a string of characters relevant to the variable and is also not case-sensitive (see descriptions below). Comments may be included in the file by inserting a pound (#) character anywhere on a line. Any characters on a line following the pound are ignored.

View the swmxp.ini File Variables page for further details on available variables. 

Sample swmxp.ini File
[NETWORK]
MODE=        
SERVER=
STATUS=OK        

[MAIN]
ENGINE_64=C:\Program Files\Innovyze\xpswmm2019.1\engine64\swmmengw2D64.exe
ENGINE_DP_64=C:\Program Files\Innovyze\xpswmm2019.1\engine64\swmmengw2D64_DP.exe
XCF=C:\Program Files\Innovyze\xpswmm2019.1\xpswmm.xcf
VERSION=20.1.91
ENGINE_VER=12.0
DISPLAY_VERSION=2019.1
WORKDIRECTORY=C:\Documents\XPSWMM\Models\GettingStarted\17 - 2D Urban Flooding
MSGBOX=C:\Program Files (x86)\Innovyze\xpswmm2019.1\MSGBOX
DBDEF=C:\Program Files (x86)\Innovyze\xpswmm2019.1\xps_dbdef.mdb
DIRECTORY=C:\PROGRA~2\Innovyze\XPSWMM~2.1\
PLOT_EXE=C:\Program Files (x86)\Innovyze\xpswmm2019.1\xpprofileplot.exe
CVTHPG=C:\Program Files (x86)\Innovyze\xpswmm2019.1\CVTHPGL.BAT
SWMXP=C:\PROGRA~2\Innovyze\XPSWMM~2.1\
TEMPDIR=C:\PROGRA~2\Innovyze\XPSWMM~2.1\\temp
SC_TEMPLATE_DB=C:\Program Files (x86)\Innovyze\xpswmm2019.1\XP_SC_Trans.mdb
TEMPLATES=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Templates
EFX=C:\Program Files (x86)\Innovyze\xpswmm2019.1\EFX
XPWSPG_CONVERTER=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\xpwspgconverter.exe
RES_TO_RES_UTIL=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\res_to_res\res_to_res_w32.exe
TUFLOW_TO_GIS=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\2D Utility\TUFLOW_to_GIS_32\TUFLOW_to_GIS_w32.exe
MALAYSIAN_IFD=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\IFD Malaysia Revision2
ASC_TO_ASC_UTIL=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\asc_to_asc\asc_to_asc_w64.exe
SWMXP_BIN=C:\Program Files (x86)\Innovyze\xpswmm2019.1\swmm.bin
EDITOR=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\NotepadPlusPlus\Notepad++.exe

[ENGINE]
VERT_WALLS=ON
SUBCATCHMENT_RES=ON
SCSIADEPTH=ON
PUMP_NEGHD=ON

[CONFIG]
MAX_NODES=10000
MAX_LINKS=10000
MAX_TEXTS=400
MAX_DBCARDS=4000000
MAX_PICTS=10
OPT_DB_KEY=ON
OPT_DB_MEM=ON
IO_BUF_SIZE=4059
OPT_IDX_ACCESS=ON
OPT_DIRTYOBJ=ON
OPT_PART_REC=ON
OPT_OBJ_NAME_ACCESS=ON
OPT_FAST_DRAW=ON
OPT_DRAW_NODE_LABELS=ON
OPT_DRAW_LINK_LABELS=ON
DATE_FORMAT=MM/DD/YYYY
SOLVE=WIN
CUHP=OFF
LAC_HYDROLOGY=OFF
CALIBRATE=ON
PROJECTS=OFF
MAX_WEIRS=800
MAX_ORIFICES=700
SCENARIO_MANAGER=ON
OLD_DLIST_DIALOGS=OFF
OLD_XPX_EXPORT=OFF
OPT_SHORTESTPATH=ON
PERSPECTIVE_VIEW=ON
SOLVE_MULTINETWORK=ON
OPT_SHOW_LAYER_COUNT=ON
OPT_SHOW_ZERO_COUNT=OFF
OPT_SHOW_ZERO_SELECT_COUNT=OFF
OPT_SHOW_GRID=OFF
ConfigurationParameter=466836264489
MAX_2DCELLS=9999996
WINPOS=2,3,-32000,-32000,-1,-1,1912,-8,3848,1048
LAYER_CONTROL=1
NEW_MALAYSIAN_IFD=1
DEFAULT_TEMPLATE_METRIC=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Templates\MASTER_Metric.XPT
DEFAULT_TEMPLATE_US=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Templates\MASTER_US.XPT
XMDF_RESULTS=ON
COLOR=WIN8
ApplicationLook=SILVER
RUN_COUNT=43
MONTHLY_ANNUAL_ADJUSTMENT=OFF
SolveManagerXML=C:\Users\abraham.toribio\Downloads\9 - Modeling Best Management Practices\Mod-49b.xml
SHOW_OUTPUT_FILES_DIALOG=ON
OVERWRITE_OUTPUT_FILES=ON
XPTIN_SIZE_THRESHOLD=500

[RNF_SACRAMENTO]
SAC_FLOW_FILE=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\Rnf_SacFlows.txt
SACH_TABLE4_1=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\4_1.txt
SACH_TABLE4_3=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\4_3.txt
SACH_TABLE4_4=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\4_4.txt
SACH_TABLE4_5=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\4_5.txt
SACH_TABLE4_6=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\4_6.txt
SACH_TABLE4_7=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\4_7.txt
SACH_TABLE4_8=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\4_8.txt
SACH_TABLE5_1=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\5_1.txt
SACH_TABLE5_2=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\5_2.txt
SACH_TABLE6_1=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\6_1.txt
SACH_TABLE7_1=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\7_1.txt
SACH_TABLE7_3=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\7_3.txt
SACH_TABLE7_6=C:\Program Files (x86)\Innovyze\xpswmm2019.1\templates\SACH\7_6.txt

[WEB]
MAIN=http://www.innovyze.com
PRODUCT=http://www.innovyze.com/products
DOWNLOADS=http://innovyze.com/updates/

[SETTINGS]
PreviewPages=1
OPT_ALL=0
OPT_SWMM_BANNER=0
OPT_ALL_CONDUIT_TYPES=1
OPT_PROFILE_PLOT=1
OPT_PUMPORIF=1
OPT_FULL_EQUATION=1
OPT_WATER_QUALITY=1
OPT_TRN=1
OPT_SNOWMELT=1
OPT_PEST=1
OPT_ACAD=1
OPT_XPTABLE=1
OPT_XPGIS=1
OPT_HDRDWF=1
OPT_XPVIEWERCREATOR=1
OPT_RTC=1
OPT_EPA=1
OPT_WSPG=1
OPT_DTM=1
OPT_2D=1
OPT_2D_MULTIPLE_DOMAINS=1
OPT_2D_GPU_SOLVE=1
OPT_NETWORK_LOCK=1
OPT_1D_SEWER=0

[LAUNCH APPLICATIONS]
APP_EXE_PATH_1=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\EpaSwmm5Reader.exe
APP_NAME_1=EpaSwmm5Reader.exe
APP_EXE_PATH_2=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\CUHPtoXPXw.exe
APP_NAME_2=CUHPtoXPXw.exe
APP_EXE_PATH_3=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\InterfaceUtils.exe
APP_NAME_3=InterfaceUtils.exe
APP_EXE_PATH_4=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\XPXConverter_RatToSWM.exe
APP_NAME_4=XPXConverter_RatToSWM.exe
APP_EXE_PATH_5=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\IFD\IFD.exe
APP_NAME_5=IFD.exe
APP_EXE_PATH_6=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\IFD Malaysia\MalaysianIFD.exe
APP_NAME_6=MalaysianIFD.exe
APP_EXE_PATH_7=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\WriteInterfaceFile.exe
APP_NAME_7=WriteInterfaceFile.exe
APP_EXE_PATH_8=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\BomPluvioConverter.exe
APP_NAME_8=BomPluvioConverter.exe
APP_EXE_PATH_9=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\EpaSwmmReader.exe
APP_NAME_9=EpaSwmmReader.exe
APP_EXE_PATH_10=C:\Program Files (x86)\Innovyze\xpswmm2019.1\Utilities\NOAA14Reader.exe
APP_NAME_10=NOAA14Reader.exe

[NEW_DEFAULT_NODE_VARS]
NumFields=0

[NEW_DEFAULT_LINK_VARS]
NumFields=0

[CHECKS]
MULTIPLE_NETWORK_RNF=ON

[External_Database_Drivers]
#ACCESS_CONN_STR=Provider=MSDASQL;Driver={Microsoft Access Driver (*.mdb)};Dbq=%s;
#EXCEL_CONN_STR=Provider=Microsoft.Jet.OLEDB.4.0;Data Source=%s;ExtendedProperties='\Excel 8.0;HDR=Yes;';

[RevColours]
NumColours=38
Set1=Flow
Set2=Depth
Set3=Velocity
Set4=Overflow
Set5=US Elevation
Set6=DS Elevation
Set7=Gauged Flow
Set8=Gauged Depth
Set9=Pollutant Loads
Set10=Pollutant Loads 1
Set11=Pollutant Loads 2
Set12=Pollutant Loads 3
Set13=Pollutant Concentration
Set14=Pollutant Concentration 1
Set15=Pollutant Concentration 2
Set16=Pollutant Concentration 3
Set17=Gauged Loads
Set18=Gauged Loads 1
Set19=Gauged Loads 2
Set20=Gauged Loads 3
Set21=Rainfall Total
Set22=Rainfall Excess
Set23=Evaporation
Set24=Infiltration
Set25=Groundwater
Set26=Snowmelt
Set27=OutFlow
Set28=Storm 1
Set29=Storm 2
Set30=Storm 3
Set31=Storm 4
Set32=Storm 5
Set33=Storm 6
Set34=Storm 7
Set35=Storm 8
Set36=Storm 9
Set37=Storm 10
Set38=Basin Infiltration
Flow Style=5
Depth Style=1
Velocity Style=2
Overflow Style=1
US Elevation Style=1
DS Elevation Style=1
Gauged Flow Style=1
Gauged Depth Style=5
Pollutant Loads Style=4
Pollutant Loads 1 Style=4
Pollutant Loads 2 Style=4
Pollutant Loads 3 Style=4
Pollutant Concentration Style=5
Pollutant Concentration 1 Style=5
Pollutant Concentration 2 Style=5
Pollutant Concentration 3 Style=5
Gauged Loads Style=3
Gauged Loads 1 Style=3
Gauged Loads 2 Style=3
Gauged Loads 3 Style=3
Rainfall Total Style=1
Rainfall Excess Style=1
Evaporation Style=2
Infiltration Style=5
Groundwater Style=1
Snowmelt Style=2
OutFlow Style=5
Storm 1 Style=5
Storm 2 Style=5
Storm 3 Style=5
Storm 4 Style=5
Storm 5 Style=5
Storm 6 Style=5
Storm 7 Style=5
Storm 8 Style=5
Storm 9 Style=5
Storm 10 Style=5
Basin Infiltration Style=3
Flow Colour=16711680
Depth Colour=0
Velocity Colour=255
Overflow Colour=49407
US Elevation Colour=12632319
DS Elevation Colour=65280
Gauged Flow Colour=16776960
Gauged Depth Colour=4210752
Pollutant Loads Colour=0
Pollutant Loads 1 Colour=32896
Pollutant Loads 2 Colour=12632256
Pollutant Loads 3 Colour=16512
Pollutant Concentration Colour=0
Pollutant Concentration 1 Colour=32896
Pollutant Concentration 2 Colour=0
Pollutant Concentration 3 Colour=0
Gauged Loads Colour=4210752
Gauged Loads 1 Colour=32896
Gauged Loads 2 Colour=12632256
Gauged Loads 3 Colour=16512
Rainfall Total Colour=16760832
Rainfall Excess Colour=12632319
Evaporation Colour=16760832
Infiltration Colour=12583167
Groundwater Colour=4259648
Snowmelt Colour=16760832
OutFlow Colour=255
Storm 1 Colour=16711680
Storm 2 Colour=255
Storm 3 Colour=4259648
Storm 4 Colour=49407
Storm 5 Colour=0
Storm 6 Colour=16776960
Storm 7 Colour=16760832
Storm 8 Colour=12632319
Storm 9 Colour=65280
Storm 10 Colour=12583167
Basin Infiltration Colour=16711935

[HELP]
BASE_URL=http://help.innovyze.com/display/xps/
START_PAGE=An+XP+Overview
SUPPORT_URL=http://go.innovyze.com/support
HELP_TYPE=ONLINE

[LANGUAGE]
DefaultLanguage=en-US

[MOST RECENTLY USED FILES]
MRU_COUNT=4
FILE1=C:\Documents\XPSWMM\Models\GettingStarted\17 - 2D Urban Flooding\Urban_Flooding_Completed_Pond.xp
FILE2=C:\Downloads\9 - Modeling Best Management Practices\Mod-49b.xp
FILE3=C:\Documents\XPSWMM\Models\GettingStarted\17 - 2D Urban Flooding\Urban_Flooding01.xp
FILE4=C:\Documents\XPSWMM\Models\GettingStarted\17 - 2D Urban Flooding\Urban_Flooding_Completed_v15.xp

[UPDATES]
CHECK_FOR_UPDATES_FLAG=OFF

[Dialog Settings]
DLG_VARSEL_X=1935
DLG_VARSEL_Y=48
DLG_VARSEL_W=472
DLG_VARSEL_H=904

[TEMP]
LAST_DAT_FILE=C:\Users\abraham.toribio\Documents\XPSWMM\Models\GettingStarted\15 - DTM and River\1D\DTM_and_River_m03_completed_Larger Storm\DTM_and_River_m03_completed_Larger Storm.out

[LOG_VIEW]
CALIBERATION=ON
IMPORT_EXPORT_DATA_DIALOGUE=ON
IMPORT_HECRAS=ON
LACH=ON
REVIEW_RESULTS_EPA=ON
CELL_DATA_SAVE=ON
DAT_EXPORT=ON
DAT_SOLVE=ON
WSPG_ERRORS=ON
ERRORS_COMMAND=ON
REVIEW_RESULTS=ON
DB_UPGRADE=ON
EXTRAN_IMPORT=ON
PROPFILE_PLOT_EXPORT=ON
ENGINE_RESULT=ON
LOAD_FILE=ON