Difference between revisions of "QuakeGX"

From WiiBrew
Jump to navigation Jump to search
Line 108: Line 108:
 
"Alright, I'll give this one more shot, just because this bug has got to be something stupid. I'd love to get some people to take a look at the code, and if you have  a gekko debugger, do me a favor, and try to figure out why the final movement speeds of the player are behaving oddly. I've fixed most of the other bugs, disabled gamecube controller for now, but I'll be placing that back in once this bug is found. Everything is in C, except the libfat controller, but I'll be removing that soon enough. If someone could, please, please, pretty please help me debug this. Just run "make wii"." -[[User:Piko|Piko]] 16:58, 26 April 2009 (UTC)
 
"Alright, I'll give this one more shot, just because this bug has got to be something stupid. I'd love to get some people to take a look at the code, and if you have  a gekko debugger, do me a favor, and try to figure out why the final movement speeds of the player are behaving oddly. I've fixed most of the other bugs, disabled gamecube controller for now, but I'll be placing that back in once this bug is found. Everything is in C, except the libfat controller, but I'll be removing that soon enough. If someone could, please, please, pretty please help me debug this. Just run "make wii"." -[[User:Piko|Piko]] 16:58, 26 April 2009 (UTC)
  
===Update===
+
===Updates===
 +
:"Found the bug that was causing side to side, forward, and backwards to be weird. The value "qboolean onground" is an enumerator, so it could equal any int value. There for if you where standing on the ground it would equal the value of FL_ONGROUND, which is 512, not 1. So simply adding an if statement, I've fixed that bug. There is still a bug with gx_model.c, and MOD_LoadVertexes, but I'm going to have to wait until by GeckoUSB gets here, I'll still be trying to improve my version. I have been sending my fixes, and findings to Eluan, so hopefully he can apply them to the SVN version." -[[User:Piko|Piko]] 19:15, 28 April 2009 (UTC)
 +
 
 
:"I've located some of the bugs the one big bug remaining is the side to side, forward/backward movement bug. By using Con_Printf a lot I've determined that the bug happens some where between Loop_SendUnreliableMessage, and when the server reads that message. Something is mangling the message buffer. I'm starting to think there is a *cpy, or *set somewhere that is running beyond it's array limits. There is also a bug with the sound, but that has more to do with the older sound system that is being used, it needs to be replaced, I'm thinking of using snd_null.c until I can get around to that. It's very hard for me to debug, I'm going to try and order a geckoUSB soon, because right now I'm taking shots in the dark. I've uploaded my latest version. If you're skilled at debugging, and love Quake, please take a look." -[[User:Piko|Piko]] 22:50, 27 April 2009 (UTC)
 
:"I've located some of the bugs the one big bug remaining is the side to side, forward/backward movement bug. By using Con_Printf a lot I've determined that the bug happens some where between Loop_SendUnreliableMessage, and when the server reads that message. Something is mangling the message buffer. I'm starting to think there is a *cpy, or *set somewhere that is running beyond it's array limits. There is also a bug with the sound, but that has more to do with the older sound system that is being used, it needs to be replaced, I'm thinking of using snd_null.c until I can get around to that. It's very hard for me to debug, I'm going to try and order a geckoUSB soon, because right now I'm taking shots in the dark. I've uploaded my latest version. If you're skilled at debugging, and love Quake, please take a look." -[[User:Piko|Piko]] 22:50, 27 April 2009 (UTC)
  
 
[http://www.fallenacorn.com/piko/quake-wii-piko/quake-wii-piko.tar.gz quake-wii-piko.tar.gz]
 
[http://www.fallenacorn.com/piko/quake-wii-piko/quake-wii-piko.tar.gz quake-wii-piko.tar.gz]

Revision as of 21:15, 28 April 2009

Template:Infobox homebrewapp

This is a port of Quake to the Wii based on the GC Quake port by Peter Mackay.

Instructions

  • Extract the downloaded file into the root of your SD card.
  • If you don't own the full version, the shareware version with PAK0.PAK is available here. If you own the full version, the PAK files are inside Quake's ID1 folder on your computer.
  • Copy the PAK0.PAK (and PAK1.PAK if you own the full version) file to /apps/quake/ID1 on your SD card.
  • The game should appear on the Homebrew Channel menu.

Release Notes

GX 0.04

  • Support for Mods and Mission Packs. Some of them may cause out of memory errors for now.
  • Transparent status bar (adjustable)
  • Variable 2D resolution
  • Weapon rotation with the Wiimote (now you can change the yaw, pitch and roll of your weapon)
  • A new menu for adjusting new features
  • Various bugfixes

GX 0.03

  • Simple on-screen keyboard
  • View locking so that you can aim freely without turning
  • TV overscan adjustment working for the GX build
  • Simple, ugly brightness control

GX 0.02

  • Shouldn't freeze - ever.
  • Pressing 1 (or Z in the gamecube controller) shows scores
  • Power button now works (forgot about it :P)
  • Model bounding box fixes (no more dissapearing models)
  • HBC-ready
  • Command line easy to manage - still needs a frontend for the end user, though.

GX 0.01

  • Hardware graphics acceleration fully functional to glquake original specs.
  • A flaw is that you have to disconnect and reconnect the nunchuk when the game loads
  • If you have the software rendering installed on your sd card, please delete ID1/CONFIG.CFG before playing this version OR restore the default settings using the Options Menu. This is necessary because the Wiimote button mapping has changed.
  • Still has one bug, may hang after several levels played. Please save often and don't play dozens of levels in one sit. If any split-second hang occurs, it's sign that it may freeze completely soon. I recommend saving your progress and exiting to the loader, then reloading the game.

Controls

In Game (by default)

GameCube Controller Wiimote.svg + Nunchuck alternative.svg Action
GameCube Control Stick Nunchuck Control Stick Move around
GameCube R Trigger Wiimote B Button Attack
Gamecube A Button Wiimote A Button Jump
Gamecube B Button Nunchuck C Button Run/Walk
GameCube L Trigger Nunchuck Z Button Lock view
Gamecube D-Pad Left or Gamecube Y Button Wiimote D-Pad Left Previous Weapon
Gamecube D-Pad Right or Gamecube X Button Wiimote D-Pad Right Next Weapon
Gamecube D-Pad Up Wiimote D-Pad Up Swim Up
Gamecube D-Pad Down Wiimote D-Pad Down Swim Down
GameCube Z Button Wiimote 1 Button Show Scores
GameCube START Button Wiimote + Button Pause/Menu

In Menu

GameCube Controller Wiimote.svg + Nunchuck alternative.svg Action
Gamecube A Button Wiimote A Button Select
Gamecube B Button Wiimote B Button Back

On-screen Keyboard

Wiimote.svg + Nunchuck alternative.svg Action
Wiimote A Button Activate OSK
Nunchuck Z Button Shift
Wiimote B Button Select

Piko's Network Patch

"Alright, I'll give this one more shot, just because this bug has got to be something stupid. I'd love to get some people to take a look at the code, and if you have a gekko debugger, do me a favor, and try to figure out why the final movement speeds of the player are behaving oddly. I've fixed most of the other bugs, disabled gamecube controller for now, but I'll be placing that back in once this bug is found. Everything is in C, except the libfat controller, but I'll be removing that soon enough. If someone could, please, please, pretty please help me debug this. Just run "make wii"." -Piko 16:58, 26 April 2009 (UTC)

Updates

"Found the bug that was causing side to side, forward, and backwards to be weird. The value "qboolean onground" is an enumerator, so it could equal any int value. There for if you where standing on the ground it would equal the value of FL_ONGROUND, which is 512, not 1. So simply adding an if statement, I've fixed that bug. There is still a bug with gx_model.c, and MOD_LoadVertexes, but I'm going to have to wait until by GeckoUSB gets here, I'll still be trying to improve my version. I have been sending my fixes, and findings to Eluan, so hopefully he can apply them to the SVN version." -Piko 19:15, 28 April 2009 (UTC)
"I've located some of the bugs the one big bug remaining is the side to side, forward/backward movement bug. By using Con_Printf a lot I've determined that the bug happens some where between Loop_SendUnreliableMessage, and when the server reads that message. Something is mangling the message buffer. I'm starting to think there is a *cpy, or *set somewhere that is running beyond it's array limits. There is also a bug with the sound, but that has more to do with the older sound system that is being used, it needs to be replaced, I'm thinking of using snd_null.c until I can get around to that. It's very hard for me to debug, I'm going to try and order a geckoUSB soon, because right now I'm taking shots in the dark. I've uploaded my latest version. If you're skilled at debugging, and love Quake, please take a look." -Piko 22:50, 27 April 2009 (UTC)

quake-wii-piko.tar.gz