Emulator Help compiling latest commits of Wii64?

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
@SaulFabre , I think I may know the source of your problem. you didn't set the bin folder to environmental variables:
export PATH=/opt/devkitpro/devkitPPC/bin:$PATH

I couldn't get it to compile though. it went on for a while, but then it got stuck at fat.h. libfat doesn't seem to work correctly, so the project may be too old.
 
  • Like
Reactions: SaulFabre

SaulFabre

I like Yoshis and the Wii/Wii U scene.
OP
Member
Joined
Feb 6, 2019
Messages
3,200
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,900
Country
Ecuador
@SaulFabre , I think I may know the source of your problem. you didn't set the bin folder to environmental variables:
export PATH=/opt/devkitpro/devkitPPC/bin:$PATH

I couldn't get it to compile though. it went on for a while, but then it got stuck at fat.h. libfat doesn't seem to work correctly, so the project may be too old.
thanks @godreborn, but i already i think i got it.
I just used the build.bat script provided with the source code and it compiled it for me.
Only thing i saw that didn't compile was the WiiVC versions (but that doesn't matter to me) :P
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
thanks @godreborn, but i already i think i got it.
I just used the build.bat script provided with the source code and it compiled it for me.
Only thing i saw that didn't compile was the WiiVC versions (but that doesn't matter to me) :P
that still doesn't work for me. it can't find gctypes or gccore, not sure why.
 
  • Like
Reactions: SaulFabre

SaulFabre

I like Yoshis and the Wii/Wii U scene.
OP
Member
Joined
Feb 6, 2019
Messages
3,200
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,900
Country
Ecuador
that still doesn't work for me. it can't find gctypes or gccore, not sure why.
don't know what is your problem...

but today i was fixing some code for autobooting games on Wii64 and when i got to compiling, i finally got compiling both original Wii and WiiVC versions of Wii64.
 
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
don't know what is your problem...

but today i was fixing some code for autobooting games on Wii64 and when i got to compiling, i finally got compiling both original Wii and WiiVC versions of Wii64.
I think I got all errors corrected except wiidrc/wiidrc.h. there's no make install with it, so I don't know where the files go for that.
 
  • Like
Reactions: SaulFabre

SaulFabre

I like Yoshis and the Wii/Wii U scene.
OP
Member
Joined
Feb 6, 2019
Messages
3,200
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,900
Country
Ecuador
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
still doesn't work:

C:\Users\GODREBORN\Desktop\f\Wii64>del release\*.dol /s
Could Not Find C:\Users\GODREBORN\Desktop\f\Wii64\release\*.dol

C:\Users\GODREBORN\Desktop\f\Wii64>mv cube*.dol release\gamecube\
mv: cannot stat 'cube*.dol': No such file or directory

C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-glN64.dol release\apps\wii64\boot.dol
mv: cannot stat 'wii64-glN64.dol': No such file or directory

C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-glN64-wiivc.dol release\apps\wii64_wiivc\boot.dol
mv: cannot stat 'wii64-glN64-wiivc.dol': No such file or directory

C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-Rice.dol "release\apps\wii64 Rice\boot.dol"
mv: cannot stat 'wii64-Rice.dol': No such file or directory

C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-Rice-wiivc.dol "release\apps\wii64 Rice_wiivc\boot.dol"
mv: cannot stat 'wii64-Rice-wiivc.dol': No such file or directory

C:\Users\GODREBORN\Desktop\f\Wii64>pause
Press any key to continue . . .
 
  • Like
Reactions: SaulFabre

SaulFabre

I like Yoshis and the Wii/Wii U scene.
OP
Member
Joined
Feb 6, 2019
Messages
3,200
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,900
Country
Ecuador
still doesn't work:

C:\Users\GODREBORN\Desktop\f\Wii64>del release\*.dol /s
Could Not Find C:\Users\GODREBORN\Desktop\f\Wii64\release\*.dol

C:\Users\GODREBORN\Desktop\f\Wii64>mv cube*.dol release\gamecube\
mv: cannot stat 'cube*.dol': No such file or directory

C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-glN64.dol release\apps\wii64\boot.dol
mv: cannot stat 'wii64-glN64.dol': No such file or directory

C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-glN64-wiivc.dol release\apps\wii64_wiivc\boot.dol
mv: cannot stat 'wii64-glN64-wiivc.dol': No such file or directory

C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-Rice.dol "release\apps\wii64 Rice\boot.dol"
mv: cannot stat 'wii64-Rice.dol': No such file or directory

C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-Rice-wiivc.dol "release\apps\wii64 Rice_wiivc\boot.dol"
mv: cannot stat 'wii64-Rice-wiivc.dol': No such file or directory

C:\Users\GODREBORN\Desktop\f\Wii64>pause
Press any key to continue . . .
same thing happened to me, but i got the elf files luckily.

Just take the elf files you got from compiling, then convert them to dol with elf2dol.
(Copy the elfs to C:/devkitPro/tools/bin, then open CMD in that directory, and launch the following command for each elf you want to make a dol:
elf2dol.exe [your_elf].elf [new_dol].dol
Example: elf2dol.exe wii64-glN64.elf wii64-glN64.dol
That's all! :) )
 

SaulFabre

I like Yoshis and the Wii/Wii U scene.
OP
Member
Joined
Feb 6, 2019
Messages
3,200
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,900
Country
Ecuador
  • Like
Reactions: godreborn

SaulFabre

I like Yoshis and the Wii/Wii U scene.
OP
Member
Joined
Feb 6, 2019
Messages
3,200
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,900
Country
Ecuador
  • Like
Reactions: godreborn

Wiimpathy

Well-Known Member
Member
Joined
Mar 3, 2010
Messages
1,013
Trophies
2
XP
3,140
Country
France
Compiled on linux few months ago, I've added this at the beginning of Makefile.base :

include $(DEVKITPPC)/wii_rules

It also might depend how you installed the libs with the pacman utility. Not too fond of this change in devkitpro but once used to it, it's not so bad.
 
  • Like
Reactions: SaulFabre

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
Compiled on linux few months ago, I've added this at the beginning of Makefile.base :

include $(DEVKITPPC)/wii_rules

It also might depend how you installed the libs with the pacman utility. Not too fond of this change in devkitpro but once used to it, it's not so bad.
godreborn@GODREBORN-LAPTOP:~/Wii64-1.3-20212212$ make -f Makefile.glN64_wii
powerpc-eabi-g++ glN64_GX/glN64.o glN64_GX/Config_linux.o glN64_GX/OpenGL.o glN64_GX/N64.o glN64_GX/RSP.o glN64_GX/VI.o glN64_GX/Textures.o glN64_GX/FrameBuffer.o glN64_GX/Combiner.o glN64_GX/gDP.o glN64_GX/gSP.o glN64_GX/GBI.o glN64_GX/DepthBuffer.o glN64_GX/CRC.o glN64_GX/2xSAI.o glN64_GX/TEV_combiner.o glN64_GX/RDP.o glN64_GX/F3D.o glN64_GX/F3DEX.o glN64_GX/F3DEX2.o glN64_GX/L3D.o glN64_GX/L3DEX.o glN64_GX/L3DEX2.o glN64_GX/S2DEX.o glN64_GX/S2DEX2.o glN64_GX/F3DPD.o glN64_GX/F3DDKR.o glN64_GX/F3DWRUS.o glN64_GX/F3DCBFD.o gc_memory/TLB-Cache-hash.o vm/dsihandler.o vm/wii_vm.o main/wii.o main/gamehacks.o main/rom_gc.o main/ROM-Cache.o main/main_gc-menu2.o main/gczip.o main/timers.o main/boxart.o main/boxart_resource.o menu/MenuContext.o menu/MainFrame.o menu/MiniMenuFrame.o menu/SelectRomFrame.o menu/LoadRomFrame.o menu/FileBrowserFrame.o menu/ConfigureButtonsFrame.o menu/ConfigureInputFrame.o menu/ConfigurePaksFrame.o menu/CurrentRomFrame.o menu/LoadSaveFrame.o menu/SaveGameFrame.o menu/SettingsFrame.o menu/SelectCPUFrame.o menu/MenuResources.o libgui/Box3D.o libgui/Button.o libgui/Component.o libgui/CursorManager.o libgui/FocusManager.o libgui/Frame.o libgui/GraphicsGX.o libgui/Gui.o libgui/GuiResources.o libgui/Image.o libgui/InputManager.o libgui/InputStatusBar.o libgui/IPLFont.o libgui/LoadingBar.o libgui/Logo.o libgui/MainInfoBar.o libgui/MessageBox.o libgui/MiniInfoBar.o libgui/resources.o libgui/TextBox.o fileBrowser/gc_dvd.o fileBrowser/fileBrowser-DVD.o fileBrowser/fileBrowser-CARD.o fileBrowser/fileBrowser-libfat.o fileBrowser/fileBrowser.o gui/GUI.o gui/DEBUG.o gui/TEXT.o r4300/r4300.o r4300/exception.o r4300/Invalid_Code.o r4300/Recomp-Cache-Heap.o gc_memory/tlb.o gc_memory/memory.o gc_memory/dma.o r4300/interupt.o r4300/recomp.o gc_memory/n64_cic_nus_6105.o gc_memory/pif.o r4300/pure_interp.o r4300/compare_core.o gc_memory/flashram.o main/md5.o main/savestates_gc.o r4300/profile.o main/adler32.o gc_input/controller-Classic.o gc_input/controller-WiimoteNunchuk.o gc_input/input.o gc_input/controller-GC.o gc_audio/audio.o rsp_hle/alist.o rsp_hle/alist_audio.o rsp_hle/alist_naudio.o rsp_hle/alist_nead.o rsp_hle/audio.o rsp_hle/cicx105.o rsp_hle/hle.o rsp_hle/hvqm.o rsp_hle/jpeg.o rsp_hle/memory.o rsp_hle/mp3.o rsp_hle/musyx.o rsp_hle/re2.o rsp_hle/plugin.o r4300/ppc/MIPS-to-PPC.o r4300/ppc/Recompile.o r4300/ppc/Wrappers.o r4300/ppc/FuncTree.o r4300/ppc/Register-Cache.o -mrvl -O3 -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float -mcpu=750 -meabi -mhard-float -Wl,-Map,wii64-glN64.elf.map -Wl,--cref -L/opt/devkitpro/libogc2/lib/wii -L/opt/devkitpro/portlibs/ppc/lib -lwiiuse -lbte -lz -logc -lm -lfat -ldb -lz -laesnd -logc -static -o wii64-glN64.elf
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld: cannot find -lfat
collect2: error: ld returned 1 exit status
make: *** [Makefile.base:159: wii64-glN64.elf] Error 1
 
  • Like
Reactions: SaulFabre

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @ZeroT21, The Russians are after you lol.
  • K3Nv2 @ K3Nv2:
    Send me your ip I'll remotely fix it
  • ZeroT21 @ ZeroT21:
    @K3Nv2 my head needs fixing if I believe you
  • ZeroT21 @ ZeroT21:
    it's kinda fun watching it happen tho
  • K3Nv2 @ K3Nv2:
    It needs fixing for other things but your pc I can fix
  • ZeroT21 @ ZeroT21:
    over 300+ virus/trojians/worms after scanning, what did I do to deserve this attention lol
  • ZeroT21 @ ZeroT21:
    tho I find it funny when i receive other people's pc/laptops in this state
  • ZeroT21 @ ZeroT21:
    i wont be upgrading unless I cant run the games i want anymore
  • K3Nv2 @ K3Nv2:
    Spill water on it good excuse
  • ZeroT21 @ ZeroT21:
    @K3Nv2 that's like a valid option if someone else is paying for ya
  • K3Nv2 @ K3Nv2:
    Daddy's wallet
  • K3Nv2 @ K3Nv2:
    Ngl hogwarts legacy has good pooping music
  • OctoAori20 @ OctoAori20:
    That's uh-
  • OctoAori20 @ OctoAori20:
    That's certainly a Dairy Queen sign lmao
  • K3Nv2 @ K3Nv2:
    You should see his help wanted signs
  • OctoAori20 @ OctoAori20:
    Ugh, so many sweat-dipwads in Sploon 3 Anarchy mode tonight
  • OctoAori20 @ OctoAori20:
    I didn't know this was "Make Octo never finish Fresh Season 2024 Catalog in Splatoon 3" month, good god
  • Veho @ Veho:
    What's the point of "confirming" games you know will get released. Like Nintendo "confirming" a Zelda sequel. "We can't be sure Nintendo is working on a new Zelda game, or if a new Zelda game will ever be released, until they officially confirm it."
  • Veho @ Veho:
    "There is literally no way to know if they will ever release a new Zelda game, it's wild speculation until they officially confirm it."
  • K3Nv2 @ K3Nv2:
    Black ops was the lesser shitter line in cock a poopoo tbf just a way to let people know it hasn't died or going a different route I guess
  • K3Nv2 @ K3Nv2:
    $70 DLC per 6 months is what it turned into
    K3Nv2 @ K3Nv2: https://youtu.be/R28ZSY2Sc2A?si=H5Lb6PNkzMhAHO_P