Jump to content
×
×
  • Create New...
  • 0

Eterpack Library - Files not found


Sphinx²

Question

Hello guys,

 

right now I'm working on my base client and I have errors that I saw often.

Now I just try to fix them but I can't find the reason for that stupid error.

 

The error description:

- Sometimes I have terrains(textures) or actually dds files that can not be loaded by the eterpack library.

 

 

CEterPackManager::Get (Called from CResource::Load()) return false but the file is existing in the archive (for sure)

#ifdef _DEBUG
		if(!GetFromPack(rMappedFile, c_szFileName, pData)) {
			Tracenf("CEterPackManager::Get: Failed to get file from pack %s.",c_szFileName);
			if (GetFromFile(rMappedFile, c_szFileName, pData))
			{
				return true;
			} else {
				Tracenf("CEterPackManager::Get: Failed to get file from dir %s.",c_szFileName);
				return false;
			}
			return false;
		}
#else
		if (GetFromFile(rMappedFile, c_szFileName, pData))
		{
			return true;
		}
		return GetFromPack(rMappedFile, c_szFileName, pData);
#endif

Now I decided to change the file type to 0 (My friend xXDemonenXx had the idea).

Then it works.

Actually I search the reason for that but I can not find that.

 

With type 2 the file not exists and the terrain is white but with type 0 it is still here.

Does anyone of you guys had the same problem or have any idea whats the reason for that?

 

Kind regards

Sphinx

 

 

 

 

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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


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.