Jump to content

Recommended Posts

Posted

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

Posted (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

 

 

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
Posted
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.

Posted
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
Posted
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 😄

Posted
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!

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


  • Posts

    • Thank you for the reply. I know that this issue is due to L2 being so old. I was just wondering if there was an external way to fix the UI scaling. Like a patch or some settings.
    • Bro the game is so old it doesn't have a native option to scale the UI like in modern MMOs
    • Dear players, From April 19 to April 27 inc., the Bonus Start event will be active. It’s designed to help new and low-level characters get started more easily.   All characters that meet one of the following conditions: — created less than 3 days ago (regardless of level), — currently level 20 or below, — created during the event period, will receive upon login: — 10 sets of buff scrolls (phys or mage, depending on class), — 10 packs of +50% Drop/Spoil runes (2 hours each), — 10 packs of +50% Exp runes (2 hours each). Characters between level 21 and 30 will receive upon login: — 6 sets of buff scrolls, — 6 packs of +50% Drop/Spoil runes (2h each), — 6 packs of +50% Exp runes (2h each).   Event items will be removed approx. 09.05.2025 Server rates will be increased to x2.25. Take this chance to start your journey with ease or bring an old hero back into the fight — it’s the perfect time to test your strength! Open Beta Test is started!  Helper cats are waiting in towns — talk to them to receive the necessary equipment and level up your character. Siege Schedule:  - April 13 at 16:00 (GMT+2) – Innadrile Castle - April 14 at 20:00 (GMT+2) – Bandit Stronghold - April 15 at 20:00 (GMT+2) – Devastated Castle 📌 During the OBT, players who report bugs will receive CoL:   - 1 CoL for each reported staticmeshes bug (e.g., walking through textures, stairs, etc.) - 2 CoL or more for server-related issues (depending on severity) You can report bugs on the forum. The Open Beta Test will run approximately until April 15 at 23:00 (GMT+2). Your activity and feedback will help us improve the game.   Download links: Download client | Download updater 
    • begin if (user.dead) then begin delay(555); Engine.GoHome(rtCastle); print('User dead, going to castle..') end; end.  
    • Hello everyone. Long time no see. I've been trying to play L2 on my 4k monitor, however the UI is extremely small.  I checked around the internet and couldn't find a guide on how to keep the resolution high and the UI size a bit bigger. I either get small UI + full resolution (correct resolution of monitor), or normal sized UI but resolution set to full HD (which doesn't really look good on a 4k screen). Adjusting scaling on display settings doesn't change the UI just the text on L2. Does anyone know a way to increase the UI size only and keeping the screens resolution same (4k) ? I'll share a screenshot as an example, and it 's not even full screen mode. https://freeimage.host/i/3cvPVnI  
  • Topics

×
×
  • Create New...