Skip to content

Commit

Permalink
Wire up OK build for battle-script NARCs
Browse files Browse the repository at this point in the history
  • Loading branch information
lhearachel committed Jan 24, 2024
1 parent 9d7019b commit ec549c8
Show file tree
Hide file tree
Showing 18 changed files with 1,256 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -cs)/winehq-$(lsb_release -cs).sources
sudo dpkg --add-architecture i386
sudo apt-get update -y
sudo apt-get install -y --install-recommends python3-pip ninja-build winehq-stable
sudo apt-get install -y --install-recommends python3-pip ninja-build winehq-stable binutils-arm-none-eabi
pip install --user meson pyelftools
- name: Checkout Repo
Expand Down
7 changes: 4 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You now have the choice between two different environments to use to build the p
3. Reopen an MSYS terminal (pink icon) and enter the following command to install the necessary packages:
```
pacman -S git meson gcc
pacman -S git meson gcc arm-none-eabi-binutils
```
Press 'Y' when prompted to confirm the installation.
Expand Down Expand Up @@ -74,7 +74,7 @@ You now have the choice between two different environments to use to build the p
7. Certain packages are required to build the repository. Install these packages by running the following command:
```bash
sudo apt install git build-essential
sudo apt install git build-essential binutils-arm-none-eabi
```
We are not done yet, the 'meson' package is also necessary, but the version provided by apt is too outdated. To get the most recent meson version, run:
Expand Down Expand Up @@ -108,7 +108,7 @@ These can be installed using Homebrew; if you do not have Homebrew installed, re
```
brew update
brew install meson
brew install meson arm-none-eabi-binutils
brew install --cask wine-stable
```
Expand All @@ -119,6 +119,7 @@ Building the ROM requires the following packages. If you cannot find one or more
* git
* meson (>= 1.2.0)
* build-essentials (build-essential on Ubuntu)
* binutils-arm-none-eabi (arm-none-eabi-binutils on Arch Linux)
* wine (to run the mwcc executables)
* pkg-config
Expand Down
8 changes: 4 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ subdir('lib')


############################################################
### FILE SYSTEM ###
### CONSTS ###
############################################################
subdir('res')
subdir('consts')


############################################################
### CONSTS ###
### FILE SYSTEM ###
############################################################
subdir('consts')
subdir('res')


############################################################
Expand Down
12 changes: 9 additions & 3 deletions platinum.us/rom.rsf
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,15 @@ RomSpec
File battle/graphic/vs_demo_gra.narc
File wazaeffect/we.arc
File wazaeffect/we_sub.narc
File battle/skill/be_seq.narc
File battle/skill/sub_seq.narc
File battle/skill/waza_seq.narc

Root /battle/skill
HostRoot res/battle/scripts
File be_seq.narc
File sub_seq.narc
File waza_seq.narc

Root /
HostRoot res/prebuilt
File wazaeffect/effectclact/wecell.narc
File wazaeffect/effectclact/wecellanm.narc
File wazaeffect/effectclact/wechar.narc
Expand Down
3 changes: 2 additions & 1 deletion res/battle/meson.build
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
subdir('moves')
subdir('moves')
subdir('scripts')
279 changes: 279 additions & 0 deletions res/battle/scripts/effects/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,279 @@
effect_script_files = files(
'effect_script_0000.s',
'effect_script_0001.s',
'effect_script_0002.s',
'effect_script_0003.s',
'effect_script_0004.s',
'effect_script_0005.s',
'effect_script_0006.s',
'effect_script_0007.s',
'effect_script_0008.s',
'effect_script_0009.s',
'effect_script_0010.s',
'effect_script_0011.s',
'effect_script_0012.s',
'effect_script_0013.s',
'effect_script_0014.s',
'effect_script_0015.s',
'effect_script_0016.s',
'effect_script_0017.s',
'effect_script_0018.s',
'effect_script_0019.s',
'effect_script_0020.s',
'effect_script_0021.s',
'effect_script_0022.s',
'effect_script_0023.s',
'effect_script_0024.s',
'effect_script_0025.s',
'effect_script_0026.s',
'effect_script_0027.s',
'effect_script_0028.s',
'effect_script_0029.s',
'effect_script_0030.s',
'effect_script_0031.s',
'effect_script_0032.s',
'effect_script_0033.s',
'effect_script_0034.s',
'effect_script_0035.s',
'effect_script_0036.s',
'effect_script_0037.s',
'effect_script_0038.s',
'effect_script_0039.s',
'effect_script_0040.s',
'effect_script_0041.s',
'effect_script_0042.s',
'effect_script_0043.s',
'effect_script_0044.s',
'effect_script_0045.s',
'effect_script_0046.s',
'effect_script_0047.s',
'effect_script_0048.s',
'effect_script_0049.s',
'effect_script_0050.s',
'effect_script_0051.s',
'effect_script_0052.s',
'effect_script_0053.s',
'effect_script_0054.s',
'effect_script_0055.s',
'effect_script_0056.s',
'effect_script_0057.s',
'effect_script_0058.s',
'effect_script_0059.s',
'effect_script_0060.s',
'effect_script_0061.s',
'effect_script_0062.s',
'effect_script_0063.s',
'effect_script_0064.s',
'effect_script_0065.s',
'effect_script_0066.s',
'effect_script_0067.s',
'effect_script_0068.s',
'effect_script_0069.s',
'effect_script_0070.s',
'effect_script_0071.s',
'effect_script_0072.s',
'effect_script_0073.s',
'effect_script_0074.s',
'effect_script_0075.s',
'effect_script_0076.s',
'effect_script_0077.s',
'effect_script_0078.s',
'effect_script_0079.s',
'effect_script_0080.s',
'effect_script_0081.s',
'effect_script_0082.s',
'effect_script_0083.s',
'effect_script_0084.s',
'effect_script_0085.s',
'effect_script_0086.s',
'effect_script_0087.s',
'effect_script_0088.s',
'effect_script_0089.s',
'effect_script_0090.s',
'effect_script_0091.s',
'effect_script_0092.s',
'effect_script_0093.s',
'effect_script_0094.s',
'effect_script_0095.s',
'effect_script_0096.s',
'effect_script_0097.s',
'effect_script_0098.s',
'effect_script_0099.s',
'effect_script_0100.s',
'effect_script_0101.s',
'effect_script_0102.s',
'effect_script_0103.s',
'effect_script_0104.s',
'effect_script_0105.s',
'effect_script_0106.s',
'effect_script_0107.s',
'effect_script_0108.s',
'effect_script_0109.s',
'effect_script_0110.s',
'effect_script_0111.s',
'effect_script_0112.s',
'effect_script_0113.s',
'effect_script_0114.s',
'effect_script_0115.s',
'effect_script_0116.s',
'effect_script_0117.s',
'effect_script_0118.s',
'effect_script_0119.s',
'effect_script_0120.s',
'effect_script_0121.s',
'effect_script_0122.s',
'effect_script_0123.s',
'effect_script_0124.s',
'effect_script_0125.s',
'effect_script_0126.s',
'effect_script_0127.s',
'effect_script_0128.s',
'effect_script_0129.s',
'effect_script_0130.s',
'effect_script_0131.s',
'effect_script_0132.s',
'effect_script_0133.s',
'effect_script_0134.s',
'effect_script_0135.s',
'effect_script_0136.s',
'effect_script_0137.s',
'effect_script_0138.s',
'effect_script_0139.s',
'effect_script_0140.s',
'effect_script_0141.s',
'effect_script_0142.s',
'effect_script_0143.s',
'effect_script_0144.s',
'effect_script_0145.s',
'effect_script_0146.s',
'effect_script_0147.s',
'effect_script_0148.s',
'effect_script_0149.s',
'effect_script_0150.s',
'effect_script_0151.s',
'effect_script_0152.s',
'effect_script_0153.s',
'effect_script_0154.s',
'effect_script_0155.s',
'effect_script_0156.s',
'effect_script_0157.s',
'effect_script_0158.s',
'effect_script_0159.s',
'effect_script_0160.s',
'effect_script_0161.s',
'effect_script_0162.s',
'effect_script_0163.s',
'effect_script_0164.s',
'effect_script_0165.s',
'effect_script_0166.s',
'effect_script_0167.s',
'effect_script_0168.s',
'effect_script_0169.s',
'effect_script_0170.s',
'effect_script_0171.s',
'effect_script_0172.s',
'effect_script_0173.s',
'effect_script_0174.s',
'effect_script_0175.s',
'effect_script_0176.s',
'effect_script_0177.s',
'effect_script_0178.s',
'effect_script_0179.s',
'effect_script_0180.s',
'effect_script_0181.s',
'effect_script_0182.s',
'effect_script_0183.s',
'effect_script_0184.s',
'effect_script_0185.s',
'effect_script_0186.s',
'effect_script_0187.s',
'effect_script_0188.s',
'effect_script_0189.s',
'effect_script_0190.s',
'effect_script_0191.s',
'effect_script_0192.s',
'effect_script_0193.s',
'effect_script_0194.s',
'effect_script_0195.s',
'effect_script_0196.s',
'effect_script_0197.s',
'effect_script_0198.s',
'effect_script_0199.s',
'effect_script_0200.s',
'effect_script_0201.s',
'effect_script_0202.s',
'effect_script_0203.s',
'effect_script_0204.s',
'effect_script_0205.s',
'effect_script_0206.s',
'effect_script_0207.s',
'effect_script_0208.s',
'effect_script_0209.s',
'effect_script_0210.s',
'effect_script_0211.s',
'effect_script_0212.s',
'effect_script_0213.s',
'effect_script_0214.s',
'effect_script_0215.s',
'effect_script_0216.s',
'effect_script_0217.s',
'effect_script_0218.s',
'effect_script_0219.s',
'effect_script_0220.s',
'effect_script_0221.s',
'effect_script_0222.s',
'effect_script_0223.s',
'effect_script_0224.s',
'effect_script_0225.s',
'effect_script_0226.s',
'effect_script_0227.s',
'effect_script_0228.s',
'effect_script_0229.s',
'effect_script_0230.s',
'effect_script_0231.s',
'effect_script_0232.s',
'effect_script_0233.s',
'effect_script_0234.s',
'effect_script_0235.s',
'effect_script_0236.s',
'effect_script_0237.s',
'effect_script_0238.s',
'effect_script_0239.s',
'effect_script_0240.s',
'effect_script_0241.s',
'effect_script_0242.s',
'effect_script_0243.s',
'effect_script_0244.s',
'effect_script_0245.s',
'effect_script_0246.s',
'effect_script_0247.s',
'effect_script_0248.s',
'effect_script_0249.s',
'effect_script_0250.s',
'effect_script_0251.s',
'effect_script_0252.s',
'effect_script_0253.s',
'effect_script_0254.s',
'effect_script_0255.s',
'effect_script_0256.s',
'effect_script_0257.s',
'effect_script_0258.s',
'effect_script_0259.s',
'effect_script_0260.s',
'effect_script_0261.s',
'effect_script_0262.s',
'effect_script_0263.s',
'effect_script_0264.s',
'effect_script_0265.s',
'effect_script_0266.s',
'effect_script_0267.s',
'effect_script_0268.s',
'effect_script_0269.s',
'effect_script_0270.s',
'effect_script_0271.s',
'effect_script_0272.s',
'effect_script_0273.s',
'effect_script_0274.s',
'effect_script_0275.s',
'effect_script_0276.s'
)
Loading

0 comments on commit ec549c8

Please sign in to comment.