forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

which files do i need to boot ?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
darkdoc



Joined: 01 May 2004
Posts: 1

PostPosted: Sat May 01, 2004 3:19 am    Post subject: which files do i need to boot ? Reply with quote

hi,
i dont want to jump in the dev if can't burn my game, and i am ok to put a ship in my ps2
i am a game programmer -> no for warrez, i don't like that

i am studient in a french computer sciences school and i like
programming games.
i try directx pc, dreamcast with ethernet upload, and made some
funny things (you can look www.darkway.org/projects/xquest/ for the dreamcast project).
and actually work on a game on linux for the moment, and i want to try the port on ps2.

there is great tools like ps2dev so it is possible i think.

1) putting an elf file on the cdr, some conventions ?
2) which files do i need to boot ?
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Sat May 01, 2004 6:23 am    Post subject: Reply with quote

*sigh*

Did somebody put a curse on french people so they would never write good english? :)

Anyway:

The PS2 has a quite simple bootup sequence. It will first read the SYSTEM.CNF located on the media, then, will load the binary file which name is written into the latter configuration file. The binary is a "simple" ELF file, which can be produced by the ee-gcc that you can find in the free PS2 toolchain we have here.

However, you would most likely be wanting to start developping using a costless and timeless method (that is, without the need to burn a CD each time you want to test your code): you should send your binary to the PS2 using a cable, like the USB prolific thing, or the official PS2 ethernet adaptor; ie, your code will be loaded from your computer harddrive, and it will be able to load data the same way as well.

There are plenty of documentation around that explain how to do so (hint: focus on the "ps2link" software)
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
psfgc



Joined: 29 Jan 2004
Posts: 3

PostPosted: Sat May 01, 2004 10:49 am    Post subject: Why do we need cdgenps2? Reply with quote

I saw some reference to the need to burn with an ISO prepared by cdgenps2. Why is this needed?
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Sat May 01, 2004 8:32 pm    Post subject: Reply with quote

Because most people here are too lame to create their ISO with an hex editor :D

Okay, well, seriously: the PSX/PS2 CDVD reader has some constraints, like SYSTEM.CNF and the main binary beeing on a low HBA, and a 150-blanks sectors padding at the end of the CD, and they added some funky features into the iso9660 filesystem. So, better not use Nero there, or your PS2 will have troubles booting the CD.
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group