Skip to content

Commit

Permalink
Recompile with latest devkitARM; add custom banner
Browse files Browse the repository at this point in the history
  • Loading branch information
bl0ckeduser committed Apr 29, 2012
1 parent 67f48a3 commit 8a240b2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
19 changes: 13 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,28 @@ ifeq ($(strip $(DEVKITARM)),)
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
endif

include $(DEVKITARM)/ds_rules

ifeq ($(strip $(GAME_SUBTITLE1)),)
GAME_SUBTITLE1 := mini 3d platformer engine by Bl0ckeduser
GAME_SUBTITLE1 := Mini 3d platformer engine
endif

ifeq ($(strip $(GAME_SUBTITLE2)),)
GAME_SUBTITLE2 := Made with devkitpro (http://devkitpro.org/)
GAME_SUBTITLE2 := by Bl0ckeduser using devkitPro
endif

# My custom icon was created in GIMP from a screenshot
# of the game. I followed the mini-tutorial here:
# http://wiki.gbatemp.net/wiki/Custom_Icons
# Big thanks to whoever wrote it ;)
# I also had to palette-ify it:
# http://docs.gimp.org/en/gimp-image-convert-indexed.html
# using a 16-color palette. 256 colors failed.
ifeq ($(strip $(GAME_ICON)),)
GAME_ICON := $(DEVKITPRO)/libnds/icon.bmp
GAME_ICON := $(CURDIR)/../icon.bmp
endif


include $(DEVKITARM)/ds_rules

#---------------------------------------------------------------------------------
# TARGET is the name of the output
# BUILD is the directory where object files & intermediate files will be placed
Expand All @@ -40,7 +47,7 @@ INCLUDES := include
#---------------------------------------------------------------------------------
ARCH := -mthumb -mthumb-interwork

CFLAGS := -g -Wall -O2\
CFLAGS := -g -Wall -O3\
-march=armv5te -mtune=arm946e-s -fomit-frame-pointer\
-ffast-math \
$(ARCH)
Expand Down
3 changes: 3 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and to mtheall for the technical support.

-------------------------------------------------------------------

Notice: as of writing, this game will not run in the NO$GBA
emulator.

- The compiled ROM file is included here; it's "clown3d-DS.nds".
- All the game data and code is stored within the .nds file, no other
files are needed to run the game. There is no DLDI, so DLDI patching
Expand Down
Binary file modified clown3d-DS.nds
Binary file not shown.
6 changes: 2 additions & 4 deletions development-notes.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@

Development notes:

* The code doesn't seem to build OK with devKitARM r38.
It does however build right with devKitARM r37.
With devKitARM >= 38 it might be necessary to tweak the
Makefile (remove "no-fpu").
- As of writing, the code should build right with the
latest devkitARM.

The source here was forked from the November 12, 2011 snapshot of
clown3d.
Expand Down
Binary file added icon.bmp
Binary file not shown.

0 comments on commit 8a240b2

Please sign in to comment.