25 lines
548 B
Python
Executable file
25 lines
548 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
from architectds import *
|
|
|
|
nitrofs = NitroFS()
|
|
nitrofs.add_nflib_sprite_3d(['res/sprite'], 'sprite')
|
|
nitrofs.generate_image()
|
|
|
|
arm9 = Arm9Binary(
|
|
sourcedirs=['src'],
|
|
libs=['nds9', 'nflib'],
|
|
libdirs=['${BLOCKSDS}/libs/libnds', '${BLOCKSDSEXT}/nflib']
|
|
)
|
|
arm9.generate_elf()
|
|
|
|
nds = NdsRom(
|
|
binaries=[arm9, nitrofs],
|
|
nitrofsdirs=['res/data'],
|
|
game_title='Uncanny Cat Golf',
|
|
game_subtitle='Cat Golf On The Go',
|
|
game_author='SH2K + Fogwaves',
|
|
)
|
|
nds.generate_nds()
|
|
|
|
nds.run_command_line_arguments()
|