[NEW] BBA Mode for DreamPi

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

Moderator: pcwzrd13

User avatar
Scrivani
Vagabond
Posts: 732
Contact:

[NEW] BBA Mode for DreamPi

Post#1 » Sun Jul 02, 2023 12:04 am

* BBA Mode for DreamPi *

WhatsApp Image 2023-07-01 at 23.33.41.jpeg

BBA owners who own the DreamPi, check out the new BBA Mode add-on.

A tool to share RaspberryPi's Wi-Fi connection and send it to the BBA, not needing to be close to a router. But not only that, this time with Dreamcast Now integration and automatic detection of the game running, so other people can see that you are online with the correct game image. The same DreamPi will service either the modem or the BBA.


https://github.com/scrivanidc/bba-mode-for-dreampi


* DreamPi 1.8 DLE has 1.0 version installed, so please install the latest version below. *

Install BBA Mode on your DreamPi

Step 1 > Download:

Code: Select all

sudo rm installer-bba-mode.deb

wget https://github.com/scrivanidc/bba-mode-for-dreampi/raw/main/installer-bba-mode.deb

Step 2 > Install:

Code: Select all

sudo dpkg -i installer-bba-mode.deb

Step 3 > Run:

Code: Select all

./bba_mode.sh

step1_2_3.png


BBA Mode can be set to start automatically after turning on the RaspberryPi in a certain amount of minutes or it can also be triggered manually. Once running, it disables the modem function until the next reboot.

It is interesting to leave the modem connected, because when the BBA Mode is started you will know because the modem lights will be turned off

Let's imagine that you go with option 0 (immediately), or 1 (in a few minutes) or 3 (configured at every boot after x minutes), in any case when the BBA Mode starts, the modem lights will be turned off and you will know that you can connect your Dreamcast with BBA (CAT5E cable between Dreamcast and RaspberryPi). When the connection is made the system will detect the game and start your Dreamcast Now session.

LAN_ADAPTER_HIT0300_BBA_MODE_FOR_DREAMPI_DRIVING_STRIKERS.png


Code: Select all

BBA Mode Additional Instructions: Make sure your connection is as needed for this routing.
By default you must be connected via wi-fi and the LAN port available to send a cable >> CAT5-E << to the Dream
cast.

Addresses information to consider for DHCP(prefer) or Static IP configuration:

Static IP Config
Dreamcast IP - 192.168.2.2
Netmask      - 255.255.255.0
Gateway      - 192.168.2.1
DNS1         - 192.168.2.1
DNS2         - 46.101.91.123

DHCP Config
Hostname                - 'Dreamcast' or leave it blank
Gateway/DHCP Server     - 192.168.2.1
DNS1/DNS2 same as above

This comes directly from /home/pi/eth_route.sh Router Script File,
and is set to share present wi-fi over the onboard ethernet port
edit the file if you need a different IP pattern or share ethernet to ethernet(extra usb lan)

This mode does not impact the standard dial-up mode, as it uses a customized/separate file
of dnsmasq and is prepared to undo unwanted actions.


In other words:
If enabled at startup, after a certain period of minutes to choose from, like 10 minutes, if there is no modem connection, BBA Mode is triggered.
After that, only when a connection is established, Dreamcast Now starts.
Likewise, upon disconnection, Dreamcast Now is turned off.
The running game is properly identified in Dreamcast Now.

This tool coexists well with the normal dial-up modem function. Traditional modem use returns to normal on the next boot.
If there is a dial-up modem connection in that chosen period, BBA Mode is canceled and the modem connection proceeds as normal.


If you want there is log on /tmp/bba.log
Captura de tela 2023-06-28 121055.png


/var/log/syslog entries examples:
Captura de tela 2023-06-28 130026.png

log.png


Additional Info:

The new BBA Mode for DreamPi automatically detects a connection made over Dreamcast Ethernet devices for inclusion in Dreamcast Now Page. Once disconnected or logged out, the user is removed from Dreamcast Now. No manual action required.

In this approach, the wi-fi present on the RaspberryPi is shared with the Dreamcast through the RaspberryPi LAN port, reaching the Dreamcast WITH A CAT5E CABLE.

It is possible to use in manual mode, or starting automatically with the system.

It is also possible to add a second USB Ethernet port, for a share that comes out of the original Raspberry LAN port, and from this another additional USB LAN port is sent to the Dreamcast.
viewtopic.php?f=3&t=14233&start=40#p176660

The subject was mentioned in the topics below:
HISTORIC: the very first game to support LAN ADAPTER HIT-0300
https://dreamcast-talk.com/forum/viewto ... =3&t=16636

Manual Dreamcast Now (Virtual Machine) + VM for External Serial Modems
https://dreamcast-talk.com/forum/viewto ... 40#p176595


--Troubleshooting
#1 - Toy Racer (or other games) not recognized on DC Now.
>>>> Please run the repository list hotfix
>>>> viewtopic.php?f=3&t=16963&p=180814#p180814
Last edited by Scrivani on Mon Jan 22, 2024 9:33 pm, edited 14 times in total.
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

User avatar
OatBob
MegaDeath
Posts: 215

Re: [NEW] BBA Mode for DreamPi

Post#2 » Sun Jul 02, 2023 12:06 am

Now we're thinking with portals bridges.
shinjitsunayu.me/ - web content for DC.

Image

User avatar
Scrivani
Vagabond
Posts: 732
Contact:

Re: [NEW] BBA Mode for DreamPi

Post#3 » Sun Jul 02, 2023 12:34 am

BBA Mode is for both Dreamcast Ethernet Devices:

Example of BBA Mode acting with LAN ADAPTER HIT-0300, with BBA Portal websites detection:

"Dreampassport for LAN"
Captura de tela 2023-06-28 120948.png

Captura de tela 2023-06-28 120922.png


BBA Portal
Captura de tela 2023-06-28 120840.png


> JSR
Captura de tela 2023-06-28 120253.png

Captura de tela 2023-06-28 120307.png


> SA2
Captura de tela 2023-06-28 120751.png



> RM2
Captura de tela 2023-06-28 125821.png

Captura de tela 2023-06-28 130026.png




And here Sonic1994DC (beta tester) demonstrates BBA browsing:
https://dreamcast-talk.com/forum/viewto ... 50#p176785
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

User avatar
Scrivani
Vagabond
Posts: 732
Contact:

Re: [NEW] BBA Mode for DreamPi

Post#4 » Fri Jul 21, 2023 12:44 am

[HOW TO] Open port for Driving Strikers on BBA

https://dreamcast-talk.com/forum/viewto ... =3&t=16705
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

User avatar
Sonic1994DC
Carnage
Posts: 624
Contact:

Re: [NEW] BBA Mode for DreamPi

Post#5 » Fri Sep 08, 2023 5:56 pm

I wanted to help clear up a few things if people were confuse about this or didn't know if this was different from DreamPi. So BBA mode is just a simple command you run on your DreamPi to allow you to use your BBA with your DreamPi. You'll be able to show up on all the BBA games and Broadband Adapter Portal Dreamcast Websites when you use it. The setup would look like this in the pictures I provide using a Wi-Fi setup and a Wired setup

11C5AE48-F414-445F-A676-221DEE61BF87.jpeg


1D20D60D-E8FA-46A8-B833-CA521D1E935E.jpeg


AAC1B2BF-B071-4241-9648-A1D6BA28EB0C.jpeg


8191C050-1171-4E41-8976-14D9590F0CAA.jpeg


D4981FDB-F043-4F5C-B014-47FB61C8DCC2.jpeg


A11A6012-37B7-4077-A444-7513366BAC3D.jpeg

bl4ckb1rd930
noob
Posts: 3

Re: [NEW] BBA Mode for DreamPi

Post#6 » Mon Dec 04, 2023 3:53 am

thats sikkkkk

Rasputin3000
shadow
Posts: 5

Re: [NEW] BBA Mode for DreamPi

Post#7 » Fri Jan 19, 2024 4:59 pm

I'm trying to get BBA mode set up on my Dreampi using Scrivani's guide and I am having a ton of issues.

I have a Pi ZeroW with Dreampi 1.8 DLE installed. I use this Dreampi FREQUENTLY for online gaming for both Saturn and Dreamcast and have not had issues connecting using the Dreamcast Modem or Xband modem in the past.

I recently got a Dreamcast BBA adapter. To connect my BBA adapter to my Dreampi I got this ethernet adapter https://www.amazon.com/gp/product/B01AT4C3KQ/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1 and this cable https://www.amazon.com/gp/product/B008ILCAR4/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&th=1.

I activated ./bba_mode.sh to begin on start up after 5 minutes (so option 3 and then "5" for the following value)

I was following PCWzrd's guide (https://www.youtube.com/watch?v=EUWW_mXaqJg&ab_channel=DreamcasticChannel) to set up the BBA using the XDP broswer, I entered a xxx.xxx.xx.99 as the IP address for the dreamcast IP address (based off PCWzrd's suggestion), then my subnet mask and default gateway. As I use a PiHole for DHCP my IPConfig info was only showing a single DNS (that being the PiHole's IP), but I knew that the 46.101.91.123 needed to be in my DNS somewhere to function with some games, so I made that my secondary DNS.

I thought that this should have worked with the DreamPi in BBA mode, but I was unable to connect.

This is when I looked more closely and say that the eth_router.sh file says "edit the file if you need a differnt IP pattern" (pictured in Scrivani's post).

I edited the file to reflect my DCHP range and was still not able to connect. Was not sure if the "ip address" listed first when editing eth_route.sh was that of the default gateway or the Dreampi. I had it set to the Dreampi and that didn't work. Will have to try it as the default gateway later, but I have become frustrated after multiple hours of tinkering.

Does the IP of the Dreamcast (as defined in the XDP browser) need to match that of the Dreampi or is it somehow set?

Any and all help would be greatly appreciated.

UPDATE: Scrivani told me to reset everything to default and insert the default values (not those actually obtained from IPConfig) and it works! Using the BBA through my Dreampi! Thanks for the help!
Last edited by Rasputin3000 on Sat Jan 20, 2024 1:56 am, edited 1 time in total.

User avatar
Sonic1994DC
Carnage
Posts: 624
Contact:

Re: [NEW] BBA Mode for DreamPi

Post#8 » Fri Jan 19, 2024 6:35 pm

Rasputin3000 wrote:I'm trying to get BBA mode set up on my Dreampi using Scrivani's guide and I am having a ton of issues.

I have a Pi ZeroW with Dreampi 1.8 DLE installed. I use this Dreampi FREQUENTLY for online gaming for both Saturn and Dreamcast and have not had issues connecting using the Dreamcast Modem or Xband modem in the past.

I recently got a Dreamcast BBA adapter. To connect my BBA adapter to my Dreampi I got this ethernet adapter https://www.amazon.com/gp/product/B01AT4C3KQ/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1 and this cable https://www.amazon.com/gp/product/B008ILCAR4/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&th=1.

I activated ./bba_mode.sh to begin on start up after 5 minutes (so option 3 and then "5" for the following value)

I was following PCWzrd's guide (https://www.youtube.com/watch?v=EUWW_mXaqJg&ab_channel=DreamcasticChannel) to set up the BBA using the XDP broswer, I entered a xxx.xxx.xx.99 as the IP address for the dreamcast IP address (based off PCWzrd's suggestion), then my subnet mask and default gateway. As I use a PiHole for DHCP my IPConfig info was only showing a single DNS (that being the PiHole's IP), but I knew that the 46.101.91.123 needed to be in my DNS somewhere to function with some games, so I made that my secondary DNS.

I thought that this should have worked with the DreamPi in BBA mode, but I was unable to connect.

This is when I looked more closely and say that the eth_router.sh file says "edit the file if you need a differnt IP pattern" (pictured in Scrivani's post).

I edited the file to reflect my DCHP range and was still not able to connect. Was not sure if the "ip address" listed first when editing eth_route.sh was that of the default gateway or the Dreampi. I had it set to the Dreampi and that didn't work. Will have to try it as the default gateway later, but I have become frustrated after multiple hours of tinkering.

Does the IP of the Dreamcast (as defined in the XDP browser) need to match that of the Dreampi or is it somehow set?

Any and all help would be greatly appreciated.


Hello Rasputin3000 glad to see someone else using the BBA mode on Dreampi. I hope when you connect online with it and show up on Dreampi you have BBA at the end of your username so it shows your playing on a BBA and not Modem. Anyways I'm not a super pro at this but I might help a little. So I'm pretty sure you know that the Pi you have is Wifi only. So no need for the extra wire, here's a video on How To: Configure Wi-Fi for DreamPi: https://www.youtube.com/watch?v=F1kcZ_A92BY (Also I don't own a Pi ZeroW so apologies if you need that wire)

Also I'm sure you know but if you play PSO you need to burn the Sylverant PSO Patcher v2.0 and put that disc in your Dreamcast every time before you play that game: https://dreamcastlive.net/downloads/

I hope this helps you a little bit

Rasputin3000
shadow
Posts: 5

Re: [NEW] BBA Mode for DreamPi

Post#9 » Fri Jan 19, 2024 6:49 pm

Thanks for the reply Sonic1994DC! To clarify, the ethernet cable and adapter are to phyically connect my Dreampi to the BBA so that I can use the Dreampi wifi. My router is across the room from my Dreamcast, and there is no way for me to position them close enough to eachother to directly connect the BBA to the modem via ethernet.

User avatar
Sonic1994DC
Carnage
Posts: 624
Contact:

Re: [NEW] BBA Mode for DreamPi

Post#10 » Fri Jan 19, 2024 7:22 pm

Ah ok Rasputin, I got ya. Just so you know I have my BBA.Mode begin in 2 minutes and it works fine. I wish I knew a little more about your model of pi but I know Scrivani will be able to help with any problem you have. Try sending him a message for help, he helped me with setting this up and I even helped him test BBA.Mode before it was a thing. Scrivani is a master at this stuff :lol:

  • Similar Topics
    Replies
    Views
    Last post

Return to “Online”

Who is online

Users browsing this forum: No registered users