Jump to content

Dragon Nest custom encrypted .RFS archive


Recommended Posts

  • 2 weeks later...
Posted

Hello again! Bumping a thread. Hope someone can help me out. Trying to do it myself with zero knowledge and chat-gpt - obviously nothing. Hope someone can help me please. Thank you again and Happy Valentines Day everyone. 

  • Moderators
Posted

Hi. After reading your first post, not everything is clear to me. I would appreciate some more info on the topic:
 1. How did you unpack this archive before encryption was changed? Is there any tool/script for the old archive file? Can you link it?
 2. What do you mean by "it hooks a .dll"? You mean that there are some custom hooks created by some reverse engineer? Can you link that as well?
 3. What do you mean by "There is a .zip with all files in folder and one .RFS inside of Data folder"? I can see only one RFS file there, no ZIP is present.
 4. Is this game still available to play/debug? I saw it was released in 2010, so I'm just wondering.

  • Like 1
Posted
10 minutes ago, ikskoks said:

Hi. After reading your first post, not everything is clear to me. I would appreciate some more info on the topic:
 1. How did you unpack this archive before encryption was changed? Is there any tool/script for the old archive file? Can you link it?
 2. What do you mean by "it hooks a .dll"? You mean that there are some custom hooks created by some reverse engineer? Can you link that as well?
 3. What do you mean by "There is a .zip with all files in folder and one .RFS inside of Data folder"? I can see only one RFS file there, no ZIP is present.
 4. Is this game still available to play/debug? I saw it was released in 2010, so I'm just wondering.

Hello! Thank you for reply!
1) It's a private server based on official one from Dragon Nest game. I created a topic about 5 years ago and user named Ekey helped me. I'll put a link with whole thread about it, maybe it will be useful https://www.zenhax.com/viewtopic.php@t=13100.html. They changed the whole encryption system and file format and instead of .pak there is .rfs now.

2) On the thread I left above Ekey explains it. I dunno if it's still a thing in a new version, just thought it maybe will be useful to write about it as well. The game is pretty old and as much as I know private servers of this game making custom encryptions every time, but it's got decrypted because the game is old already. Back then as I know it it used XTEA and XOR keys. I still dunno how Ekey got it worked that fast. I was able to contact him few days ago and sadly he said that he doesn't have desire and time to help again with that.

3) Sorry for miswriting. I meant I uploaded a zip on mediafire that contains a game folder and one of these .rfs in Data folder. I didn't include others (there are 9 of these in general). Data0 and Data1 are about 120mb, while Data2-Data8 are about 2gb per file.

4) Yeah, this is a private server as I said and it's still playable. Official ones are still can be unpacked with QuickBMS script from 2011, while private servers are customly encrypting files with each update. I probably should tell why I need it - I just need to look into localization file to play on official server. This private one using a pretty good translation file and I wanted to make a mod to play with comfort on other server.

Thank you again for reply!

  • Like 1
  • 3 weeks later...
  • 4 months later...
Posted
On 2/15/2025 at 1:15 AM, Omnix said:

4) Yeah, this is a private server as I said and it's still playable. Official ones are still can be unpacked with QuickBMS script from 2011, while private servers are customly encrypting files with each update. I probably should tell why I need it - I just need to look into localization file to play on official server. This private one using a pretty good translation file and I wanted to make a mod to play with comfort on other server.

 

Hi op, first of all sorry that I don't have anything helpful to solve your problem
I have 0 knowledge in this stuff, I followed someone's blog (Dragon Nest Data Mining PAK DNT File) to unpack game archive. You mentioned that official ones are still unpackable with the old script, do you perhaps know if the script still able to unpack DN Classic PAK as well? I've been trying to unpack it with the script i've found online, but it doesn't seem to work. Here's the script I refer:

IDString "EyedentityGames Packing File 0.1"
goto 0x104
get Files long
get noffset long 
goto noffset 
for i = 0 < FILES
getdstring NAME 0x100
get ZSIZE long
get SIZE long
get ZSIZE1 long
get OFFSET long
get UNK3 long
getdstring NULL1 0x28
clog NAME OFFSET ZSIZE SIZE
next i


and here's the error log I got

image.png.c155f8c8da3c7588fb71a78d378c28ca.png

Would be really glad if you could help me in this regard

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...