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.

DS development > Homebrew support for wifi multipler

#131042 - RandomTiger - Sun Jun 10, 2007 1:36 pm

Hi, Im researching for making a DS game.
Currently Im looking at PAlib and cant see any support for wifi multipler.

I see someone made Doom with Wifi multiplayer.
http://kotaku.com/gaming/doom/doom-for-the-ds-193010.php
Though it seems that it wont run with my DS R4 setup.

Whats the easiest way to get access to wifi multipler support?

Thanks.

#131051 - Lynx - Sun Jun 10, 2007 5:16 pm

If your a new coder (which is why I would guess you want to use PAlib), the WiFi support is extremely buggy (at least in my experience) so it might be a little more difficult than you would expect.
_________________
NDS Homebrew Roms & Reviews

#131053 - RandomTiger - Sun Jun 10, 2007 5:37 pm

New to DS coding but not coding in general.
So far PAlib will suits my needs, though I will have to write some extensions.

If not PAlib, what should I be looking at? In particular do you know where to look for good WiFi libs / examples / tutorials?

Lynx wrote:
If your a new coder (which is why I would guess you want to use PAlib), the WiFi support is extremely buggy (at least in my experience) so it might be a little more difficult than you would expect.

#131065 - Sausage Boy - Sun Jun 10, 2007 8:00 pm

If I haven't missed something, DSWifi is the only wifi library. PALib just uses an old version of it. For tutorials, it's the same as PC, so a PC tutorial will do. I've heard good things about Beej's Guide to Network Programming.
_________________
"no offense, but this is the gayest game ever"

#131085 - RandomTiger - Sun Jun 10, 2007 10:47 pm

Thankyou Sausage Boy, I will check those links out.
Though your sig does not fill me with confidence for my PAlib venture.

Sausage Boy wrote:
If I haven't missed something, DSWifi is the only wifi library. PALib just uses an old version of it. For tutorials, it's the same as PC, so a PC tutorial will do. I've heard good things about Beej's Guide to Network Programming.

#131095 - Sausage Boy - Mon Jun 11, 2007 1:06 am

Heh. There's another part of this quote, it goes "The house might look fine when you're done, but it will smell." I find it pretty hilarious, and I tend to agree.
_________________
"no offense, but this is the gayest game ever"

#131103 - Lynx - Mon Jun 11, 2007 2:57 am

RandomTiger, don't listen to anyone that provides that kind of info. You will not get any open opinion from them. PAlib has its place and has been used to produce some extremely nice homebrew (WordUp for example). That being said, my only warning was the WiFi. It is newly added to PAlib and buggy. Since Mollusk is taking some time off, you might not get the support you need right now (though, he has current posts on the forum, so maybe he'd done with his time off already?).

Being that you are a new NDS coder, you have two choices. Spend the time to learn the DS hardware, so you don't need PAlib, or use PAlib. I personally have nothing against PAlib. I like it, and without it there would be a lot less NDS developers. Of course, people like Sausage Boy would say, "good, because they suck anyway" just because something as easy to use as PAlib draws out the most "unskilled" developers. Heck, if it wasn't for PAlib, I wouldn't be able to do any DS homebrew.. and I struggle with PAlib because I don't have a developer mindset.

So, before you dive into WiFi, I would suggest you start with something simple and work your way up. As you are learning, you will start to outgrow PAlib and in doing so, eventually get to the point where you don't need it. If you don't want to wait, I'd suggest you start looking at the examples that come with DevkitPro and go from there.
_________________
NDS Homebrew Roms & Reviews

#131110 - RandomTiger - Mon Jun 11, 2007 8:38 am

I think I can see both points of view here, PAlib as someone with no DS experience, and is used to higher level platforms has let me play around with some simple stuff very quickly.

However it seems to be missing some core rendering functionality but I can just write my own extensions into PAlib and as you say as I continue I can use PAlib less and less.

On the wifi / multiplayer stuff, I really for the moment just need to know that it possible as multiplayer is the kind of killer side of the app that will really make it fun. But I should probably write the game first, which will take a while since I seem to have less and less free time.

#131158 - Sausage Boy - Mon Jun 11, 2007 6:33 pm

Quote:
Of course, people like Sausage Boy would say, "good, because they suck anyway" just because something as easy to use as PAlib draws out the most "unskilled" developers.


Whoa, please don't put words in my mouth. I agree that many people have this mindset, I'm not one of them though. I have no problem with PAlib programmers, they don't bother me. Bad homebrew is better than no homebrew, and at least they learn programming. The moment they start quitting my scene and spamming my IRC, I'll get slightly pissed, but as far as I can tell, PAlibbers are not the ones doing that stuff.

My point is, you can build great games or applications with PAlib, but they'll smell of France and fail. I'm kidding.
_________________
"no offense, but this is the gayest game ever"

#131162 - Lynx - Mon Jun 11, 2007 8:22 pm

Quote:
My point is, you can build great games or applications with PAlib, but they'll smell of France and fail. I'm kidding.


About which part? That you can build great games/apps with PAlib, or that they smell and fail? ;)
_________________
NDS Homebrew Roms & Reviews