Homebrew PS1/2 Homebrew game PS1 DVD Logo Demo

alexfree

Well-Known Member
OP
Member
Joined
Nov 17, 2021
Messages
221
Trophies
0
Website
alex-free.github.io
XP
1,239
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,476
Trophies
2
XP
15,058
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

Certified GBATemp Boomer
Member
Joined
Sep 13, 2022
Messages
7,381
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,791
Country
United Kingdom
  • Like
Reactions: KleinesSinchen

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,476
Trophies
2
XP
15,058
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
221
Trophies
0
Website
alex-free.github.io
XP
1,239
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

Certified GBATemp Boomer
Member
Joined
Sep 13, 2022
Messages
7,381
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,791
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
221
Trophies
0
Website
alex-free.github.io
XP
1,239
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,476
Trophies
2
XP
15,058
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

Certified GBATemp Boomer
Member
Joined
Sep 13, 2022
Messages
7,381
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,791
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
  • No one is chatting at the moment.
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    +1
  • Xdqwerty @ Xdqwerty:
    sigh
  • Xdqwerty @ Xdqwerty:
    @a_username_that_isnt_cool, could you change your username?
  • Xdqwerty @ Xdqwerty:
    i guess not...
  • Xdqwerty @ Xdqwerty:
    yawn
    Xdqwerty @ Xdqwerty: yawn