Hacking Changing Classic Control Configurations on Nintendont/GX Loader

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
251
Trophies
0
Age
38
XP
568
Country
Germany
either use linux or maybe try with msys2 (you need to have zip package installed, so if you type zip in a shell it should show a help/usage message. if it shows command not found you dont have zip installed)

but as stated in the build.sh and .bat files themselves, they are only there for compatibility reasons and not needed anyway
 

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
24,187
Trophies
1
XP
15,255
Country
United States
I have msys2 installed already. it error'd the first time saying that wii rules wasn't in the right folder. I'm going to try again in a moment.
 

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
24,187
Trophies
1
XP
15,255
Country
United States
nope, still did the same thing with msys:

1635530150960.png



1635530170488.png
 

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
251
Trophies
0
Age
38
XP
568
Country
Germany
do you use make or make windows=1? because you need to use only make.
also try make clean and make afterwards.
I also dont understand why you use sh from cmd, but if this is working, you should also be able to start sh shell and compile with make.
again if you look at the build scripts, only thing they do is running make forced/make forced windows=1 (which is make cleann && make)

in general it would be better to just copy/paste terminal output in
Code:
code tags
instead of posting screenshots, as it is much easier to read this way, its also easier this way to show more info
 

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
24,187
Trophies
1
XP
15,255
Country
United States
I know. I've got all three build methods to work (make, build.bat, and build.sh in command prompt), but I was curious why msys is throwing up an error. it's like it can't detect the command. I had to put devkitpro into the opt folder, because it couldn't detect the commands to make the files, originally throwing up an error in the beginning.

Edit: btw, windows=1 is no longer needed with zip and unzip installed and the make command.
 
Last edited by godreborn,

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
251
Trophies
0
Age
38
XP
568
Country
Germany
you need it in /opt because the environment variables (usually) point to this path

Code:
$ printenv | grep DEVKIT
DEVKITPRO=/opt/devkitpro
DEVKITARM=/opt/devkitpro/devkitARM
DEVKITPPC=/opt/devkitpro/devkitPPC

and in a Makefile for wii/gc/wiiu stuff you usually have something like this:
e.g.
include $(DEVKITPPC)/wii_rules

e.g. wii_rules:
Code:
$ cat /opt/devkitpro/devkitPPC/wii_rules
ifeq ($(strip $(DEVKITPPC)),)
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPro/devkitPPC)
endif

include $(DEVKITPPC)/base_rules

PORTLIBS        :=      $(PORTLIBS_PATH)/wii $(PORTLIBS_PATH)/ppc

export PATH     :=      $(PORTLIBS_PATH)/wii/bin:$(PORTLIBS_PATH)/ppc/bin:$(PATH)

export  LIBOGC_INC      :=      $(DEVKITPRO)/libogc/include
export  LIBOGC_LIB      :=      $(DEVKITPRO)/libogc/lib/wii

MACHDEP =  -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
...

but as you should use a package manager (e.g. pacman) to install/deinstall devktipro stuff instead of messing manually around there, it shouldn't matter anyway. Also /opt is perfectly fine for this and always remember its not windows where you have drive letters like c:, d:. its not working that way in linux
 
  • Like
Reactions: godreborn

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
24,187
Trophies
1
XP
15,255
Country
United States
I think it's finding the wii rules, because it error'd the first time about them. that's when I put devkitpro in the opt folder. however, I'm not sure what it means by missing rule for kernel.elf.o or whatever. it's like something isn't installed, I guess. windows doesn't have this problem, just linux. I saw one of your other posts where you used the make clean command, because you also had this problem with a nintendont fork iirc, but I tried that, and it didn't make a difference.
 

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
251
Trophies
0
Age
38
XP
568
Country
Germany
this is the dkp-libs and dkp-linux stuff I've installed
Code:
dkp-libs devkitarm-crtls
dkp-libs devkitarm-rules
dkp-libs devkitppc-rules
dkp-libs devkitpro-pkgbuild-helpers
dkp-libs libfat-ogc
dkp-libs libogc
dkp-libs ppc-bzip2
dkp-libs ppc-freetype
dkp-libs ppc-glm
dkp-libs ppc-libgd
dkp-libs ppc-libjpeg-turbo
dkp-libs ppc-libmad
dkp-libs ppc-libmodplug
dkp-libs ppc-libogg
dkp-libs ppc-libpng
dkp-libs ppc-libvorbis
dkp-libs ppc-libvorbisidec
dkp-libs ppc-mpg123
dkp-libs ppc-mxml
dkp-libs ppc-pkg-config
dkp-libs ppc-zlib
dkp-libs wiiu-pkg-config
dkp-libs wiiu-sdl2
dkp-libs wiiu-sdl2_gfx
dkp-libs wiiu-sdl2_image
dkp-libs wiiu-sdl2_mixer
dkp-libs wiiu-sdl2_ttf
dkp-libs wut
dkp-linux devkit-env
dkp-linux devkitARM
dkp-linux devkitPPC
dkp-linux devkitpro-keyring
dkp-linux gamecube-tools
dkp-linux general-tools
dkp-linux wut-tools
 

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
251
Trophies
0
Age
38
XP
568
Country
Germany
yup, either specify package names:
pacman -S devkitarm-rules devkitppc-rules devkitpro-pkgbuild-helpers ... ...

or group names:
pacman -S wii-dev wii-portlibs ppc-portlibs gamecube-dev ... ...
 
  • Like
Reactions: godreborn

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
24,187
Trophies
1
XP
15,255
Country
United States
I was able to install them in command prompt, the group names, but in msys64, it says this:

$ pacman -S wii-dev wii-portlibs ppc-portlibs gamecube-dev
error: target not found: wii-dev
error: target not found: wii-portlibs
error: target not found: ppc-portlibs
error: target not found: gamecube-dev

btw, make works in msys64, not sure what's going on.
 

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
24,187
Trophies
1
XP
15,255
Country
United States
I found this: https://packages.msys2.org/package/mingw-w64-i686-boost

it contains the right file, but I still get an error after installing it and its build dependencies:

make
make -C wfslib
make[1]: Entering directory '/home/GODREBORN/Desktop/wfslib-master/wfslib'
g++ -c -Wall -Werror -std=c++14 Area.cpp -o Area.o
In file included from Area.cpp:13:
Structs.h:10:10: fatal error: boost/endian/buffers.hpp: No such file or directory
10 | #include <boost/endian/buffers.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:13: Area.o] Error 1
make[1]: Leaving directory '/home/GODREBORN/Desktop/wfslib-master/wfslib'
make: *** [Makefile:21: wfslib] Error 2
 

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
251
Trophies
0
Age
38
XP
568
Country
Germany
maybe you need 64-bit version, especially as you mentioned msys64 (which doesnt exist so you probably meant msys2 64bit)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    Peepa @ Peepa: noh. am peepa. peepa go peep like bird