Frank Posted June 7, 2021 Posted June 7, 2021 Hey guys, i would like to use file editor in order to mass export my .dat files into .txt. As I can see file editor already has this feature but it can be used with one file at a time, anyone knows the cmd command for it? Thank you
melron Posted June 7, 2021 Posted June 7, 2021 (edited) Try to open your file edit with Strings.exe to find out (maybe) all the possible arguments that an .exe can starts with. use Quote strings pathtoyourexe.exe > params.txt Expand If you do it right, you will get a lot of results. open it with notepad++ and play with regexes to find lines that starts with - or / etc. example ^[-].* for lines that starts with -. Keep in mind, that generally is hard to find out the exact commands just because you cant really know how the dev designed the params. GL Edited June 7, 2021 by melron
Frank Posted June 7, 2021 Author Posted June 7, 2021 On 6/7/2021 at 5:48 AM, melron said: Try to open your file edit with Strings.exe to find out (maybe) all the possible arguments that an .exe can starts with. use If you do it right, you will get a lot of results. open it with notepad++ and play with regexes to find lines that starts with - or / etc. example ^[-].* for lines that starts with -. Keep in mind, that generally is hard to find out the exact commands just because you cant really know how the dev designed the params. GL Expand Thank you for your suggestion I might try it if nobody knows the command already.
Piaro Posted June 7, 2021 Posted June 7, 2021 On 6/7/2021 at 2:12 AM, Frank said: Hey guys, i would like to use file editor in order to mass export my .dat files into .txt. As I can see file editor already has this feature but it can be used with one file at a time, anyone knows the cmd command for it? Thank you Expand You mean this? Decrypt l2encdec_old -s skillname-e.dat dec-skillname-e.dat Decrypt .dat file to .txt l2disasm.exe -d skillname-e.ddf -e skillname-e-new.ddf dec-skillname-e.dat skillname-e.txt .txt to .dat l2asm.exe -d skillname-e-new.ddf skillname-e.txt dec-skillname-e.dat Encrypt .dat l2encdec_old -h 413 dec-skillname-e.dat skillname-e.dat 2
CriticalError Posted June 7, 2021 Posted June 7, 2021 On 6/7/2021 at 3:56 PM, Piaro said: You mean this? Decrypt l2encdec_old -s skillname-e.dat dec-skillname-e.dat Decrypt .dat file to .txt l2disasm.exe -d skillname-e.ddf -e skillname-e-new.ddf dec-skillname-e.dat skillname-e.txt .txt to .dat l2asm.exe -d skillname-e-new.ddf skillname-e.txt dec-skillname-e.dat Encrypt .dat l2encdec_old -h 413 dec-skillname-e.dat skillname-e.dat Expand here is the answer
Frank Posted June 7, 2021 Author Posted June 7, 2021 On 6/7/2021 at 3:56 PM, Piaro said: You mean this? Decrypt l2encdec_old -s skillname-e.dat dec-skillname-e.dat Decrypt .dat file to .txt l2disasm.exe -d skillname-e.ddf -e skillname-e-new.ddf dec-skillname-e.dat skillname-e.txt .txt to .dat l2asm.exe -d skillname-e-new.ddf skillname-e.txt dec-skillname-e.dat Encrypt .dat l2encdec_old -h 413 dec-skillname-e.dat skillname-e.dat Expand Did the trick! Thank you!
Recommended Posts