Jump to content

Secure Pack system and PackMaker with usefull UI + LRU Cache that loads files from RAM after first load


Recommended Posts

  • Active+ Member

hi i was working on my packing system that will be secure and fast and it was main challenge 
i used XXH3 and SSE2/AVX2 functions for decrypting keys inside my pack system VFS and for security features and decided to make LRU Cache system for smaller files than 1-2 MBs
i was making client unpacks in past so i knew where was weak points inside all VFS in this game and i made it far better than standard EterPack / FoxFS 


Here is presentation how it works in game on clean martysama source yeah i know it uses more ram than standard eterpack/foxfs but its not bug thats how LRU Cache works 🙂 

https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif


 

how my PackMaker looks like:
 

.png

.png


.png

.png

If you have any sugestions what to add im open 🙂 

 

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Metin2 Dev 1
  • Good 1

spacer.png

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.