You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2017-12-13 23:35:35

Jackobo
Member
Registered: 2017-12-13
Posts: 11

DeSmuME-Reloaded : DS emulator with WiFi support

Hi everybody,

After wars and problems between members of DeSmume and other people like StapleButter, I see you guys that you have done all things to destroy Wifi support on DeSmuME.
But thanks to informations on the Web, I have finally added the Wifi Support on DesMume.

I have the pleasure, people of this forum, to present you DeSmuME-Reloaded, a fork of DeSmuME that add the Wifi support for connection on AltWC/DWC server project ( Wiki : https://github.com/polaris-/dwc_network … lator/wiki - Source : https://github.com/polaris-/dwc_network_server_emulator )
My Github project is available here : https://github.com/JackoboLeChocobo/DeSmuME-Reloaded
The version used of the original DeSmuME is the last version (0.9.12 - Latest commit on this version : 2 days ago ), so it was easily possible to add the support ;3 , unlike some members of the DeSmuME team could say about it.

Tested on Lubuntu 16.04, 64 bits version.

Have a nice day ^w^ \o/

Sincerely,
Jackobo

Last edited by Jackobo (2017-12-13 23:38:22)


Gitlab : https://gitlab.com/users/JackoboLeChocobo/projects
DeSmuME-Reloaded (DS emulator with Wifi support on DWC and RetroArch Support) : https://gitlab.com/JackoboLeChocobo/Desmume-Reloaded
VisualBoyAdvance Link (GBA emulator with Multiplayer Link and RetroArch Support) : https://gitlab.com/JackoboLeChocobo/Vis … vance-Link

Offline

#2 2017-12-15 03:37:23

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,168

Re: DeSmuME-Reloaded : DS emulator with WiFi support

I'll wait for you to properly fork the desmume repository and apply your wifi work to a branch before I analyze this.

Offline

#3 2017-12-15 14:37:47

Jackobo
Member
Registered: 2017-12-13
Posts: 11

Re: DeSmuME-Reloaded : DS emulator with WiFi support

Hi zeromus, ( Saying hello at the beginning of the message is so complicated for you already? )

Several things to say:
- while the code in question, you have it in your possession since the release 0.9.7, that is since 01-Feb-2011 (more than 6 years ago),
- while StapleButter mainly and other people had helped to provide you with a patch,
- while Squall Leonhart is insulting the community for the demand for WiFi,
- while you have ransacked the WiFi support code to prevent its activation (https://www.reddit.com/r/emulation/comm … g_ds_wifi/, http://forums.desmume.org/viewtopic.php?id=10738),
- while you prioritize Windows support,

With all this, you hope to arrive on your white horse so that I give you the patch for a job I did on my side barely in 1 week after research on many forums. I did not think you would have the nerve to ask for it like that.

Your request is CLEARLY REFUSED. I strongly doubt that my code will be analyzed anyway. But if someone other than you, members of the DeSmuME team, have asked me, I will have accepted. But not from raptors like you.

DeSmuME-Reloaded will exist and will remain so, as for VisualBoyAdvance Link and Vbam-Libretro-Pack, which are functional forks of the VBA-M and VBALink suite. I'm still not going to let you have the merit of finding a solution to include support.

And if the code is as well applied as Squall Leonhart had done using my VisualBoyAdvance Link project code for multiplayer support, it's not a good solution to give you that kind of knowledge, especially for use that you will make and that you had already done at the time.

Sincerely,
Jackobo

Last edited by Jackobo (2017-12-15 14:42:17)


Gitlab : https://gitlab.com/users/JackoboLeChocobo/projects
DeSmuME-Reloaded (DS emulator with Wifi support on DWC and RetroArch Support) : https://gitlab.com/JackoboLeChocobo/Desmume-Reloaded
VisualBoyAdvance Link (GBA emulator with Multiplayer Link and RetroArch Support) : https://gitlab.com/JackoboLeChocobo/Vis … vance-Link

Offline

#4 2017-12-16 09:41:22

Squall Leonhart
Member
Registered: 2013-01-22
Posts: 115

Re: DeSmuME-Reloaded : DS emulator with WiFi support

I don't remember you providing any vba-link project, Mr Imbert.

You made a Linux fork of it in 2014 based on Java, which was utterly useless to us,
The form it is in now with the last MFC binary before work  began on Wx is a mix of the 1.7.3l cvs archive and bgK improving the UI and getting it to work in more games than vba-link originally could in the first place.

Unless you are claiming to be denopqrihg, which you have made allusion to not being said person in your launchpad post, and mr denopqrihg was contacted on a number of  occasions to try and get the 1.8.x code changes which were never made available even though they were requested several times post 2007.

Last edited by Squall Leonhart (2017-12-16 09:44:06)

Offline

#5 2017-12-16 13:17:05

Jackobo
Member
Registered: 2017-12-13
Posts: 11

Re: DeSmuME-Reloaded : DS emulator with WiFi support

Hi Squall Leonhart ,  ( Same thing for zeromus, saying hello at the beginning of the message is so complicated for you already? ) and hi everybody ( there is a special announcement for you \o/ )

I'm not denopqrihg, but I am claiming to be before Jaime.Gemelo, who have developped officially the FIRST WORKING Linux support of VBALink multiplayer code on a 1.7.2 version of VisualBoyAdvance. Don't remember that ?
- http://ngemu.com/threads/visualboyadvan … ux.134121/
- http://ngemu.com/threads/visualboyadvan … le.134256/ ( topic on the support of General Purpose Mode )

See the date of this posts :  Apr 12, 2010 and  Apr 16, 2010 . I don't see 2014 in the date of these posts.
Don't remember in the last link this post where you said that : " and Linux isn't a capable or general purpose system. also, its ****. " . I remember that , me.

Your VBA-M project has a very bad and slow Linux version, and the multiplayer mode doesn't work at all (it wasn't necessary to provide you the code : before, you had tried with the method "copy/paste" , but only a part of the code ... ). Applied my multiplayer code on VBA-M will be easily to do, since I already applied it in the libretro-vbam (my project Vbam-libretro-pack ) with many modifications ( your multiplayer code again is so buggy, so much pain for Linux users ... ). Time to realise a new GBA fork to prove you that Windows and Linux users can use the same program (it will update the GBA core on my future project ).

For information, VisualBoyAdvance Link uses a Java GUI but to configure easily the VisualBoyAdvance.cfg . After that and after selecting a game, the Java GUI launch the SDL version of my emulator. So NO, VisualBoyAdvance Link is NOT based on Java. You can launch only the SDL version if you want to configure VIsualBoyAdvance.cfg with a text editor. You haven't tested the project but you can confirm such things without using the product. What a bad developper and tester you are my boy..... You haven't changed since the posts on NGEmu forums.

For other people , here is a special annoucement. After 16 hours of many tests and modifications of the Windows version of DeSmuME ( Oh my god the mess it was in the original code.... What a pain... ) , I have successfully included the WiFi support for connecting to DWC server projects on Windows. Method to use it is the same than older versions of Desmume ( see on the web tutorials for Wifi on 0.9.7 and 0.9.9 versions ).

The updates of the code will be available today, the time to add them correctly on my Github project. I will write a wiki for using the emulator correctly.

EDIT ( 16-Dec-2017 = 14:37 ) : Code updated on my Github project \o/ : https://github.com/JackoboLeChocobo/DeSmuME-Reloaded/

Sincerely,
Jackobo

Last edited by Jackobo (2017-12-16 23:30:56)


Gitlab : https://gitlab.com/users/JackoboLeChocobo/projects
DeSmuME-Reloaded (DS emulator with Wifi support on DWC and RetroArch Support) : https://gitlab.com/JackoboLeChocobo/Desmume-Reloaded
VisualBoyAdvance Link (GBA emulator with Multiplayer Link and RetroArch Support) : https://gitlab.com/JackoboLeChocobo/Vis … vance-Link

Offline

#6 2017-12-26 07:24:18

Jackobo
Member
Registered: 2017-12-13
Posts: 11

Re: DeSmuME-Reloaded : DS emulator with WiFi support

Hi everybody,

Local Wifi could be used in the last version of DeSmuME. The issue is we get deconection when we try to connect to a room :

- Information n°1 : in wifi.cpp, the line " if (select(1, &fd, 0, 0, &tv)) " is incorrect. Here is the good arguments to detect the other emulator.

if (select(wifi_socket+1, &fd, 0, 0, &tv))

- Information n°2 : To force the use on Ad-hoc on Linux systems, in the aim to test the Wifi Local,

in wifi.cpp, in Wifi_Reset() function, comment the folowing line : if((u32)CommonSettings.wifi.mode >= ARRAY_SIZE(wifiComs)) . You must get that in the final :

//if((u32)CommonSettings.wifi.mode >= ARRAY_SIZE(wifiComs))

It will force the use of Ad-hoc mode to always getting CommonSettings.wifi.mode to 0 when calling the Wifi_Reset() function.

- Information n°3 :

I got the following values of frameCtl in WIFI_DoAutoReply() funtion  :
=> 0x0228 ==> Send a MP Reply if it was destined to us and the packet is a multiplayer command
=> 0x0080 ==> ???
=> 0x00B0 ==> ???
=> 0x0000 ==> ???
=> 0x0118 ==> Send ACK Packet
=> 0x00C0 ==> ???

Did you know for the others values what are the type of packets we must send ?

- Information n°4 : For people that want to understand the packet, here is a link that my twin brother found on the Web :
http://www.ricbit.com/mundobizarro/nds.html

I think it's time to get now this Ad-Hoc mode working.

Sincerely,
Jackobo The Chocobo

Last edited by Jackobo (2017-12-26 07:29:15)


Gitlab : https://gitlab.com/users/JackoboLeChocobo/projects
DeSmuME-Reloaded (DS emulator with Wifi support on DWC and RetroArch Support) : https://gitlab.com/JackoboLeChocobo/Desmume-Reloaded
VisualBoyAdvance Link (GBA emulator with Multiplayer Link and RetroArch Support) : https://gitlab.com/JackoboLeChocobo/Vis … vance-Link

Offline

#7 2018-08-07 01:10:17

Jackobo
Member
Registered: 2017-12-13
Posts: 11

Re: DeSmuME-Reloaded : DS emulator with WiFi support

Update of the links :

http://forums.desmume.org/viewtopic.php … 170#p27170 :

DeSmuME-Reloaded (DS emulator with Wifi support on DWC and RetroArch Support) : https://gitlab.com/JackoboLeChocobo/Desmume-Reloaded


Gitlab : https://gitlab.com/users/JackoboLeChocobo/projects
DeSmuME-Reloaded (DS emulator with Wifi support on DWC and RetroArch Support) : https://gitlab.com/JackoboLeChocobo/Desmume-Reloaded
VisualBoyAdvance Link (GBA emulator with Multiplayer Link and RetroArch Support) : https://gitlab.com/JackoboLeChocobo/Vis … vance-Link

Offline

#8 2018-09-13 19:34:05

SkylarX
Member
Registered: 2018-09-13
Posts: 4

Re: DeSmuME-Reloaded : DS emulator with WiFi support

hello mister jackobo...is there a way to support your project, like donating? i will glady help so everybody can enjoy.

Offline

#9 2018-09-23 05:03:53

fintogive
Member
From: USA
Registered: 2014-04-11
Posts: 346
Website

Re: DeSmuME-Reloaded : DS emulator with WiFi support

can this support local wifi between a real ds and pc?

Offline

#10 2018-09-23 05:29:32

rogerman
Member
Registered: 2011-06-04
Posts: 380

Re: DeSmuME-Reloaded : DS emulator with WiFi support

No, it cannot. All of the Wi-Fi functionality is presently in a broken state where it doesn't do anything useful.

All the current Wi-Fi code can do is compile successfully and make intermittent connections to either another DeSmuME instance or to the AltWFC server. However, it cannot maintain any connections as of yet or actually participate in any real multiplayer games.

Offline

#11 2018-09-24 02:19:13

fintogive
Member
From: USA
Registered: 2014-04-11
Posts: 346
Website

Re: DeSmuME-Reloaded : DS emulator with WiFi support

dang ok. well maybe one day.  cause that would be very usful for hacking local wifi multi player games  that have game content that isnt unlockable in the regular game or wifi

Offline

Board footer

Powered by FluxBB