Set up initial JP build

This commit is contained in:
AnonymousRandomPerson 2023-11-24 16:25:53 -06:00
parent 7121588672
commit 590d633a48
6100 changed files with 8821 additions and 10 deletions

View File

@ -64,6 +64,12 @@ jobs:
GAME_REVISION: 0
run: make -j${nproc}
- name: Build Japan
env:
GAME_LANGUAGE: JAPAN
GAME_REVISION: 0
run: make -j${nproc}
- name: Webhook
if: ${{ github.event_name == 'push' }}
run: |

View File

@ -98,7 +98,7 @@ This repository has a [devcontainer](https://containers.dev/) containing all the
## 3. Build ROM
Run `make` to build the ROM. This will build the North American ROM at `build/pmdsky.us/pmdsky.us.nds`. If you want the European ROM, run `make eu` to build the ROM at `build/pmdsky.eu/pmdsky.eu.nds`.
Run `make` to build the ROM. This will build the North American ROM at `build/pmdsky.us/pmdsky.us.nds`. If you want the European or Japanese ROM, run `make eu` or `make jp` respectively.
There are targets for building and testing changes to individual components without repackaging the ROM. For the ARM9 modules, run `make main`. For the ARM7 module, run `make sub`. For the filesystem, run `make filesystem`.

View File

@ -67,6 +67,7 @@ $(BANNER): $(BANNER_SPEC) $(ICON_PNG:%.png=%.nbfp) $(ICON_PNG:%.png=%.nbfc)
us: ; @$(MAKE) GAME_LANGUAGE=NORTH_AMERICA
eu: ; @$(MAKE) GAME_LANGUAGE=EUROPE
jp: ; @$(MAKE) GAME_LANGUAGE=JAPAN
compare: @$(MAKE) COMPARE=1

View File

@ -16,6 +16,9 @@ GAME_CODE := $(GAME_CODE)E
else ifeq ($(GAME_LANGUAGE),EUROPE)
buildname := $(buildname).eu
GAME_CODE := $(GAME_CODE)P
else ifeq ($(GAME_LANGUAGE),JAPAN)
buildname := $(buildname).jp
GAME_CODE := $(GAME_CODE)J
else
$(error Unsupported game language: $(GAME_LANGUAGE))
endif
@ -35,13 +38,15 @@ ifeq ($(buildname),pmdsky.us)
SECURE_CRC := 0x96A1
else ifeq ($(buildname),pmdsky.eu)
SECURE_CRC := 0x8EBE
else ifeq ($(buildname),pmdsky.jp)
SECURE_CRC := 0x74E4
endif
ifndef SECURE_CRC
$(error Unsupported ROM: $(GAME_LANGUAGE))
endif
SUPPORTED_ROMS := pmdsky.us pmdsky.eu
SUPPORTED_ROMS := pmdsky.us pmdsky.eu pmdsky.jp
ifneq ($(filter $(buildname),$(SUPPORTED_ROMS)),$(buildname))
$(error $(buildname) is not supported, choose from: $(SUPPORTED_ROMS))
endif

28
files/.gitignore vendored
View File

@ -1,17 +1,45 @@
/DWC/
/SCRIPT/
BALANCE/item_p.bin
BALANCE/st_i2n_j.bin
BALANCE/st_m2n_j.bin
BALANCE/st_n2m_j.bin
DUNGEON/dungeon.bin
FONT/banner.bin
FONT/banner_c.bin
FONT/banner_s.bin
FONT/kanji.dat
FONT/markfont.dat
FONT/staffont.dat
FONT/w_icon.wan
GROUND/s05p02a1.wan
GROUND/s05p02a2.wan
GROUND/s05p02a3.wan
GROUND/s05p02b1.wan
GROUND/s05p02c1.wan
GROUND/s05p03a2.wan
GROUND/s08p01a1.wan
GROUND/v04p03a1.wan
MAP_BG/bg_list.dat
MAP_BG/s11p02c.bma
MAP_BG/s11p02c.bpc
MAP_BG/s11p02c.bpl
MAP_BG/s13p01a.bma
MAP_BG/s13p01a.bpc
MAP_BG/s13p01a.bpl
MAP_BG/s13p01b.bpl
MAP_BG/s99p02a.bma
MAP_BG/s99p02a.bpc
MAP_BG/s99p02a.bpl
MAP_BG/s99p03a.bma
MAP_BG/s99p03a.bpc
MAP_BG/s99p03a.bpl
MESSAGE/text_e.str
MONSTER/m_attack.bin
MONSTER/m_ground.bin
SYSTEM/165.srl
SYSTEM/166.srl
SYSTEM/167.srl
SYSTEM/168.srl
SYSTEM/169.srl
SYSTEM/170.srl

BIN
files/FONT/font.dat Normal file

Binary file not shown.

BIN
files/MAP_BG/p19p02a1.bpa Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p02a.bma Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p02a.bpc Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p02a.bpl Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p02b.bma Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p02b.bpc Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p02b.bpl Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p05a.bma Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p05a.bpc Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p05a.bpl Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p05b.bma Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p05b.bpc Normal file

Binary file not shown.

BIN
files/MAP_BG/s05p05b.bpl Normal file

Binary file not shown.

BIN
files/MAP_BG/s11p02a.bma Normal file

Binary file not shown.

BIN
files/MAP_BG/s11p02a.bpc Normal file

Binary file not shown.

BIN
files/MAP_BG/s11p02a.bpl Normal file

Binary file not shown.

BIN
files/MAP_BG/s11p02b.bma Normal file

Binary file not shown.

BIN
files/MAP_BG/s11p02b.bpc Normal file

Binary file not shown.

BIN
files/MAP_BG/s11p02b.bpl Normal file

Binary file not shown.

BIN
files/MESSAGE/text_j.str Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More