Euro Truck Simulator 2 How to Convert Files Without Editing Batch File Always

Euro Truck Simulator 2 How to Convert Files Without Editing Batch File Always 1 - steamsplay.com
Euro Truck Simulator 2 How to Convert Files Without Editing Batch File Always 1 - steamsplay.com
Converting pmd/tobj files with convert_pic much faster without editing a batch file all the time

 

Tutorial

YouTube player

You can download the convert.bat drive.google.com – https://drive.google.com/file/d/1oQ2whFCbz8o4CvfzJudHo47KGMw6SPlS/view?usp=sharing

Alternative you can follow the tutorial.

1.Create a textfile in the same directory where the “base” and “def” folders are located and insert following lines :

@echo off
setlocal enableextensions


set basepath=%~dp0
set fileName=%*


if %~x1==.pmd (
goto :model
) else if %~x1==.tobj (
goto :tobj
) else if %~x1==.dds (
goto :dds
)


:model
set fileName=%fileName:~0,-4%
set ModelName=%fileName%
set ModelName=%ModelName:base=base -m %

cd %basepath%
converter_pix -b %ModelName%
pause
exit /B

:tobj
set TobjName=%fileName%
set TobjName=%TobjName:base=base -t %

cd %basepath%
converter_pix -b %TobjName%
pause
exit /B

:dds
set DdsName=%fileName%
set DdsName=%DdsName:base=base -d %

cd %basepath%
converter_pix -b %basepath% -d %*
pause
exit /B

2.Save the textfile as convert.txt or if it’s possible directly as convert.bat.
3.Rename the textfile to convert.bat (if you haven’t it saved directly as bat file)

How to use it?

Just drag and drop a *.pmd or a *.tobj onto the convert.bat file.
That’s all have fun 🙂

Written by d-luX

This is all for Euro Truck Simulator 2 How to Convert Files Without Editing Batch File Always hope you enjoy the post. If you believe we forget or we should update the post please let us know via comment, we will try our best to fix how fast is possible! Have a great day!


Be the first to comment

Leave a Reply

Your email address will not be published.


*