-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load resource pack #2
Comments
@owend Replace the body of
|
I've run into the same issue (on Ubuntu 18.04). Trying the above suggestion resulted in a different error:
This might be a silly question... but are there even meant to be any loadable assets as part of this template? |
@thoughton did you run the As for your question, halley is a source based library. You just plug-in the source in your game project and start using this library. And it happens that halley itself needs a minimal amount of assets (included in the halley repo) for it to work. You need to import those assets with In my case the problem was that the tool was collecting the assets in |
Ah right, no I hadn't run So I now have the |
@thoughton The wiki contains info about building and running the games. The api documentation is incomplete but the engine source appears to be quite clean and easy to understand (at least the parts I've read). |
@sagartewari01 Oh I hadn't seen the wiki - thanks! |
You need to run halley-cmd pack asset-manifest.yaml /dir/to/proj /dir/to/halley after right? Unless you replace the locator to the unpacked path as @sagartewari01 said Also just noticed you can add encryption keys to the YAML which is pretty cool for packing assets when it comes to release :) |
Got it to compile[1] but on running bin/halleyproj it throws an error:
Unhandled exception: Unable to load resource pack "/Users/zzz/Projects/halley-template/assets/game.dat"
I wasn't able to find a sample .dat file so I'm not sure if that is expected or not?
[1] It actually didn't compile out of the box, the test classes in the halley submodule seem to be the latest git master but are using an older interface for some internal function calls, like:
-void initSDLSystemPlugin(IPluginRegistry ®istry);
+void initSDLSystemPlugin(IPluginRegistry ®istry, Maybe cryptKey);
and
-bool isDevBuild() const override
+bool isDevMode() const override
Should I open a separate bug about that?
The text was updated successfully, but these errors were encountered: