Jump to content

jfperusse

Members+
  • Posts

    8
  • Joined

  • Last visited

jfperusse's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. What's weird is that I tried the sample program on my friend's DS Lite (not flashed) and it worked for him, exactly the same setup... (same router, same flash cart, same ezpass, etc.)
  2. Ack! didn't notice this thread 1) to not interfere with whatever the end user wanted to do. there *will* be support for instant notification via IPC in the next version. 2) ease of use, speed, etc... It was a design decision. 3) afaik it is 50ms, at least based on the documentation I had - it might be wrong, but the behavior I've seen is consistent with it being 50ms. New version will allow for any timer speed in an elegant fashion -Stephen 1) Is it in the current version? The hacked dswifi link is not working anymore. What are the changes required in the wifi lib???
  3. Hi, I'm currently working on a DS multiplayer action game (only 2 players for now). This is a port from a PC game that uses TCP for the networking. In that game, I send the stylus position and buttons to the other player every "n" frames (where n is a compile time constant and I use a modulo to update/send the controls only every n frames). The PC game used to run fine at 30 FPS while sending the inputs every frame (on a LAN with 4 players), so what I'm trying to do on DS is to send the inputs at least every 2 or 4 frames (after more than 6 frames we start to notice the "lag" with the inputs.) However, I seem to be having latency problems... With ~6 frames of delay (~100ms), after a few seconds, I start receiving the inputs lately (network lag waiting for recv). I created a simple PC v.s. DS program to calculate the round trip time on the PC. The program is very simple. The PC connects to the DS and when you press a key, it sends a short message to the DS and wait for an answer. That way, I calculated a round trip around 50-60ms, which is really high... PC to PC, it was never going higher than 20ms... I tried changing the timer3 frequency (the timer used to call Wifi_Timer(ms) and update the wifi). If I use a higher frequency without changing the Wifi_Timer parameter (ms since last call), I seem to have a better round trip time, but I really don't know what should be change in my case to have the best results... Any idea? (By the way, I'm using PAlib, so I changed the timer3 period defined in PAlib (50ms).) Thanks for your help! JF P.S. I'm using blocking sockets. In order not to block on recv() calls, I use select().
  4. It works!!! I flashed my DS Lite (flashmev7) and dswifi now works!!! Connects successfully to my router and everything. Wouaaou!!!!!
  5. Also, would it change anything to flash my DS firmware???
  6. I'm not sure I understand. You erased all WFC settings in a commercial game and added back an AP in that game, then loaded a program using the wifi lib? How can you "not reset" between the time you add a new AP and the time you load a wifilib program?
  7. I have the same problem using M3 minsd on DS clasic, the strange thing is that I was able to connect but only a few times... this is not a router problem because my original mariokart can connect without problems to my router. I was trying to use beup but the problem happens, after adding another accesspoint to WFC, beup ran with no problems but after reset the same problem happens and adding more accesspoints did not help. After that, I tried deleting the WFC data in firmware (using MarioKart orginal) then I tried beup and it works again.. but after two resets the problem happens again.. since that I cant connect to my router. I've got the same problem with the two examples in wifilib, so I think it is a bug in the lib. I was trying to do some debug and I found that in someway the lib doesn't initializate correctly... for example: when I call Wifi_GetData(WIFIGETDATA_NUMWFCAPS,...) returns the correct number of APs in WFC but Wifi_GetNumAP() returns zero and thats why the lib keeps in searching state... I will try to do more research and post it if i found something NUMWFCAPS is not the same as GetNumAP! The first one is the number of APs you have configured in retail games on your DS. GetNumAP is the number of APs that were found by the scan. No?
  8. Are you able to connect with DSOrganize? i'm afraid i'm not able to get DSOrganize to work with my G6 card. Same problem here (ASSOCSTATUS_SEARCHING). EZ3Flash + EZPass3 I know the router works with original games. (Netgear WGR614v5) Do you guys know if it was working before?
×
×
  • Create New...