Dreamcast specific HTML scripts

Online games, how to get online, and anything involving Dreamcast online can be discussed here.
User avatar
Anonymouse
Heroine Console
Posts: 484
Dreamcast Games you play Online: PSO, Quake 3, Toy Racer, Planet Ring, Chu Chu Rocket, 4x4 EVO., Worms World Party, F355, Daytona...
Location: Could be anywhere!

Dreamcast specific HTML scripts

Post by Anonymouse »

With the continued rise in people getting their Dreamcast back online I am pondering the idea of making a website that is fully optimised for the Dreamcast in regards to speed and usability. I have looked on the Blue Swirl website and noticed that there was a few online tools to generate HTML specific scripts for displaying text on the VMU and activating rumble on the controllers. I dont have full access to the internet as I am offshore so cant view these actual pages to see the code.

Does anyone know any other Dreamcast specific HTML scripts and have any examples of their use online?
Dreamcast: Blue Swirl, 60hz, White LED, Removable battery holder, Internal SD card reader, BBA, DreamPi, RGB Scart

User avatar
Jenkins
Outtrigger
Posts: 451
Dreamcast Games you play Online: most of them
Location: Germany
Contact:

Re: Dreamcast specific HTML scripts

Post by Jenkins »

If my memory (and backups) served me well:

<embed type="application/x-dreamcast-lcdticker" name="vmu1" text="dreamcast forever" ScrollDelay="200" scrollammount="10" font="26" direction="left" loop="infinite" behavior="slide" hidden="true"> </embed>


<embed type="application/x-dreamcast-vibrate" name="vmu1vib" loop="5" freq="10" power="5" on="800ms" off="300ms" hidden="true" autostart="false">

There are a few more script.

User avatar
Nz17
St.Jimmy
Posts: 386
Dreamcast Games you play Online: 4x4 Evo
AFO
ChuChu
IGP
Next Tetris
Ooga Booga
PBA
PSOv2
Planet Ring
SEGA Swirl
Worms World Party
Location: A cold basin
Contact:

Re: Dreamcast specific HTML scripts

Post by Nz17 »

Here's all the markup tags and documentation that I know of for the Dreamcast's browser-specific extensions:
https://web.archive.org/web/20100315053 ... /browsers/
Last edited by Nz17 on Sun May 27, 2018 10:49 am, edited 1 time in total.

User avatar
Xiden
Developer
Posts: 2363
Dreamcast Games you play Online: All the DC games!!

Re: Dreamcast specific HTML scripts

Post by Xiden »

make your website 600 in width :) for a perfect fit

http://www.dreamcastarena.com/how-to-cr ... e-friendly

If you want, me , dan, jial , and roareye could use extra help brining dc sites back up :)

User avatar
Anonymouse
Heroine Console
Posts: 484
Dreamcast Games you play Online: PSO, Quake 3, Toy Racer, Planet Ring, Chu Chu Rocket, 4x4 EVO., Worms World Party, F355, Daytona...
Location: Could be anywhere!

Re: Dreamcast specific HTML scripts

Post by Anonymouse »

Xiden wrote:make your website 600 in width :) for a perfect fit

http://www.dreamcastarena.com/how-to-cr ... e-friendly

If you want, me , dan, jial , and roareye could use extra help brining dc sites back up :)
Thank you all for your reply.

I am wanting to look into making a website that is more like an extension to the Dreamcast user interface than a 'website'. One that brings all the online feature into one place, rather like Xbox Live. I will use frames so that only the body needs to be loaded, the navigation and user login will be always present on the screen - this will drastically improve speed but will also make it only properly viewable on the DC as it will be resolution dependant.

Ideally I plan to include:
-User login that is IP specific so you will automatically be logged in when you visit with your DC.
-Upload/download of VMU files, with the ability to make them public or private
-VMU tools (like Blue Swirl website)
-colate all the different game upload scores into one place.
-user stats, achievements...
-game scheduling
-connection with DC now to always see how many users are online
-

I could incorporate VMU HTML code so it could beep (if possible) or/and display an image on the VMU when a user comes online. This could be game specific so that is plays a different sound depending on which game the user as loggerd into. Ideally it would be nice if I could load up the website and leave the Dreamcast running so that I can watch TV or do other things until I hear my VMU beep when a user comes online. It will be displayed on the VMU screen so I dont need to have the Dreamcast TV screen on all the time.

This will be a long work in progress that I will need to trial and error test what is feasibly possible. It has also been a while since I have done coding for the web so I will need to brush up on that too. Don't expect anything soon. Little by little.

I return home in 5 weeks so will not start until then.
Last edited by Anonymouse on Sun May 27, 2018 8:41 pm, edited 1 time in total.
Dreamcast: Blue Swirl, 60hz, White LED, Removable battery holder, Internal SD card reader, BBA, DreamPi, RGB Scart

User avatar
Roareye
Rank 9
Posts: 929
Dreamcast Games you play Online: Chu Chu Rocket, Quake 3, Monaco GP 2, PSO, Planet Ring, Toy Racer, Worms World Party
Location: England
Contact:

Re: Dreamcast specific HTML scripts

Post by Roareye »

The DC can show full SD resolution background Jpegs and gifs (but not pngs). You can go higher in resolution, but tbf you only need to add height, as width maxed out at 600 pixels.
However the DC will only load Jpegs 40kb or less so full screen images will have to be heavily compressed. Also if you get near the top end of the file size sometimes it will load a more compressed variant. So keeping to 35kb is the general rule.

You're probably better off with a large height artwork (gif for transparency) with a bold colour in the background, and break your pages in segments like this. It'll reduce loading times and issues on the DC.

User avatar
Anonymouse
Heroine Console
Posts: 484
Dreamcast Games you play Online: PSO, Quake 3, Toy Racer, Planet Ring, Chu Chu Rocket, 4x4 EVO., Worms World Party, F355, Daytona...
Location: Could be anywhere!

Re: Dreamcast specific HTML scripts

Post by Anonymouse »

I plan on using as little images as possible. The body frame will be styled through creative use of tables and style sheets with fonts. This will be more than adequate. I plan on the body frame pages to be no more than 10KB. The navigtion frame can have more detail as it only needs to be loaded once. I may also be able to to load commonly used images into an invisible frame so that they are always in the DC RAM and dont need to be reloaded each time a page is changed. I did this approach when I had a DC website back in 2001, it worked out fine.
Dreamcast: Blue Swirl, 60hz, White LED, Removable battery holder, Internal SD card reader, BBA, DreamPi, RGB Scart

User avatar
fallout
undertow
Posts: 31
Dreamcast Games you play Online: Quake III Arena
Location: Germany
Contact:

Re: Dreamcast specific HTML scripts

Post by fallout »

Vibrate on mouse over link

Code: Select all

<script language="JavaScript">
<!--
 Dreamcast = (navigator.platform.indexOf('Dreamcast')!=-1)
   if(Dreamcast){
     var vibHtml=''
          +'<EMBED TYPE=application/x-dreamcast-vibrate '
          +'       NAME="prupru0"  '
          +'       AUTOSTART=false '
          +'       POWER=7         '
          +'       FREQ=10         '
          +'       ONESHOT         '
          +'       LOOP=1          '
          +'       ON="500ms"      '
          +'       OFF="100ms"     '
          +'       HIDDEN=true     '
          +'>                      '
      document.write(vibHtml)
    }
  function doVib(n,v) {
    if(Dreamcast){
      document.embeds[n].vibrate=v ;
    }
  }
//-->
</script>
<a href="http://www.ubuntu.com" onMouseOver="doVib('prupru0',1)" target="_blank"><img src="./image.png" width="xx" height="xx" alt="Made with Ubuntu"></a>
Display image on vmu

Code: Select all

<script language="JavaScript">     
<!--     
Dreamcast=(navigator.platform.indexOf('Dreamcast')!=-1);     
if(Dreamcast){     
lcdimg='<embed type=application/x-dreamcast-lcdimg src="http://fallout.bplaced.net/quake3dc/doom.lcd" hidden=true>';     
document.write(lcdimg)     
}     
//-->     
</script>  
Play midi music

Code: Select all

<embed src="./shenmue_agony.mid" autostart="true" loop="false" hidden="true" width="50" height="20" type="audio/x-midi"></embed>
Display text on vmu screen

Code: Select all

<!-- ### Start Dreamcast VMU Message bar Scroller ### -->
<script language="javascript"> 
<!--
var i=0; var msg="";
var m1="Welcome"; 
var m2="to";
var m3="www.quakedc.6x.to"; 
function playtext() 
{ 
setTimeout("playtext()",250); 
window.status=msg.substring(i,msg.length)+msg.substring (0, i) 
if(i++==msg.length)i=0; } msg=m1+m2+m3; playtext();
//--> 
</script>
<!-- ### End Dreamcast VMU Message bar Scroller ### -->

User avatar
Anonymouse
Heroine Console
Posts: 484
Dreamcast Games you play Online: PSO, Quake 3, Toy Racer, Planet Ring, Chu Chu Rocket, 4x4 EVO., Worms World Party, F355, Daytona...
Location: Could be anywhere!

Re: Dreamcast specific HTML scripts

Post by Anonymouse »

Thank you so much Fallout. This is exactly what im looking for.
Dreamcast: Blue Swirl, 60hz, White LED, Removable battery holder, Internal SD card reader, BBA, DreamPi, RGB Scart

User avatar
cypressRU
lithium
Posts: 42
Dreamcast Games you play Online: (soon)

Re: Dreamcast specific HTML scripts

Post by cypressRU »

Can anyone suggest an HTML editor that will work with this?

  • Similar Topics
    Replies
    Views
    Last post