Difference between revisions of "Category talk:File formats"

From 3dbrew
Jump to navigation Jump to search
(answering question)
Line 1: Line 1:
 
"with padding in between the two files to make sure the .BCWAV ''starts on a new line''." Isn't .BNR the same as ExeFS:/banner, which is binary? --[[User:Yellows8|Yellows8]] 17:58, 13 June 2012 (CEST)
 
"with padding in between the two files to make sure the .BCWAV ''starts on a new line''." Isn't .BNR the same as ExeFS:/banner, which is binary? --[[User:Yellows8|Yellows8]] 17:58, 13 June 2012 (CEST)
 
*Yes the .BNR is the same type of file found at ExeFS:/banner. .BNR contains two files, a .CBMD and a .(B)CWAV, which is the graphics and audio for the Banner of an application. But depending on the length of CBMD, there will be a space padded with zeros to make sure the last line of the CBMD takes up a whole line, and the start of the (B)CWAV starts on a new line. If you look in the banner of the exefs you will see this, or by use of the 3DS SDK or CiTRUS make your own BNR and see how the input and output compare. --[[User:3dsguy|3dsguy]] 01:25, 14 June 2012 (CEST)
 
*Yes the .BNR is the same type of file found at ExeFS:/banner. .BNR contains two files, a .CBMD and a .(B)CWAV, which is the graphics and audio for the Banner of an application. But depending on the length of CBMD, there will be a space padded with zeros to make sure the last line of the CBMD takes up a whole line, and the start of the (B)CWAV starts on a new line. If you look in the banner of the exefs you will see this, or by use of the 3DS SDK or CiTRUS make your own BNR and see how the input and output compare. --[[User:3dsguy|3dsguy]] 01:25, 14 June 2012 (CEST)
 +
**I don't get what you mean by "starts on a new line". "newline" implies the file is text but this is binary. Don't you mean aligned to 0x10 bytes perhaps? --[[User:Yellows8|Yellows8]] 03:53, 14 June 2012 (CEST)

Revision as of 03:53, 14 June 2012

"with padding in between the two files to make sure the .BCWAV starts on a new line." Isn't .BNR the same as ExeFS:/banner, which is binary? --Yellows8 17:58, 13 June 2012 (CEST)

  • Yes the .BNR is the same type of file found at ExeFS:/banner. .BNR contains two files, a .CBMD and a .(B)CWAV, which is the graphics and audio for the Banner of an application. But depending on the length of CBMD, there will be a space padded with zeros to make sure the last line of the CBMD takes up a whole line, and the start of the (B)CWAV starts on a new line. If you look in the banner of the exefs you will see this, or by use of the 3DS SDK or CiTRUS make your own BNR and see how the input and output compare. --3dsguy 01:25, 14 June 2012 (CEST)
    • I don't get what you mean by "starts on a new line". "newline" implies the file is text but this is binary. Don't you mean aligned to 0x10 bytes perhaps? --Yellows8 03:53, 14 June 2012 (CEST)