Skip to content

ExpansionPak/PaintStudioDecomp

 
 

Repository files navigation

PaintStudioDecomp

build Code Data

This is a work-in-progress decompilation of Mario Artist: Paint Studio (1999) for the 64DD

It is built directly on top of LuigiBlood's original decompilation of the game.

Required base ROM file:

  • dmpj.d64 with MD5 3546bc6d93928a28285a91478bc41b68

Convert a Mario Artist Paint Studio NDD dump to D64 with LuigiBlood's leo64dd_python tool. The RAM area should be only 0xFF. You can create the dmpj.d64 file by taking a .ndd file (md5 8485643e5830cd67ed4c0a5fd49e2491) and running python3 leo64ddfile.py d64 <path-to-ndd-file> <path-to-repo>/dmpj.d64

Quick Start

This repository uses Git submodules. Make sure to either clone the repository with the --recurse-submodules flag or to run git submodule update --init --recursive after the initial clone.

When pulling updates, you can update all submodules with git submodule update --recursive.

If dependencies are already installed and dmpj.d64 is in the repo root:

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
python3 -m pip install -r tools/splat/requirements.txt
make setup
make

Prerequisites

  • Python 3
  • make
  • git
  • curl
  • md5sum
  • a MIPS binutils toolchain that provides one of these prefixes:
    • mips-linux-gnu-*
    • mipsel-linux-gnu-*
    • mips64-elf-*
    • mips-elf-*

make setup will:

  • initialize/update submodules
  • download IDO 7.1 into tools/ido_recomp/<host>/7.1
  • run tools/splat to regenerate asm/, bin/, and assets/ from dmpj.d64

Linux

Ubuntu/Debian:

sudo apt-get update
sudo apt-get install -y \
	binutils-mips-linux-gnu \
	gcc \
	git \
	libc-dev \
	libc6-dev \
	make \
	ninja-build \
	openssl \
	python3 \
	python3-pip \
	curl

Install Python dependencies:

python3 -m pip install -r tools/splat/requirements.txt

Then place dmpj.d64 in the repository root and run:

make setup
make

macOS

Install Xcode Command Line Tools first if they are not already installed:

xcode-select --install

Install the required packages with Homebrew:

brew install \
	coreutils \
	git \
	make \
	mipsel-linux-gnu-binutils \
	python

Install the Python dependencies:

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
python3 -m pip install -r tools/splat/requirements.txt

Then place dmpj.d64 in the repository root and run:

make setup
make

About

Work-In-Progress decompilation of Mario Artist: Paint Studio (64DD, 1999)

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages