DCC limits
Moderator: Nizari
- kidpaddle94
- Principality
- Posts: 2057
- Joined: Thu Aug 13, 2009 2:54 pm
- Location: localhost
DCC limits
some few questions related to DCC used in d2:
- is there a filesize limit?
- is there a frame limit?
that's all
thank you.
- is there a filesize limit?
- is there a frame limit?
that's all
thank you.
- Demon9ne
- Champion of the Light
- Posts: 385
- Joined: Mon Dec 20, 2004 6:01 am
- Location: IL, USA
- Contact:
Re: DCC limits
AFAIK there is a 255 frame limit. I don't believe there is a file size limit, but I'm not certain.
- Necrolis
- Throne
- Posts: 9125
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
Re: DCC limits
Frames are limited to 200x200px, there hp also an assertion for directions greater than 63
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal
Re: DCC limits
iirc it was 255x255 pixels limit
if you want to add more frames for your clue scroll, I would rather suggest to make the animation play slower than adding duplicates of frames
if you want to add more frames for your clue scroll, I would rather suggest to make the animation play slower than adding duplicates of frames
"Each of those few chords separated by complete silence feels like a knife wound to the heart"
There is no greater sorrow than to recall happiness in times of misery. Draconian
There is no greater sorrow than to recall happiness in times of misery. Draconian
Re: DCC limits
DC6 was 255x255, DCC only 200x200. But I think it wasn't 200x200, the game only limits it to 40000pxls (200*200), so you are free to add a frame with e.g. 100x400.
- Necrolis
- Throne
- Posts: 9125
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
Re: DCC limits
yeah, the limit comes from the size of the buffer allocated for the decompression of the frame(in d2cmp), same goes for dc6 filesdav92" wrote:DC6 was 255x255, DCC only 200x200. But I think it wasn't 200x200, the game only limits it to 40000pxls (200*200), so you are free to add a frame with e.g. 100x400.
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal
- EmaStergam
- Posts: 92
- Joined: Tue Aug 28, 2007 4:53 pm
- Location: Serbia
Re: DCC limits
hmm
Im greatly interested in this limitations too. All i know is from old pergament found somewhere . So update will be good.
From: The Dcc File Format Description
"Dcc Format Limitations.
The following limitations are known for Diablo II: Lord of Destruction version 1.08. It is very probable that these limitations apply for other versions of Diablo II too.
The maximum number of directions is 32.
The minimum number of frames per direction is 0 and the maximum is 256.
The maximum size of the frame buffer is 120000 pixels (bytes).
The maximum size of the pixel buffer is 65536 entries (262144 pixels (bytes)).
The maximum number of cells the frame buffer can contain is 5625 cells. This is another limitation for the size of the pixel buffer."
Are this limitations still here in 1.10+ ?
Can anyone list all other know limitations find trough "code digging" ?
Im greatly interested in this limitations too. All i know is from old pergament found somewhere . So update will be good.
From: The Dcc File Format Description
"Dcc Format Limitations.
The following limitations are known for Diablo II: Lord of Destruction version 1.08. It is very probable that these limitations apply for other versions of Diablo II too.
The maximum number of directions is 32.
The minimum number of frames per direction is 0 and the maximum is 256.
The maximum size of the frame buffer is 120000 pixels (bytes).
The maximum size of the pixel buffer is 65536 entries (262144 pixels (bytes)).
The maximum number of cells the frame buffer can contain is 5625 cells. This is another limitation for the size of the pixel buffer."
Are this limitations still here in 1.10+ ?
Can anyone list all other know limitations find trough "code digging" ?