Homebrew PS1/2 Homebrew game PS1 DVD Logo Demo

alexfree

Well-Known Member
OP
Member
Joined
Nov 17, 2021
Messages
217
Trophies
0
Website
alex-free.github.io
XP
1,216
Country
United States

PS1 DVD Logo Demo​

By Alex Free

PS1 DVD Logo Demo is a small demo for the PlayStation 1 console. It essentially demonstrates the following features/functionality:

  • Bounces a large 128x74 DVD logo sprite around a screen (of 320x240p resolution) at 60 FPS.
  • The DVD logo sprite can randomly change to 1 of 7 different colors each time the logo bounces off of the screen and changes direction.
  • When an exact symmetrical corner hit occurs, an ‘exact corner hit counter’ will appear at the top of the screen after a very brief screen flash of white, as well as a message explaining the controls to dismiss said message. Press DPAD-UP on a controller to dismiss it until the next exact symmetrical corner hit occurs, or press DPAD-DOWN to dismiss it forever. The message explaining the controls will automatically disappear in about 30 seconds after first being displayed if you do nothing. If you do press up or down on your controller, the message explaining the controls will disappear along with the ‘exact corner hit counter’.
PS1 DVD Player uses 7 different CLUTs (ColorLookUpTables) to change the appearance of the single DVD logo sprite, using barely any VRAM. This demo also does not use the libgs library, making it “more to the metal” and tiny in size. The HBlank root counter is used to seed the random function for selecting each CLUT/color on screen.

All Japanese and American PS1/PS2 consoles are supported as they have the NTSC video mode. Everything is currently hard-coded to NTSC 320x240 resolution, and the demo will currently not work on PAL consoles in PAL video mode. PAL consoles with an NTSC video mod would also work.

External Links​

 

Attachments

  • ps1-dvd-logo-demo-build-1.0.zip
    77.8 KB · Views: 39
Last edited by alexfree,

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,469
Trophies
2
XP
15,012
Country
Germany
Okay. Next please a software video decoder for MPEG-2 DVD video on CD-R

Just kidding. Nice homebrew!

What will happen if I run it on my PAL consoles?
Works normally → see below
 
Last edited by KleinesSinchen,
  • Like
Reactions: SylverReZ

SylverReZ

The planet is fine. The people are crazy.
Member
Joined
Sep 13, 2022
Messages
7,314
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,562
Country
United Kingdom
  • Like
Reactions: KleinesSinchen

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,469
Trophies
2
XP
15,012
Country
Germany
That VCD MPEG-1 decoder was what I had in mind when jokingly saying MPEG-2 decoder.

It was a nonsense comment I should be ashamed of!
Even if it was somehow magically possible to process DVD-Video style files with the PS1 in software, the drive is limited to 300KB/s which makes this completely impossible. Full quality DVD-video from CD requires at the very least an 8x CD drive.
 
  • Like
Reactions: SylverReZ

alexfree

Well-Known Member
OP
Member
Joined
Nov 17, 2021
Messages
217
Trophies
0
Website
alex-free.github.io
XP
1,216
Country
United States
Okay. Next please a software video decoder for MPEG-2 DVD video on CD-R

Just kidding. Nice homebrew!

What will happen if I run it on my PAL consoles?

Not sure, probably won't work if it is outputting PAL video mode as everything is written for NTSC (game logic and all).

Funny that you say this. When I sent an earlier build to my friend MottZilla (with no context) he said 'I don't think it's working, the DVD never starts playing'.

Thanks for the feedback :) I hope to get into a game now that I've learned quite a bit doing this demo.
Post automatically merged:

That was already made possible: https://www.psxdev.net/forum/viewtopic.php?t=1317
Post automatically merged:


Haven't tried it out yet, but it should run fine?
That's the wrong MPEG standard.
 

SylverReZ

The planet is fine. The people are crazy.
Member
Joined
Sep 13, 2022
Messages
7,314
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,562
Country
United Kingdom
Not sure, probably won't work if it is outputting PAL video mode as everything is written for NTSC (game logic and all).

Funny that you say this. When I sent an earlier build to my friend MottZilla he said 'I don't think it's working, the DVD never starts playing.

Thanks for the feedback :) I hope to get into a game now that I've learned quite a bit doing this demo.
It would be best if you placed a dummy file onto the disc next time, it would make the PlayStation with a weak laser read the disc better. Anyways, I'll test it with my PAL PS1 and I'll come back with the results.
 

alexfree

Well-Known Member
OP
Member
Joined
Nov 17, 2021
Messages
217
Trophies
0
Website
alex-free.github.io
XP
1,216
Country
United States
It would be best if you placed a dummy file onto the disc next time, it would make the PlayStation with a weak laser read the disc better. Anyways, I'll test it with my PAL PS1 and I'll come back with the results.
There are dummy sectors on the end of the image generated by mkpsxiso. I specified that in the mkpsxiso xml file. There isn't an actual file though. They accomplish the same thing.
 

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,469
Trophies
2
XP
15,012
Country
Germany
Why do I ask stupid questions instead of trying?

The program runs perfectly fine on modchip'ed (PsNee) PAL SCPH-9002.

i do have to mention that my CRT accepts PAL-50, PAL-60 and NTSC signals, so it might depend on the TV (sometimes RGB-Scart works better than simple composite).
 

SylverReZ

The planet is fine. The people are crazy.
Member
Joined
Sep 13, 2022
Messages
7,314
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,562
Country
United Kingdom
Can confirm that it 100% works for me.

20221125_091108.jpg

Post automatically merged:

That's the wrong MPEG standard.
I know that.
 
Last edited by SylverReZ,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    fucking hell i'm becoming a mini leo with the way i yap aren't i?
    +1
  • impeeza @ impeeza:
    I was unable to create the VM for the debloat windows, but found the video where I learned it:

    https://www.youtube.com/watch?v=mZm6mY3I7J4
    +2
  • BigOnYa @ BigOnYa:
    No you def no leo, and I like your insight. You are a smart Baked cookie.
  • K3Nv2 @ K3Nv2:
    Chicken drumsticks and sweet potato for dinner tonight turned out good
    +1
  • BakerMan @ BakerMan:
    "i promise not to get all political and/or philosophical"
    3 drinks later:
    "so yeah think for yourself and i think the government sucks"
    +1
  • K3Nv2 @ K3Nv2:
    Is @BigOnYa drunk again
  • BakerMan @ BakerMan:
    no, i was poking fun at myself
  • BigOnYa @ BigOnYa:
    Again? I have a IV feeding me so I never come down.
    +2
  • BakerMan @ BakerMan:
    because self deprecating humor is important, as long as it doesn't turn into self hate. because you can't really make fun of anyone if you can't even make fun of yourself
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Booze enemas are real lol
  • The Real Jdbye @ The Real Jdbye:
    that explains a lot
    +1
  • K3Nv2 @ K3Nv2:
    @BigOnYa, invented the first ever pill that gets you instantly hammered, now filling the streets of Miami
  • BigOnYa @ BigOnYa:
    That was what called a qaaulude, instant drunk, luckily they not around anymore.
    +1
  • K3Nv2 @ K3Nv2:
    Tylenol midday
  • Psionic Roshambo @ Psionic Roshambo:
    Ambian the stuff of dreams lol
  • K3Nv2 @ K3Nv2:
    Nyquill with grape juice
  • realtimesave @ realtimesave:
    wow that didn't work lol
  • realtimesave @ realtimesave:
    tried to paste a pic
  • K3Nv2 @ K3Nv2:
    Stop getting your creamy paste all over
    +1
  • impeeza @ impeeza:
    DO NOT WORK FOR ME :(
  • BigOnYa @ BigOnYa:
    I think he has a wedgie, and is afraid to fix it in public.
    +1
    Psionic Roshambo @ Psionic Roshambo: Thong +1