Help keep our website online! All contributions go directly into Server/Hosting costs or to keep the website upgraded! If we reach our goal the site is Ad Free until the end of the next month for all Registered Members!
Thank you everyone for your contributions! We've met our goal for October, so the site will be Ad-Free for all Registered and Logged-In Members until the end of November! Help us meet our goal in November to make it to the end of the year!
How to extract/edit TL2 item files, V009/v010 [With images]
[size=120]I will also add /spoiler to images so you won't have chronic scroll-down-all-the-time.
Note: This is for version 006, 007, 008, v009 (Python) and v010 (.EXE) of cienislaw's tools
(PYTHON ROUTE) I also recommend creating a copy of your TL2 folder somewhere else so if somethings goes wrong on the copy, you can easily replace it with the un-edited DATA.PAK/.MAN [size=120]IF YOU USE PYTHON.
(EXE ROUTE: RECOMMENDED) You do not need to worry about this if you plan on using fgaaghf's torch2packer.
~OPTIONAL STEPS IF TAKING THE PYTHON ROUTE~
Download, extract, and Install Python 32 bit first to your C:\ or your main drive for ease of use. Upon installing it should be in a directory like this "C:\Python27\"
After this, install MurmurHash3 win32 binary. It should auto-locate your Python installation and just click next next finish and should be good to go.
Install Python win32 extension next. Again, it should auto-locate and install just fine.
Extract dat2txt_009.rar or v010 somewhere where you will remember.
STEP 1: Torchlight 2 Extractor. Required Step.
Now, download, extract and run Torchlight 2 Extractor (Make sure you have it set to English and not Czech if you can't understand Czech.
Click "Open File" near the top left and navigate to where your DATA.PAK file is in your TL2 directory is. For me it is C:\Program Files (x86)\Torchlight II\PAKS\
If you have Steam for TL2, it's more than likely going to be in C:\Program Files (x86)\Steam\steamapps\common\Torchlight II\PAKS
Set an extract path by clicking the wires near the top right. My extraction path is on my desktop.
Click save all. Give it some time, but you may run into some errors which is fine at the moment.
You will then have a MEDIA folder wherever you extracted it too with a bunch of .DAT files.
STEP 2-A (recommended): This spoiler is for extracting all of the .dat files in the MEDIA folder to .txt files. This will use v010 of cienislaw's dat2txt/txt2dat scripts now in .exe form! DOES NOT REQUIRE PYTHON
First off, extract dat2txt_exe_010.rar anywhere you wish. I extracted mine to my downloads folder.
Next, copy the location of where you put dat2txt_v010. Mine would be C:\Users\Kalamari\Downloads\dat2txt_exe_010\
(ENTER CLOSES PROMPT) Double click dat2txt.exe and type in dat2txt.exe Location-of-MEDIA-folder Location-of-TXT-folder (I have no idea on how to get this to work..)
([color=#00FF00]RECOMMENDED) Open up command prompt and type in "cd" and right-click and paste. Or type out the location of where your dat2txt is.
Next, type in "dat2txt.exe Location-of-MEDIA-folder Location-of-TXT-folder
Depending on the power of your PC, this will take about 7 minutes.
After it is done, go to whatever your named your new folder and you will see A LOT of .txt files. About 16000.
STEP 2-B: This spoiler is for extracting all of the .dat files in the MEDIA folder to .txt files. REQUIRES PYTHON. If you just wish create one specific .txt, scroll down a bit more.
A LOT OF IMAGES IN THIS SPOILER.
Here comes the goofy part.
Go to your Control Panel. Click on System if you have it in the icon view type.
Advanced System Settings
On this one, in the SYSTEM VARIABLES section, scroll down a bit and click on PATH and click EDIT. I overwrote what was in the PATH section by accident, but no problems have came up. Just add this at the end of the PATH.
Now remenber dat2txt_009? Find where that folder is and copy/paste it into the Python27 directory. cienislaw doesn't recommend this but It's easier for me.
Click the start button or hit your windows key type in "cmd" which will bring up command prompt.
Now type in
or copy this and in command prompt right click > paste > enter
Now type in
which will then bring up the prompt below.
Now remember where you put your MEDIA folder? You're going to need to where that is. Type this in: