ForumsNewsOnline GamesOnline InfoGame SchedulingGuides Our ServersContactLinks


It is currently Thu Apr 24, 2014 7:30 pm


Bookmark and Share


Impulse like(s) this thread.


Reply to topic  [ 273 posts ]  Go to page 1, 2, 3, 4, 5 ... 28  Next
PC-DC server on Vista/Win7/XP etc. (Sort of)
Author Message
Game Server Admin
User avatar

Joined: Sat Jul 17, 2010 1:03 pm
Posts: 646
Location: RI
Post PC-DC server on Vista/Win7/XP etc. (Sort of)
So I've got nothing better to do atm and I didn't want to have to reboot into linux everytime I connected to PSO. I have windows 7 64bit installed onto my desktop. Anyways heres the guide to get PC-DC server on your windows computer through a virtual machine...

Sorry if this wasn't clear, but you need a Dial Up Modem to follow this guide.


EDIT: I don't think the "voice modem" requirement is completely necessary. I have used a data/fax modem with this and it connected to DC just fine.


Technically all voice modems which are compatible with Windows will work for this guide. However, it has come to my attention recently that VMware does not officially support PCI devices. While it can use them through a virtual COM port, it is not able to actually virtualize the PCI device itself. Using a PCI modem in VMware has some negative effects. Firstly the bandwidth being sent to and from your dreamcast will be limited to about 5Kbps. This sounds really bad, but normally the most that can be achieved is in the range of 15-18Kbps. That said, it causes some undesirable effects in certain games. Nothing too drastic though. For example, in PSO quests will take about 50-60 seconds to download opposed to like 5 seconds with a normal PC-DC server. The other, more significant issue is that your Dreamcast's latency will be in the range of 1000-2000ms. This causes StarLancer and Quake III to be unplayable. And in addition you will see some lag in 4x4 Evo. PSO seems to not be effected by this for the most part and the browser of course functions either way. I have not tested Max Pool.

Now, what if you have a Serial or USB modem? Well, those will function properly in VMware and give you the full 15-18Kbps bandwidth along with around a 200-300ms latency, which is how it should be. All serial modems should work, however if you wish to use a USB modem it MUST be linux- compatible. Most Conexant modems should be linux-compatible. Here is a reference to determine that: viewtopic.php?f=3&t=2478

**This type of USB Modem (pictured below) which is powered by the USB port does not work with a Dreamcast "Model B" Modem. And if you are using a Model A Modem you will need to use a Line Voltage Inducer. I'm not sure why atm. If anyone knows feel free to post a response.

Image

NOTE: V.92 modems should theoretically offer the best performance.

-->If you are using a PCI or Integrated Modem, start at STEP 1.
-->If you are using a Serial Modem, start at STEP 1.
-->If you are using a USB Modem, VMware will detect it as a USB device and it will be usable in VMware. Start at STEP 2 and skip STEP 5.

STEP 1: Make sure your modem driver is installed properly on windows (If you are using a Serial Modem you will not need a driver installed on windows, however this step will let you know which COM port the modem is using.). To do this right-click on My computer/Computer and go to manage. Then click Device Manager. Expand the "Modems" section and make sure your modem is listed. If not you must find the driver for it and install it. Now that you have your modem in view on device manager right click on it and go to properties. Then click the "Modem" tab. Make note here of which COM port your modem is using. You will need to know this.


STEP 2: Install VMware player. You can get that for free here: https://www.vmware.com/tryvmware/?p=player&lp=1

or here: http://download.cnet.com/VMware-Player/ ... entBody;1d

**Make sure you don't have any firewall blocking VMware in Windows, otherwise it will be unable to access the internet, thus neither will Dreamcast once this is all set up.


STEP 3: Download Ubuntu ( I used ubuntu 8.10, but i'm using 10.04 on my laptop so I'm sure that works as well) The newest version can be found here: http://www.ubuntu.com/desktop/get-ubuntu/download

If your PC has low-end specs, you could alternatively use Xubuntu: http://www.xubuntu.org/getubuntu

Of course both ubuntu, and xubuntu are just examples of distros to use for this. If you have a different one which you prefer, then by all means use that.


STEP 4: Add a virtual machine to VMware. You can simply select the disc image that was downloaded. Before installing the virtual machine be sure to click the "Customize Hardware" button when it comes up.

STEP 5: "In Customize Hardware" you will need to click "Add" and then add a Serial Port. Then click the radio button "Use physical serial port on the host". Then hit next. In the drop-down menu select the port that your modem uses (You found this out in STEP 1). And make sure "Connect at power on" is enabled.


STEP 6: While in Customize Hardware you must also change the Network Adapter type. So click on Network Adapter and change it to a "Bridged Connection". Make sure that "Replicate physical network connection state" is disabled. Also while you're customizing the hardware you may also want to shrink your virtual machine size. I'm using 10GB, but you probably don't even need that if all you are doing is setting up a PC-DC server.

If your firewall is disabled and you are having trouble getting the bridged connection to connect to the internet after the OS is installed follow this guide: http://www.eightforums.com/virtualizati ... layer.html


STEP 7: Install the OS. This is pretty much automated.


STEP 8: IF you are using a USB Modem, you will now need to install your modem's linux driver in VMware.

Now that Ubuntu is installed, you will want to install gnome-ppp to verify that your modem is detected. To do this open a terminal window and type,
Code:
sudo apt-get install gnome-ppp

After it installs type,
Code:
gnome-ppp


Then go to "Setup" and hit "Detect". Your modem device name should now be displayed. (My device name is /dev/ttyS1)


STEP 9: A whole lot of other steps. Follow Ryochan's guide here: http://www.ryochan7.com/blog/2009/07/11 ... iguration/

[OPTIONAL] STEP 10: IF you want your PC-DC server to be a dedicated dial-in server (PC automatically answers Dreamcast with no user-input) you will need to purchase a phone line simulator. You can find one of these on EBay with prices ranging from $45+. Connect the Dreamcast to one line of your phone line simulator and the PC Modem to the other. Turn blind-dial OFF on your Dreamcast. Then refer to the documentation for your phone line simulator to determine the phone number you will have Dreamcast dial in order to ring the line which your PC modem is connected to. Instead of the two commands that are used to connect with Ryochan's guide (mgetty, killall) you will type only this command into a terminal window:
Code:
sudo mgetty -D /dev/ttyS1 -m '"" AT&S0=1'

Substitute "/dev/ttyS1" for your device name if it is different. The "S0=1" portion of the command is telling your PC Modem to automatically answer the phone call after the first ring from Dreamcast. Without the phone line simulator it cannot detect that the phone call is being made and will not automatically answer it. If you wish to go one step further and have this command running at all times in linux you can make an upstart/startup script using that command. In which case it will be running from startup and should re-execute after the connection is terminated.



**One important thing to note which is not mentioned in Ryochan's guide is that in order to get 4x4 Evo working you must also comment out the default-async option for this game as well. As he has listed for StarLancer and Quake3.


And thats it! Your modem should now work as a PC-DC server on linux in a virtual machine on Windows. This is my first guide, so if something is confusing or if you have any questions let me know.

If you happen to upgrade or reinstall the VMware software sometime after going through this guide you may notice your virtual network adapter has stopped working. Try to reconnect to autoeth and restart the virtual machine. If you are still unable to establish a connection within VMware you will probably need to reinstall the virtual machine from scratch. I can't really explain this, but it happened to me recently, preventing me from being able to use my PC-DC server and I couldn't determine any cause for it.

Bottom Line: I would recommend not changing your VMware version after your PC-DC server is set up.


Here is a badly edited walk-through of how to set this up on the PC without any narration. It sucks, so deal with it. Also, I can't show how to configure the DC-side because i have no video camera, and no video capture card. In this video I was setting up a PCI modem.

Part I:


Part II:


Part III:


And here is a video of my VMware PC-DC server in action. This is what is done when you finally connect.



In case anyone using a Model B Dreamcast modem was wondering, here is a photo of my line voltage inducer. It uses a 9V power adapter for its power supply. Its a bit of mess, but I added some text to help clarify things.

A few things to note:
-You must use an electrolytic capacitor with capacitance anywhere from 0.47 µFD to 1 µFD
-The resistor's resistance can be anywhere from 330Ω to 390Ω.
-The polarity of the capacitor in the circuit does not matter.
-The only wire you are working with inside the telephone cord is the red one. The other 3 wires can be left alone.
-If you plan on using an 9V AC adapter opposed to a 9V battery, as I did in the picture below, you will need to know the polarity of the terminals. If the power adapter you are using already indicates this, then great. But if not, you will need to determine this. To do so you can use a digital voltmeter or multimeter. Connect one of the wires of the power adapter to the positive lead of your multimeter/voltmeter and the other to the negative. If the voltage display is positive, then the positive wire of the power adapter is connected to your positive lead. If the voltage display is negative, then the positive wire of the power adapter is connected to your negative lead.

Here is my line voltage inducer:


You do not have the required permissions to view the files attached to this post.

_________________
Regards,
Green Man


My Justin.tv
My Youtube


Last edited by brourke228 on Mon Apr 01, 2013 2:10 am, edited 35 times in total.



Thu Aug 19, 2010 3:22 pm
Profile
Sub Genius
User avatar

Joined: Sat Jun 14, 2008 10:42 am
Posts: 1487
Location: USA - Noobie!
Post Re: PC-DC server on Vista/Win7/XP etc. (Sort of)
Gonna give it a try (I guess my Gentoo isn't good enough).

_________________
Regards,
Bob Dobbs

Image


Fri Aug 20, 2010 6:51 pm
Profile YIM WWW
Game Server Admin
User avatar

Joined: Sat Jul 17, 2010 1:03 pm
Posts: 646
Location: RI
Post Re: PC-DC server on Vista/Win7/XP etc. (Sort of)
Bob Dobbs wrote:
Gonna give it a try (I guess my Gentoo isn't good enough).


lol I was just using ubuntu as an example. If the kernel for the version of Gentoo you use supports mgetty and ppp then it should work just fine.

_________________
Regards,
Green Man


My Justin.tv
My Youtube


Fri Aug 20, 2010 7:42 pm
Profile
Outrun
User avatar

Joined: Sat Sep 26, 2009 1:37 pm
Posts: 1108
Location: Earth
Post Re: PC-DC server on Vista/Win7/XP etc. (Sort of)
Don't you have to compile everything yourself in Gentoo?

_________________
PS2 Online Gaming


Fri Aug 20, 2010 9:07 pm
Profile
Sub Genius
User avatar

Joined: Sat Jun 14, 2008 10:42 am
Posts: 1487
Location: USA - Noobie!
Post Re: PC-DC server on Vista/Win7/XP etc. (Sort of)
I'm a bit behind in the Linux world being I'm understanding why Linux blew their chance back in 1999 when stores were offering PC's with Redhat for $100.00 less than a Windows OS PC.

_________________
Regards,
Bob Dobbs

Image


Fri Aug 20, 2010 10:42 pm
Profile YIM WWW
Outrun
User avatar

Joined: Sat Sep 26, 2009 1:37 pm
Posts: 1108
Location: Earth
Post Re: PC-DC server on Vista/Win7/XP etc. (Sort of)
Get Ubuntu. Everything installs easily similar to Windows so you have minimal command line. Linux is making a comeback. Major computer companies offer PC's with Ubuntu cheaper but good luck find it in store.

_________________
PS2 Online Gaming


Fri Aug 20, 2010 11:09 pm
Profile
lithium

Joined: Mon Aug 24, 2009 8:03 pm
Posts: 44
Post Re: PC-DC server on Vista/Win7/XP etc. (Sort of)
I have a similar setup but not using a VM. I'm assuming your modem would still have to be linux compatible?

Also, what kind of experience are you getting with PSO?

I'm using a zoom usb modem and the connection is too slow to be usable.


Thu Aug 26, 2010 6:02 am
Profile
Game Server Admin
User avatar

Joined: Sat Jul 17, 2010 1:03 pm
Posts: 646
Location: RI
Post Re: PC-DC server on Vista/Win7/XP etc. (Sort of)
Kingbuzzo wrote:
I have a similar setup but not using a VM. I'm assuming your modem would still have to be linux compatible?

Also, what kind of experience are you getting with PSO?

I'm using a zoom usb modem and the connection is too slow to be usable.


Hey hows it going. I'm guessing you're the same kingbuzzo from OC. Anyway, I don't believe your modem actually has to be compatible with linux for this to work. It uses the windows driver through a COM port. Linux will just think you are using a serial modem. In other words you dont need to install any drivers or anything like that on linux itself even if you are using a winmodem.

PSO works great. Vmware is pretty much all i use now because I prefer to use my desktop since its hooked up to the same TV as dreamcast, but I have only windows on that computer. I was kind of curious to see how long it would stay connected one night. And it actually went 12 hours straight without any disconnects and I'm not exaggerating. However the reason for the disconnect is unrelated. I'm sharing my neighbor's wifi between 2 computers and dreamcast atm. I just moved into an apt and I won't be getting my own internet until today.

I did notice the connection speed to be slightly slower, although there is no change in latency. But the connection speed may also be due to the wifi. Because my router sees Vmware as a separate computer since it is using a bridged connection. (wifi split into 3 PCs + DC then) So when I get internet installed later I'll see if it makes any difference. But in terms of actual gameplay, this has a negligible effect. There is no lag whatsoever. It just takes slightly longer to load quests.

So yeah, I recommend trying it out. I'm using this on windows 7 64bit. I have no reason to think it wouldnt work on any other version of windows if it works on this. It is probably much easier to do it this way, because as you know, I was unable to get the XP guide to work for me. This is just way less of a hassle.

_________________
Regards,
Green Man


My Justin.tv
My Youtube


Thu Aug 26, 2010 9:56 am
Profile
lithium

Joined: Mon Aug 24, 2009 8:03 pm
Posts: 44
Post Re: PC-DC server on Vista/Win7/XP etc. (Sort of)
thanks for the reply!

using vmware would be a good solution for a lot of people I think. Whether it be with Ubuntu or win98.

I was able to solve my problem by using a rev A dreamcast modem with a line voltage simulator. The Rev B was very very slow.

Using a netbook running Crunchbang linux

http://dreamcast.onlineconsoles.com/php ... 9753#79753


Thu Aug 26, 2010 11:00 am
Profile
Outrun
User avatar

Joined: Sat Sep 26, 2009 1:37 pm
Posts: 1108
Location: Earth
Post Re: PC-DC server on Vista/Win7/XP etc. (Sort of)
I actually have a Zoom usb 3095 too but it doesn't work right with ME for server. The DGC driver only works with ubuntu 7.04 so I am going to download that give that a try.

_________________
PS2 Online Gaming


Thu Aug 26, 2010 11:21 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 273 posts ]  Go to page 1, 2, 3, 4, 5 ... 28  Next

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
© 2014 dreamcast-talk.com
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin