Set up your computer
A texture or lines mod needs only the game and one free program. Scripts and the command line tool need a little more.
What each kind of mod needs #
| You want to make | You need |
|---|---|
| Textures | The game in a browser and a paint program. No command line. |
| Lines, letters, calendar days, a shop | The game in a browser and a text editor. No command line. |
| Scripts | The same. The playac-mod tool helps. |
| Everything, from a terminal | All of the above, Node.js and the tool. |
The game and your disc file #
Every mod is tested in the game. The game runs from your own copy of the Animal Crossing GameCube disc, as a file on your computer. Your disc shows how to make that file from a disc you own.
- Open the game and press Load Game. Pick your disc file. It stays in this browser and is never uploaded.
- Start a town, or continue yours.
- Make an account if you want to share mods later. You can make and install mods without one.
Browsers and developer mode #
The game needs a current browser with WebGL 2. For making mods, use Chrome or Edge on a computer. They can watch your mod's folder and reload it as you save.
| Browser | Plays the game | Developer mode, choose a folder | Developer mode, connect to playac-mod dev |
|---|---|---|---|
| Chrome, Edge and other Chromium browsers | yes | yes, and reloads when you save | yes |
| Firefox | yes | yes, reads it once. Choose it again to reload. | yes |
| Safari | yes | yes, reads it once | no. Safari does not let a site connect to your own computer. |
To switch developer mode on, open the game with ?moddev=1 at the end of the address. It is on only while
the address has it: a plain /play/ is always your real town. The game then plays a
separate test town, a ready-made town that starts you in town at once or a copy of your town, and your real town is
not touched. It also shows the Developer section in Settings, Mods. It loads no mod by itself. There you choose your folder, or press Connect to reach playac-mod dev, and then restart once. See Testing. The tool answers playaconline.com, its dev site and http://localhost:5173. A game page at another address needs playac-mod dev --origin and that
address: see Testing.
Node.js, for the playac-mod tool #
The tool needs Node.js 18.17 or newer. Run node --version in a terminal to see which you have.
Skip this section if you do not want the tool.
- macOS and Linux. Install it with nvm. nvm puts Node.js in your home folder, so installing the tool never asks for an administrator password. Follow nvm's install line, open a new terminal and run:
nvm install --lts
node --version- Windows. Run the LTS installer from nodejs.org and keep the defaults. Then close every terminal window and open a new one.
If you installed Node.js another way on macOS or Linux, npm install -g can stop with EACCES: permission denied. Install Node.js with nvm and try again. Putting sudo in front also
works, but every later update needs it too.
Then install the tool.
Editor types for scripts #
The script API is one file of Lua types, api/playac.lua. Put it in your mod folder under a
name that starts with a dot, like .playac/playac.lua, so it never goes into the ZIP. Point the Lua extension
of VS Code at it with "Lua.workspace.library". The starter kit ZIPs already have that setting and that file. The editor guide has the steps.
Two-factor sign-in, for sharing #
Every upload needs two-factor sign-in, so nobody who learns your password can publish in your name. You do not need it to make mods or to install your own. It uses an authenticator app on your phone. Any of them works.
- Open your Profile page and find Two-factor sign-in.
- Press Set up two-factor sign-in, type your password and press Show the QR code. A QR code appears.
- In the authenticator app, add an account and scan the QR code.
- Type the 6 digit code the app shows and press Turn on two-factor sign-in.
- Keep the recovery codes it shows. Each one works once in place of a code if you lose your phone. They are shown only this once. Then press I saved them.
The card then says On. and how many recovery codes are left.
A code from your authenticator app opens a 30-day window in that browser. In that window you can upload or import a mod.
The step-by-step guides #
Each topic above has a full guide in the public repository. The guides start from a clean computer and cover macOS, Windows and Linux. Every step says how to check it worked.
| Guide | What it covers |
|---|---|
| The game | A browser that runs the game, your town, developer mode and the Mod log. Everyone starts here. |
| Node.js and the playac-mod tool | Install Node.js and the tool, then check and pack a mod. |
| Editor | VS Code checks your JSON as you type. The Lua extension knows the game's script types. |
| Texture tools | Find a texture's name, paint over it and save it as PNG or DDS. |
| AI assistant | Give an assistant the mod rules so its mods install the first time. |
| Git and GitHub | Keep a mod in a repository and share releases from a tag. Optional. |
| Publishing | An account, two-factor sign-in and one upload from start to finish. |
| Troubleshooting | The problems people meet most while setting up, with the fix for each. |