Skip to content

Commit

Permalink
Updated: Database synchronization list
Browse files Browse the repository at this point in the history
Fixed: Readme bridges pack workshop ID
Updated: Non-monitored models list
  • Loading branch information
dvdvideo1234 committed Apr 17, 2018
1 parent 9a5048f commit c8fc83f
Show file tree
Hide file tree
Showing 5 changed files with 4,365 additions and 243 deletions.
44 changes: 35 additions & 9 deletions data/peaces_manager/emd.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,53 @@ setlocal enabledelayedexpansion
set emd_chew_pathb=%~dp0
echo Running in: %emd_chew_pathb%

:: The path to Addons
set emd_chew_addon=F:\Games\Steam\steamapps\common\GarrysMod\garrysmod\addons
:: The path to Garry's mod
set emd_chew_gmod=F:\Games\Steam\steamapps\common\GarrysMod

:: The path to Garry's mod addons folder
set emd_chew_addon=%emd_chew_gmod%\garrysmod\addons

:: Location of "gmad.exe"
set emd_chew_binloc=%emd_chew_gmod%\bin

:: The path to the "trackassembly_init.lua"
set emd_chew_dbase=%emd_chew_addon%\TrackAssemblyTool_GIT\lua\autorun\trackassembly_init.lua

:: The path to the skipped models list
set emd_chew_skip=%emd_chew_addon%\TrackAssemblyTool_GIT\data\peaces_manager\models_ignored.txt

:: Location of "gmad.exe"
set emd_chew_binloc=F:\Games\Steam\steamapps\common\GarrysMod\bin

:: How many addons are to be processed
set emd_chew_addcnt=2
set emd_chew_addcnt=13

:: GMA addtons to be processed
:: GMA addons to be processed
set emd_chew_addlst[1]=sligwolfs_minitrains_149759773
set emd_chew_addlst[2]=sligwolfs_modelpack_147812851
set emd_chew_addlst[3]=sligwolfs_rerailer_132843280
set emd_chew_addlst[4]=sprops_workshop_edition_173482196
set emd_chew_addlst[5]=[1-gauge]_magnums_train_model_pack_290130567
set emd_chew_addlst[6]=shinji85s_rails_train_pack_326640186
set emd_chew_addlst[7]=sligwolfs_rail_car_173717507
set emd_chew_addlst[8]=steventechnos_buildings_pack_331192490
set emd_chew_addlst[9]=mr.train_m_gauge_517442747
set emd_chew_addlst[10]=g_scale_track_pack_718239260
set emd_chew_addlst[11]=rons_minitrain_props_728833183
set emd_chew_addlst[12]=battleships_abandoned_rails(penn_central_simulator_2017)(wip)_807162936
set emd_chew_addlst[13]=alexcookies_2ft_track_pack_740453553

:: Folder list for extraction and the directories they will be extracted
set emd_chew_adddir[1]=SligWolf's Minitrains
set emd_chew_adddir[2]=SligWolf's Minihover$SligWolf's White Rails
set emd_chew_adddir[3]=SligWolf's Rerailers
set emd_chew_adddir[4]=SProps
set emd_chew_adddir[5]=Magnum's Rails
set emd_chew_adddir[6]=Shinji85's Rails
set emd_chew_adddir[7]=SligWolf's Railcar
set emd_chew_adddir[8]=StephenTechno's Buildings
set emd_chew_adddir[9]=Mr.Train's M-Gauge
set emd_chew_adddir[10]=G Scale Track Pack
set emd_chew_adddir[11]=Ron's Minitrain Props
set emd_chew_adddir[12]=Battleship's abandoned rails
set emd_chew_adddir[13]=AlexCookie's 2ft track pack

:: AUTOMATIC STUFF ::

Expand All @@ -43,7 +69,7 @@ for /L %%k in (1,1,%emd_chew_addcnt%) do (
call %emd_chew_binloc%\gmad.exe extract -file "%emd_chew_addon%\!emd_chew_addlst[%%k]!.gma" -out "%emd_chew_pathb%!emd_chew_adddir[%%k]!"
)

:: Get all the model files in the current direcory
:: Get all the model files in the current directory
dir /a-d /b /s *.mdl >> %emd_chew_pathb%%emd_chew_modls%.txt

:: Refresh output files
Expand All @@ -52,6 +78,6 @@ del %emd_chew_pathb%db-addon.txt

:: Chewing the paths uses base path relative to the executable
echo Rinning pieces manager
call %emd_chew_pathb%chewpath.exe %emd_chew_pathb% %emd_chew_dbase% %emd_chew_skip% %emd_clog_lfile%
call %emd_chew_pathb%peaces_manager.exe %emd_chew_pathb% %emd_chew_dbase% %emd_chew_skip% %emd_clog_lfile%

timeout 300
Loading

0 comments on commit c8fc83f

Please sign in to comment.