Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
build-n3ds/
build-wiiu/

output-wiiu/
output-3ds/
output/

.vscode/
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ include $(DEVKITARM)/3ds_rules
#---------------------------------------------------------------------------------
TARGET := $(notdir $(CURDIR))
PROFILE ?= 0
BUILD := build-n3ds$(if $(filter 0,$(PROFILE)),,-profile)
BUILD := build/n3ds$(if $(filter 0,$(PROFILE)),,-profile)
SOURCES := src src/n3ds
DATA := data
INCLUDES := src src/n3ds
GRAPHICS := gfx
OUTPUT := output
RESOURCES := resources
ROMFS := romfs
OUTPUT := output/3ds
RESOURCES := resources/3ds/meta
ROMFS := resources/3ds/romfs
GFXBUILD := $(ROMFS)/gfx
#---------------------------------------------------------------------------------
# Resource Setup
Expand Down
16 changes: 10 additions & 6 deletions Makefile.wiiu
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,22 @@ TOPDIR ?= $(CURDIR)
include $(DEVKITPRO)/wut/share/wut_rules

TARGET := undertale
BUILD := build-wiiu
SOURCES := src src/wiiu
INCLUDES := src src/wiiu
OUTPUT := output-wiiu
RESOURCES := resources/wiiu
OUTPUT := output/wiiu

# I want to rename this to build/wiiu but I can't because when I do it skips straight to linking and since nothing compiled, it dies.
BUILD := build-wiiu

CONTENT_DIR := $(TOPDIR)/$(OUTPUT)/content

export APP_NAME := Undertale
export APP_SHORTNAME := Undertale
export APP_AUTHOR := Grayforz2468
export APP_ICON := $(TOPDIR)/resources/wiiu/icon.png
export APP_TV_IMAGE := $(TOPDIR)/resources/wiiu/tv.png
export APP_DRC_IMAGE := $(TOPDIR)/resources/wiiu/drc.png
export APP_ICON := $(TOPDIR)/$(RESOURCES)/meta/icon.png
export APP_TV_IMAGE := $(TOPDIR)/$(RESOURCES)/meta/tv.png
export APP_DRC_IMAGE := $(TOPDIR)/$(RESOURCES)/meta/drc.png
export APP_CONTENT := $(CONTENT_DIR)

ifeq ($(OS),Windows_NT)
Expand All @@ -34,7 +38,7 @@ else
CAFEGLSL ?= $(TOPDIR)/tools/CafeGLSL/glslcompiler.elf
endif

WIIU_SHADER_DIR := $(TOPDIR)/resources/wiiu/shaders
WIIU_SHADER_DIR := $(TOPDIR)/$(RESOURCES)/shaders
WIIU_SHADERS := $(WIIU_SHADER_DIR)/textured_quad.gsh $(WIIU_SHADER_DIR)/pos_col.gsh
WIIU_SHADER_HDR := $(TOPDIR)/src/wiiu/textured_quad_gsh.h $(TOPDIR)/src/wiiu/pos_col_gsh.h
WIIU_SHADER_PREBUILT := $(WIIU_SHADERS) $(WIIU_SHADER_HDR)
Expand Down
2 changes: 1 addition & 1 deletion build-wiiu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ VERSION="1.0.0"

SOURCE_DIR="./source"
BUILD_DIR="./build"
OUTPUT_DIR="./output-wiiu"
OUTPUT_DIR="./output/wiiu"

ICON="./resources/wiiu/icon.png" # 128x128 PNG
TV_IMAGE="./resources/wiiu/tv.png" # 1280x720 PNG (TV banner)
Expand Down
2 changes: 1 addition & 1 deletion make wuhb windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set VERSION=1.0.0

set SOURCE_DIR=.\source
set BUILD_DIR=.\build
set OUTPUT_DIR=.\output-wiiu
set OUTPUT_DIR=.\output/wiiu

set ICON=.\resources\wiiu\icon.png
set TV_IMAGE=.\resources\wiiu\tv.png
Expand Down
2 changes: 1 addition & 1 deletion make-cia-n3ds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export DEVKITARM=$DEVKITPRO/devkitARM
MAKEROM="$DEVKITPRO/tools/bin/makerom"

# Basic makerom params (avoid using RSF). Override values as needed.
OUT_DIR=./build-n3ds
OUT_DIR=./build/n3ds
ELF="$OUT_DIR/cinnamon.elf"
OUT_CIA="$OUT_DIR/cinnamon.cia"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
Loading