Jump to content

Recommended Posts

Posted (edited)

 

This is the hidden content, please

This system enables the Metin2 client to load files directly from folders instead of requiring them to be packed into EterPack archives. It is designed for developers who want a faster workflow, easier debugging, and real-time asset editing without the need to constantly repack files. In the next few days, I will add support for reloading resources without having to close and reopen the client.

The full implementation is included in the attached EterPackManager.cpp. Search for the ENABLE_ETERPACK_FOLDER_AS_PACK define and copy the related code into your own EterPackManager.cpp.

To enable the feature, add the following define at the top of EterPackManager.cpp, after the include statements:

#define ENABLE_ETERPACK_FOLDER_AS_PACK

 

If you encounter any issues or have questions, feel free to let me know and I'll take a look.

Edited by mmorse3399
  • Metin2 Dev 39
  • Good 1
  • Love 10
Link to comment
https://metin2.dev/topic/34540-direct-file-system-dfs/
Share on other sites

Posted (edited)
14 minutes ago, Abel(Tiger) said:

But doesn't the standard EterPackManager already have this ? 

m_iSearchMode == SEARCH_FILE_FIRST
CEterPackManager::Instance().SetSearchMode(bPackFirst);

It has no effect (U can try yourself).. At least for me this file mode first setting did nothing

Edited by mmorse3399
Link to comment
https://metin2.dev/topic/34540-direct-file-system-dfs/#findComment-175575
Share on other sites

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.