Comments (2)
Just for reference here is the first / current approach
-
Check if there is a
_import
folder in the root of the mod folder -
Copy everything inside the import folder into
res://.import
-
I forgot about this part π
This file system is read-write only when running the project locally from the editor. When exported or when running on different devices (such as phones or consoles, or running from DVD), the file system will become read-only and writing will no longer be permitted.
[*https://docs.godotengine.org/en/stable/tutorials/scripting/filesystem.html#resource-path*](https://docs.godotengine.org/en/stable/tutorials/scripting/filesystem.html#resource-path)
- So the only option then is to rewrite the .import files?
Rewriting the .import files
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/CheckedBox.png-2de33354470b091a4ff1e85a8aa8163f.stex"
metadata={
"vram_texture": false
}
- Search mod directory for
.import
files - Open File
- Replace
path
withβres://modFolderName/_import/filename.somethingβ
- Save File
- ez
from godot-mod-loader.
Closed by #10
from godot-mod-loader.
Related Issues (20)
- π Contributors - Getting Started π
- [4.x] Duplicating a global named script class (i.e. in `script_extension.gd`) causes an error. HOT 7
- autoload position check only uses `current_options`
- Possible memory leak with script extensions HOT 1
- `load_before` should allow setting the same mod as `optional_dependency` or `dependency`
- add a nice way for mods to check if another mod is in use (loaded and active)
- latest build kinda doesen't work with self-setup guide HOT 4
- Add a ziped version of the loader to releases that can be used for self-setup. HOT 1
- Update Example Mods HOT 1
- User Profiles - mod dependency handling HOT 1
- Self setup missing classes crash HOT 1
- Extending scripts attached to a preloaded scene HOT 1
- Load extensions and overwrites from directory HOT 2
- edit / extend custom resource
- Delete `steam_workshop_enabled` from options
- automatically refresh scenes if their script is extended HOT 2
- remove unused `unpacked_dir` from `InheritanceSorting`
- Add `steam_workshop_id` to mod manifest HOT 1
- Add the possibility to include a default/preset profile HOT 1
- Enable the extending of existing extensions existing in a dependency HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot-mod-loader.