查看完整版本: [-- 【求助】DC里常见文件的格式! --]

【 浮游城 - Castle in the Sky | 开放邀请注册,PS|SS|WII|DC下载研究中心 】 -> 【 DC 窝棚 | DreamCast Wikiup 】 -> 【求助】DC里常见文件的格式! [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

lusiwen 2006-03-23 20:15

光盘里的文件都是什么格式的?都是什么功能

888208 2006-03-23 20:23
忘记是从那个网站上弄的,反正电脑上保存这。

向原作者道歉



acx       多个adx音频的联合 (类式于afs格式)

adx       CRI 压缩格式音频

afs       多个adx 音频的联接

als       adx 文件列表

bin       DC的可执行文件(大家都很熟悉了!)

elf       DC的可执行和可联接格式dc elf file (executable and linkable format)我也不知道什么意思

nja       ninja model file

pvm     dreamcast model files?? (power vr model)

pvr       dreamcast texture files (power vr texture format)贴图纹理

san       picture file by CRI图型文件

sfa       CRI sofdec audio软编码音频

sfd       CRI sofdec movie and audio multiplexed file软编码动画

sfv       cri mpeg sofdec video for dreamcast视频文件

spr       sprite file (contains pvr)贴图纹理

str       streaming file (for streaming movie or audio)动画

tb       sega tone bank file (for midi stuff)音乐

YZB 2006-03-23 20:24
呵呵,那站我也看过了`

地址忘记了


-------------------------
acx file format
-------------------------
0        8        n = number of seperate adx files in acx file
8        4        offset from start of file of adx file
12        4        size of adx file
etc etc
...
n*8 + 8            adx files



-------------------------
adx file format (VERY similar to an sfa file except for offset 16)
-------------------------
0        1        0x80 (some kind of magic number maybe??)
1-3        3        off = offset after this number of the audio data
4        4        0x03120402
8        4        sampling rate (in hertz)
12        4        offset withing file of audio data?!?!?!?!?!
16        4        0x01F40300
20        4        0 or 1 (maybe a loop flag??)
24        4        0 or 1 (maybe a loop flag??)
28        4        start of loop?    (only if first loop flag is 1)
32        4        end of loop?    (only if first loop flag is 1)
36        4        start of loop?    (only if first loop flag is 1)
40        4        end of loop?    (only if first loop flag is 1)
...
off-6    6        (c)CRI
off        ?        audio data


-------------------------
afs file format
-------------------------
0        4        AFS(0x00)
4        4        n = number of seperate adx files in the afs file
8        4        offset from start of file of adx file
12        4        size of adx file
etc etc
...
n*8 + 8            adx files


-------------------
pvr file format
-------------------

[OPTIONAL GBIX (global index) HEADER]

-------------------------
offset    length    description
--------------------------
0-3        4        "GBIX" (ascii text)
4-7        4        4 byte number for length of GBIX header from offset 8 onwards
8-11    4        global index
till end of GBIX length (offset 4-7) is filled with spaces (0x20)


[REST OF FILE]
-------------------------
offset    length    description
--------------------------
0-3        4        "PVRT" (ascii text)
4-7        4        length of rest of file in bytes (not counting these 4 bytes)
8-11    4        type of pvr file (see below)
12-13    2        width
14-15    2        height
16-end    ?        texture data


[TYPE]
there are 4 bytes set aside for the pvr type. it seems that only the first
2 bytes are actually being used at the moment though.
the first 2 bytes are as follows:

byte 1 (pixel format):
0x00 = ARGB1555 (bilevel translucent alpha 0,255)
0x01 = RGB565 (no translucent)
0x02 = ARGB4444 (translucent alpha 0-255)
all other values N/A

byte 2:
0x00 = N/A
0x01 = TWIDDLD
0x02 = MIPMAP & TWIDDLD
0x03 = VQ
0x04 = VQ & MIPMAP
0x09 = RECTANGLE
0x10 = SMALL_VQ
0x11 = SMALL_VQ & MIPMAP

-------------------------
san file format
-------------------------
0        5        'SAN 8'
5        3        0x000000
8        4        'YU0M'
12        4        1
16        4        width in pixels
20        4        height in pixels
24        4        length of pixel data
28        4        length of pixel data
32        4        0
36        4        1
40        16        0
56        4        'DATA'
60        4        length of pixel data



-------------------------
sfa file format (VERY similar to an adx file except for offset 16)
-------------------------
0        1        0x80
1        3        off = offset after this number of compressed audio data
4        3        0x031204
7        1        number of channels (1=mono 2=stereo)
8        4        sampling rate (in hertz)
12        4        offset within file of audio data?!?!?!?!?!
16        4        0x01F40500
20        4        0 or 1 (maybe a loop flag??)
24        4        0 or 1 (maybe a loop flag??)
28        4        start of loop?    (only if first loop flag is 1)
32        4        end of loop?    (only if first loop flag is 1)
36        4        start of loop?    (only if first loop flag is 1)
40        4        end of loop?    (only if first loop flag is 1)
...
off-6    6        (c)CRI
off        ?        audio data

-------------------------
sfd file format - v1.01b
(this format changes depending on the version of the encoder used to encode it...)
-------------------------

[HEADER]

0        32        'Sofdec Stream '
32        128        comment string
160        12        name of this file! (.sfd) (if filename is less than 8 chars it is padded with spaces)
172        4        year it was made in (in ascii)
176        2        month is was made in (in ascii)
178        2        day it was made on (in ascii)
180        4        time it was made (in ascii)
184        488  &nbs

llgj 2006-03-23 21:01
http://www.egchina.com/club2/hardware/dc/hdware/file.asp
是这吗?

YZB 2006-03-23 22:12
是啊,嘿嘿~
已收藏啦`
谢谢~

yemoxia 2006-03-24 12:22
哈哈,错过无数次,这次一定要收藏了

lusiwen 2006-03-24 20:19
谢谢了

yxin 2006-04-05 08:56
收藏

bobolv1222 2006-04-08 15:33
总算明白了

woweee 2006-06-20 20:15
good

YZB 2006-06-20 20:31
楼上朋友注意回复别太短,有灌水嫌疑....


查看完整版本: [-- 【求助】DC里常见文件的格式! --] [-- top --]


Powered by PHPWind Code © 2003-08 PHPWind
Gzip enabled

You can contact us