Add geode
No files matched your search
@@ -0,0 +1 @@
|
||||
{"spritesheets":{},"fonts":{}}
|
||||
@@ -0,0 +1,16 @@
|
||||
# Texture Loader
|
||||
|
||||
A texture pack manager for Geode.
|
||||
|
||||
The UI for the mod can be accessed in the main menu. There you can open the packs folder by clicking on the folder icon.
|
||||
|
||||
You can **drag** on the small plus icon to move packs from available to applied, and back and forth.
|
||||
|
||||
## Adding Packs
|
||||
You may add packs by adding folders, zip files or apk files. Press the folder button on the pack select screen to open the directory where you should place the packs.
|
||||
|
||||
**On Android** This button doesn't currently work. Manually go place your packs at `/storage/emulated/0/Android/media/com.geode.launcher/game/geode/config/geode.texture-loader/packs/`
|
||||
|
||||
## For Pack Creators
|
||||
|
||||
We have special features for packs, such as pack icons. Please [read our readme for more information](https://github.com/geode-sdk/textureldr)
|
||||
@@ -0,0 +1,44 @@
|
||||
#pragma once
|
||||
|
||||
#include <Geode/loader/Dispatch.hpp>
|
||||
|
||||
#include <filesystem>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
namespace geode::texture_loader {
|
||||
|
||||
inline bool isLoaded() {
|
||||
return geode::Loader::get()->isModLoaded("geode.texture-loader");
|
||||
}
|
||||
|
||||
struct Pack {
|
||||
std::string id;
|
||||
std::string name;
|
||||
VersionInfo version;
|
||||
std::vector<std::string> authors;
|
||||
|
||||
/// Path from where the pack originates from. May be a file (apk, zip) or a folder
|
||||
std::filesystem::path path;
|
||||
/// Path where the resources are located. This is what is added to the search path
|
||||
std::filesystem::path resourcesPath;
|
||||
};
|
||||
|
||||
namespace impl {
|
||||
using EventGetAvailablePacks = geode::DispatchEvent<std::vector<Pack>*>;
|
||||
using EventGetAppliedPacks = geode::DispatchEvent<std::vector<Pack>*>;
|
||||
}
|
||||
|
||||
inline std::vector<Pack> getAvailablePacks() {
|
||||
std::vector<Pack> result;
|
||||
impl::EventGetAvailablePacks("geode.texture-loader/v1/get-available-packs", &result).post();
|
||||
return result;
|
||||
}
|
||||
|
||||
inline std::vector<Pack> getAppliedPacks() {
|
||||
std::vector<Pack> result;
|
||||
impl::EventGetAppliedPacks("geode.texture-loader/v1/get-applied-packs", &result).post();
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
|
After Width: | Height: | Size: 20 KiB |
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"geode": "4.1.1",
|
||||
"version": "v1.7.0",
|
||||
"gd": {
|
||||
"win": "2.2074",
|
||||
"android": "2.2074",
|
||||
"mac": "2.2074"
|
||||
},
|
||||
"id": "geode.texture-loader",
|
||||
"name": "Texture Loader",
|
||||
"developer": "Geode Team",
|
||||
"description": "Texture Pack Manager",
|
||||
"early-load": true,
|
||||
"resources": {
|
||||
"sprites": [
|
||||
"resources/*.png"
|
||||
]
|
||||
},
|
||||
"links": {
|
||||
"source": "https://github.com/geode-sdk/textureldr"
|
||||
},
|
||||
"api": {
|
||||
"include": ["include/*.hpp"]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
13380583020173
|
||||
|
After Width: | Height: | Size: 6.6 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 544 B |
|
After Width: | Height: | Size: 819 B |
|
After Width: | Height: | Size: 435 B |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 13 KiB |