Unable to Build Nintendont
Posted: Mon Apr 08, 2024 7:47 am
I'm trying to build an updated version of Nintendont due to Tales of Symphonia not playing nice when ISO cache is enabled.
Issue: If you're in Palmacosta and talk to the person who wants you to guide them to Hakonesia Peak, but say no, and then talk again but say yes you'll get to that location with a black screen and music playing but controls locked.
This has been confirmed correct by another user who tested my save with their build that has ISO Caching off.
I went through the READ ME and set up a folder devkitpro then put both devkitARM and devkitPPC, then added those both to my environment variables (I'm on Windows 10).
Using cygdrive as Powershell and CMD refuse to work properly with the Build.bat, and things like uname come up which wont work. So I just run "make forced windows=1" within cygdrive and I was able to get the following done:
So I went into the libogc folder and added the includes as needed. Not sure where I'm supposed to put them otherwise, and the missing libraries into loader\extlibs\lib as per the Makefile under loader as it shows:
After fixing that I'm loaded up with more...
I've checked the files and the headers are there so I'm at a loss now on what to do.
As per the READ ME I'm using devkitARM r53-1, devkitPPC r35-2, and libOGC 1.8.23-1
Any help would be greatly appreciated. Sorry if this isn't in the right section, I wasn't sure if I needed to post this in the GC / Wii Dev area or under Devkitpro.
Issue: If you're in Palmacosta and talk to the person who wants you to guide them to Hakonesia Peak, but say no, and then talk again but say yes you'll get to that location with a black screen and music playing but controls locked.
This has been confirmed correct by another user who tested my save with their build that has ISO Caching off.
I went through the READ ME and set up a folder devkitpro then put both devkitARM and devkitPPC, then added those both to my environment variables (I'm on Windows 10).
Using cygdrive as Powershell and CMD refuse to work properly with the Build.bat, and things like uname come up which wont work. So I just run "make forced windows=1" within cygdrive and I was able to get the following done:
Code: Select all
Building Nintendont loader
C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C loader
make[1]: Entering directory 'C:/Nintendont-master/loader'
IOSInterface.bin
/usr/bin/sh: line 1: bin2s: command not found
PADReadGC.bin
/usr/bin/sh: line 1: bin2s: command not found
background.png
/usr/bin/sh: line 1: bin2s: command not found
font.zip
/usr/bin/sh: line 1: bin2s: command not found
kernel.zip
/usr/bin/sh: line 1: bin2s: command not found
kernelboot.bin
/usr/bin/sh: line 1: bin2s: command not found
multidol_ldr.bin
/usr/bin/sh: line 1: bin2s: command not found
stub.bin
/usr/bin/sh: line 1: bin2s: command not found
FPad.c
In file included from C:/Nintendont-master/loader/include/FPad.h:24,
from C:/Nintendont-master/loader/source/FPad.c:22:
C:/Nintendont-master/loader/include/global.h:24:10: fatal error: gctypes.h: No such file or directory
#include <gctypes.h>
^~~~~~~~~~~
compilation terminated.
make[2]: *** [C:\devkitpro\devkitPPC/base_rules:52: FPad.o] Error 1
make[1]: *** [Makefile:108: build] Error 2
make[1]: Leaving directory 'C:/Nintendont-master/loader'
make: *** [Makefile:87: loader] Error 2
Code: Select all
#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project
#---------------------------------------------------------------------------------
LIBS := -lfreetype -lpngu -lpng -lz \
-lwiiuse -lwiidrc -lwupc -lbte -lfatfs-ppc -logc -ldi -lm
Code: Select all
Building Nintendont loader
C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C loader
make[1]: Entering directory 'C:/Nintendont-master/loader'
linking ... loader.elf
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: FPad.o: in function `FPAD_Init':
C:/Nintendont-master/loader/source/FPad.c:58: undefined reference to `PADReadGC_bin_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/FPad.c:58: undefined reference to `PADReadGC_bin'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/FPad.c:58: undefined reference to `PADReadGC_bin_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/FPad.c:58: undefined reference to `PADReadGC_bin'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: global.o: in function `Initialise':
C:/Nintendont-master/loader/source/global.c:187: undefined reference to `font_zip_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: global.o: in function `unzip_data':
C:/Nintendont-master/loader/source/global.c:158: undefined reference to `font_zip_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/global.c:158: undefined reference to `font_zip'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/global.c:158: undefined reference to `font_zip'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: global.o: in function `Initialise':
C:/Nintendont-master/loader/source/global.c:190: undefined reference to `background_png'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/global.c:190: undefined reference to `background_png'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: main.o: in function `main':
C:/Nintendont-master/loader/source/main.c:686: undefined reference to `kernel_zip_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:686: undefined reference to `kernel_zip'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:686: undefined reference to `kernel_zip_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:686: undefined reference to `kernel_zip'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:692: undefined reference to `kernelboot_bin_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:692: undefined reference to `kernelboot_bin_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:692: undefined reference to `kernelboot_bin'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:692: undefined reference to `kernelboot_bin'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1545: undefined reference to `IOSInterface_bin_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1545: undefined reference to `IOSInterface_bin_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1545: undefined reference to `IOSInterface_bin'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1545: undefined reference to `IOSInterface_bin'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1550: undefined reference to `stub_bin_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1550: undefined reference to `stub_bin_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1550: undefined reference to `stub_bin'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1550: undefined reference to `stub_bin'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1674: undefined reference to `multidol_ldr_bin_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1674: undefined reference to `multidol_ldr_bin'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1674: undefined reference to `multidol_ldr_bin_size'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/8.3.0/../../../../powerpc-eabi/bin/ld.exe: C:/Nintendont-master/loader/source/main.c:1674: undefined reference to `multidol_ldr_bin'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [C:\devkitpro\devkitPPC/wii_rules:25: C:/Nintendont-master/loader/loader.elf] Error 1
make[1]: *** [Makefile:108: build] Error 2
make[1]: Leaving directory 'C:/Nintendont-master/loader'
make: *** [Makefile:87: loader] Error 2
As per the READ ME I'm using devkitARM r53-1, devkitPPC r35-2, and libOGC 1.8.23-1
Any help would be greatly appreciated. Sorry if this isn't in the right section, I wasn't sure if I needed to post this in the GC / Wii Dev area or under Devkitpro.