Homebrew PS1/2 Homebrew game PS1 DVD Logo Demo

alexfree

Well-Known Member
OP
Member
Joined
Nov 17, 2021
Messages
209
Trophies
0
Website
alex-free.github.io
XP
1,194
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: 37
Last edited by alexfree,

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,455
Trophies
2
XP
14,938
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
GBAtemp Patron
Joined
Sep 13, 2022
Messages
7,272
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,318
Country
United Kingdom
  • Like
Reactions: KleinesSinchen

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,455
Trophies
2
XP
14,938
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

SylverReZ

The planet is fine. The people are crazy.
Member
GBAtemp Patron
Joined
Sep 13, 2022
Messages
7,272
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,318
Country
United Kingdom
Full quality DVD-video from CD requires at the very least an 8x CD drive.
I don't recommend writing CDs at 8x speed, personally I'd go with 4x for better compatibility.
 

alexfree

Well-Known Member
OP
Member
Joined
Nov 17, 2021
Messages
209
Trophies
0
Website
alex-free.github.io
XP
1,194
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
GBAtemp Patron
Joined
Sep 13, 2022
Messages
7,272
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,318
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
209
Trophies
0
Website
alex-free.github.io
XP
1,194
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,455
Trophies
2
XP
14,938
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
GBAtemp Patron
Joined
Sep 13, 2022
Messages
7,272
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,318
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
  • SylverReZ @ SylverReZ:
    @Materia_tofu, Maybe ask the EZ-Flash team.
  • Materia_tofu @ Materia_tofu:
    maybe tomorrow lol
  • SylverReZ @ SylverReZ:
    You can make a post on the DS forum about your findings, and they'll do their best to respond. They have a GBAtemp account here, you know.
  • Materia_tofu @ Materia_tofu:
    oh ye i made a post i did forget they had an account i prob shouldve tagged them in the post
    tbh
    +1
  • SylverReZ @ SylverReZ:
    @Materia_tofu, Would've been a great idea, because they'll notice.
    +1
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
    The Real Jdbye @ The Real Jdbye: like bronys