Skip to content

Commit

Permalink
a LOTTA changes!
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMario211 committed Jun 26, 2024
1 parent edf3506 commit 50e2ae8
Show file tree
Hide file tree
Showing 34 changed files with 289 additions and 121 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-noimgui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
build-config: 'RelWithDebInfo'
export-pdb: true
combine: true
sdk: 'nightly'
#sdk: 'nightly'
target: ${{ matrix.config.target }}

package:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
build-config: 'RelWithDebInfo'
export-pdb: true
combine: true
sdk: 'nightly'
#sdk: 'nightly'
target: ${{ matrix.config.target }}

package:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ endif()

set(IMGUI_VERSION "v1.90")
if (NOT APPLE AND NOT DEFINED ENV{NO_IMGUI})
CPMAddPackage("gh:matcool/gd-imgui-cocos#5bc72d6") # specify a commit!
CPMAddPackage("gh:matcool/gd-imgui-cocos#09a9555") # specify a commit!
target_link_libraries(${PROJECT_NAME} imgui-cocos)
endif()

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export GEODE_SDK=/home/fire/.geodenightly # remove when geode 2.0.0 is released
#export GEODE_SDK=/home/fire/.geodenightly # remove when geode 2.0.0 is released
export SPLAT_DIR=/home/fire/xwin/splat
export TOOLCHAIN_REPO=/home/fire/xwin/toolchain
export GEODE_BINDINGS_REPO_PATH=/home/fire/.geodebindings
Expand Down
15 changes: 14 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# v1.8.0
- Added "Hide Level"
- Added "Hide Player"
- Added "No Rotate"
- Added importing functionality back
- "Noclip Accuracy" now only shows if Noclip is enabled
- Allowed the next frame button to work even at the end of the frame (Macro Editor)
- Fixed bug with the Prism Button bugging out if you switch between windowed and full screen
- Fixed a bug with the previous frame button going to the negatives on Android
- Added a geode setting to "Force Hide Button"
- Added "Custom Object Bypass" for Android
- (hopefully) Fixed the hold bug when using Macro Editor
- (hopefully) Fixed the ImGui font issue
# v1.7.4
- Update to support Goede Beta 1
- Update to support Geode Beta 1
# v1.7.3
- Update Russian translations
- Update Turkish translations
Expand Down
14 changes: 10 additions & 4 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"geode": "3.0.0-beta.1",
"version": "v1.7.4",
"geode": "3.1.1",
"version": "v1.8.0",
"gd": {
"win": "2.206",
"mac": "2.206",
Expand All @@ -18,7 +18,6 @@
"tags": ["cheats", "gameplay", "utility", "customization"],
"resources": {
"files": [
"resources/icon.png",
"resources/Screenshot1.png",
"resources/checkmark.png",
"resources/checkmark-hd.png",
Expand All @@ -32,7 +31,8 @@
"resources/langs/*.json"
],
"sprites": [
"resources/infoIcon.png"
"resources/infoIcon.png",
"resources/icon.png"
],
"fonts": {
"PrismMenu": {
Expand All @@ -50,6 +50,12 @@
"type": "bool",
"default": false
},
"hide-button": {
"name": "Force Hide Button",
"description": "Hides the button in any menu and pause menu. (Requires restart)",
"type": "bool",
"default": false
},
"values": {
"name": "Hack Values",
"description": "NONE",
Expand Down
4 changes: 2 additions & 2 deletions resources/hacks/creator.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
],
"android64": [
{"addr": "0x6a1a24", "on": "20 00 80 52", "off": "56 d4 0f 94", "instruction": "mov w0, #1"},
{"addr": "0x69d2ec", "on": "20 00 80 52", "off": "a4 d3 0f 94"},
{"addr": "0x6a1cec", "on": "20 00 80 52", "off": "a4 d3 0f 94"},
{"addr": "0x6a1b00", "on": "20 00 80 52", "off": "ef c0 0f 94"}
],
"iosold2.200": [
Expand All @@ -63,7 +63,7 @@
},
"type": "bool",
"save": false,
"platforms": ["win"]
"platforms": ["win", "android32", "android64"]
},
{
"name": "No (C) Mark",
Expand Down
5 changes: 5 additions & 0 deletions resources/hacks/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
"type": "bool",
"platforms": ["win", "android32", "android64"]
},
{
"name": "Hide Level",
"desc": "Hides all objects in the level.",
"type": "bool"
},
{
"name": "No Transition",
"desc": "Shorterns scene transition time to 0s.",
Expand Down
2 changes: 1 addition & 1 deletion resources/hacks/misc.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
{
"name": "Noclip Accuracy",
"desc": "Informs you how accurate your noclip run is. (Will not work without Anticheat Bypass enabled)",
"desc": "Informs you how accurate your noclip run is.",
"type": "bool"
},
{
Expand Down
10 changes: 10 additions & 0 deletions resources/hacks/player.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,21 @@
"type": "bool",
"platforms": ["win", "android32", "android64"]
},
{
"name": "Hide Player",
"desc": "Hides the player. (Requires playing the level again)",
"type": "bool"
},
{
"name": "No Trail",
"desc": "Disables any trail effect from the player.",
"type": "bool"
},
{
"name": "No Rotate",
"desc": "Freezes the player from rotating when jumping, or falling.",
"type": "bool"
},
{
"name": "No Wave Trail",
"desc": "Disables the trail behind the wave.",
Expand Down
2 changes: 1 addition & 1 deletion resources/langs/czech.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@
{
"Noclip Accuracy": {
"name": "Noclip Přesnost",
"desc": "Informuje tě jak přesný je tvůj noclip run. (Nefunguje bez zapnutí Anticheat Bypass)"
"desc": "Informuje tě jak přesný je tvůj noclip run."
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion resources/langs/french.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@
{
"Noclip Accuracy": {
"name": "Précision du Noclip",
"desc": "Vous informe à quel point votre run en Noclip est précise. (Ne marche qu'avec l'Anticheat Bypass actif)"
"desc": "Vous informe à quel point votre run en Noclip est précise."
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion resources/langs/german.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@
{
"Noclip Accuracy": {
"name": "Noclip Übereinstimmung",
"desc": "Sagt dir wie genau dein Noclip run war. (Wird nicht ohne aktiviertem Anticheat Bypass funktionieren)."
"desc": "Sagt dir wie genau dein Noclip run war."
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion resources/langs/greek.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@
{
"Noclip Accuracy": {
"name": "Noclip Accuracy",
"desc": "Informs you how accurate your noclip run is. (Will not work without Anticheat Bypass enabled)"
"desc": "Informs you how accurate your noclip run is."
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion resources/langs/japanese.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@
{
"Noclip Accuracy": {
"name": "ノークリップ正確率",
"desc": "ノークリップのプレイの正確さを表示します。(不正行為防止の迂回が有効になっていなければならない)"
"desc": "ノークリップのプレイの正確さを表示します。"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion resources/langs/malay.json
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@
{
"Noclip Accuracy": {
"name": "Rakaman Tepat Tanpa Klip",
"desc": "Memaklumkan anda betapa tepat larian tanpa klip anda. (Tidak akan berfungsi tanpa Pintasan Anti Menipu didayakan)"
"desc": "Memaklumkan anda betapa tepat larian tanpa klip anda."
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion resources/langs/polish.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@
{
"Noclip Accuracy": {
"name": "Dokładność Noclip",
"desc": "Pokazuje, z jaką dokładnością przechodzisz poziom z użyciem Noclip (Nie działa bez opcji Wyłącz Anticheat)"
"desc": "Pokazuje, z jaką dokładnością przechodzisz poziom z użyciem Noclip."
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion resources/langs/russian.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@
{
"Noclip Accuracy": {
"name": "Noclip Accuracy",
"desc": "Сообщает, насколько аккуратка ваша Noclip попытка. (Не работает без обхода античита)"
"desc": "Сообщает, насколько аккуратка ваша Noclip попытка."
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion resources/langs/spanish.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
{
"Noclip Accuracy": {
"name": "Noclip Accuracy",
"desc": "Le informa qué tan precisa es su ejecución de noclip. (No funcionará sin Anticheat Bypass habilitado)"
"desc": "Le informa qué tan precisa es su ejecución de noclip."
}
},
{
Expand Down
20 changes: 19 additions & 1 deletion resources/langs/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@
{
"Noclip Accuracy": {
"name": "Noclip Accuracy",
"desc": "Informs you how accurate your noclip run is. (Will not work without Anticheat Bypass enabled)"
"desc": "Informs you how accurate your noclip run is."
}
},
{
Expand Down Expand Up @@ -618,5 +618,23 @@
"name": "Menu Keybind",
"desc": "The keybind for opening the Prism Menu UI!"
}
},
{
"Hide Level": {
"name": "Hide Level",
"desc": "Hides all objects in the level."
}
},
{
"Hide Player": {
"name": "Hide Level",
"desc": "Hides the player. (Requires playing the level again)"
}
},
{
"No Rotate": {
"name": "No Rotate",
"desc": "Freezes the player from rotating when jumping, or falling."
}
}
]
2 changes: 1 addition & 1 deletion resources/langs/turkish.json
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
{
"Noclip Accuracy": {
"name": "Noclip Doğruluğu",
"desc": "Noclip etkinken seviyeyi ne kadar doğru oynadığınızı size bildirir. (Anti-Hile Baypas etkinleştirilmeden çalışmaz)"
"desc": "Noclip etkinken seviyeyi ne kadar doğru oynadığınızı size bildirir."
}
},
{
Expand Down
6 changes: 3 additions & 3 deletions resources/langs/ukrainian.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@
{
"Noclip Accuracy": {
"name": "Точність з ноукліпом",
"desc": "Інформує про те, наскільки точною є ваша гра з ноукліпом. (Не працює без ввімкненого Обходу античіта)"
"desc": "Інформує про те, наскільки точною є ваша гра з ноукліпом."
}
},
{
Expand Down Expand Up @@ -531,7 +531,7 @@
},
{
"Playback": {
"name": "Проргравання",
"name": "Програвання",
"desc": "Програє макрос."
}
},
Expand All @@ -555,7 +555,7 @@
},
{
"Import Macro": {
"name": "Імпротувати макрос",
"name": "Імпортувати макрос",
"desc": "Імпортує макрос."
}
},
Expand Down
2 changes: 1 addition & 1 deletion resources/langs/vietnamese-original.json
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
{
"Noclip Accuracy": {
"name": "Độ chính xác của Noclip",
"desc": "Thông báo cho bạn mức độ chính xác của lần chạy noclip của bạn. (Sẽ không hoạt động nếu không bật Anticheat Bypass)"
"desc": "Thông báo cho bạn mức độ chính xác của lần chạy noclip của bạn."
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion resources/langs/vietnamese.json
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
{
"Noclip Accuracy": {
"name": "Do chinh xac cua Noclip",
"desc": "Thong bao cho ban muc do chinh xac cua lan chay noclip cua ban. (Se khong hoat dong neu khong bat Anticheat Bypass)"
"desc": "Thong bao cho ban muc do chinh xac cua lan chay noclip cua ban."
}
},
{
Expand Down
10 changes: 6 additions & 4 deletions src/Hacks/Bypass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ using namespace geode::prelude;
// Icon Bypass
class $modify(GameManager) {
bool isIconUnlocked(int _id, IconType _type) {
if (!Hacks::isHackEnabled("Icon Bypass") || Hacks::isHackEnabled("Enable Patching")) return GameManager::isIconUnlocked(_id, _type);
return true;
if (GameManager::isIconUnlocked(_id, _type)) return true;
if (_id <= 0) return false;
//if (_id >= GameManager::countForType(_type)) return false;
return Hacks::isHackEnabled("Icon Bypass");
}
bool isColorUnlocked(int _id, UnlockType _type) {
if (!Hacks::isHackEnabled("Icon Bypass") || Hacks::isHackEnabled("Enable Patching")) return GameManager::isColorUnlocked(_id, _type);
return true;
if (GameManager::isColorUnlocked(_id, _type)) return true;
return Hacks::isHackEnabled("Icon Bypass");
}
};

Expand Down
15 changes: 9 additions & 6 deletions src/Hacks/Global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,25 @@ class $modify(PlayLayer) {
obj->m_isHide = false;
if (obj->m_objectID == 1007) return;
}
if (Hacks::isHackEnabled("Layout Mode") || Hacks::isHackEnabled("Hide Level")) {
// probably a bad idea!
std::unordered_set<int> colorTriggers = { 221, 743, 744, 899, 900, 915, 1006 };

if (colorTriggers.find(obj->m_objectID) != colorTriggers.end()) return;
}
if (Hacks::isHackEnabled("No Glow")) {
obj->m_hasNoGlow = true;
}
PlayLayer::addObject(obj);
}
};


// Layout Mode
// Layout Mode, Hide Level
class $modify(GameObject) {
void setVisible(bool v) {
if (Hacks::isHackEnabled("Hide Level") && m_objectID != 0) return GameObject::setVisible(false);
if (!Hacks::isHackEnabled("Layout Mode")) return GameObject::setVisible(v);
//m_hasGroupParent == 0
std::vector<int> outerPortal = {};
//i really dont want to have to check every single object id
if (m_objectType == GameObjectType::Decoration && m_objectID != 44) { // 44 being practice mode checkpoint, because thats a "decoration"
if (m_objectType == GameObjectType::Decoration && m_objectID != 44 && m_objectID != 38 && m_objectID != 749 && m_objectID != 747) { // 44 being practice mode checkpoint, because thats a "decoration"
GameObject::setVisible(false);
} else {
GameObject::setVisible(v);
Expand Down
8 changes: 8 additions & 0 deletions src/Hacks/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ class $modify(PlayerObject) {
if (m_fields->isActuallyDart && Hacks::isHackEnabled("No Wave Trail")) return;
PlayerObject::activateStreak();
}
void setRotation(float p0) {
if (Hacks::isHackEnabled("No Rotate")) return PlayerObject::setRotation(0);
PlayerObject::setRotation(p0);
}
void setVisible(bool p0) {
if (Hacks::isHackEnabled("Hide Player")) return PlayerObject::setVisible(false);
PlayerObject::setVisible(p0);
}
};


Expand Down
Loading

0 comments on commit 50e2ae8

Please sign in to comment.