Difference between revisions of "Iiii"

From WiiBrew
Jump to: navigation, search
(1.2+. Sigh)
(links to 1.2+ source)
Line 7: Line 7:
 
| version    = 1.2+
 
| version    = 1.2+
 
| download    = [[Media:Iiii1_2fixed.rar‎|Download 1.2 (now works!)]] <!--i hope-->
 
| download    = [[Media:Iiii1_2fixed.rar‎|Download 1.2 (now works!)]] <!--i hope-->
| source      = [[Media:Iiii_source1_1.rar|Download 1.1 source]]<br>[http://pastebin.com/f523429d5 iiii.cpp v1.2]
+
| source      = [[Media:Iiii_source1_1.rar|Download 1.1 source]]<br>[http://pastebin.com/fea60d98 iiii.cpp v1.2]
 
| peripherals = {{Wiimote2}} {{FrontSD}}
 
| peripherals = {{Wiimote2}} {{FrontSD}}
 
| hbc        = 1  
 
| hbc        = 1  
Line 59: Line 59:
  
 
=== [http://pastebin.com/f523429d5 v1.2]+ ===
 
=== [http://pastebin.com/f523429d5 v1.2]+ ===
Download [[Media:Iiii_source1_1.rar‎|v1.1]] and replace iiii.cpp with [http://pastebin.com/f523429d5 this]. For 1.2+, the fix was to make std::string path be global and edit line 564 to reflect that.
+
Download [[Media:Iiii_source1_1.rar‎|v1.1]] and replace iiii.cpp with [http://pastebin.com/fea60d98 this]. <s>For 1.2+, the fix was to make std::string path be global and edit line 564 to reflect that.
(Thanks to rck`d & TD-Linux for the idea for this fix. TD-Linux had a better solution, but I didn't implement it yet.)  
+
(Thanks to rck`d & TD-Linux for the idea for this fix. TD-Linux had a better solution, but I didn't implement it yet.)</s> Even better solution now.
 
* Really ''really'' loads images from ''path''/images/ now
 
* Really ''really'' loads images from ''path''/images/ now
 
* Pieces slide down rather than teleporting to the bottom.
 
* Pieces slide down rather than teleporting to the bottom.

Revision as of 14:08, 17 April 2009

Template:Infobox homebrewapp

Rules

The rules are simple. You take turns with another player to drop red or black pieces into the board. Pieces fall in from the top and slide down to stack up on top of each other. The goal is to get 4 of your pieces touching in a straight line (diagonals also count) before your opponent does. This is similar to Tic-Tac-Toe.

Details

This is a 2 player game. Unless you have a split personality, you will need to install a second player (not included) somewhere near your wii.
By default the game only uses one wiimote.
If you want the added convenience of a second wiimote, or if the other player has snot on his hands, you can set control TWOWIIMOTES in the settings.ini file. This still works, but it's better to do what's described on the next line.
Updated in 1.1:

Pressing Wiimote A Button on the second wiimote will now cause control of red to be passed to that wiimote (overrides control ONEWIIMOTE).

Controls

Wiimote.svg Action
Wiimote D-Pad Left / Wiimote D-Pad Right Move Left / Right
Wiimote B Button Drop Checker
Wiimote 1 Button Restart Game (Can only be done on your turn)
Wiimote A Button Start Game, or on Wiimote 2: Join game.
Wiimote + Button Will be MetaFight's menu someday. Does nothing now
Wiimote - Button Arikado's Homemenu
Wiimote HOME Button Direct Exit to Loader

Settiiiings.ini

If you want, you can put a settiiiings.ini file in the same directory as the game (root of the sd for wiiload) and change some settings through there. This is entirely optional.
You can set how many pieces are needed in a line to win, and adjust the size of the board. See the included settiiiings.ini for more information.
Updated in 1.1:

"You should consider making it Settiiiings.ini, or something to that effect ;)" -- MetaFight 15:33, 2 April 2009 (UTC)
Now supports either settiiiings.ini or settings.ini for the name ;D

It has come to my attention that the included settings.ini is messed up when opened with an editor that doesn't understand *nix line endings. Either get an editor that can read these files (good to have in general), or grab this windows friendly version of the file. Future versions (>1.1) will have a notepad happy settiiiings.ini, unless I do away with the .ini file completely. Addressed with v1.2

Images

Starting in v1.1 1.2 v1.2+, you can put custom images into path/images/ and the game will load them. See sample images and included readme for more info. This readme has the same issues as the old settings.ini file did. Whatever. Deal with it. I already told you how. :P

Special thank you to drchink from tehskeen for pointing out the path loading bug. Just for you, I made it look like the piece is sliding down (very fast) rather than just appearing there. Now it's your turn to show us the images you made :)

History

v1.2+

Download v1.1 and replace iiii.cpp with this. For 1.2+, the fix was to make std::string path be global and edit line 564 to reflect that. (Thanks to rck`d & TD-Linux for the idea for this fix. TD-Linux had a better solution, but I didn't implement it yet.) Even better solution now.

  • Really really loads images from path/images/ now
  • Pieces slide down rather than teleporting to the bottom.

v1.1

  • Tries to load images from path/images/
  • Red player can switch to second wiimote during play
  • settiiiings.ini also acceptable as settings' file name

v1.0

  • Initial release.

Why the Name?

The main reason I chose this name is that some people think too many programs are being released with ii in their names. Some of these names would normally have nothing to do with the ii sound, but the names were mangled to force an ii into them. I don't really care one way or another. I tend to think of ii as a way to identify the program as a wii program. Anyway, this name was chosen especially because it would get under the skin of certain people :D. Hi guys! You know who you are because you are the ones feeling pissed off right now :P.

If you don't like that excuse, then the 4 dots on the top of iiii represent the 4 pieces you need to line up to win.