|
||
|
|
#2 (permalink) |
|
Dream Sage
Join Date: Jul 2003
Location: Great Northern Wisconsin
Posts: 841
|
format ? you mean what are uop files? you create them with michelagelo or some other animation programs
or are you looking for a site which hosts uop files?
__________________
To walk among the few of understanding Admin of Geia Adventures A dead Shard no longer in existsance |
|
|
|
|
|
#5 (permalink) |
|
For the UOP export of my tool ( UOAnimTool ) i've doing some test and this is the structure :
Code:
int header; // Michelangelo set 72372053 long nPatch; patch[nPatch] uopPatches; patch : byte file; int id; int lenght; int extra; byte[lenght] data; |
|
|
|
|
|
|
#7 (permalink) |
|
Code:
public struct Entry5D
{
public int file;
public int index; // id of my struct
public int lookup;
public int length;
public int extra;
}
File is the number of owritten file... for the anim it is 6 (find on Ultima Sdk or in other mul's format site) Extra it's an extra value used in some file (for examples in extra are saved width and height of gump image). for anim this value is -1. The anim is saved as bmp frames. Take the source of my program if you want see how it work |
|
|
|
|
|
|
#9 (permalink) |
|
UOAnimTool Site
SourceForge Project Site Take the source from the file page on sourceforge. in the site there is a description of the program |
|
|
|
|
|
|
#11 (permalink) |
|
Join Date: Feb 2004
Posts: 21
|
For your souces i'm not exactly unederstand how calculate lenght:
Struct in uop like this(probably i have done mistake) : byte = 6 int BlockID int BlockLenght int Extra = -1 short[255] palette int Framecount int lookupTable[Framecount] //-------------------Frame1-------------------- short ImageCenterX short ImageCenterY short Widht short Height //------------Bitmap------------------------ //------------EndOfBitmap----------------- //-------------------EndOfFrame1------------ Is lenght size of patch after Extra or not? And one more question: can i simple read bmp from disk and write it in Bitmap zone without any changes? |
|
|
|
|
|
#13 (permalink) |
|
Join Date: Feb 2004
Posts: 21
|
Great sorry for my stupidity
but can you explain me some things: 1) As i understand struct of RowHeader is : first 4 bits is line number other is line lenght. how to generate line number for my image ? 2) What is the struct of RowOffset? And how can i generate it for my image? Or maybe SDK has class or method to generate frame from image? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|