Development Thread BBA working :)
|
07-05-2012, 10:43 AM
The wiki has instructions for windows and linux:
https://code.google.com/p/dolphin-emu/wiki/BBA
I've typed out two guides for those of you who wish to get into the action but are still having a difficult time. I typed these in a bit of a hurry out of excitement, so please excuse any typos
Thanks again for this, sktsqrl I was beginning to wonder if it would ever work You'll need to download the Dolphin version that supports the BBA (http://www.peejeshare.com/files/36322432...ty.7z.html (thanks to daxtsu for compiling and uploading), as well as the installer for the TAP device (http://swupdate.openvpn.org/community/re...nstall.exe) I've attached both readme files in a .zip file, but I split them because Part A deals mainly with settings everything up, and Part B is mainly for PSO. README First (Part A).txt This is the unofficial Readme for Dolphin 3.0 with BBA support (Beta 1) made by XxNaHtExX of the Dolphin forum. Credit for getting the BBA to work with the Dolphin emulator goes to sktsqrl of the Dolphin forum. Note: This guide was made while using Microsoft Windows 7. Things will more than likely be different for Windows XP users, but with a bit of toying around you should be able to figure it out (I hope!) --- Inside of this .zip file you will find two folders: "Win32" and "x64" If you use a 32-bit version of Microsoft Windows, you'll want to extract (drag and drop) the "Win32" folder. If you use a 64-bit version of Microsoft Windows, you'll want to extract (drag and drop) the "x64" folder. --- Now, the next step is to install "OpenVPN TAP Adapter V9" "openvpn-2.3-alpha1-install" is the installer, which is also located within this .zip file. Basic installation procedure, you can modify the location to install the software if you wish. If Windows asks you if you trust the software, simply select "Yes." Note that you DO NOT have to have the OpenVPN GUI running in order to use the BBA with Dolphin. I don't believe it automatically starts with your PC by default, anyway. Once installed, go to Start > All Programs > OpenVPN > Utilities > "Add a new TAP virtual ethernet adapter." This can also be found at "C:\Program Files\OpenVPN\bin\addtap.bat" If you've done this sucessfully, you can go to Start > Control Panel > Hardware and Sound > "Device Manager" (under "Devices and Printers") > Network Adapters and you should now have "TAP-Win32 Adapter V9" installed. Now go to Start > Control Panel > Network and Internet > "View network status and tasks" (under Network and Sharing Center) > "Change adapter settings" (on the left). You can also get here by clicking on your network icon (the one that looks like a computer monitor with an ethernet cable to the left of it) to the left of your clock (lower-right hand corner of your monitor) and clicking "Open Network and Sharing Center." Regardless of how you choose to get here (to your network adapter settings,) right click the and highlight both the icon created for "TAP-Win32 Adapter V9" (mine is "Local Area Connection 2 - Unidentified network), and the icon that is for your connection to the internet (mine is Local Area Connection, for example.) You should now be able to bridge the connections together. Once done successfully, you should get a new icon, "Network Bridge." Congrats, you're now (almost) ready to use the BBA feature of the Dolphin emulator! You shouldn't have to keep bridging the connections together, by the way. So aside from setting up Dolphin, you're pretty much good to go. --- Now run "Dolphin.exe" Go to Options (at the top of the window) > Configure... > "Gamecube" tab > and for SP1 select "BBA", then click "OK." If you wish to use Slot B as a memory card as well, this is where you would set it up, though it isn't required. If you currently have no .ISO's (games) listed in your Dolphin menu, simply click to browse for games; select the folder your .ISO's (games) are located in. Alternatively, you may go to File (at the top of the window) > Open... and locate the .ISO (game) you wish to play, but the emulator won't add the game to the main list for easy access in the future if you do it this way. Options (at the top of the window) is also where you go to configure your Graphics and Gamecube Pad Settings. I highly recommend you configure your Gamecube pad so that you feel comfortable. Dolphin will also allow you to use a game pad instead of your keyboard/mouse if you have one. If you have a game pad setup from another Dolphin installation that you would like to use, it may be found in User > Config > Profiles > GCPad. Simply copy the "Profiles" folder and place it into the "Config" folder (User > Config) of your BBA Dolphin installation. You can then load it by going to Options > Gamecube Pad Settings > Profile. README First (Part B).txt I've chosen to split the readme files simply because this one will deal mainly with Phantasy Star Online. As you probably know, there are other games that can be used with the Gamecube BBA, but I personally won't be covering them at this time. Before I start, there are a few things to be aware of... -As of right now, there is no keyboard support. You may still use the in-game software keyboard to chat with, but your PC keyboard currently will not allow you to chat to other players, nor will it allow you to configure your in-game BBA settings. -If you already have PSO data saved that you would like to use, OR WISH TO KEEP THE DATA SAVED WITH THE CURRENT BBA-ENABLED VERSION OF DOLPHIN (for when updates are released), your saved data is located in User > GC in your MemoryCardA.USA files! Simply copy/paste this file (and the MemoryCardB.USA file, if you have one.) I also highly recommend that you MAKE BACKUPS! Copying the SRAM file isn't a bad idea, either. Now then, let's get into the action... Run "Dolphin.exe" and start up PSO (see part A of the readme if you need assistance loading up your .ISO) If this is your first PSO file on your memory card, select NO when asked if you would like to return to the BIOS menu to set your date/time (selecting yes will crash Dolphin), and then agree to the terms. Your data will be created automatically. Press Start and go to Options. (X is the default button for the Gamecube A button.) Now go to "Network Option" and then "Provider Option." (Then select Yes.) You may notice that some text is more than likely missing. This is normal (as of right now), and isn't that big of an issue. Choose a memory card to save your network information to. It can be either slot A or slot B, but if you didn't set up a slot B earlier then slot A is your only option. Once this is done, go to "Network Setup." You may notice now that the cursor is a bit crazy. Enlarging the window helps a bit, but it takes some patience. Also, before we continue, I'll warn you now that after using the software keyboard in these menus your input may lag a bit, but just be patient and it'll eventually show up. Even if it doesn't, just carry on, and it'll show up as you go. Provider doesn't matter; you may skip this part (click "Edit menu") ISP is optional; you may name it whatever you wish. Next, you'll find your connection settings. More than likely you'll just want to Automatically obtain an IP address (DHCP) For "Line timeout (minutes)", I recommend you just disable this ("Do not automatically disconnect".) Now, the next screen is where you actually set up the private server you wish to connect to. For DNS server address, select "Manual" You don't need both DNS fields filled out, but if the first should fail the second should kick in. There are many private PSO servers out there that support the Gamecube version. I won't go into too much detail with this guide, but... Schtserv, Sylverant and L33tServ seem to be the most popular these days. If you wish to host your own PsoGC server, simply look up "Fuzziqer Software" and go to "Projects". DHCP Hostname isn't required, nor is the Proxy server address or Proxy port number (unless you're using the PsoGC Snapshot Proxy.) So now click "Save" and "Return to Game." You're pretty much ready to go. Go to "Online Game" and select (or make) your character. Agree to the terms and then input your Serial Number/Access Key/Password. If you need a S/A/P, simply bring up this topic on the private server forums, or contact the administration of the server you wish to play on. Most of the time the password isn't technically required for private servers, but if it is, then make sure you use a password you don't use for other things!
Here's the latest revision compiled from the BBA branch:
http://www.peejeshare.com/files/36322802...y.zip.html Changes: -bba: (windows) fix games which stop and restart recving, such as logging off of PSO and loggin on again without stopping dolphin -Remove the now unneeded recv sleep hack and fixes game exit by implementing a timeout on read(2) calls in the read thread. -Reduce logging verbosity in the Linux BBA code -bba: generate MAC if needed Credit again goes to sktsqrl and company, not me. 08-14-2012, 04:24 AM
(07-04-2012, 09:17 AM)sktsqrl Wrote: It is most likely related to latency induced by using the TAP adapter, and how dolphin is using the TAP adapter. Hi there! I'm having the same issue as TheDowner. I'm trying to play Double Dash with a real Gamecube and Dolphin. What I've found is that I can do any control that does not move the kart. I can switch drivers, move the wheels back and forth without moving, and taunt. Accelerating or reversing causes the LAN link to crash. I've done what you suggested and used Wireshark to capture traffic. I started capturing at the "Begin Lan Setup" screen, and ended capture after being returned to the title screen once the LAN failed. Thanks a bunch! Let me know if there's anything I can do to fix this. (I'm not sure what the best way to get the file to you is. I couldn't attach it, so I uploaded it here: http://www.peejeshare.com/files/36326539...capng.html) Edit: I just remembered, I was able to play between my desktop and laptop. The race ran at about 20 FPS, but I was able to finish the race. It just took awhile. Dunno if that matters, but there it is. 08-14-2012, 03:13 PM
(08-14-2012, 04:24 AM)TheProtagonist Wrote:Thanks I'll probably get a chance to check it out this weekend.(07-04-2012, 09:17 AM)sktsqrl Wrote: It is most likely related to latency induced by using the TAP adapter, and how dolphin is using the TAP adapter. (08-14-2012, 04:24 AM)TheProtagonist Wrote: Edit: I just remembered, I was able to play between my desktop and laptop. The race ran at about 20 FPS, but I was able to finish the race. It just took awhile. Dunno if that matters, but there it is. BBA should not affect fps directly (game may throttle itself if network is slow, idk). 08-24-2012, 03:49 AM
I tried it some time ago but Dolphin did not seem to have network access using OpenVPN with the suggested networlk bridge setting. It also crashed every time I closed it after trying to connect with PSO.
08-24-2012, 06:47 AM
(08-23-2012, 02:25 PM)sktsqrl Wrote: ummm, the linked file no longer exists. Huh. Weird. Try this! http://www.peejeshare.com/files/36327535...capng.html |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)