Skip to content

A C# class library aiming to assist developers with creating memory-based Super Mario 64 machinima tools.

License

Notifications You must be signed in to change notification settings

Llennpie/LibV64Core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LibV64Core

.NET

  • LibV64Core is an experimental C# class library aiming to assist developers with creating memory-based Super Mario 64 machinima tools.
  • This library was designed to be as simple and lightweight as possible, while keeping core features intact.
  • Check out V64CoreConsole, an example console application built using this library.

Usage

First, add LibV64Core to your existing tool's project. In Visual Studio 2022:

  • Right click your Solution in the Solution Explorer and navigate to Add -> Existing Project...
  • Select LibV64Core.csproj.
  • Right click your tool's project in the Solution Explorer and navigate to Add -> Reference...
  • Under Project -> Solution select LibV64Core.

LibV64Core should now be ready for use. Here's a quick example in Windows Forms:

using System;
using System.Diagnostics;
using System.Windows.Forms;
using LibV64Core;

namespace SampleToolGui
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();

            Process[] emulatorProcesses = Memory.GetEmulatorProcesses("Project64");
            Memory.HookEmulatorProcess(emulatorProcesses[0]);
            Memory.FindBaseAddress();
            
            // Freeze the camera
            Core.ToggleFreezeCamera();

            Core.FixCameraZoomOut();
        }
    }
}

Documentation is coming soon.


Credits

ko-fi

About

A C# class library aiming to assist developers with creating memory-based Super Mario 64 machinima tools.

Topics

Resources

License

Stars

Watchers

Forks

Languages