Views: 8,302,191 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 07-18-24 05:27 PM
Guest:

Main - Posts by SIGMA

Pages: 1 2
SIGMA
Posted on 01-18-18 12:43 AM, in The wifi thread (rev. 3 of 01-18-18 12:56 AM) Link | #504
Tested out Megaman Starforce 3 Red Joker and Black Ace and so far they've been quite stable without much lag at 45-60 FPS during a LAN Wi-Fi Battle on Windows 7 and Windows 10 which is quite impressive. I was desperate to try and see if I could use Hamachi to play with a friend but I was too naive to believe it'd work. Anyway, for MMSF3 I am really impressed so far.

I hope you manage to wrestle it out vs the Wi-Fi and fix what is needed to make it more better, even if it will take a long while to implement correctly. Good luck.

EDIT - Image of it working here:
[thumbnail]

SIGMA
Posted on 10-15-18 12:10 AM, in Compilation errors on Windows Link | #675
I am having some compilation errors when trying to compile the source for Windows 7 x64 with Codeblocks, is there any solution to fix them?:

x86_64-w64-mingw32-g++.exe -Wall -fexceptions -pipe -O3 -m64 -D_FILE_OFFSET_BITS=64 -std=c++14 -Isrc -c C:\Users\Axelion\Downloads\melonDS-master\src\ARM.cpp -o obj\Release\src\ARM.o
x86_64-w64-mingw32-g++.exe -Wall -fexceptions -pipe -O3 -m64 -D_FILE_OFFSET_BITS=64 -std=c++14 -Isrc -c C:\Users\Axelion\Downloads\melonDS-master\src\ARMInterpreter_Branch.cpp -o obj\Release\src\ARMInterpreter_Branch.o
x86_64-w64-mingw32-g++.exe -Wall -fexceptions -pipe -O3 -m64 -D_FILE_OFFSET_BITS=64 -std=c++14 -Isrc -c C:\Users\Axelion\Downloads\melonDS-master\src\ARMInterpreter_LoadStore.cpp -o obj\Release\src\ARMInterpreter_LoadStore.o
x86_64-w64-mingw32-g++.exe -Wall -fexceptions -pipe -O3 -m64 -D_FILE_OFFSET_BITS=64 -std=c++14 -Isrc -c C:\Users\Axelion\Downloads\melonDS-master\src\Config.cpp -o obj\Release\src\Config.o
C:\Users\Axelion\Downloads\melonDS-master\src\ARM.cpp:164:21: error: variable or field 'Savestate' declared void
void ARM::Savestate(Savestate* file)
^
C:\Users\Axelion\Downloads\melonDS-master\src\ARM.cpp:164:30: error: expected primary-expression before '*' token
void ARM::Savestate(Savestate* file)
^
C:\Users\Axelion\Downloads\melonDS-master\src\ARM.cpp:164:32: error: 'file' was not declared in this scope
void ARM::Savestate(Savestate* file)
^
Process terminated with status 1 (0 minute(s), 0 second(s))

C:\Users\Axelion\Downloads\melonDS-master\src\ARMInterpreter_LoadStore.cpp: In function 'void ARMInterpreter::A_LDM(ARM*)':
C:\Users\Axelion\Downloads\melonDS-master\src\ARMInterpreter_LoadStore.cpp:423:36: warning: 'wbbase' may be used uninitialized in this function [-Wmaybe-uninitialized]
cpu->R[baseid] = wbbase;
^
C:\Users\Axelion\Downloads\melonDS-master\src\Config.cpp: In function 'void Config::Save()':
C:\Users\Axelion\Downloads\melonDS-master\src\Config.cpp:226:60: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'void*' [-Wformat=]
fprintf(f, "%s=%s\n", entry->Name, entry->Value);
^
Process terminated with status 0 (0 minute(s), 1 second(s))
3 error(s), 2 warning(s) (0 minute(s), 1 second(s))

SIGMA
Posted on 10-15-18 01:35 PM, in Compilation errors on Windows Link | #677
I see. However, I've also tried out this version of the source:
https://github.com/StapleButter/melonDS/tree/aa3fc8be68e0d98649c33f15582e731d35a37041

Which tends to give me this error (I've also had this error with even older versions of the source) which I'd imagine is most likely on my end, although I don't know how to solve it:

||=== Build: Debug Windows in melonDS (compiler: GNU GCC Compiler) ===|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU.cpp||In function 'void GPU::StartScanline(u32)':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU.cpp|690|warning: comparison between signed and unsigned integer expressions [-Wsign-compare]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU2D.cpp||In member function 'void GPU2D::DrawBG_Large(u32, u32*)':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU2D.cpp|1734|warning: variable 'xmossize' set but not used [-Wunused-but-set-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU2D.cpp|1736|warning: unused variable 'tilesetaddr' [-Wunused-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU2D.cpp||In member function 'void GPU2D::InterleaveSprites(u32*, u32, u32*)':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU2D.cpp|1824|warning: unused variable 'blendfunc' [-Wunused-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\Config.cpp||In function 'void Config::Save()':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\Config.cpp|226|warning: format '%s' expects argument of type 'char*', but argument 4 has type 'void*' [-Wformat=]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D_Soft.cpp||In function 'void GPU3D::SoftRenderer::PlotTranslucentPixel(u32, u32, u32, u32, u32)':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D_Soft.cpp|976|warning: comparison between signed and unsigned integer expressions [-Wsign-compare]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D_Soft.cpp||In function 'void GPU3D::SoftRenderer::RenderShadowMaskScanline(GPU3D::SoftRenderer::RendererPolygon*, s32)':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D_Soft.cpp|1126|warning: variable 'vlcur' set but not used [-Wunused-but-set-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D_Soft.cpp|1126|warning: variable 'vlnext' set but not used [-Wunused-but-set-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D_Soft.cpp|1126|warning: variable 'vrcur' set but not used [-Wunused-but-set-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D_Soft.cpp|1126|warning: variable 'vrnext' set but not used [-Wunused-but-set-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D_Soft.cpp|1131|warning: variable 'interp_start' set but not used [-Wunused-but-set-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D_Soft.cpp|1132|warning: variable 'interp_end' set but not used [-Wunused-but-set-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D.cpp||In function 'void GPU3D::SubmitPolygon()':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D.cpp|715|warning: comparison between signed and unsigned integer expressions [-Wsign-compare]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D.cpp|635|warning: unused variable 'prev' [-Wunused-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\GPU3D.cpp|635|warning: unused variable 'next' [-Wunused-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\areaevents.cpp||In function 'int areaKeyEvent(uiArea*, int, WPARAM, LPARAM)':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\areaevents.cpp|256|warning: unused variable 'righthand' [-Wunused-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\areaevents.cpp|257|warning: unused variable 'i' [-Wunused-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\areascroll.cpp|137|warning: 'void hscrollto(uiArea*, int)' defined but not used [-Wunused-function]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\areascroll.cpp|182|warning: 'void vscrollto(uiArea*, int)' defined but not used [-Wunused-function]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\box.cpp||In function 'void boxRelayout(uiBox*)':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\box.cpp|38|warning: unused variable 'i' [-Wunused-variable]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\colordialog.cpp||In function 'HWND__* replaceWithD2DScratch(HWND, int, SUBCLASSPROC, void*)':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\colordialog.cpp|867|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\debug.cpp||In function 'HRESULT _logLastError(const WCHAR*, const WCHAR*, const WCHAR*, const WCHAR*)':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\debug.cpp|22|warning: ISO C++ forbids converting a string constant to 'WCHAR* {aka wchar_t*}' [-Wwrite-strings]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\debug.cpp||In function 'HRESULT _logHRESULT(const WCHAR*, const WCHAR*, const WCHAR*, const WCHAR*, HRESULT)':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\debug.cpp|49|warning: ISO C++ forbids converting a string constant to 'WCHAR* {aka wchar_t*}' [-Wwrite-strings]|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\debug.cpp||In function 'void realbug(const char*, const char*, const char*, const char*, const char*, va_list)':|
C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\debug.cpp|76|error: 'vsprintf_s' was not declared in this scope|
||=== Build finished: 1 error(s), 23 warning(s) (0 minute(s), 15 second(s)) ===|

I apologize in advance if I've made an obvious and dumb mistake since I am mostly clueless when it comes to this kind of stuff and just wanted to try out the latest version through the source.

SIGMA
Posted on 10-15-18 05:44 PM, in Compilation errors on Windows (rev. 4 of 10-17-18 02:06 PM) Link | #679
It's the last line where the error appears and prevents it from being compiled, it's:

C:\Users\Axelion\Downloads\melonDS-aa3fc8be68e0d98649c33f15582e731d35a37041\src\libui_sdl\libui\windows\debug.cpp|76|error: 'vsprintf_s' was not declared in this scope|
||=== Build finished: 1 error(s), 23 warning(s) (0 minute(s), 15 second(s)) ===|

EDIT: Ok, I managed to get it to compile after re-installing MinGW with the version provided by Msys. It compiles smoothly for me, but now I get this run-time error even though I've included the DLL's from the release which it requires to run in its bin > Debug directory:

[image]

SIGMA
Posted on 10-16-18 11:51 PM, in No Access Point in Range Link | #680
I believe you need to compile a version of the source code on github to try out Wi-Fi AP emulation.

SIGMA
Posted on 10-23-18 12:22 AM, in No Access Point in Range Link | #688
I have the same problem as FancyDS, in that the emulator crashes as soon as I try to search for an access point over a wired connection. I'd imagine Wi-Fi still requires some more work on it, I don't know how Sorer was able to make it work.

SIGMA
Posted on 10-28-18 12:01 AM, in Non-local wifi Link | #712
You have to be on a laptop and use its Ethernet port on it since it's usually considered the second adapter and as mentioned in this github post:
https://github.com/StapleButter/melonDS/issues/257#issuecomment-432381369

melonDS is currently hard-coded to use the second internet adapter for online, I'd like to know which lines in the code need to be changed to make it use the first internet adapter and as to whether that's possible without breaking the whole thing.

A feature to choose which adapter is used to connect to the internet with melonDS would be nice, but again, non-local Wi-Fi is something which will be worked down further down the line since it's incomplete so far.

TL;DR: You need a laptop with an Ethernet connection to try out melonDS's non-local Wi-Fi, otherwise you'll get a crash or error message 52000 when trying to connect to online on melonDS using a desktop PC.

SIGMA
Posted on 10-28-18 06:19 PM, in Non-local wifi Link | #731
Thank you for showing me that line StapleButter, I downloaded the source and changed it from alldevs->next to alldevs and it works completely fine on my desktop. I was able to connect to AltWFC without any problems quite quickly.

I used Mega Man Star Force 3 (The JP version since it's better for netplay purposes it seems) to play against Sorer who was also on melonDS. Apart from the fact that the game runs somewhat slow (51-54 FPS) due to there not being any hardware rendering, it ran extremely well online and I am very impressed.

SIGMA
Posted on 11-06-18 11:31 AM, in Non-local wifi Link | #744
Tested out Mega Man Star Force 3 online, and apart from the only other issue being the fact it needs hardware rendering and a decently strong CPU to run it at 60FPS online, it worked extremely well. I still had some FPS drops here and there since I was recording at high settings but overall it was at 60FPS for me:



Given how extremely new the online Wi-Fi is, this is extremely impressive. I almost cried a tear of joy when I saw how fast the game loads up when it finds a new player, I remember having to suffer through an extremely long load time when trying it out on DesMume.

SIGMA
Posted on 11-18-18 09:28 PM, in Non-local wifi Link | #753
I suppose given the fact that this feature is still extremely experimental, certain problems are bound to happen.

Today I tried to play a match of Megaman Starforce 3 on AltWFC servers vs two people and for some reason, even though we've done all the correct steps to set it up, the two of them weren't able to find me but they were able to find each other.

What's weird is that I could still fight other people without any problems apart from those two. But again, I suppose that's to be expected.

SIGMA
Posted on 03-27-19 03:48 PM, in Are powerline adapters compatible with melonDS non-local WiFi? Link | #921
Can you use powerline adapters with melonDS to connect to non-local WiFi or are they incompatible?

SIGMA
Posted on 04-19-19 12:28 PM, in Non-local WiFi on Linux? Link | #1017
Just wanted to know whether Non-local WiFi works on Linux and if it does work, which library do you need to download that's equivalent to WinPcap but for Linux?

SIGMA
Posted on 09-23-19 12:51 AM, in In-game recording function? Link | #1240
Would it be possible to have a feature in which the emulator can record the game similar to VBA? Where it also doesn't record any online lag as well?

SIGMA
Posted on 10-06-19 05:39 PM, in In-game recording function? Link | #1254
Ah I see, my bad.

SIGMA
Posted on 02-03-20 04:31 PM, in Does "LOCAL" multiplayer work with hamachi? (rev. 2 of 02-14-20 10:34 PM) Link | #1470
If it works, could you share how you did it? I can't seem to find anyone with Hamachi when it comes to local multiplayer.

EDIT: Never mind I've figured it out by using Radmin VPN. Unsurprisingly I get a lot of crashes due to the latency between me and the other player (UK to Russia).

SIGMA
Posted on 02-15-20 08:19 PM, in melonDS roadmap Link | #1485
Posted by Arisotura
it's included in the 'melonwifi' bit, it's essentially the same thing

Would this be mostly to try and improve the timings on a single PC running two instances of melonDS or have local multiplayer be playable over the internet? I did remember reading a post a while back saying it wasn't really possible to do the latter because of the timings for local multiplayer being very strict.

SIGMA
Posted on 06-27-20 01:22 PM, in Wanting a better understanding of Download Play Link | #1953
So where would the middleman exist exactly? Would it be on the hosts end or the client's end?

SIGMA
Posted on 06-29-20 03:19 PM, in Qt platform error when attempting to build melonDS. Link | #1968
I've found a libslirp melonDS build which I've had issues with when trying to Mega Man Star Force 3 online, since I get way more DC's whenever I try to play someone who I could play for hours with direct mode.

So I decided to try and build it myself to see if the issue persists. However, I keep encountering this error after building the binaries:

[image]

How would I go about fixing this?

SIGMA
Posted on 06-29-20 06:38 PM, in Qt platform error when attempting to build melonDS. Link | #1970
Thank you. Though I seem to run into the same issue which I was having with the other person testing this who was on WiFi. This time around, it was more unstable. They would get random 52100 errors before they could actually connect. But when they are matched with an opponent, an instant DC happens.

SIGMA
Posted on 07-02-20 06:20 PM, in Qt platform error when attempting to build melonDS. Link | #1985
Nevermind I figured out what the issue was, I forgot to have the Limit Framerate option ticked. I also used a different build which worked perfectly fine afterwards.
Pages: 1 2

Main - Posts by SIGMA

Page rendered in 0.056 seconds. (2048KB of memory used)
MySQL - queries: 23, rows: 104/104, time: 0.027 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.