1 /*---------------------------------------------------------------------------* 2 Project: disk banner define names and definition 3 File: DVDBanner.h 4 5 Copyright 2001 Nintendo. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Log: DVDBanner.h,v $ 14 Revision 1.1 2006/01/31 08:10:02 ooizumi 15 Definitions for banner file "opening.bnr". 16 17 18 2 11/19/01 14:49 Shiki 19 Added DVDBanner2. 20 21 1 01/04/24 17:36 Shiki 22 Initial check-in. 23 $NoKeywords: $ 24 *---------------------------------------------------------------------------*/ 25 26 #ifndef __DVDBANNER_H__ 27 #define __DVDBANNER_H__ 28 29 #include <dolphin/types.h> 30 31 #ifdef __cplusplus 32 extern "C" { 33 #endif 34 35 // Game banner file must be placed in the root directory 36 #define DVD_BANNER_FILENAME "opening.bnr" 37 38 #define DVD_BANNER_WIDTH 96 39 #define DVD_BANNER_HEIGHT 32 40 41 // 42 // "opening.bnr" file format for JP/US console 43 // 44 typedef struct DVDBanner 45 { 46 u32 id; // 'BNR1' 47 u32 padding[7]; 48 u8 image[2 * DVD_BANNER_WIDTH * DVD_BANNER_HEIGHT]; // RGB5A3 96x32 texture image 49 u8 shortTitle[32]; // Short game title shown in IPL menu 50 u8 shortMaker[32]; // Short developer, publisher names shown in IPL menu 51 u8 longTitle[64]; // Long game title shown in IPL game start screen 52 u8 longMaker[64]; // Long developer, publisher names shown in IPL game start screen 53 u8 comment[128]; // Game description shown in IPL game start screen in two lines. 54 // Comment can include a '\n'. 55 } DVDBanner; 56 57 typedef struct DVDBannerComment 58 { 59 u8 shortTitle[32]; // Short game title shown in IPL menu 60 u8 shortMaker[32]; // Short developer, publisher names shown in IPL menu 61 u8 longTitle[64]; // Long game title shown in IPL game start screen 62 u8 longMaker[64]; // Long developer, publisher names shown in IPL game start screen 63 u8 comment[128]; // Game description shown in IPL game start screen in two lines. 64 // Comment can include a '\n'. 65 } DVDBannerComment; 66 67 // 68 // "opening.bnr" file format for EU console 69 // 70 typedef struct DVDBanner2 71 { 72 u32 id; // 'BNR2' 73 u32 padding[7]; 74 u8 image[2 * DVD_BANNER_WIDTH * DVD_BANNER_HEIGHT]; // RGB5A3 96x32 texture image 75 DVDBannerComment comment[6]; // Comments in six languages 76 } DVDBanner2; 77 78 // DVDBanner.id 79 #define DVD_BANNER_ID 'BNR1' // US/JP 80 #define DVD_BANNER_ID2 'BNR2' // EU 81 82 #ifdef __cplusplus 83 } 84 #endif 85 86 #endif // __DVDBANNER_H__ 87