About Store Forum Documentation Contact



Post Reply 
Can't Load Pak?
Author Message
Kartari Offline
Member

Post: #1
Can't Load Pak?
Hi again,

I am evaluating developing Esenthel projects from within Visual Studio (the Community 2013 version specifically). I'm able to build and run both the Tutorials and the Ineisis server and client applications perfectly fine within the Esenthel Editor. I can also build both from within Visual Studio perfectly fine as well.

But I encounter a similar error message with every project in Visual Studio every time I try to either Run with Debugging (Ctrl-F5) or Run without Debugging (F5). With Tutorial 4 - Using Assets for instance, I get this specific error:

Quote:Can't load pak "Bin/Engine.pak"

And with Ineisis Server, I get this one:

Quote:Can't load pak "Bin/Data.pak"

I can find nothing I'm missing from reading the online documentation, nor can I find anything via Google that's helpful. But I must be missing something, so... what am I missing?

Thanks!
03-12-2015 11:55 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Can't Load Pak?
Hi,

If you're using "Export to VS" command, then it will set
Code:
const bool EE_PUBLISH       =false; // this is set to true when compiling for publishing
to -true- in Auto.cpp file (check it in VS), which then affects the function
"void EE_INIT(bool load_engine_data, bool load_project_data)"

during development you can set EE_PUBLISH to false.

If you use "Open in VS" instead of "Export to" then EE_PUBLISH remains as false.
03-13-2015 08:19 AM
Find all posts by this user Quote this message in a reply
Kartari Offline
Member

Post: #3
RE: Can't Load Pak?
Thanks so much, it works now. smile

Out of curiosity, this leads me to wonder why one would choose to Export rather than Open EE projects in Visual Studio?
03-15-2015 09:55 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Can't Load Pak?
I use Export when distributing the Editor source through GitHub.
And Open in VS when doing tests (debugging) on my computer.
03-16-2015 04:02 AM
Find all posts by this user Quote this message in a reply
Kartari Offline
Member

Post: #5
RE: Can't Load Pak?
I see. Thanks again.
03-16-2015 05:23 AM
Find all posts by this user Quote this message in a reply
Post Reply