Jump to content

L2File Editor Question


Recommended Posts

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

Link to comment
Share on other sites

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

 

 

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 by melron
Link to comment
Share on other sites

7 hours ago, 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

 

Thank you for your suggestion I might try it if nobody knows the command already.

Link to comment
Share on other sites

13 hours ago, 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

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

  • Like 2
Link to comment
Share on other sites

1 hour ago, 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

here is the answer 😄

Link to comment
Share on other sites

4 hours ago, 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

Did the trick! Thank you!

Link to comment
Share on other sites

  • Frank locked this topic
Guest
This topic is now closed to further replies.


  • Posts

    • Someone ask me for this, it should work on any client that has Kamael race, preview:     Installation - there are two ways to install depending on how you want to use it:   Method 1: If you want to completely replace the original, do:   Copy all lines from your armorgrp to Notepad++, press Ctrl+H, check the "match whole word" option and replace:   kamael.Mkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_MKamael_m001_w_ad00   Then replace:   MKamael.Mkamael_m000_t00_w   by:   AvengersKamaelWings.MKamael_m001_t00_w   Now repeat the same process with the female, replace:   kamael.Fkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_FKamael_m001_w_ad00   Then replace:   FKamael.Fkamael_m000_t00_w   by:   AvengersKamaelWings.FKamael_m001_t00_w   You're done, paste everything back into File Edit and save!   Method 2: If you only want to replace in specific sets, execute the above process only on the armorgrp of those sets.   Repack by: AvengersTeamBr Password: LadrãoDeFrango      
    • 用于解密、加密和编辑 .u 文件的工具。
    • It's always awesome when you find someone who not only delivers great quality but also does it way ahead of schedule. Makes you feel like you hit the jackpot, right? I'm new around here, just stumbled upon this forum, and seeing posts like yours really gives me hope that there are some real pros hanging out in this community.
    • Dear friends! We have good news to announce that the server that will open in June 1 will be the Main server and every 4 months we will make another season server and integrate ( merge ) it into the main that will always be open..  
  • Topics

×
×
  • Create New...