-
Extract the overworld NARC
a1/2/6
. -
Feed the script one of the files:
python raymour_flanigan.py decompile 126_xxx.bin
-
Make your changes.
-
Recompile:
python raymour_flanigan.py compile 126_xxx.s
Make sure you have the b2w2.s in the same directory. -
Reinsert to NARC, reinsert NARC into ROM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local rshift, lshift=bit.rshift, bit.lshift | |
local md,mw,mb=memory.readdwordunsigned,memory.readwordunsigned,memory.readbyteunsigned | |
local gt,sf=gui.text,string.format | |
local table={} | |
local on,enbl,overprint,enblo=1,1,1,1 | |
if mb(0x023FFE09)==0x00 then -- Not "2" ~ Not B2/W2 | |
pos_m=md(0x02000024)+0x3461C | |
zds=md(0x02000024)+0x3DFAC | |
owstart=md(0x02000024)+0x34E04 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.include "B2W2.s" | |
Header: | |
script Script0 | |
script Script1 | |
script Script2 | |
script Script3 | |
script Script4 | |
script Script5 | |
script Script6 | |
script Script7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Sound Fixup script. | |
cd sound; | |
# Voice Groups | |
mkdir voicegroups; | |
cd voicegroups; | |
csplit -z -n 3 "../voice_groups.inc" /".align 2"/ {*} -f voicegroup; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.include "asm/macros.inc" | |
.include "constants/gba_constants.inc" | |
.include "constants/m4a_constants.inc" | |
.syntax unified | |
.text | |
thumb_func_start umul3232H32 | |
umul3232H32: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
import os | |
# NARC Tool | |
def NARC_Unpack(narc): | |
if ('.' in narc) == True: | |
output_folder = narc.split('.')[0] + "_u" | |
else: | |
output_folder = narc + "_u" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# Written by PlatinumMaster, based on the work of mcd1992. | |
mkdir -p /mnt/disk | |
echo "Wiping the plugged in disk now, you have been warned!" | |
# Wipe disk and mount it | |
mkfs.ext4 /dev/block/sda1 | |
mount /dev/block/sda1 /mnt/disk | |
cd /mnt/disk |
NARC | Description |
---|---|
/a/0/0/0 | connection strength icons |
/a/0/0/1 | unused (underground etc) |
/a/0/0/2 | "systems" text |
/a/0/0/3 | game text |
/a/0/0/4 | sprites (pokegra) |
/a/0/0/5 | basic boxes and arrow |
/a/0/0/6 | move effects |
/a/0/0/7 | Pokemon icons |
Findings by "PokemonMusic" on SOUNDCLOUD, HCS64, DISCORD, LORDDRAGON3005, LUCASTHEPLATINUMMASTER, GEOTHERN1683, GARAGEBANDPOKE/Alimu, ThePokMixr92, recordreader/icecream, and Alex Naveira
STYLUS RMX (they're all RMX Grooves, unless noted otherwise)
Preset Name | Where it was used |
---|---|
57 Isle a (Classic) | - B2W2 Cheren Encounter |
58 Motion Century | - B2W2 Nimbasa Gym |
70 Eden | - B2W2 Elesa Gym Stage (alternate) |
72 Liquid Frame Combo | - B2W2 Castelia Gym (Also used in Kirby's Epic Yarn's "Tube Town") |