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 

ROMDIR

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



Joined: 19 May 2004
Posts: 246
Location: Melbourne, Australia

PostPosted: Sat Jul 07, 2007 10:47 pm    Post subject: ROMDIR Reply with quote

Does anybody have some information on the ROMDIR structure? I have this so far:
Code:
typedef struct romdir
{
    char name[10];
    short unknown1;
    unsigned short size;
    short unknown2;
} romdir_t;

But what are the unkowns?
Here is a dump of my rom0:ROMDIR
Code:
Name          ?  Size     ?
---------- ---- ----- -----
ROMDIR       80  1584     0
EXTINFO       0  2028     0
ROMVER        0    16     0
SBIN         12 28576     0
LOGO         12 18068     1
IOPBTCONF     8   234     0
IOPBTCON2     8   195     0
SYSMEM       40  4625     0
LOADCORE     32  9597     0
EXCEPMAN     36  3033     0
INTRMANP     36  6657     0
INTRMANI     36  7729     0
SSBUSC       32  1897     0
TIMEMANP     32  3033     0
TIMEMANI     32  3113     0
DMACMAN      24 14069     0
SYSCLIB      32 10077     0
HEAPLIB      28  3313     0
THREADMAN    40 36225     0
VBLANK       32  3465     0
IOMAN        32  8041     0
MODLOAD      36  9025     0
ROMDRV       32  3817     0
ADDDRV        8  1113     0
STDIO        24  3049     0
SIFMAN       32  5529     0
SIFINIT       8  1041     0
EESYNC       24  1177     0
EENULL       12    64     0
PS1ID        12     4     0
RDRAM         4 12308     0
SIFCMD       40  8753     0
REBOOT       28  1985     0
LOADFILE     32 10065     0
EELOADCNF    12   412     0
LIBFI        12   240     0
PS1VER       12     4     0
TZLIST       12   690     0
RMRESET      24  2089     0
OSDVER       12    16     0
IOPBOOT      16  4448     0
OSDCNF       12   495     0
TBIN         16 57200     0
XLOADFILE    32 11209     0
SECRMAN      32 17633     0
SIO2MAN      24  7205     0
EECONF       28  4097     0
KROMG        16  7351     0
KROM         16 40560     1
VERSTR        4    94     0
ROMGSCRT     16 14400     0
MCMAN        24 62605     0
MCSERV       24  7413     0
PADMAN       24 38733     0
CDVDMAN      28 33709     0
CDVDFSV      32 33717     0
FILEIO       32  8437     0
CLEARSPU      8  7229     0
UDNL          8  7925     0
IGREETING     8  4185     0
EELOAD       12 61840     0
TESTMODE     12 57264     1
TESTSPU       8 26943     0
LIBSD        40 25357     0
TSIO2MAN     24  8317     0
TPADMAN      24 40989     0
PS1DRV       12 59320     1
FONTM        12 17116    11
FNTIMAGE     12 16656     1
SNDIMAGE     12 13844     6
TEXIMAGE     12 40372     3
ICOIMAGE     12  6317     1
XSIFCMD      40  9449     0
XCDVDMAN     28 58661     0
XCDVDFSV     32 57245     0
XFILEIO      32  9085     0
XSIO2MAN     24  8317     0
XMTAPMAN     36  9909     0
XMCMAN       28 14805     1
XMCSERV      24  5865     0
XPADMAN      24 45453     0
XRMMAN2      24  4213     0
ATAD         24 14397     0
HDDLOAD      28  5097     0
XFLASH       24  5345     0
XFROMMAN     28 11037     1
OSDSND       32 42909     2
PS2LOGO      12 19652     3
OSDSYS       12  9128     5
KERNEL       12 28200     1
Back to top
View user's profile Send private message
org



Joined: 26 Jul 2007
Posts: 1

PostPosted: Thu Jul 26, 2007 3:57 am    Post subject: Reply with quote

I think its actually:

Code:

typedef struct romdir
{
    char name[10];
    short unknown1;       // <--- Some kind of file 'type'
    unsigned long size;
} romdir_t;
Back to top
View user's profile Send private message
carlosn



Joined: 10 Mar 2005
Posts: 38
Location: Orlando, Florida, US

PostPosted: Thu Jul 26, 2007 5:55 am    Post subject: Reply with quote

Here is the structure

struct romfs_dirent {
char name[10];
short ext_size; // Size of the extended info
int size; // Size in bytes
};
Back to top
View user's profile Send private message Visit poster's website
radad



Joined: 19 May 2004
Posts: 246
Location: Melbourne, Australia

PostPosted: Thu Jul 26, 2007 10:07 am    Post subject: Reply with quote

What is the extended info?
Back to top
View user's profile Send private message
carlosn



Joined: 10 Mar 2005
Posts: 38
Location: Orlando, Florida, US

PostPosted: Thu Jul 26, 2007 10:20 pm    Post subject: Reply with quote

Look at the list of your ROM dump.

Name ? Size ?
---------- ---- ----- -----
ROMDIR 80 1584 0
EXTINFO 0 2028 0

The second entry is the extended info. It defines long names for the BIOS modules.
Back to top
View user's profile Send private message Visit poster's website
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