• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 569 570 571 572 573 ... 1189 Next »

[solved] Source of dc-netplay-4.0-652
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[solved] Source of dc-netplay-4.0-652
03-24-2014, 11:42 PM (This post was last modified: 03-25-2014, 03:27 AM by jonfen.)
#1
jonfen Offline
Junior Member
**
Posts: 5
Threads: 1
Joined: Mar 2014
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/source/browse/Source/?name=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.
Find
Reply
03-24-2014, 11:50 PM
#2
ExtremeDude2 Offline
Gotta post fast
*******
Posts: 9,306
Threads: 273
Joined: Dec 2010
When you compile it does it not give you the version number (maybe in the about)?
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
Reply
03-24-2014, 11:54 PM (This post was last modified: 03-24-2014, 11:55 PM by jonfen.)
#3
jonfen Offline
Junior Member
**
Posts: 5
Threads: 1
Joined: Mar 2014
(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
Find
Reply
03-25-2014, 12:33 AM
#4
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,562
Threads: 47
Joined: Dec 2010
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/
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
Find
Reply
03-25-2014, 01:33 AM
#5
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,542
Threads: 29
Joined: Feb 2013
DC-Netplay hasn't been moved over to github yet. I've contacted comex about it.
Find
Reply
03-25-2014, 03:26 AM (This post was last modified: 03-25-2014, 03:29 AM by jonfen.)
#6
jonfen Offline
Junior Member
**
Posts: 5
Threads: 1
Joined: Mar 2014
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!
Find
Reply
03-25-2014, 08:58 AM (This post was last modified: 03-25-2014, 08:59 AM by mbc07.)
#7
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,562
Threads: 47
Joined: Dec 2010
It would be nice if you could share the patch or a pre-built binary...
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
Find
Reply
03-25-2014, 08:35 PM (This post was last modified: 03-25-2014, 08:36 PM by jonfen.)
#8
jonfen Offline
Junior Member
**
Posts: 5
Threads: 1
Joined: Mar 2014
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
Find
Reply
03-26-2014, 05:19 AM (This post was last modified: 07-24-2014, 05:30 PM by Darkcoconuts.)
#9
Darkcoconuts Offline
Junior Member
**
Posts: 8
Threads: 1
Joined: Jun 2013
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/21t1h4/project_m_302_netplay_guide_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.
Find
Reply
03-28-2014, 04:13 AM
#10
jonfen Offline
Junior Member
**
Posts: 5
Threads: 1
Joined: Mar 2014
Ok,
this is the patch:
https://gist.githubusercontent.com/paradigm/9741650/raw/763324277449a6a7d28aa8a4ce3ddfc8d203638e/gistfile1.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?title=Building_Dolphin_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!
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode