Batch file to change all adm to text.

Want to share your mod with the world? Feel free!

Batch file to change all adm to text.

Postby nanenj » Fri Oct 30, 2009 5:23 pm

This requires TLDAT from this thread: viewtopic.php?f=6&t=2903

Decompress Pak.zip in your torchlight folder, this will create a media folder and inside that will be all the torchlight data.

Copy TLDAT to your media folder, and the copy/paste the following code as decode.bat in the media folder.

Code: Select all
for /f "delims=" %%a IN ('dir /s /b *.adm') do tldat "%%a"


Double click the bat file and after a short while all the .adm files should have plain text versions without the .adm extension. You can use any of these files as the basis for a mod :)

Wasn't sure if this went better here or in mod discussion.
nanenj
 
Posts: 132
Joined: Thu Oct 29, 2009 8:26 am

Re: Batch file to change all adm to text.

Postby Marsh » Fri Oct 30, 2009 6:30 pm

HEY!!!!!!!!!!


...I think you just became my hero!


Just want to let people know all these files will be released with the editor in plain text form as well. BUT THIS IS JUST FREAKIN' AWESOME!!
User avatar
Marsh
Runic Staff
 
Posts: 677
Joined: Fri Jun 05, 2009 3:21 pm

Re: Batch file to change all adm to text.

Postby jamesL » Fri Oct 30, 2009 8:10 pm

cool, very useful

one little addition to the bat file
Code: Select all
for /f "delims=" %%a IN ('dir /s /b *.adm') do tldat "%%a"

rem this makes a file called torchlight_dats.txt
rem in the user's folder
rem and writes the location of all the dat files

dir /s *.dat > %USERPROFILE%\torchlight_dats.txt
I don't have a sig
jamesL
 
Posts: 3356
Joined: Fri Jun 05, 2009 7:01 pm

Re: Batch file to change all adm to text.

Postby bTomfoolery » Fri Oct 30, 2009 8:13 pm

a...awesome :shock:

I was just looking for something to do this.

I think I love you.
~Benjamin Tomfoolery
Website|Steam|XBL|PSN
Truth, Justice, Freedom, Reasonably Priced Love, and a Hard Boiled Egg
User avatar
bTomfoolery
 
Posts: 285
Joined: Sun Aug 16, 2009 12:49 pm
Location: Bellevue, Washington

Re: Batch file to change all adm to text.

Postby Epitaph64 » Sat Oct 31, 2009 1:06 am

Wow, this should really up the pre-editor modding quite a bit! Thanks
Epitaph64
 
Posts: 121
Joined: Mon Oct 19, 2009 3:49 pm

Re: Batch file to change all adm to text.

Postby MonTy » Sat Oct 31, 2009 3:36 am

Holy cow dude. Thank you!
MonTy
 
Posts: 44
Joined: Tue Oct 27, 2009 5:05 am

Re: Batch file to change all adm to text.

Postby Reknorak » Mon Nov 02, 2009 3:38 am

Epic, thanks :D
Be Just or Be Dead.
User avatar
Reknorak
 
Posts: 36
Joined: Wed Sep 02, 2009 3:52 am
Location: Canadaland BC

Re: Batch file to change all adm to text.

Postby Coney » Mon Nov 02, 2009 3:42 am

Some give this guy an internet! He clearly won it :D :D This is great :shock: :shock:
I want more mods... And less whining... Get a grip people...
User avatar
Coney
 
Posts: 104
Joined: Wed Oct 28, 2009 5:10 am

Re: Batch file to change all adm to text.

Postby Miniver » Sun Nov 08, 2009 10:27 am

Holy F.

Thanks.
User avatar
Miniver
 
Posts: 151
Joined: Thu Nov 05, 2009 10:23 am

Re: Batch file to change all adm to text.

Postby Avenue » Sun Nov 08, 2009 1:47 pm

nanenj wrote:This requires TLDAT from this thread: viewtopic.php?f=6&t=2903

Decompress Pak.zip in your torchlight folder, this will create a media folder and inside that will be all the torchlight data.

Copy TLDAT to your media folder, and the copy/paste the following code as decode.bat in the media folder.

Code: Select all
for /f "delims=" %%a IN ('dir /s /b *.adm') do tldat "%%a"


Double click the bat file and after a short while all the .adm files should have plain text versions without the .adm extension. You can use any of these files as the basis for a mod :)

Wasn't sure if this went better here or in mod discussion.

Thanks, this is pretty useful.

I downloaded the v2 mod of the cat so it would be bigger, but there's no change in size. I also tried to edit my Dog.DAT.adm and change the scale to 1.6 but there was also no change in size.
User avatar
Avenue
 
Posts: 141
Joined: Fri Oct 30, 2009 3:36 pm
Location: Tamaulipas, Mexico

Re: Batch file to change all adm to text.

Postby sneekz » Tue Nov 10, 2009 11:42 am

i cant get this to work i get up to the copy and paste the tldat.exe into my media folder and then after that idk what to do...
sneekz
 
Posts: 1
Joined: Tue Nov 10, 2009 11:40 am

Re: Batch file to change all adm to text.

Postby jamesL » Tue Nov 10, 2009 11:49 am

1: copy the pak.zip to your documents folder
2: unzip that copy of the pak.zip, this will create a folder named pak
3: copy tldat.exe into the pak folder
4: open notepad
5: paste this into notepad
Code: Select all
for /f "delims=" %%a IN ('dir /s /b *.adm') do tldat "%%a"
dir /s *.dat > torchlight_dats.txt

6: save the file as make_dats.bat
7: save it in the pak folder
8: double click on make_dats.bat
9: wait 3 minutes (more or less)
10: open and read torchlight_dats.txt
I don't have a sig
jamesL
 
Posts: 3356
Joined: Fri Jun 05, 2009 7:01 pm


Return to Mod Showcase

Who is online

Users browsing this forum: No registered users and 3 guests