You are not logged in.

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



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

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

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)

Offline

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

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 4,762

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: 4

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)

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: 4

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)

Offline

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

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

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)

Offline

Board footer

Powered by FluxBB