Skip to content
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

Change "res" folder path to something else #254

Open
cullenohara opened this issue Aug 30, 2024 · 0 comments
Open

Change "res" folder path to something else #254

cullenohara opened this issue Aug 30, 2024 · 0 comments

Comments

@cullenohara
Copy link

cullenohara commented Aug 30, 2024

I was wondering if there was an easy way to change where HIDE looks for Resources?
I adjusted DataFiles.hx to read from "data" instead of "res":

static dynamic function getPath(file:String) { #if (editor || cdb_datafiles) return Ide.inst.getPath(file); #else return "data/"+file; #end }

but HIDE still tries to use "res" as the path for cdb.

The reason I ask is I am trying to utilize HIDE in a Godot project, which is a weird combo I know, mostly because I really like the functionality/mod-ability of HIDE as well as castleDB. Godot's internal path structure is "res://" but it isn't externally accessible that way so my structure would look like "res://res/" which hurts my eyes. lol

I also didn't see it as an option in defaultProps.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant