Skip to content

Commit

Permalink
Update to 1.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rcelyte committed Jan 1, 2023
1 parent d5a15fe commit 0ea8841
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
28 changes: 26 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,34 @@ $(OBJDIR)/%.cpp.o: %.cpp extern makefile | ndk
@mkdir -p "$(@D)"
$(CXX) $(CXXFLAGS) -c "$<" -o "$@" -MMD -MP

.obj/mod.json: extern
.obj/mod.json: extern makefile
@echo "[printf $(notdir $@)]"
@mkdir -p "$(@D)"
printf "{\n\t\"\$$schema\":\"https://raw.githubusercontent.com/Lauriethefish/QuestPatcher.QMod/main/QuestPatcher.QMod/Resources/qmod.schema.json\",\n\t\"_QPVersion\": \"0.1.1\",\n\t\"name\": \"Mapping Extensions\",\n\t\"id\": \"MappingExtensions\",\n\t\"author\": \"StackDoubleFlow, rxzz0, rcelyte\",\n\t\"version\": \"0.22.0\",\n\t\"packageId\": \"com.beatgames.beatsaber\",\n\t\"packageVersion\": \"1.25.1\",\n\t\"description\": \"This adds a host of new things you can do with your maps as a mapper, and allows you to play said maps as a player. An update of the port of the PC original mod by Kyle 1413. Previously maintained by zoller27osu.\",\n\t\"coverImage\": \"cover.png\",\n\t\"dependencies\": [\n\t\t{\n\t\t\t\"version\": \"^0.28.0\",\n\t\t\t\"id\": \"codegen\",\n\t\t\t\"downloadIfMissing\": \"https://github.com/sc2ad/BeatSaber-Quest-Codegen/releases/download/v0.28.0/Codegen.qmod\"\n\t\t}, {\n\t\t\t\"version\": \"1.8.3\",\n\t\t\t\"id\": \"pinkcore\",\n\t\t\t\"downloadIfMissing\": \"https://github.com/BSMGPink/PinkCore/releases/download/v1.8.3/PinkCore.qmod\"\n\t\t}\n\t],\n\t\"modFiles\": [\"libmappingextensions.so\"],\n\t\"libraryFiles\": [\"$(notdir $(wildcard extern/libs/libbeatsaber-hook*.so))\"]\n}" > .obj/mod.json
printf "{\n\
\"\$$schema\": \"https://raw.githubusercontent.com/Lauriethefish/QuestPatcher.QMod/main/QuestPatcher.QMod/Resources/qmod.schema.json\",\n\
\"_QPVersion\": \"0.1.1\",\n\
\"name\": \"Mapping Extensions\",\n\
\"id\": \"MappingExtensions\",\n\
\"author\": \"StackDoubleFlow, rxzz0, rcelyte\",\n\
\"version\": \"0.22.1\",\n\
\"packageId\": \"com.beatgames.beatsaber\",\n\
\"packageVersion\": \"1.27.0_3631150051\",\n\
\"description\": \"This adds a host of new things you can do with your maps as a mapper, and allows you to play said maps as a player. An update of the port of the PC original mod by Kyle 1413. Previously maintained by zoller27osu.\",\n\
\"coverImage\": \"cover.png\",\n\
\"dependencies\": [\n\
{\n\
\"version\": \"^0.32.0\",\n\
\"id\": \"codegen\",\n\
\"downloadIfMissing\": \"https://github.com/sc2ad/BeatSaber-Quest-Codegen/releases/download/v0.32.0/Codegen.qmod\"\n\
}, {\n\
\"version\": \"1.8.7\",\n\
\"id\": \"pinkcore\",\n\
\"downloadIfMissing\": \"https://github.com/BSMGPink/PinkCore/releases/download/v1.8.7/PinkCore.qmod\"\n\
}\n\
],\n\
\"modFiles\": [\"libmappingextensions.so\"],\n\
\"libraryFiles\": [\"$(notdir $(wildcard extern/libs/libbeatsaber-hook*.so))\"]\n\
}" > .obj/mod.json

MappingExtensions.qmod: libmappingextensions.so .obj/mod.json
@echo "[zip $@]"
Expand Down
6 changes: 3 additions & 3 deletions qpm.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"info": {
"name": "MappingExtensions",
"id": "MappingExtensions",
"version": "0.22.0",
"version": "0.22.1",
"url": null,
"additionalData": {}
},
Expand All @@ -20,12 +20,12 @@
},
{
"id": "codegen",
"versionRange": "^0.28.0",
"versionRange": "^0.32.0",
"additionalData": {}
},
{
"id": "pinkcore",
"versionRange": "^1.8.3",
"versionRange": "^1.8.7",
"additionalData": {}
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ MAKE_HOOK_MATCH(StaticBeatmapObjectSpawnMovementData_LineYPosForLineLayer, &Glob

extern "C" DL_EXPORT void setup(ModInfo& info) {
info.id = "MappingExtensions";
info.version = "0.22.0";
info.version = "0.22.1";
modInfo = info;
logger = new Logger(modInfo, LoggerOptions(false, true));
logger->info("Leaving setup!");
Expand Down

0 comments on commit 0ea8841

Please sign in to comment.