Code Monkey home page Code Monkey logo

flymod's Introduction

FlyMod a mod for flying in Super mario odyssey

This repo contains the code of the flymod

Prerequisites

Configuration and Setup

Before Building, you should make sure that the default things for the project is properly setup.

For the TCP Logger, you can define GLOBALDEBUGIP to set the IP address used for connecting the socket to a server hosted on your local machine. (Note: the port can be easily changed in logger.cpp, its default value is 3080.)

In the makefile, you can set IP, USER, and PASS to their respective values in order to automatically send builds to an FTP server hosted on a modded switch. Then, whenever you run make send you'll build the project and immediately send to the switch.

Creating a custom actor is straight forward thankfully, and there is an example actor in this repository if you wish to start from one already proven working. To add more custom actors, firs you'll need to create the custom actors header and c++ files in their respective folders. Then, create a class that extends al::LiveActor and implement the virtual functions used in the example actor. You can then define nerves by using the NERVE_IMPL and NERVE_HEADER macros used in the OdysseyDecomp project, which I included here for easy nerve defines. Then, after creating your actor, navigate to al/factory/ActorFactoryEntries100.h and add in the name of your class, as well as its creation function (do this by simply using al::createActorFunction<(class type)> in the second parameter for factory entries) to the static table of actor creators.

Once you've handled most of the code for the custom actor, you can either copy an existing object archive from SMO and edit it to your liking, or create an entirely new archive, so long as the archive contains the minimum Init bymls required for an actor (most of the time its InitModel.byml, InitPose.byml, InitClipping.byml, InitExecutor.byml, and InitMaterialLight.byml), and a BFRES model if your actor needs it. Once done, save the archive, and add your custom actor to a stage you wish to have the actor in. From there everything should work and you'll have a custom actor working in Odyssey!

Prerequisites

Building

Build has only been tested on WSL2 running Ubuntu 20.04.1.

Just run:

DEVKITPRO={path_to_devkitpro} make

On Ubuntu (and other Debian-based systems), devkitPro will be installed to /opt/devkitpro by default:

DEVKITPRO=/opt/devkitpro/ make

Installing (Atmosphère)

After a successful build, simply transfer the atmosphere folder located inside starlight_patch_100 to the root of your switch's SD card.


Credits

Starlight (Original README)

An enviroment for linking to Splatoon 2 executable and implementing hooks.

Starlight Contributors

Starlight Credits

  • devkitA64
  • libnx - switch build rules

flymod's People

Contributors

collie1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.