Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

In this guide, we will address issues related to FPS drops and slow loading times that gamers commonly encounter, particularly with setups that involve external storage devices like CD/DVD-ROMs. We'll be making specific modifications to the EterPackManager.cpp to enhance performance and streamline file loading.

Steps to Resolve the Issues

1. Modifying EterPackManager.cpp

First, you need to update the following two functions:

Current Function Implementation:

 
This is the hidden content, please

Alternative Implementation:

Replace the function with the following code:

 
This is the hidden content, please

2. Checking File Existence

Next, you will modify the isExist method:

 
This is the hidden content, please

3. Updating the Function in CEterPackManager::GetFromFile

Comment out the line:

 
This is the hidden content, please

4. Modifying User Interface

In the UserInterface file, locate the function:

 
This is the hidden content, please

Then modify:

 
This is the hidden content, please

Understanding the Issues

This is a common problem faced across various implementations, particularly due to the game attempting to load files from the D:/ymir work directory first. If the device letter for your DVD/CD-ROM drive is D, the game can run particularly slow (making it nearly unplayable for some users). It's worth noting that the presence of the ymir work folder is not necessary for these issues to arise; simply having a D drive can cause performance degradation.

Benefits of the Solution

By applying the solution above, you can expect the following improvements:

  1. The client will no longer read files from D:/ymir, significantly improving load times.
  2. Faster startup and loading time for the client application.
  3. Fewer instances of FPS drops during gameplay.

Performance Comparison:

 

The bug manifests primarily when a CD/DVD-ROM drive is present on the computer or laptop with the letter D.

Compilation Instructions

Make sure to compile your source code in Release mode to ensure optimal performance and stability.

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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.

spacer.png

Disable AdBlock
The popup will be closed in 5 seconds...