Dolphin, the GameCube and Wii emulator - Forums

Full Version: [solved] Source of dc-netplay-4.0-652
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'd like to play Super Smash Bros. Melee online. And while I've managed to compile and run the master branch, the Melee community seems to be using dc-netplay-4.0-652 for online play, of which I'm having trouble finding the source code.

I did find the source for dc-netplay (c5b1ec3329d4) here: http://gc.codehum.com/p/dolphin-emu/sour...dc-netplay, which compiled and runs, but it can't find the game. I can open it directly (and via default), but it won't appear in the list of games, which seems to be necessary for hosting a netplay session (via rightclick) and joining as Dolphin will complain about not finding the game when a session I join is started. I've tried setting different paths (which do work with the master branch), but to no avail.

Here are my questions resulting from this situation:

Is c5b1ec3329d4 the same as 4.0-652?
If not: Where can I find the right version of the source code?
If yes: How can I make it find the game?

And lastly, is it at all possible to play online with Windows users from a Linux machine?

Thanks,
jonfen.
When you compile it does it not give you the version number (maybe in the about)?
(03-24-2014, 11:50 PM)ExtremeDude2 Wrote: [ -> ]When you compile it does it not give you the version number (maybe in the about)?

Sadly, no. This is what about says:
Code:
Branch:
Revision:
Compiled: Mar 24 2014 @ 00:43:22

-edit-
and there's no --version option when you run it from the command line either Sad
Try a build from our official buildbot, if you get a GIT hash in the About dialog, then you can checkout the source of that revision from GitHub...
https://dl.dolphin-emu.org/builds/
DC-Netplay hasn't been moved over to github yet. I've contacted comex about it.
Ok, I talked to someone on irc, who pointed me to the right version of the dc-netplay branch (commit c5b1ec3329d47006bfddb381f730ad4310528b00) and provided a patch for a fileystem bug, which caused dolphin to not find the game. It's working now!
It would be nice if you could share the patch or a pre-built binary...
Yes, I was thinking about that. But I wanted to talk to the guy who did it first. Maybe I'll even make his instructions into a guide that people who are not git-savy (like me) can easily follow. Wink
Hey, could you please just post the patch anyway? I'm sure the guy who did it is fine with that and me and another guy are in the irc right now trying to fix it again. You should still write a guide for it (something I was planning on doing too), but I would really like a fix now.
[EDIT] I made a patch. It might cause a runtime error if you have anything other than wii/gc games in the search folders though - I'm working on a better fix later today. https://db.tt/b9ANeeOl
[EDIT]
Nothing can be done to really fix it besides rolling back the change like the patch bellow does. Comex replaced FileSearch with some regex magic stuff that will be supported in gcc4.9 but isn't right now.
[Edit]
I've written a post about how to play PM on linux found here http://www.reddit.com/r/SSBPM/comments/2...for_linux/
You can just get the dolphin build you need for melee by following the building dolphin part of the guide.
I've been building patchless since gcc4.9 on archlinux and that works really well.
Ok,
this is the patch:
https://gist.githubusercontent.com/parad...file1.diff

I applied it to commit c5b1ec3329d47006bfddb381f730ad4310528b00 running the following commands:

Code:
git clone https://code.google.com/p/dolphin-emu
cd dolphin-emu
git checkout dc-netplay
git log | head -n1      #should give you: commit c5b1ec3329d47006bfddb381f730ad4310528b00
git checkout -b paradigm-fix
wget https://gist.githubusercontent.com/paradigm/9741650/raw/763324277449a6a7d28aa8a4ce3ddfc8d203638e/gistfile1.diff
patch -p1 < gistfile1.diff
git commit -a -m "reverts 685206c97eded569e58c6d3ff0e5215e3bdb6394"      #to ensure the change is saved

and then the normal steps for compiling as described here in step 3 https://wiki.dolphin-emu.org/index.php?t...n_on_Linux
Code:
mkdir Build && cd Build
cmake ..
make && sudo make install

To be honest, on the git and patching part I just followed paradigm's instructions as I don't really know much about git.

Hope it helps!