gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

OffTopic > Wii SD Card?(Compiling WiiYourself Demo /w GNU issue)

#145884 - yellowstar - Sat Nov 24, 2007 9:13 pm

Does anybody know of any Bluetooth dongles,
which work good with the Wiimote?
(I know about Datel's My Mii Manager,
but I'd rather get some else.)

They need to work with XP.
(and 98, if possible)
(I'd have to hunt for a Wiimote lib,
which would work on 98.)

Another Q:

Would it be possible,
for somebody to create
a Slot-2/1 Bluetooth DS dongle?

If so,
has anybody done it?

Click here to jump to
my post about the WiiYourself Demo compiling with GNU problems,
and the SD card post.


Last edited by yellowstar on Tue Dec 11, 2007 7:12 pm; edited 5 times in total

#145893 - GoopyMonkey - Sun Nov 25, 2007 12:13 am

I know for a fact that the Belkin USB Bluetooth adapter works perfectly with the Wiimote, so you could give that a try. Dunno if it works on Windows 98 though, but if it doesn't, you could just use BlueSoliel.
_________________
My favourite DS apps:
GBAMP Multiboot
Colors!
jEnesis


Last edited by GoopyMonkey on Thu Nov 29, 2007 5:32 pm; edited 1 time in total

#145894 - Rajveer - Sun Nov 25, 2007 12:49 am

I brought my "Advent Bluetooth V2.0 + EDR" specifically for the Wii remote. It comes with BlueSoleil which works great and is recommended for the remote, so you could give it a try. Note with BlueSoleil, unless you have a licensed dongle (which the Advent one is) or pay separately for the software, its limited to a certain amount of bandwidth before it terminates.

#145898 - yellowstar - Sun Nov 25, 2007 3:11 am

I think I'll try Belkin.

Problem is,
I'm not the owner of the Wii in this house.
(Vacation)
This means I would have
to get at least a Wiimote.(and optionally Nunchuck and IR Sensor Bar)
(The dongle wouldn't get here before I left vacation)

#145908 - bean_xp - Sun Nov 25, 2007 12:47 pm

Sensor bar is really not that difficult to make, I constructed one using christmas tree lights (fairy lanterns), made two bunches of them and held them with ductape. Works absolutely perfectly.

As for connecting to the PC, I know that anything compatible with BlueSoleil should allow you to connect the WiiMote up just fine.

Can I ask what your plans are for using it, especially since you are interested in connection it to the DS?

#145932 - NeX - Sun Nov 25, 2007 10:41 pm

I use an unmarked ?5 Bluetooth 1.2 adaptor that is over three years old with the standard Windows Bluetooth stack and it works like a dream. I only bought the Wiimote at first, and didn't bother with a Wii til later.
_________________
Strummer or Drummer?.
Or maybe you would rather play with sand? Sandscape is for you in that case.

#145936 - yellowstar - Sun Nov 25, 2007 11:19 pm

I want a Bluetooth dongle for
making PC games which use the wiimote.

For DS, the reason is the same as the above.
(Probably wouldn't work as good as PC,
because of the small screen size.)

I can't make it myself.(DS Bluetooth)
(I never made anything like that.)

Any tutorials for making homebrew
Sensor bars?

#145939 - tepples - Mon Nov 26, 2007 12:34 am

I think you can just buy a "wireless sensor bar", put batteries it, and go.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#145943 - HyperHacker - Mon Nov 26, 2007 1:12 am

Those cost like 30 bucks though. Much cheaper to spend $5 on IR LEDs and make your own. The process basically consists of wiring some LEDs to a battery, not exactly difficult.
_________________
I'm a PSP hacker now, but I still <3 DS.

#145944 - tepples - Mon Nov 26, 2007 1:17 am

HyperHacker wrote:
Those cost like 30 bucks though. Much cheaper to spend $5 on IR LEDs and make your own.

It's a time/money tradeoff. It depends on how much your time is worth, how much it costs to have the LEDs, wire, and casing shipped to you, and how durable you want the end result to be.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#145946 - Rajveer - Mon Nov 26, 2007 1:36 am

Would be a nice little project to get into making hardware thought, since it's not difficult and you could be creative (ugh hate that word after problems with my X-Fi) with what you use.

#146045 - yellowstar - Tue Nov 27, 2007 11:40 pm

Once I made a circuit which(DS)
used an alternate speaker,
which connected to the headphones port.

I had to hold the wires at the right spot
for it to work.

Other than that,
I haven't had much experience with
this kind of thing.



The main reason why I'm
interested in making my own Sensor Bar
is price.(~5 vs 30)
If I'd make it myself,
I'd want it to be durable.

This Sensor Bar would be for the computer.
So,
I wouldn't need it until I get a Bluetooth dongle
and Wiimote.
(By the way, I'm going to add
Wiimote control to my SFB game.)

#146107 - yellowstar - Thu Nov 29, 2007 1:02 am

Any suggestions about
Wii homebrew forums to join?
(Mainly hacking and ect. at the moment.)
(I know about WiiLi,
but that forum is about porting Linux.)

Does anybody know of any Wiimote librarys,(C/C++, not NET)
which support Wiimote Sound and multiple Wiimotes?


This is off-topic,
and it might not be appropriate here,
but:(PM me if needed)

Does anybody know of any NDS Homebrew
Sega Genesis Emulators, which have sound?
(I know about PicoDrive, but that dosen't have sound.)

#146145 - GoopyMonkey - Thu Nov 29, 2007 5:31 pm

GlovePIE supports up to 4 Wiimotes at once, and some of the scripts included with it take advantage of the sound support, which is about the same quality as the official Wii support. The link is here. There's also an included tool to generate the scripts through a GUI, so you could easily set the A button on the Wiimote to the A key on a keyboard.

As for Genesis emulators, I don't think there are any (working) ones with sound, but the one I use for its speed (faster than others, by far) is jEnesis. (The link is also in my signature!)
_________________
My favourite DS apps:
GBAMP Multiboot
Colors!
jEnesis

#146160 - tepples - Thu Nov 29, 2007 8:27 pm

GlovePIE is also region coded, which is unusual for PC software.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#146161 - Rajveer - Thu Nov 29, 2007 9:03 pm

tepples wrote:
GlovePIE is also region coded, which is unusual for PC software.


O_O Really?? That IS weird!

#146167 - yellowstar - Fri Nov 30, 2007 12:10 am

Any suggestions about
Wii homebrew forums to join?
(See my previous post)

I meant a Wiimote lib
which I could use in a game.(like my SFB game)

jEnesisDS works very well,
with the game I'm trying to run.

I'll try the emulators
which have sound,
but don't work real good.



This might be better to post on a Wii
forum, but:

Is there bugs in the Photo Channel,
with JPEG/image loading,
like in Opera?(bugs which crash the Wii)
(I can't try this myself since
I don't have a SD card, or WiFi)

What is the best SD card,
for use with the Wii?

Is Datel's Max SD Card for Wii
any good?

#146172 - HyperHacker - Fri Nov 30, 2007 12:41 am

tepples wrote:
how much it costs to have the LEDs, wire, and casing shipped to you
LEDs and wire can be found at your local electronics store. Casing, bah, who needs it? ;-)

tepples wrote:
GlovePIE is also region coded, which is unusual for PC software.
What, does it check what language your OS is in? Region coding on a PC app, that's one of the silliest things I've ever heard.
_________________
I'm a PSP hacker now, but I still <3 DS.

#146177 - tepples - Fri Nov 30, 2007 2:37 am

HyperHacker wrote:
tepples wrote:
how much it costs to have the LEDs, wire, and casing shipped to you

LEDs and wire can be found at your local electronics store.

OK, then how much it costs to have you shipped to your local electronics store and back. The price of this depends on the public transit situation in your town.

HyperHacker wrote:
tepples wrote:
GlovePIE is also region coded, which is unusual for PC software.

What, does it check what language your OS is in? Region coding on a PC app, that's one of the silliest things I've ever heard.

Google will quickly give you the gory details.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#146188 - zzo38computer - Fri Nov 30, 2007 6:52 am

I have a bluetooth dongle that works with Wiimote, but it isn't labeled anything other than "Bluetooth". Also, I can't seem to send to the wiimote if they are already paired with the wii (the ones that aren't paired work), and I can't seem to use multiple wiimotes at the same time either. But maybe the problem isn't with pairing or anything maybe I am just using it wrong or something like that. Or maybe BlueSoleil software is just no good (I did download the newest version, because the old one didn't work at all). Eventually if I get a computer with Linux then maybe I can do it better if there are better supports for it on Linux. I don't know for sure, though.
_________________
Important: Please send messages about FWNITRO to the public forum, not privately to me.

#146218 - bean_xp - Fri Nov 30, 2007 7:36 pm

HyperHacker wrote:
What, does it check what language your OS is in? Region coding on a PC app, that's one of the silliest things I've ever heard.

No it's not region encoded in that respect it's something written in the software liscense I believe, since it also states that it cannot be used in military bases.

#146233 - GoopyMonkey - Fri Nov 30, 2007 10:48 pm

Quote:
You may not use this software on military bases, or for military purposes, or in Israel (which amounts to the same thing). Violation of the license agreement will be prosecuted. See the readme for the license agreement.

That's taken from just underneath the download link for GlovePIE.

@yellowstar: Could you work with using GlovePIE to send the Wiimote's data to a virtual joystick made by PPJoy? Then it would be able to work with a regular gamepad (with an analog stick).

Apparently, one person tried running the program from a laptop from Israel. The result was that it gave an error code, then opened a browser window loading a site called Boycott Israel (won't chance putting in the link). I mean, I've known people with prejudice, but honestly...
_________________
My favourite DS apps:
GBAMP Multiboot
Colors!
jEnesis

#146239 - yellowstar - Sat Dec 01, 2007 12:17 am

I'd rather not do the virtual joystick, glovePIE,
and Wiimote idea.

I guess I have 2 options for finding
such a lib:

1.
Find it myself.
(Once I found a lib with experemental Wiimote speaker
functionality. I guess I'll try to find that again.)

2.
Make it myself.
(Which I rather not do)
(It would be difficult to develop,
since I don't have a Wiimote myself.)

yellowstar wrote:
Any suggestions about
Wii homebrew forums to join?
(See my previous post)

I meant a Wiimote lib
which I could use in a game.(like my SFB game)


This might be better to post on a Wii
forum, but:

Is there bugs in the Photo Channel,
with JPEG/image loading,
like in Opera?(bugs which crash the Wii)
(I can't try this myself since
I don't have a SD card, or WiFi)

What is the best SD card,
for use with the Wii?

Is Datel's Max SD Card for Wii
any good?

#146241 - NeX - Sat Dec 01, 2007 12:35 am

Any non-SDHC compliant SD card will work. Even a MicroSD in an adaptor. My Veo SD card camera doesn't read though.... then again, it was designed for a PDA.
_________________
Strummer or Drummer?.
Or maybe you would rather play with sand? Sandscape is for you in that case.

#146246 - yellowstar - Sat Dec 01, 2007 3:12 am

I have a old microSD.
(Came with my old GnM)
(My GnM is broke. I don't know if it's the adapter,
or the card. It's probably the adapter.)
(WinXP throws a device IO error,
when I plug the adapter in.)
(I don't want to try it on my 98,
because it might screw up my DS-X)
(That is, my DS-X might not be recognized correctly.)

yellowstar wrote:

Is Datel's Max SD Card for Wii
any good?


EDIT:
This is off-topic, but:

Does anybody know of any zip archive PC librarys?

I want write my own backup tool.(for my DSX)

My DS-X needs formated ALOT.
(My Win98 USB Storage driver seems
to be causing this.)
(This driver is the only one I found,
which works.)

I want my tool to
backup, when I turn this computer on.(my 98)

Any backup tools,
which do the above?
(They also need to
work on 98 and XP)

#146261 - yellowstar - Sat Dec 01, 2007 5:16 pm

Would any electronic that emmits IR
work for a Sensor Bar?
(I don't have any, that I know of,
other than Christmas lights.)

Would resistors
be needed for this?

#146431 - yellowstar - Tue Dec 04, 2007 5:02 am

I have found a wiimote lib!

It's WiiYourself.

I don't know if it will work on my Win98.

I haven't tried compiling the demo yet.

If compiling fails,
I'll have to find the MS DDK,
or get somebody to post a link to download
a modified version.(VS project modified settings)
(I never have downloaded anything as big as the DDK,)(~100 Megs)
(with my slow Dial-Up.)

#146940 - yellowstar - Tue Dec 11, 2007 7:02 pm

I'm having problems with compiling
the WiiYourself Demo
with Dev-Cpp/GNU.
(Demo and Lib is
written with MS VS Cpp 8)(That's version 8, not 2008)

The errors:(Demo.cpp)
Quote:

178: pasting "." and "A" does not give a valid preprocessing token[1]
180: pasting "." and "One" does not give a valid preprocessing token[2]
182: pasting "." and "Two" does not give a valid preprocessing token[3]



Error lines of code:(Demo.cpp)
Code:

#define ON_PRESS_RELEASE(button, pressed_action, released_action)   \
         { bool pressed = wiimote.Button.##button();                  \
           if(pressed)                                       \
             {               /* just pressed? */                  \
            if(!last_##button) pressed_action;                     \
            }                                             \
         else if(last_##button) /* just released */                  \
            released_action;                                 \
         /* remember the current button state for next time */         \
         last_##button = pressed; }
         
      //  play audio whilst certain buttons are held
      ON_PRESS_RELEASE(  A, wiimote.PlaySquareWave(FREQ_3130HZ, 0x20), //[1]
                       wiimote.EnableSpeaker(false));
      ON_PRESS_RELEASE(One, wiimote.PlaySample   (sine_sample),//[2]
                       wiimote.EnableSpeaker(false));
      ON_PRESS_RELEASE(Two, wiimote.PlaySample   (daisy_sample),//[3]
                       wiimote.EnableSpeaker(false));


Defines and ect(wiimote_state.h)
Code:

// button state:
   struct buttons
      {
      // convenience accessors
      inline bool A      () const   { return (Bits & _A)    != 0; }
      inline bool B      () const   { return (Bits & _B)   != 0; }
      inline bool Plus   () const   { return (Bits & PLUS)  != 0; }
      inline bool Home   () const   { return (Bits & HOME)  != 0; }
      inline bool Minus   () const   { return (Bits & MINUS) != 0; }
      inline bool One      () const   { return (Bits & ONE)   != 0; }
      inline bool Two      () const   { return (Bits & TWO)   != 0; }
      inline bool Up      () const   { return (Bits & UP)   != 0; }
      inline bool Down   () const   { return (Bits & DOWN)  != 0; }
      inline bool Left   () const   { return (Bits & LEFT)  != 0; }
      inline bool Right   () const   { return (Bits & RIGHT) != 0; }

      // all 11 buttons stored as bits (set = pressed)
       WORD Bits;

      // button bit masks (little-endian order)
      enum mask
         {
         LEFT   = 0x0001,
         RIGHT   = 0x0002,
         DOWN   = 0x0004,
         UP      = 0x0008,
         PLUS   = 0x0010,
         TWO      = 0x0100,
         ONE      = 0x0200,
         _B      = 0x0400,   // ie. trigger
         _A      = 0x0800,
         MINUS   = 0x1000,
         HOME   = 0x8000,
         //
         ALL      = LEFT|RIGHT|DOWN|UP|PLUS|TWO|ONE|_A|_B|MINUS|HOME,
         };
      } Button;


EDIT:

yellowstar wrote:
Any suggestions about
Wii homebrew forums to join?
(See my original post about this)

This might be better to post on a Wii
forum, but:

Is there bugs in the Photo Channel,
with JPEG/image loading,
like in Opera?(bugs which crash the Wii)
(I can't try this myself since
I don't have a SD card, or WiFi)

What is the best SD card,
for use with the Wii?

Is Datel's Max SD Card for Wii
any good?


Is the SanDisk SD Card made for
Wii any good?

#146983 - GoopyMonkey - Wed Dec 12, 2007 4:47 pm

As far as I know, most SD cards are the same (sometimes with different read speeds depending on where it was made). If it's read speed you're after, try a search in the DS Misc forum or DS Homebrew forum for something about recommended brands.

I've used a SanDisk before, had no problems with it whatsoever, the same goes for Kingston.

Grammar edit...
_________________
My favourite DS apps:
GBAMP Multiboot
Colors!
jEnesis


Last edited by GoopyMonkey on Thu Dec 13, 2007 6:52 pm; edited 1 time in total

#146996 - yellowstar - Wed Dec 12, 2007 10:33 pm

I have found out by posting on
the WiiLi forums that
any SD will work as
long it is no bigger than 2GB.

Now,
I just need to find one on the Inet,(w/ adapter)
and order.

Now the topic is,
those compile errors.
I guess I'll ask about this
problem on WiiLi.