Programming a Loading Screen? (Not a Background)
- MrQuetch
- Active PSXDEV User
- Posts: 42
- Joined: Apr 01, 2018
- I am a: Programmer and artist.
- Motto: You can accomplish anything.
- Location: United States
Programming a Loading Screen? (Not a Background)
I've tried looking for other threads about this topic on this website. Perhaps I've been looking in the wrong places... If I have been, please let me know. Anyways, I've been reading the LIBREF46.PDF file lately. I've noticed there are functions for initializing different libraries, and I'm not exactly sure what libraries are needed for doing this - even after reading about them.
More specifically, I want to read files off a CD. I want to show a loading bar, and print the text of what file is currently being read. Drawing the bar and text should be easy enough, but I'm uncertain of how to 'move' the bar as it reads the data. I'm going to make it very clear that I'm programming a game - not an application.
Would it be best to use the libds system? From what I understand, it's the extended CD-ROM library. Or, would it be better to use the ISO-9660 file system, which manages access to the CD-ROM? They both sound like they could do what I need. But, I'm honestly not sure - and if one works better for a game or an application.
I guess one important thing I should know already is this... How do I put a file on a disc? Thank you in advance.
More specifically, I want to read files off a CD. I want to show a loading bar, and print the text of what file is currently being read. Drawing the bar and text should be easy enough, but I'm uncertain of how to 'move' the bar as it reads the data. I'm going to make it very clear that I'm programming a game - not an application.
Would it be best to use the libds system? From what I understand, it's the extended CD-ROM library. Or, would it be better to use the ISO-9660 file system, which manages access to the CD-ROM? They both sound like they could do what I need. But, I'm honestly not sure - and if one works better for a game or an application.
I guess one important thing I should know already is this... How do I put a file on a disc? Thank you in advance.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2691
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
You got a lot of learning and looking at example codes ahead of you. Use the forums to search and find programs already written or look at the examples in the 'Homebrew' section on the website.
Use a VSync callback to display what is being loaded or to show a loading bar. LibDS is quicker then LibCD, but it's a nightmare to use. Best to stick with LibCD
Use a VSync callback to display what is being loaded or to show a loading bar. LibDS is quicker then LibCD, but it's a nightmare to use. Best to stick with LibCD

Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
- MrQuetch
- Active PSXDEV User
- Posts: 42
- Joined: Apr 01, 2018
- I am a: Programmer and artist.
- Motto: You can accomplish anything.
- Location: United States
Yea... You're right. I should download every PS1 source code I can get my hands on, and go through everything little by little. I guess I'm just too quick to get a game up and running.Shadow wrote: ↑February 16th, 2020, 3:30 pm You got a lot of learning and looking at example codes ahead of you. Use the forums to search and find programs already written or look at the examples in the 'Homebrew' section on the website.
Use a VSync callback to display what is being loaded or to show a loading bar. LibDS is quicker then LibCD, but it's a nightmare to use. Best to stick with LibCD![]()

- ArthCarvalho
- Active PSXDEV User
- Posts: 45
- Joined: Jan 29, 2016
- I am a: Artist, Programmer
- PlayStation Model: SCPH-103
Shadow, what kinds of problems does LibDS have? I recently switched from LibCD to LibDS but I'm currently only using the high level functions (CdRead/DsRead) so I didn't get to experience any problems with it yet.Shadow wrote: ↑February 16th, 2020, 3:30 pm You got a lot of learning and looking at example codes ahead of you. Use the forums to search and find programs already written or look at the examples in the 'Homebrew' section on the website.
Use a VSync callback to display what is being loaded or to show a loading bar. LibDS is quicker then LibCD, but it's a nightmare to use. Best to stick with LibCD![]()
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2691
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Read the documentation. It explains what one of the key issues is when programming it 

Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
- ArthCarvalho
- Active PSXDEV User
- Posts: 45
- Joined: Jan 29, 2016
- I am a: Artist, Programmer
- PlayStation Model: SCPH-103
I've been reading the documentation a lot, but I don't think it came up with anything related to this yet (so it is probably at some document I didn't read yet), could you point out which documents have any information about this?
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2691
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
LIBOVER47.PDF
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
-
inc^lightforce Verified
- Psy-Q Enthusiast
- Posts: 266
- Joined: Mar 07, 2013
- I am a: Programmer Windows+PS1, GFX Artist
- PlayStation Model: Black
- Location: Germany
Have you ever finished a working loading screen?
Wanna see it!
Cheers
Wanna see it!
Cheers
- MrQuetch
- Active PSXDEV User
- Posts: 42
- Joined: Apr 01, 2018
- I am a: Programmer and artist.
- Motto: You can accomplish anything.
- Location: United States
Hi, inc^lightforce. Sorry for the late reply. No - I didn't even get close. My schedule got very busy, but has since toned down a bit. I've set up some goals for this year, and have assigned different programming task to do each month. I think I may have something at the end of the year, as I plan to tackle the CD portion later.inc^lightforce wrote: ↑June 7th, 2020, 4:42 am Have you ever finished a working loading screen?
Wanna see it!
Cheers
-
inc^lightforce Verified
- Psy-Q Enthusiast
- Posts: 266
- Joined: Mar 07, 2013
- I am a: Programmer Windows+PS1, GFX Artist
- PlayStation Model: Black
- Location: Germany
so, what's the problem to show off a different screen? i managed this in 1998. if your post is still important, leave a massage. help is behind the next corner 

Who is online
Users browsing this forum: No registered users and 2 guests