Which version of devkitPPC and libogc is used to compile wii64?

All Wii64 related discussions here
Post Reply
xjsxjs197
Posts: 8
Joined: Wed Aug 16, 2017 1:32 pm

Which version of devkitPPC and libogc is used to compile wii64?

Post by xjsxjs197 » Mon Feb 14, 2022 9:44 am

Thank you very much, emukidid for your recent Wii64 1.3-20211222.
I want to ask about the version of devkitPPC and libogc for compile.
Although it can be compiled with devkitPPC32 and libOGC2, but no game can run normally.
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Which version of devkitPPC and libogc is used to compile wii64?

Post by emu_kidid » Tue Feb 15, 2022 2:56 am

I'm using:
powerpc-eabi-gcc (devkitPPC release 39) 11.1.0
with the latest libogc2 git + libfat (https://github.com/extremscorner/libfat)

What happens exactly when you run a game?

You should disable -flto in the main makefile.
Image
xjsxjs197
Posts: 8
Joined: Wed Aug 16, 2017 1:32 pm

Re: Which version of devkitPPC and libogc is used to compile wii64?

Post by xjsxjs197 » Wed Feb 16, 2022 12:50 am

emu_kidid wrote:
Tue Feb 15, 2022 2:56 am
I'm using:
powerpc-eabi-gcc (devkitPPC release 39) 11.1.0
with the latest libogc2 git + libfat (https://github.com/extremscorner/libfat)
Thank you very much for your reply.
I used the latest libogc2 git + libfat, It can be compiled normally, and the game can be played!
xjsxjs197
Posts: 8
Joined: Wed Aug 16, 2017 1:32 pm

Re: Which version of devkitPPC and libogc is used to compile wii64?

Post by xjsxjs197 » Tue Feb 22, 2022 5:27 am

Sorry, there are a few other problems.
1: Running through dolphin, the Wii64 icon in the upper left corner is gone.
2: It takes a long time to load high-volume games.
The version your released also has the same problem, Real wii is also very slow.
3: The system often crashes.

I compiled it in the following way
1: Download Wii64 1.3-20211222 release source,
Download the latest libogc2 git + libfat
2: Compile libogc2 and libfat with devkitPPC39
3: Compile Wii64 1.3-20211222 with devkitPPC39 + libogc2 + libfat
Makefile has not been modified.

Is there something wrong? Or has libogc2 and libfat changed since Wii64 1.3-20211222 was released?
User avatar
saulfabreg
Posts: 24
Joined: Mon Aug 02, 2021 4:34 pm
Contact:

Re: Which version of devkitPPC and libogc is used to compile wii64?

Post by saulfabreg » Wed Mar 16, 2022 11:52 pm

Sorry forreliving a thread but when i try to compile Wii64 i have these errors:

glN64_Wii
$ make -f makefile.gln64_wii
powerpc-eabi-g++ -DGLN64_GX -D__LINUX__ -DWII -DHW_RVL -DUSE_EXPANSION -D__wii__ -g -O3 -Wall -Wno-parentheses -Wno-unused-parameter -pipe -mcpu=750 -meabi -mhard-float -I/opt/devkitpro/libogc2/include -I/opt/devkitpro/portlibs/ppc/include -DGEKKO -D__GX__ -DUSE_GUI -DRELEASE -DMENU_V2 -DTHREADED_AUDIO -DUSE_RECOMP_CACHE -DPPC_DYNAREC -DFASTMEM -DNO_ASM -c -o glN64_GX/glN64.o glN64_GX/glN64.cpp
make: powerpc-eabi-g++: No such file or directory
make: *** [<builtin>: glN64_GX/glN64.o] Error 127

Rice_Wii

$ make -f makefile.rice_wii
powerpc-eabi-g++ -DRICE_GFX -DWII -DHW_RVL -DUSE_EXPANSION -D__wii__ -g -O3 -Wall -Wno-parentheses -Wno-unused-parameter -pipe -mcpu=750 -meabi -mhard-float -I/opt/devkitpro/libogc2/include -I/opt/devkitpro/portlibs/ppc/include -DGEKKO -D__GX__ -DUSE_GUI -DRELEASE -DMENU_V2 -DTHREADED_AUDIO -DUSE_RECOMP_CACHE -DPPC_DYNAREC -DFASTMEM -DNO_ASM -c -o TextureArchive/ArchiveReader.o TextureArchive/ArchiveReader.cpp
make: powerpc-eabi-g++: No such file or directory
make: *** [<builtin>: TextureArchive/ArchiveReader.o] Error 127


Am i doing something wrong, something's missing, or what's going on?
xjsxjs197
Posts: 8
Joined: Wed Aug 16, 2017 1:32 pm

Re: Which version of devkitPPC and libogc is used to compile wii64?

Post by xjsxjs197 » Thu Mar 17, 2022 6:11 am

saulfabreg wrote:
Wed Mar 16, 2022 11:52 pm
Am i doing something wrong, something's missing, or what's going on?
Put the following information into makefile.base, and try again.

ifeq ($(strip $(DEVKITPRO)),)
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro")
endif

ifeq ($(strip $(DEVKITPPC)),)
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC")
endif

export PATH := $(DEVKITPPC)/bin:$(PATH)

include $(DEVKITPPC)/base_rules
Post Reply