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,173
Trophies
1
XP
2,536
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
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    why
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, it's not funny
  • K3Nv2 @ K3Nv2:
    ok
  • BigOnYa @ BigOnYa:
    Wut?
  • K3Nv2 @ K3Nv2:
    That's not funny
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So two cannibals where eating a clown and one says to the other. Hey does this taste funny to you?
    +2
  • K3Nv2 @ K3Nv2:
    What do you call a slow car? Retired
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Did you hear about the police car that someone stole the wheels off of? The police are working tirelessly to find the thieves.
    +2
  • K3Nv2 @ K3Nv2:
    A firefighter got arrested for assault his main claim was what I was told he was on fire
    +2
  • BigOnYa @ BigOnYa:
    What do you call a hooker with a runny nose? Full
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    What do you tell a woman with two black eyes? Nothing you already told her twice!
  • K3Nv2 @ K3Nv2:
    Diddy also works
  • K3Nv2 @ K3Nv2:
    A scientist heard the word batman so he put a naked lady in a cage with a bat
  • Psionic Roshambo @ Psionic Roshambo:
    Chuck Norris won a staring contest, with the sun.
  • K3Nv2 @ K3Nv2:
    A vampires favorite thing to do is moon you
  • BigOnYa @ BigOnYa:
    What's the difference between an airplane, and Ken's mom? Not everyone has been in an airplane.
  • K3Nv2 @ K3Nv2:
    What's the difference between @BigOnYa and his wife? Nothing both want to bone me
    +3
  • RedColoredStars @ RedColoredStars:
    How much wood could a wood chuck chuck if a wood chuck could chuck norris
    +1
  • BakerMan @ BakerMan:
    how do i know? you're a guy, and he wants to bone every guy on this site (maybe, idk)
    +1
  • K3Nv2 @ K3Nv2:
    He wants to bone anything with a dick
    +1
  • Xdqwerty @ Xdqwerty:
    Good night
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, big day tomorrow. Congrats.
    K3Nv2 @ K3Nv2: https://www.instagram.com/reel/C7iLZ35NrQt/?igsh=MWd2Z3U0dmNlMmNxcw==