Search found 19 matches

by HunterZ
Thu Sep 29, 2011 12:26 am
Forum: Gamecube/Wii Development
Topic: noob compiling issues
Replies: 27
Views: 75161

Re: noob compiling issues

Giving up on fiddling with the Wiimote sensitivity and sticky cursor issues. I tried setting a very large virtual clipping box via WPAD_SetVRes() and using libogc/wiiuse functions to get the IR coordinates. I then scaled the results back to the 320x200 game resolution, but this resulted in no sensit...
by HunterZ
Sat Sep 24, 2011 5:06 pm
Forum: Gamecube/Wii Development
Topic: noob compiling issues
Replies: 27
Views: 75161

Re: noob compiling issues

Update: Console: I had trouble getting CON_Init() to work with tueidj's SDL-Wii mod, as SDL_Init() is called in the middle of the startup routine, and it seems to interfere. I eventually discovered that tueidj had simply commented out SDL-Wii's CON_Init() call, so I uncommented that and got SDL's de...
by HunterZ
Thu Sep 22, 2011 4:21 pm
Forum: Gamecube/Wii Development
Topic: noob compiling issues
Replies: 27
Views: 75161

Re: noob compiling issues

If your app needs a console it should really set one up itself rather than relying on SDL to do it. Not familiar with libogc, but it looks like maybe CON_Init() is what I would need to use for that? Timidity support should be working, I didn't change any of the code and I use it in my SDL apps. It ...
by HunterZ
Thu Sep 22, 2011 7:12 am
Forum: Gamecube/Wii Development
Topic: noob compiling issues
Replies: 27
Views: 75161

Re: noob compiling issues

Well I got the CorsixTH custom SDL-Wii code to compile and link into Abuse Wii using stock libaesnd, but I'm seeing some issues: Text that is printf()'d before setting a video mode is not visible on the screen. This is a potential dealbreaker because the game engine has a long startup time (due to h...
by HunterZ
Wed Sep 21, 2011 6:33 am
Forum: Gamecube/Wii Development
Topic: noob compiling issues
Replies: 27
Views: 75161

Re: noob compiling issues

Also getting SDL_image IMG_png.c errors: cd SDL_image; make -f Makefile make[1]: Entering directory `/opt/devkitpro/projects/sdl-wii/SDL_image' Compiling src/IMG_png.c src/IMG_png.c: In function 'IMG_InitPNG': src/IMG_png.c(238) :20: warning: assignment from incompatible pointer type [enabled by def...
by HunterZ
Wed Sep 21, 2011 6:07 am
Forum: Gamecube/Wii Development
Topic: noob compiling issues
Replies: 27
Views: 75161

Re: noob compiling issues

It's probably a bit late to be mentioning this but if you look at the SDL-wii source code I included in the Corsix-TH source package , it includes a rewritten audio backend (using libaesnd for format/rate conversion and correct channel ordering) and substantial changes to the video backend includin...
by HunterZ
Mon Sep 19, 2011 6:10 am
Forum: Gamecube/Wii Development
Topic: noob compiling issues
Replies: 27
Views: 75161

Re: noob compiling issues

WinterMute: I feel bad posting so many consecutive posts, but the edit button times out after a while and you haven't replied for a few days. Oh well, this should be one of the last posts relating to my porting effort! Also, it's been a couple of days since my last post and I've still been working f...
by HunterZ
Sat Sep 17, 2011 8:08 am
Forum: Gamecube/Wii Development
Topic: noob compiling issues
Replies: 27
Views: 75161

Re: noob compiling issues

Still working furiously. Tightened up the controls a lot, and added the ability to cycle the active weapon and bring up the main menu (so that you can pause/quit or adjust settings). Tested saving/loading, which works fine. Decided to use the buttons on the Nunchuk/Classic Controller instead of the ...
by HunterZ
Sat Sep 17, 2011 12:45 am
Forum: Gamecube/Wii Development
Topic: noob compiling issues
Replies: 27
Views: 75161

Re: noob compiling issues

Debugger was a no-go (well, I got to the point of being able to trace stack dumps to file names + line numbers, but it didn't really help much). I did get wiiload figured out in the process, though, which is a huge bonus since I was previously moving my USB HDD back and forth between Wii and PC ever...
by HunterZ
Fri Sep 16, 2011 6:53 pm
Forum: Gamecube/Wii Development
Topic: noob compiling issues
Replies: 27
Views: 75161

Re: noob compiling issues

I've now got the control code implemented. I almost completely supplanted the game's SDL mouse button and keyboard event handling (via #ifdefs) and wrote a bunch of code to translate the Wiimote and Nunchuck/Classic Controller controls to simulated mouse button and keyboard events. Unfortunately thi...