Homebrew Error compiling Descent source code for Wii

Geekfox

Member
OP
Newcomer
Joined
Apr 25, 2022
Messages
5
Trophies
0
Age
41
Location
USA
XP
155
Country
United States
I'm trying to modify the field of view when playing Descent on Wii (especially in widescreen), but I'm running into compile errors from the Descent Wii source by Tueidj.

A minute later after I started compiling, it threw an error saying "fatal error: zlib.h: No such file or directory".

It's strange because I thought devkitPro provides zlib on its Wii/GC package, but apparently not. No problem, I hope, so I installed the missing zlib files from "zlib-1.2.5-ppc.tar.bz2" to appropriate folders and the error went away.

Then the next error stumbled me, and I don't know what to do:
blit.S
tmap_per.S
vecmatppc.S
fixppc.S
wii_exception.S
linking ... descent.elf
f:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: netipx.o:F:/devkitPro/descent-wii-master/source/main/netipx.c:96: multiple definition of `Players'; gameseq.o:F:/devkitPro/descent-wii-master/source/main/gameseq.c:111: first defined here
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/devkitPPC/wii_rules:30: /opt/devkitpro/descent-wii-master/descent.elf] Error 1
rm d_textures.tpl
make: *** [Makefile:108: build] Error 2

> Process Exit Code: 2

I'm not really sure what's at fault here. Even though it wasn't marked red, collect2.exe seems to be causing the stop error, as the line before that doesn't look like some sort of error.

I'm using the latest libraries provided by devkitPro Update 3.0.3 as of few days ago. Any help appreciated.
 

leseratte

Wiimmfi Team
Member
Joined
Jun 2, 2012
Messages
453
Trophies
1
XP
1,859
Country
Germany
The line before that is absolutely the error.

Most likely that application hasn't been updated to work with the -fno-common parameter that newer GCCs use by default. Easiest - if that application is no longer being maintained - is probably to use an older version of devkitPPC to get this to compile.
 
  • Like
Reactions: JuanMena

niuus

Well-Known Member
Member
Joined
Mar 4, 2016
Messages
2,023
Trophies
1
XP
4,458
Country
Venezuela
I'm trying to modify the field of view when playing Descent on Wii (especially in widescreen), but I'm running into compile errors from the Descent Wii source by Tueidj.

A minute later after I started compiling, it threw an error saying "fatal error: zlib.h: No such file or directory".

It's strange because I thought devkitPro provides zlib on its Wii/GC package, but apparently not. No problem, I hope, so I installed the missing zlib files from "zlib-1.2.5-ppc.tar.bz2" to appropriate folders and the error went away.

Then the next error stumbled me, and I don't know what to do:


I'm not really sure what's at fault here. Even though it wasn't marked red, collect2.exe seems to be causing the stop error, as the line before that doesn't look like some sort of error.

I'm using the latest libraries provided by devkitPro Update 3.0.3 as of few days ago. Any help appreciated.
I've made a fork of it, you can find the updated link here.

You could also PM me the source code changes or just make a Pull Request, I will check it when I have some time, recompile, and test your changes.
 

Geekfox

Member
OP
Newcomer
Joined
Apr 25, 2022
Messages
5
Trophies
0
Age
41
Location
USA
XP
155
Country
United States
Thanks for the reply. Your fork of Descent for Wii is where I got the source code.

Unfortunately, I wasn't able to test any code changes, as I couldn't compile it without errors. I don't know which older package of devkitPPC was used to compile it, or how the compile workspace was set up before devkitPro.

Looking at the source code, I think line 64 in "source\main\render.c" sets the player's field of view, though I don't know if incrementing or decrementing the value would increase the FOV.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Having every channel is fun lol
  • D @ diamondsofmayhem:
    Actually, finally found someone who was looking for the same thing. https://gbatemp.net/threads/lost-hyrule-warriors-legends-v1-6-0-ntr-plugin.628141/ to no avail.
  • D @ diamondsofmayhem:
    well, sorry for bugging yall with this.
  • Xdqwerty @ Xdqwerty:
    good night
  • Sicklyboy @ Sicklyboy:
    sup nerds
    +1
  • BigOnYa @ BigOnYa:
    Sup dawg, watching old rap vids so feel like I gotta talk...Real
  • BigOnYa @ BigOnYa:
    Not really just funny. I'm definitely a nerd!
  • ShinyLuxio @ ShinyLuxio:
    Hi there, it's any way to recover original LFCS if I don't have a NAND backup?
  • ShinyLuxio @ ShinyLuxio:
    Bought second hand 3DS, it seems it was "unbanned" but that was before I bought it
  • K3Nv2 @ K3Nv2:
    I got these in today for $20 stink buds they aren't that bad https://a.co/d/fOMSn8g
    +1
  • ShinyLuxio @ ShinyLuxio:
    @BigOnYa thanks but my question isn't there
  • BigOnYa @ BigOnYa:
    You ask your questions there, create a new thread if its not already answered, then eventually a 3ds genius will respond.
  • ShinyLuxio @ ShinyLuxio:
    I will, thanks
    +1
  • BigOnYa @ BigOnYa:
    No prob and btw, welcome to gbatemp! :grog:
  • BigOnYa @ BigOnYa:
    @K3Nv2 I got some cheapies at wallys, that are pretty good, already have lost a few expensive ones (one falls out and gone, can't find) while cutting grass so bought some cheap ones, and of course never lose these cheap ones. (Cheap meaning only $35, compared to air buds which I only have 1 of 2 now)
  • BigOnYa @ BigOnYa:
    They need to add air tags to they airbuds..
  • The Real Jdbye @ The Real Jdbye:
    @BigOnYa the airtags are bigger than the airpods, they won't fit
    +1
  • BigOnYa @ BigOnYa:
    Be cool tech tho. Of course they want to lose them anyways. Buy and buy again.
  • K3Nv2 @ K3Nv2:
    Apple could make a find my AirPods thing pretty easily
    +1
  • BigOnYa @ BigOnYa:
    You would think, esp using bluetooth, not GPS, like a "your getting hot-er" meter on your phone.
  • BigOnYa @ BigOnYa:
    I think they should tie up diddy, and let all the victims come and abuse him, we'll make a holiday of it every year. (jk, maybe)
  • BigOnYa @ BigOnYa:
    Crazy, the rich get away with this shit, and I can't shit without the poop police checking my asshole every time I shit, or if i have my toilet seatbelt on.
    BigOnYa @ BigOnYa: Crazy, the rich get away with this shit, and I can't shit without the poop police checking my...