![]() | ||
Views: 24,212,742 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 02-09-25 05:53 AM |
Guest: |
Main - Posts by Nadia |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 1/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
...What would you need a microSD card for? |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 2/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
I had made a simple SDL frontend for melonDS before the wxWidgets UI where I used the SDL2 GasmeController API for controller input.
The GameController API is a good idea but it does have some problems that would make it a bad idea to use for something like melonDS, or at least without a way to manually map the controller too. - The mappings generally have the A button as the bottom one instead of the right like on the DS, just swapping the mappings works most of the time, but for some controllers (like the Wii U Pro controller), you'll end up with BAYX mapped incorrectly - Some controllers are not supported, like the DualShock 4 v2 when on Linux 4.10 with the proper driver for it - Making custom mappings is a pain and I have no idea how to actually make them work Another thing that could be nice in the UI would be to swap the positions of the OK/Cancel buttons in dialog boxes when using GTK so the buttons are where the user would expect. |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 3/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
* Download the 64-bit version of MSYS2 from here.
* Open "MSYS2 MSYS" * Type pacman -Syu --noconfirm
* It'll probably tell you to close the terminal at some point, do that * Now open "MSYS2 MinGW 64-bit" * Type these commands pacman -Su --noconfirm mingw-w64-x86_64-{toolchain,SDL2,wxWidgets} git
Then you should hopefully have a working build of melonDS git clone https://github.com/StapleButter/melonDS.git cd melonDS g++ -O3 src/*.cpp src/wx/*.cpp -Isrc -Isrc/wx $(pkg-config --cflags --libs sdl2) $(wx-config --cflags --libs core,base) -I/mingw64/include/wx-3.0/ -I/mingw64/lib/wx/include/msw-unicode-3.0 -o melonDS.exe ![]() |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 4/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
g++ -O3 src/*.cpp src/wx/*.cpp -static -static-libgcc -static-libstdc++ $(pkg-config --static --cflags --libs sdl2) $(wx-config-static --cflags --libs core,base) -Isrc -Isrc/wx -I/mingw64/include/wx-3.0 -I/mingw64/lib/wx/include/msw-unicode-3.0/ -o melonDS.exe
Try this. |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 5/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
Hi, I'm Nadia (AKA nhp in some places), I've pretty much been following the melonDS project since the beginning ![]() |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 6/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
The system requirements are currently very high, don't expect to run everything at full speed even with something like a decently fast i7. |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 7/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
Pokémon works.
![]() ![]() |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 8/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
Are you sure your BIOS and firmware dumps are good and placed in the right place?
I can run both of these games fine. |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 9/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
From where did you install wxWidgets? |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 10/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
What did you do from there? That command I posted to build it probably won't work anymore.
Replace the CMakeLists.txt file with this one: https://gist.github.com/Nadia-h/013b877539d50f9485a84a948d4d0e01 (and add any potentially missing files to the list, don't know if it's up-to-date there) Install CMake and make: pacman -S mingw-w64-x86_64-cmake make
Then do mkdir build
cmake .. -DCMAKE_BUILD_TYPE=Release -G "MSYS Makefiles" make -j5 And hopefully it should work. |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 11/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
You must run melonDS from the terminal and not through a file manager or some other place, otherwise you'll have to copy the DLLs with it because Windows won't know where to find them. |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 12/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
Maybe try a pacman -Syu and rebuilding. |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 13/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
Download melonDS 0.4, disable the framerate limiter for both games (press tab), the trade should now succeed. |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 14/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
It does in melonDS 0.4, but you'll probably need to be able to run the game at way above full speed for this to work. |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 15/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
Yes, sort of:
I wouldn't recommend trying it though as it doesn't really work that well. |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 16/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
Yes, however local multiplayer is currently very unstable so you might not have much success with it. |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 17/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
You can actually build melonDS for the Mac, it should work if you do this:
- Make sure you have the C/C++ build tools installed, you can do that by running clang in the terminal, it'll ask if you want to install them if you don't have them already
- Install homebrew - Run brew install cmake gtk+3 sdl2 gettext
- Clone the melonDS repository: git clone https://github.com/StapleButter/melonDS.git
- cd to the melonDS directory, create a build directory in it and cd into it - Run LDFLAGS=-L/usr/local/opt/gettext/lib CFLAGS=-I/usr/local/opt/gettext/include cmake .. -DCMAKE_BUILD_TYPE=Release
- Then make -j5
If it succeeds you should end up with a 'melonDS' binary in the build directory that should work. It'll be using the GTK+ toolkit so system integration is basically not a thing, but it should be functional and let you emulate your games ![]() |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 18/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
I could reproduce this on Arch (in Danish) as well, it would freeze and crash when trying to assign a controller button or just messing with the input dialog too much. But right now it doesn't seem to happen for me.
Weird... |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 19/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
Whoops, made a mistake in that command... It should be LDFLAGS=-L/usr/local/opt/gettext/lib |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 20/128 EXP: 77625 Next: 500 Since: 03-29-17 From: Denmark Last post: 20 days ago Last view: 5 days ago |
Get an older version of melonDS that has the framerate limiter toggle key (0.5 I think).
Disable the framerate limiter (press tab) in both games, then trading should work. |
Main - Posts by Nadia |
Page rendered in 0.047 seconds. (2048KB of memory used) MySQL - queries: 23, rows: 102/102, time: 0.034 seconds. ![]() © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |