update readme, fix screenshot hook, removed costume unlock hook

This commit is contained in:
CraftyBoss 2022-06-17 22:18:24 -07:00
parent 381293e2b8
commit b71a6fc27b
3 changed files with 6 additions and 10 deletions

View file

@ -21,7 +21,7 @@ Welcome to the official repository for the Super Mario Odyssey Online mod! Have
Before installing, Ensure that your switch is hacked. If not, follow [This Guide](https://switch.homebrew.guide/) to get your switch setup for modding. Make sure you set up a way to block Nintendo's servers as you will need to have your switch connected to the internet for this mod to work!
1. Download the latest mod build from either [Gamebanana](https://gamebanana.com/games/6376) or from the [Releases](https://github.com/CraftyBoss/SuperMarioOdysseyOnline/releases) tab. (Alternatively, build from source)
1. Download the latest mod build from either [Gamebanana](https://gamebanana.com/mods/384214) or from the [Releases](https://github.com/CraftyBoss/SuperMarioOdysseyOnline/releases) tab. (Alternatively, build from source)
2. Extract the downloaded zip onto the root of your Switch's SD card.
3. If you need to host an online server, head over to the [Super Mario Odyssey Online Server](https://github.com/Sanae6/SmoOnlineServer) repository and follow the instructions there to set up the server.
4. Launch the game! Upon first time bootup, the mod should ask for a server IP to save to the games common save file. This IP address will be the server you wish to connect to every time you launch the game with the mod installed. (Note: un-installing the mod and launching the game will remove the server IP from the common save file.)

View file

@ -84,14 +84,6 @@ B59E28 B seadPrintHook // sead::system::print
NOP
NOP
// Costume Setup
54C498: // rs::isHaveCloth
MOV W0, #1
RET
54C4A4: // rs::isHaveCap
MOV W0, #1
RET
// Coin Counter Changes
20CA78 BL startCounterHook // starts coin counter if a gamemode is not active

View file

@ -29,7 +29,11 @@
#include "server/HideAndSeekMode.hpp"
bool comboBtnHook(int port) {
return !al::isPadHoldL(port) && al::isPadTriggerDown(port);
if (Client::isModeActive()) { // only switch to combo if any gamemode is active
return !al::isPadHoldL(port) && al::isPadTriggerDown(port);
} else {
return al::isPadTriggerDown(port);
}
}
void saveWriteHook(al::ByamlWriter* saveByml) {