Homebrew PS1/2 Homebrew game PS1 DVD Logo Demo

alexfree

Well-Known Member
OP
Member
Joined
Nov 17, 2021
Messages
193
Trophies
0
Website
alex-free.github.io
XP
1,170
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,446
Trophies
2
XP
14,907
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,234
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,179
Country
United Kingdom
  • Like
Reactions: KleinesSinchen

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,446
Trophies
2
XP
14,907
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,234
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,179
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
193
Trophies
0
Website
alex-free.github.io
XP
1,170
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,234
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,179
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
193
Trophies
0
Website
alex-free.github.io
XP
1,170
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,446
Trophies
2
XP
14,907
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,234
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,179
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:
    Reminds me of that one Spanish guy who was in here a week or so ago, that wouldn't translate their messages.
  • Arne214 @ Arne214:
    ok sry
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I don't remember him
    +1
  • BigOnYa @ BigOnYa:
    @SylverReZ Si means yes, no means maybe
    +2
  • Xdqwerty @ Xdqwerty:
    @Arne214, it's fine but dont ask for roms here again
    +2
  • SylverReZ @ SylverReZ:
    @BigOnYa, I only know very little Spanish, haven't done it in 5 years lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, que tan poco?
  • BigOnYa @ BigOnYa:
    I took 3 years of Spanish in high school, ages ago but don't remb most of it. Like they say, if you don't use it, you lose it.
  • SylverReZ @ SylverReZ:
    @Xdqwerty, A bit. I only know greetings and some other parts. Its quite an easy language to learn.
  • SylverReZ @ SylverReZ:
    But I don't remember most of it.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, easy to learn despite having some relatively complex rules
    +1
  • D @ dadadad:
    Should I just accept that I won't play this game anymore, or is there a way to solve this problem?
  • BigOnYa @ BigOnYa:
    For some reason I remember a bunch of swear words tho, lol
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, cuz we swear more than talk normally i guess
    +2
  • BigOnYa @ BigOnYa:
    @dadadad I would do like @The Real Jdbye said, they are very wise.
    +2
  • D @ dadadad:
    блядь
  • Xdqwerty @ Xdqwerty:
    yawn
  • BigOnYa @ BigOnYa:
    You get your nap today?
  • K3Nv2 @ K3Nv2:
    With your wife
    +2
  • BigOnYa @ BigOnYa:
    Tell that B to bring me home some dinner, when you done with her...
  • K3Nv2 @ K3Nv2:
    Mrs.B is what I call her she said she left you a $10 jack in the box giftcard
  • BigOnYa @ BigOnYa:
    Oh ok, cool thanks, I found it
  • BigOnYa @ BigOnYa:
    Hey Kennyboy, have you found any decent mini Pc for around $200-250? Fast enough to play most Pc games.
  • K3Nv2 @ K3Nv2:
    I'd say save another $100 anythtwith 8core upgradeable ram I'm thinking about ordering the acemagic still
    K3Nv2 @ K3Nv2: I'd say save another $100 anythtwith 8core upgradeable ram I'm thinking about ordering the...