Go Back   MaxConsole Forums > PS2 > PS2 Homebrew Games, Apps, Emulators & Misc


    noob question
 
Thread Tools Display Modes
Reply
  #1  
Old 05-06-2007, 11:37 AM
weewun
Guest
 
Posts: n/a
Question noob question

ok, iv made a game for the PS2 on a dev kit at my uni. iv compiled it, and it runs fine on the dev kit (the p2s is hardwired to a pc, and use mappy.exe to access the console). now i was wondering how i can burn my game onto a cd so i can play it and show my friends... im kinda confused about it i tried just burning all the stuff i had onto the cd, all of the .o files and all of the source code, etc, etc.

cheers in advance
Reply With Quote

  #2  
Old 05-06-2007, 07:22 PM
Chilly Willy Chilly Willy is offline
Registered User
 
Registered: Dec 2005
Posts: 2,061
You can make a CD image of the ELF file along with any data files and a properly constructed SYSTEM.CNF file via CDGENPS2 (google for it).

The SYSTEM.CNF file is a plain text file that looks like this:

Code:
BOOT = cdrom:\PROGRAM.ELF;1 VER = 1.00 VMODE = PAL/NTSC
Of course, the PS2 will need a mod-chip or swap discs to play the burned CD.

Remember that PS2 discs are ISO9660 level 1, so don't use names for the files that are more than 8.3. MySillyDataFileNumber1.png is no good. SILLY001.PNG is fine.
TA-085 5.00 M33-3
Reply With Quote

  #3  
Old 05-07-2007, 08:45 PM
weewun
Guest
 
Posts: n/a
so let me get this right. iv downloaded CDGENPS2. now i use notpad? to create the SYSTEM.CNF file, and click and drag my game and the system file onto the main bit in CDGENPS2 then save the image, and burn the files it makes to cd?

another question... my game doesn't have a .ELF file.... i made it on a PS2 dev kit at uni, and after compiling it the main file is 'main.o' and there are about 10 other .o files too. do i need to convert it to a .ELF file or will it work all the same?

cheers
Reply With Quote

  #4  
Old 05-08-2007, 07:50 PM
Chilly Willy Chilly Willy is offline
Registered User
 
Registered: Dec 2005
Posts: 2,061
Quote:
Originally Posted by weewun
so let me get this right. iv downloaded CDGENPS2. now i use notpad? to create the SYSTEM.CNF file, and click and drag my game and the system file onto the main bit in CDGENPS2 then save the image, and burn the files it makes to cd?
Yes. Some older/less advanced mod-chips may need you to set the block address of the SYSTEM.CNF file, but otherwise, what you described is what you do.

Quote:
another question... my game doesn't have a .ELF file.... i made it on a PS2 dev kit at uni, and after compiling it the main file is 'main.o' and there are about 10 other .o files too. do i need to convert it to a .ELF file or will it work all the same?
All the object files ( .o files) are linked into the final executable (the elf file). It'll be there somewhere... look at your makefile to see if it's making the final linked executable somewhere other than where you're looking. There's no way you can run unlinked object files, so if you've run this, there's a linked binary somewhere.
TA-085 5.00 M33-3
Reply With Quote

Reply



Thread Tools
Display Modes


You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:58 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of Maxconsole.net
Copyright © 2009 MAXCONSOLE
All images are protected by the copyright of their respective owners.