Skip to content

Instantly share code, notes, and snippets.

Introduction

Welcome to the PK Hack section of starmen.net! Since the early 2000s, programming enthusiasts in the community have gathered together to play around with EarthBound's game engine, creating custom music and dialogue, making translations for languages like Spanish and Brazillian Portugese, and in extreme cases, whole new stories and cutscenes! With CoilSnake, the hacking tool the community uses and works on together, anyone can experiment with the game like this, the only limiting factors being free time and imagination.

Click here to go to the forum - http://forum.starmen.net/forum/Community/PKHack

Getting Started

If you're ready to hop into the world of PK Hacking, then you'll want to download the latest version of CoilSnake, and check out this collection of helpful tutorials on the wiki!

@livvy94
livvy94 / AddMusicK.xml
Last active August 2, 2020 01:39
AddMusick Notepad++ language theme
<NotepadPlus>
<UserLang name="AddMusicK" ext="" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" Keywords5="no" Keywords6="yes" Keywords7="yes" Keywords8="yes" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00; 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
//Originally created by Chaz for the EarthBound Randomizer
//CCScript adaptation by phoenixbound, ShadowOne333, and vince94
//This patch lets you ignore the Equip menu and equip stuff right in Goods!
//This version also adds the word "from" and removes the extra spaces in the message that displays.
command e(label) "{long label}"
define UsingEquipmentCheckFlag = flag 0x3F0
ROM[0xC7C742] = goto(newUse)
ROM[0xC5E36E] = goto(newCheck)
ROM[0xC5E277] = goto(equipMessagePartOne)
@livvy94
livvy94 / New Hack Blues.md
Last active December 7, 2022 03:53
This document contains every time I needed to ask for help in the slack chat, and what the solution was!

Question: Is there a way to do [something] in CCScript?

Answer: Check out the Command List! There's also this Syntax page too. And don't forget the CoilSnake Wiki!


Question: How do I change where Ness starts out from?

Answer: There's a command for just that! You'll probably also want to change the pointer of the initial string the game runs.

@livvy94
livvy94 / EarthBound Instrument Documentation.md
Last active July 20, 2023 00:22
EarthBound Instrument Documentation

Research by S.O'B./SoulJamzz on Discord and livvy94


PACK 00

(used in the Gas Station intro)

  • 00 Weird sample (distorted guitar?)
  • 01 Synth (sounds like it might be one of the noise samples)
  • 02 A recording of white noise
  • 03 A recording of all of humanity yelling in agony
  • 04 M. D. Seeger's guitar riff