Tools for osRose and osiRose will be placed in here, as well as Rose file formats.
Please PM rl2171 or lmame to get them added to the list.
Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators
by PurpleYouko on Mon Aug 12, 2013 2:09 pm
All credits for the formats in this thread go to Exjam, Xadet and Brett
AIP
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classesFormatting fixed for different resolutions"A Gazelle is nothing but a giraffe plotted logarithmicaly"
-
PurpleYouko
- Rose Guru
-
- Posts: 4733
- Joined: Fri Aug 10, 2007 2:05 pm
-
by PurpleYouko on Mon Aug 12, 2013 2:10 pm
CHR
-
- WORD meshcount
- :FOREACH( meshcount )
- ZSTR path
- :ENDFOR
- WORD motioncount
- :FOREACH( motioncount )
- ZSTR path
- :ENDFOR
- WORD effectcount
- :FOREACH( effectcount )
- ZSTR path
- :ENDFOR
- WORD charactercount
- :FOREACH( charactercount )
- BYTE isactive
- :IF( isactive )
- WORD boneid
- ZSTR name
- WORD meshcount
- :FOREACH( meshcount )
- WORD meshid // Links to an "object" from the ZSC file
- :ENDFOR
- WORD motioncount
- :FOREACH( motioncount )
- WORD id
- WORD motionid
- :ENDFOR
- WORD effectcount
- :FOREACH( effectcount )
- WORD id
- WORD effectid
- :ENDFOR
- :ENDIF
- :ENDFOR
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classesFormatting fixed for different resolutions"A Gazelle is nothing but a giraffe plotted logarithmicaly"
-
PurpleYouko
- Rose Guru
-
- Posts: 4733
- Joined: Fri Aug 10, 2007 2:05 pm
-
by PurpleYouko on Mon Aug 12, 2013 2:13 pm
CON
-
- DWORD event_mask
-
- :FOREACH( 16 )
- FSTR[0x20] load_function
- :ENDFOR
-
- DWORD block_offset
- DWORD lua_offset
-
- DWORD init_count
- DWORD init_offset
- DWORD dialog_count
- DWORD dialog_offset
-
- :SEEK[SET] 0x20c + init_offset
-
- :FOREACH( init_count )
- DWORD init_dataoffset
- :ENDFOR
- :FOREACH( init_count )
- DWORD entry_id
- DWORD command
- DWORD data
- FSTR[0x20] condition_function
- FSTR[0x20] reward_function
- DWORD str_id
- :ENDFOR
-
- :SEEK[SET] 0x20c + dialog_offset
- :FOREACH( block_count )
- DWORD block_dataoffset
- :ENDFOR
- :FOREACH( block_count )
- DWORD block_size
- DWORD entry_count
- :XOR( ( (BYTE)entry_count & 1 ) ? (BYTE)entry_count : (BYTE)block_size)
- DWORD[entry_count] entry_lookuptable
- :FOREACH( entry_count )
- DWORD entry_id
- E[dialog_command] command
- DWORD data
- FSTR[0x20] condition_function
- FSTR[0x20] reward_function
- DWORD str_id
- :ENDFOR
- :ENDXOR
- :ENDFOR
-
- DWORD code_len
- :XOR( ( (BYTE)code_len & 1 ) ? (BYTE)code_len : (BYTE){FILE_SIZE} )
- BYTE[code_len] lua_data
- :ENDXOR
-
- --
-
- :ENUM dialog_command
- CLOSE = 0
- NEXTMSG = 1
- NPCSAY = 2
- PLAYERSELECT = 3
- JUMPSELECT = 4
- :ENUM
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classesFormatting fixed for different resolutions"A Gazelle is nothing but a giraffe plotted logarithmicaly"
-
PurpleYouko
- Rose Guru
-
- Posts: 4733
- Joined: Fri Aug 10, 2007 2:05 pm
-
by PurpleYouko on Mon Aug 12, 2013 2:14 pm
EFT
- LSTR name
- DWORD use_sound_file
- LSTR sound_file_name
- DWORD sound_loop_count
-
- DWORD system_count
- :FOREACH( system_count )
- LSTR name
- LSTR unique_name
- DWORD stb_index
- LSTR ptl_file
- DWORD use_animation
- LSTR zmo_file
- DWORD animation_loop_count
- DWORD animation_stb_index
- VECTOR3 position
- QUARTERNION rotation
- DWORD delay
- DWORD is_linked
- :ENDFOR
-
- DWORD animation_count
- :FOREACH( animation_count )
- LSTR name
- LSTR unique_name
- DWORD stb_index
- LSTR zms_file
- LSTR zmo_file
- LSTR dds_file
- DWORD alpha_enabled
- DWORD two_sided
- DWORD alpha_test_enabled
- DWORD ztest_enabled
- DWORD zwrite_enabled
- E[blend_mode] source_blend
- E[blend_mode] destination_blend
- E[blendop_type] blend_op
- DWORD use_animation
- LSTR animation_name
- DWORD animation_loop_count
- DWORD animation_stb_index
- VECTOR3 position
- QUARTERNION rotation
- DWORD delay
- DWORD repeat_count
- DWORD is_linked
- :ENDFOR( animation count )
-
- --
-
- :ENUM[DWORD] blend_mode
- ZERO = 1
- ONE = 2
- SRCCOLOR = 3
- INVSRCCOLOR = 4
- SRCALPHA = 5
- INVSRCALPHA = 6
- DESTALPHA = 7
- INVDESTALPHA = 8
- DESTCOLO = 9
- INVDESTCOLOR = 10
- SRCALPHASAT = 11
- BOTHSRCALPHA = 12
- BOTHINVSRCALPHA = 13
- BLENDFACTOR = 14
- INVBLENDFACTOR = 15
- SRCCOLOR2 = 16
- INVSRCCOLOR2 = 17
- :ENDENUM
-
- :ENUM[DWORD] blendop_type
- ADD = 1
- SUBTRACT = 2
- REVSUBTRACT = 3
- MIN = 4
- MAX = 5
- :ENDENUM
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classesFormatting fixed for different resolutions"A Gazelle is nothing but a giraffe plotted logarithmicaly"
-
PurpleYouko
- Rose Guru
-
- Posts: 4733
- Joined: Fri Aug 10, 2007 2:05 pm
-
by PurpleYouko on Mon Aug 12, 2013 2:18 pm
HIM
-
- DWORD width
- DWORD height
- DWORD grid_count
- FLOAT grid_size
- :FOREACH( width )
- :FOREACH( height )
- FLOAT height
- :ENDFOR
- :ENDFOR
-
- E[collision_type] collision_type
- DWORD quadentry_count
- :FOREACH( quadentry_count )
- FLOAT minZ
- FLOAT maxZ
- :ENDFOR
-
- :DEFINE quadtree_count = 1 + 4 + 16 + 32
- DWORD quadtree_count
- :CALL writequadnode( 256 )
- :CALL writequadnode( 128 )
- :CALL writequadnode( 64 )
- :CALL writequadnode( 32 )
-
- --
-
- :FUNCTION writequadnode( divisonsize )
- // I can't really write the pseudo-format for this, but basically, it writes
- // the min and max heights for each quadratic division of the map quadtree
- :ENDFUNCTION
-
- :ENUM[BSTR] collision_type
- QUAD = "QUAD"
- :ENDENUM
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classesFormatting fixed for different resolutions"A Gazelle is nothing but a giraffe plotted logarithmicaly"
-
PurpleYouko
- Rose Guru
-
- Posts: 4733
- Joined: Fri Aug 10, 2007 2:05 pm
-
by PurpleYouko on Mon Aug 12, 2013 2:19 pm
HLP
-
- BSTR version
-
- DWORD root_count // Must be 1
- BSTR root_node_name
-
- DWORD node_count
- :FOREACH( node_count )
- :CALL read_node
- :ENDFOR
-
- DWORD page_count
- :FOREACH( page_count )
- BSTR page_title
- BSTR page_content
- :ENDFOR
-
- --
-
- :FUNCTION read_node
- BSTR node_name
-
- DWORD subnode_count
- :FOREACH( subnode_count )
- :CALL read_node
- :ENDFOR
- :ENDFUNCTION
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classesFormatting fixed for different resolutions"A Gazelle is nothing but a giraffe plotted logarithmicaly"
-
PurpleYouko
- Rose Guru
-
- Posts: 4733
- Joined: Fri Aug 10, 2007 2:05 pm
-
by PurpleYouko on Mon Aug 12, 2013 2:20 pm
IDX
-
- DWORD base_version
- DWORD current_version
- DWORD vfs_count
- :FOREACH( vfs_count )
- SSTR vfs_path
- DWORD data_offset
- :ENDFOR
-
- :FOREACH( vfs_count )
- :SEEK[SET] data_offset
- DWORD file_count
- DWORD delete_count
- DWORD start_offset
- :FOREACH file_count
- SSTR file_path
- DWORD offset
- DWORD file_length
- DWORD block_size
- BYTE deleted
- BYTE compressed_type
- BYTE encryption_type
- DWORD version
- DWORD checksum
- :ENDFOR
- :ENDFOR
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classesFormatting fixed for different resolutions"A Gazelle is nothing but a giraffe plotted logarithmicaly"
-
PurpleYouko
- Rose Guru
-
- Posts: 4733
- Joined: Fri Aug 10, 2007 2:05 pm
-
by PurpleYouko on Mon Aug 12, 2013 2:21 pm
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classesFormatting fixed for different resolutions"A Gazelle is nothing but a giraffe plotted logarithmicaly"
-
PurpleYouko
- Rose Guru
-
- Posts: 4733
- Joined: Fri Aug 10, 2007 2:05 pm
-
by PurpleYouko on Mon Aug 12, 2013 2:22 pm
LIT
-
- DWORD obj_count
- :FOREACH obj_count
- DWORD part_count
- DWORD objid
- :FOREACH part_count
- BSTR originalname
- DWORD part_id
- BSTR ddsname
- DWORD dds_id
- DWORD dds_division_size
- DWORD dds_division_count
- DWORD dds_part_id
- :ENDFOR
- :ENDFOR
- DWORD dds_count
- :FOREACH dds_count
- BSTR ddsname
- :ENDFOR
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classesFormatting fixed for different resolutions"A Gazelle is nothing but a giraffe plotted logarithmicaly"
-
PurpleYouko
- Rose Guru
-
- Posts: 4733
- Joined: Fri Aug 10, 2007 2:05 pm
-
by PurpleYouko on Mon Aug 12, 2013 2:23 pm
LOD
-
- ZSTR name
- :FOREACH( 0x1F )
- :FOREACH( 0x1F )
- DWORD detaillevel
- :ENDFOR
- :ENDFOR
-
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classesFormatting fixed for different resolutions"A Gazelle is nothing but a giraffe plotted logarithmicaly"
-
PurpleYouko
- Rose Guru
-
- Posts: 4733
- Joined: Fri Aug 10, 2007 2:05 pm
-
Return to Tools and File Format
Users browsing this forum: No registered users and 5 guests