Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Online games, how to get online, and anything involving Dreamcast online can be discussed here.

Moderator: pcwzrd13

User avatar
djsteph974
shadow
Posts: 6
Joined: Sat Jun 20, 2015 4:42 am
Contact:

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post by djsteph974 »

Thanks for this tutoriel. I use dreamPI 2 with my computer (Crunchbang installed) and the dcnow module is not installed on. Is there a dreamPI dcnow version for dc-pc server ? An update to dreampi2 + dcnow soon ?

Thanks à lot ;)

Merci à tous :)
Trouver un remede viagrasansordonnancefr.com les soins aux patients
User avatar
djsteph974
shadow
Posts: 6
Joined: Sat Jun 20, 2015 4:42 am
Contact:

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post by djsteph974 »

And i've a problem with dial-tone.wav, don't play. Si I must to play wav file on vlc with à 3.5" jack connectés on modem. That work with this method but it should be better with your dreampi2.
Trouver un remede viagrasansordonnancefr.com les soins aux patients
User avatar
Bob Dobbs
Sub Genius
Posts: 4393
Joined: Sat Jun 14, 2008 10:42 am
Dreamcast Games you play Online: PSO, AFO, PBA, 4x4 Evo, IGP, Planet Ring and Max Pool
Location: USA
Contact:

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post by Bob Dobbs »

Being you have a Raspberry Pi 2, you will need a micro SD card, and download DreamPi v1.6 & Win32 Disk Imager. Also, required hardware would be a dial-up modem that is Linux/Raspberry Pi compatible and a LVI that supports the phone line voltage required in your area (unless you have a modem already). The LVI you can make, modems are not expensive (notably, the Dell NW147 works best). You can get a modded modem from TacT at DC talk like many of us so you would not have to make the LVI and it is pre-tested prior to sending it out to you. PCwzrd13 also makes LVI's if you already have a modem.

Dreamcast Live has a video tutorial regarding the DreamPi. This is very well done as it is a really good tutorial.

Good luck.

Downloads:
http://www.dreamcastlive.net/downloads.html

DreamPi Video Tutorial:
https://www.youtube.com/watch?v=lPvNQAi ... e=youtu.be
Regards,
Bob Dobbs
User avatar
Strik3r91
letterbomb
Posts: 158
Joined: Sat Dec 06, 2014 12:29 pm
Dreamcast Games you play Online: PSO, Q3A, Toy Racer, Starlancer, AFO
Location: Russia
Contact:

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post by Strik3r91 »

Ryochan7 wrote:Edit: I tweaked the script and made a custom version. Some changes in commands, bug fixes for responses, and Python 3 compatibility. https://bitbucket.org/Ryochan7/dreampi2-custom

Hello! How do i edit the scripot to enable dialtone? I need it for Quake 3 arena and AFO. And big thanks for the script it works great!
From love, with Russia :)
User avatar
Ryochan7
Teriaaaaa
Posts: 91
Joined: Fri Jun 27, 2008 8:54 pm
Dreamcast Games you play Online: Phantasy Star Online v.2
Quake 3 Arena
StarLancer
4x4 Evo
ChuChu Rocket
Location: Peoria, IL

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post by Ryochan7 »

Strik3r91 wrote:Hello! How do i edit the scripot to enable dialtone? I need it for Quake 3 arena and AFO. And big thanks for the script it works great!


You shouldn't have to edit the script. Just make sure to use the command line argument --enable-dial-tone when you launch the script. There will be a message in the output if dial tone generation is enabled.
User avatar
Strik3r91
letterbomb
Posts: 158
Joined: Sat Dec 06, 2014 12:29 pm
Dreamcast Games you play Online: PSO, Q3A, Toy Racer, Starlancer, AFO
Location: Russia
Contact:

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post by Strik3r91 »

Ryochan7 wrote:
Strik3r91 wrote:Hello! How do i edit the scripot to enable dialtone? I need it for Quake 3 arena and AFO. And big thanks for the script it works great!


You shouldn't have to edit the script. Just make sure to use the command line argument --enable-dial-tone when you launch the script. There will be a message in the output if dial tone generation is enabled.

It should look like
Sudo ./dreampi2.py --enable-dial-tone
Right? Thanks!
From love, with Russia :)
User avatar
Strik3r91
letterbomb
Posts: 158
Joined: Sat Dec 06, 2014 12:29 pm
Dreamcast Games you play Online: PSO, Q3A, Toy Racer, Starlancer, AFO
Location: Russia
Contact:

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post by Strik3r91 »

Ryochan7 wrote:
Strik3r91 wrote:Hello! How do i edit the scripot to enable dialtone? I need it for Quake 3 arena and AFO. And big thanks for the script it works great!


You shouldn't have to edit the script. Just make sure to use the command line argument --enable-dial-tone when you launch the script. There will be a message in the output if dial tone generation is enabled.

Hi with this command line argument it gives me this error. Can you help sole it ?
Attachments
222.png
From love, with Russia :)
User avatar
Ryochan7
Teriaaaaa
Posts: 91
Joined: Fri Jun 27, 2008 8:54 pm
Dreamcast Games you play Online: Phantasy Star Online v.2
Quake 3 Arena
StarLancer
4x4 Evo
ChuChu Rocket
Location: Peoria, IL

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post by Ryochan7 »

I explicitly disabled the write timeout in the script so I am not sure what is happening. I am looking at the pySerial source code and I think I see where the problem would occur; the line number is different in master. But there should be no way that this error would happen. Which version of Python are you trying to run the script on? I usually just use Python 2.7.12 since that is the default Python interpreter on Xubuntu 16.04. I haven't tested the script on Python 3.5.2 in a while but it should still work. Also, which version of pySerial are you using? I am using version 3.0.1.
User avatar
Strik3r91
letterbomb
Posts: 158
Joined: Sat Dec 06, 2014 12:29 pm
Dreamcast Games you play Online: PSO, Q3A, Toy Racer, Starlancer, AFO
Location: Russia
Contact:

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post by Strik3r91 »

Ryochan7 wrote:I explicitly disabled the write timeout in the script so I am not sure what is happening. I am looking at the pySerial source code and I think I see where the problem would occur; the line number is different in master. But there should be no way that this error would happen. Which version of Python are you trying to run the script on? I usually just use Python 2.7.12 since that is the default Python interpreter on Xubuntu 16.04. I haven't tested the script on Python 3.5.2 in a while but it should still work. Also, which version of pySerial are you using? I am using version 3.0.1.

EDIT: I had pyserial 3.3, deleted it and installed 3.0.1 now it works perfect! Thanks alot!
From love, with Russia :)
User avatar
Ryochan7
Teriaaaaa
Posts: 91
Joined: Fri Jun 27, 2008 8:54 pm
Dreamcast Games you play Online: Phantasy Star Online v.2
Quake 3 Arena
StarLancer
4x4 Evo
ChuChu Rocket
Location: Peoria, IL

Re: Linux (and RaspberryPi) PC-DC Server with Auto-connect Guide!

Post by Ryochan7 »

That is weird. Maybe I should check that version out. It sounds like the library no longer conforms to the behavior described in the current documentation.
Post Reply