Wednesday, November 19, 2008

WiiDoom 0.4 is now compatible with HBC

Thanks to everyone who responded to my request for testers. We've verified that this new package works great with the Homebrew Channel, so I've updated the zip file and put it out on the Google Code site (it's still 0.4, since only the packaging changed). Thanks to everyone giving me such detailed info on the issue, I got it fixed much faster than I thought I would.

Go download and enjoy!!!

8 comments:

suloku said...

Good!

But I see that in the root prboom dir there are also the fonts and image dirs. Those aren't needed in the root dir.

Steve Corey said...

They're needed for those (like me) using the TH to boot WiiDoom. You can safely delete it if you want, but it takes up so little space, it's probably not worth the effort.

suloku said...

Oh, I see. Then it's a rather strange issue to have to have those dirs at the hbc dir in order to run it properly :S

Anyway as it works perfectly I don't really mind.

Steve Corey said...

I agree. I'm using absolute file paths, not relative paths, so it should "just work" regardless of launch method...

David Hudson said...

Hi,

I am trying to compile the latest svn code but I am running into a linking problem.

I get this
linking ... boot.elf
c:/devkitPro/SDL-Port/lib\libSDL.a(SDL_gamecube_main.o): In function `main':
c:\dev\apps\devkitPro\SDL-Port/src/main/gamecube/SDL_gamecube_main.c:59: multipl
e definition of `main'
c:/devkitPro/SDL-Port/lib\libfreetype.a(gxvfgen.o):d:/Programming/WiiDev/freetyp
e-2.3.6/source/gxvalid/gxvfgen.c:444: first defined here
c:/devkitPro/SDL-Port/lib\libfreetype.a(gxvfgen.o): In function `main':
gxvfgen.c:(.text.main+0xc4): undefined reference to `ft_strncmp'
collect2: ld returned 1 exit status
make[1]: *** [/c/dev/data/games/WiiDoom/boot.elf] Error 1
make: *** [build] Error 2

I copied freetype, SDL_image, SDL_TTF into the SDL port directory and modified the make file but can't get things to link.

Any ideas?

Thanks
Dave

Steve Corey said...

Not 100% sure. I know that main() is defined by SDL, so the freetype lib cannot re-define it. Did you change the linking order (or anything else) in the Makefile?

David Hudson said...

I finally got the build to work. I had to change the library line in the make file to:

LIBS := -lSDL_image -lSDL_ttf -lSDL -ljpeg -lfreetype -lwiiuse -lm -lbte -lfat -logc

Is the svn version out of date? If it is I can update it.

Thanks

Steve Corey said...

ahhh, it sure is. Go ahead and update the makefile. Thanks!