Homebrew Desmume Wi-Fi under Linux

shawly

Well-Known Member
OP
Newcomer
Joined
May 23, 2014
Messages
59
Trophies
0
Age
31
XP
320
Country
Germany
Hey Guys,

so, since I can't use any fake GTS anymore to check my IV's I need a more unconventional way to get my pokemans into Pokegen.
So I wanted to trade it with Desmume to my PC and edit the savegame to check it.
Problem is, I changed my main OS to Arch Linux and I can't get it working...
Compilation with --enable-wifi works without problems, when I start Desmume over the terminal it already says:

Code:
WIFI: SoftAP: using dbus-system as device.
WIFI: SoftAP: PCap: failed to set non-blocking mode: F_GETFL: Illegal Filedescriptor

The first line is probably just info, but the second one looks like a problem.
Libpcap is installed.

Desmume starts anyways, I load up the Wi-Fi settings and then I want to search for access points,
that works too and I can see SoftAP, but when it gets to the test of the connection, it fails with errorcode 52000.
In the terminal it says SoftAP connected, sends some packets and then the Wi-Fi icon turns red in desmume and in the terminal it says SoftAP disconnected and then the error 52000 appears.

Since my windows vm isn't set up at the moment I can't use windows.

Is this a problem with pcap, desmume or is it because I use dhcpcd to get a network connection?

Any help would be appreciated..
 
  • Like
Reactions: Hiccup

master801

Well-Known Member
Member
Joined
Feb 24, 2011
Messages
1,154
Trophies
1
XP
2,500
Country
United States
I know how you feel. :( I think you actually might have to dump/get the bios and firmware files yourself if you haven't done so. That's how I fixed it a long time ago for me...
 

shawly

Well-Known Member
OP
Newcomer
Joined
May 23, 2014
Messages
59
Trophies
0
Age
31
XP
320
Country
Germany
I got my old dumps! But where do I have to put them? 0.9.11 (the svn trunk) doesn't have any options anymore to select the firmware and bioses, I tried to edit the ~/.config/desmume/config.cfg and add the paths, but it doesn't seem to recognize them..
Can you tell me where I have to put my dumps?
 

TechZilla

New Member
Newbie
Joined
Jun 7, 2014
Messages
1
Trophies
0
Website
tech-zilla.com
XP
51
Country
United States
I'm not convinced this is firmware related, It could be, but considering this is on Linux who knows what settings this thing actually requires. I'm also attempting to get my wifi working on the newest SVN, the build went as expected, and I got somewhat passed your part.

Have you set your capabilities properly? PCAP requires elevated permissions beyond a normal usermode application.
Read the error messages as root, do they differ? If so set your caps like this,

setcap cap_net_raw,cap_net_admin=eip /usr/local/bin/desmume

Please respond back too if you got anything working, I'm stuck at 52000 error during SoftAP test.... not sure how this gets an IP, or what must be configured on the OS level... Or which device pcap should even be using, my usually active eth1? an open bridge device br0 to the active eth1, manually assigned with an IP? A full DHCP proving softap0 ???? I can;t find that info anywhere online.

Actually I've also just checked the code, and I cannot verify you can load the firmware.bin in any possible way on linux. Not from the command line, not from the inexcusably limited gtk launcher. Bios files, yes they can be loaded from command line options.... firmware.bin no way I've found thus far.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
  • DinohScene @ DinohScene:
    Better start running in your hamster wheel
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Meth addicts on a treadmill connected to a generator "Unlimited POWER!!!'
  • Veho @ Veho:
    Before or after a hit?
    +1
  • Veho @ Veho:
    Do you dangle a baggie in front of them, like a carrot?
    +1
  • The Real Jdbye @ The Real Jdbye:
    they're the same thing
    +1
  • The Real Jdbye @ The Real Jdbye:
    i like that idea
    +1
  • Veho @ Veho:
    What's the same thing?
    +1
  • The Real Jdbye @ The Real Jdbye:
    before or after a hit
    +1
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
    +1
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    K3Nv2 @ K3Nv2: They'll give him sleep studies eegs and possibly one week hospital stay