I have released Wiimms SZS Tools v0.18a.
(A command line toolset for Linux, Mac and Windows)
What's new:
Change Log:
Links:
Example: Check + respawn points:
Grouping/sectioning is done by inserting "$GROUP" lines. Names are used for links. The KMP Modifier section names are printed as comment for easier orientation.
This corresponding JPTP section. "j3a" is a new point, renaming of th others does the encoder.
Example: objects + routes:
This is the definition of 2 item boxes. The comments explain the object type. The route is referenced by name.
This corresponding POTI section. A comment lists the objects using this route.
Example: Camera:
This is a camera route. Again names are used for all links.
And here is a area entry linked to the camera entry above.
(A command line toolset for Linux, Mac and Windows)
What's new:
- The new tool wkmpt can decode (convert to text) and encode (convert to binary) KMP files. Both operations are improved and support now variables instead of indices. This makes list modifications (inserting, removing, reordering) much easier. See the examples below.
Change Log:
Code:
szs v0.18a r2959 - 2011-08-26
- KMP: Improved text output with additinal infos.
- KMP: More intelligent group naming.
- KMP: Linear calculated points in CKPT, ENPT and ITPT.
- KMP: User may define local and global variables.
- KMP: Objects can be referenced my name (eg. o$itembox).
- KMP: Inter section links (AREA->CAME, CAME->POTI, GOBJ->POTI, CKPT->JGPT)
ÂÂ using names instead of indices. This allows easy reorganisation.
- KMP: AREA+CAME syntax (table layout) changed, old format stays compatible.
Known bugs:
ÂÂ- If creating a BRRES the internal name of the sub file is not set to
ÂÂÂÂthe filename. This could be problematic if a sub file was renamed.
ÂÂ- Creating TPL images files with more than 1 image is not supported yet.
ÂÂÂÂOnly file 'savebanner.tpl' is known to have 2 images.
Links:
Example: Check + respawn points:
Code:
#CKPT#
#-------------------------------------------------------------------------
#ÂÂÂÂÂÂ _____start_point_____ÂÂÂÂ______end_point______ respawnÂÂ prev
#idxÂÂÂÂÂÂÂÂ xÂÂÂÂÂÂÂÂÂÂ yÂÂÂÂÂÂÂÂÂÂÂÂxÂÂÂÂÂÂÂÂÂÂ yÂÂÂÂÂÂÂÂÂÂmodeÂÂÂÂnext
#-------------------------------------------------------------------------
...
$GROUP G2,ÂÂnext: G3A G3B
ÂÂ# == section 5,ÂÂprev: s1,ÂÂnext: s8 s9
ÂÂ12ÂÂÂÂ36400.000ÂÂ-31600.000ÂÂÂÂ28400.000ÂÂ-31600.000ÂÂÂÂj3 -1ÂÂ11ÂÂ13
ÂÂ13ÂÂÂÂ33550.000ÂÂ-24850.000ÂÂÂÂ25400.000ÂÂ-28500.000ÂÂÂÂj3aÂÂ-1ÂÂ12ÂÂ14
ÂÂ$LINE 2
ÂÂ14ÂÂÂÂ33400.000ÂÂ-24400.000ÂÂÂÂ24800.000ÂÂ-21700.000ÂÂÂÂj4ÂÂ-1ÂÂ13ÂÂ15
...
Code:
#JGPT#
#------------------------------------------------------------------------------
#ÂÂÂÂ _____________position_____________ _______rotation________ related
#idxÂÂÂÂÂÂÂÂxÂÂÂÂÂÂÂÂÂÂ yÂÂÂÂÂÂÂÂÂÂ zÂÂÂÂÂÂÂÂxÂÂÂÂÂÂ yÂÂÂÂÂÂ zÂÂÂÂÂÂ id effect
#------------------------------------------------------------------------------
...
ÂÂj3ÂÂ 23100.000ÂÂÂÂ 750.000ÂÂ-30700.000ÂÂÂÂ0.00ÂÂ157.00ÂÂÂÂ0.00ÂÂÂÂÂÂ2 0xffff
ÂÂj3aÂÂ31353.293ÂÂÂÂ1417.722ÂÂ-34329.320ÂÂÂÂ0.00ÂÂ 30.00ÂÂÂÂ0.00ÂÂÂÂÂÂ3 0xffff
ÂÂj4ÂÂ 28920.000ÂÂÂÂ2414.103ÂÂ-23650.000ÂÂÂÂ0.00ÂÂ 19.00ÂÂÂÂ0.00ÂÂÂÂÂÂ4 0xffff
...
Example: objects + routes:
Code:
#GOBJ#
#-----------------------------------------------------------------------------------
#ÂÂÂÂobj-id ______position/rotation/scale______ÂÂ_________settings_________ÂÂ route
#idx /unknwÂÂÂÂÂÂÂÂxÂÂÂÂÂÂÂÂÂÂ yÂÂÂÂÂÂÂÂÂÂ zÂÂÂÂ #1/#5ÂÂ#2/#6ÂÂ#3/#7ÂÂ#4/#8 /p-flag
#-----------------------------------------------------------------------------------
ÂÂ # o$itembox : An itembox
ÂÂo8ÂÂ 0x65ÂÂÂÂ9563.316ÂÂÂÂÂÂ 1.000ÂÂÂÂ8366.569ÂÂÂÂÂÂ0ÂÂÂÂÂÂ0ÂÂÂÂÂÂ0ÂÂÂÂÂÂ0ÂÂÂÂÂÂ-1
ÂÂ >ÂÂÂÂÂÂ0ÂÂÂÂÂÂ 0.000ÂÂÂÂÂÂ 0.000ÂÂÂÂÂÂ 0.000ÂÂÂÂÂÂ0ÂÂÂÂÂÂ0ÂÂÂÂÂÂ0ÂÂÂÂÂÂ0ÂÂÂÂ0x3f
ÂÂ >ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ1.000ÂÂÂÂÂÂ 1.000ÂÂÂÂÂÂ 1.000
#-----------------------------------------------------------------------------------
ÂÂ # o$f_itembox : Moving itembox (explodes)
ÂÂo9ÂÂ 0xc9ÂÂ 45211.914ÂÂÂÂ9680.000ÂÂ 32788.789ÂÂ 0x32ÂÂÂÂÂÂ0ÂÂÂÂÂÂ0ÂÂÂÂÂÂ0ÂÂÂÂÂÂr5
ÂÂ >ÂÂÂÂÂÂ0ÂÂÂÂÂÂ 0.000ÂÂÂÂÂÂ 0.000ÂÂÂÂÂÂ 0.000ÂÂÂÂÂÂ0ÂÂÂÂÂÂ0ÂÂÂÂÂÂ0ÂÂÂÂÂÂ0ÂÂÂÂ0x3f
ÂÂ >ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ1.000ÂÂÂÂÂÂ 1.000ÂÂÂÂÂÂ 1.000
#-----------------------------------------------------------------------------------
Code:
#POTI#
#--------------------------------------------------------
#ÂÂÂÂÂÂ_____________position_____________ÂÂ __settings__
#idxÂÂÂÂÂÂÂÂ xÂÂÂÂÂÂÂÂÂÂ yÂÂÂÂÂÂÂÂÂÂ zÂÂÂÂÂÂÂÂ #1ÂÂÂÂ #2
#--------------------------------------------------------
$ROUTE r5, settings:ÂÂ0x101
ÂÂ # GOBJ reference: 6 7 9 79
ÂÂ 1ÂÂÂÂ46018.512ÂÂÂÂ9680.000ÂÂ 20785.742ÂÂÂÂ 0xcÂÂÂÂÂÂ0
ÂÂ 2ÂÂÂÂ41915.566ÂÂÂÂ9680.000ÂÂ 15091.461ÂÂÂÂ 0xcÂÂÂÂÂÂ0
ÂÂ 3ÂÂÂÂ31791.070ÂÂÂÂ9680.000ÂÂ 15837.438ÂÂÂÂ 0xcÂÂÂÂÂÂ0
ÂÂ 4ÂÂÂÂ29012.793ÂÂÂÂ9680.000ÂÂÂÂ9291.073ÂÂÂÂ 0xcÂÂÂÂÂÂ0
ÂÂ 5ÂÂÂÂ30221.631ÂÂÂÂ9680.000ÂÂÂÂ-501.291ÂÂÂÂ 0xcÂÂÂÂÂÂ0
ÂÂ 6ÂÂÂÂ25380.010ÂÂÂÂ9680.000ÂÂ -3120.385ÂÂÂÂ 0xcÂÂÂÂÂÂ0
ÂÂ 7ÂÂÂÂ24102.535ÂÂÂÂ9680.000ÂÂ -8507.992ÂÂÂÂ 0xcÂÂÂÂÂÂ0
ÂÂ 8ÂÂÂÂ17311.211ÂÂÂÂ9680.000ÂÂ-11962.936ÂÂÂÂ 0xcÂÂÂÂÂÂ0
ÂÂ 9ÂÂÂÂ13300.522ÂÂÂÂ9680.000ÂÂ-10459.839ÂÂÂÂ 0xcÂÂÂÂÂÂ0
Example: Camera:
Code:
#CAME#
#--------------------------------------------------------------------
#idxÂÂtypeÂÂÂÂÂÂÂÂÂÂ ________positionÂÂ (x,y,z)________ÂÂÂÂ zoom_beg
#ÂÂÂÂ nextÂÂÂÂ 4xÂÂÂÂ________unknownÂÂÂÂ(x,y,z)________ÂÂÂÂ zoom_end
#ÂÂ unknown settings ________view point (x,y,z)________ÂÂÂÂÂÂÂÂ -
#ÂÂÂÂrouteÂÂÂÂÂÂÂÂÂÂ ________view destÂÂ(x,y,z)________ÂÂÂÂÂÂÂÂtime
#--------------------------------------------------------------------
ÂÂc6ÂÂÂÂ 2ÂÂÂÂÂÂ 0ÂÂÂÂ-5879.912ÂÂ 14726.437ÂÂÂÂ7036.634ÂÂÂÂÂÂ 53.000
ÂÂ >ÂÂÂÂc7ÂÂÂÂ 0x8ÂÂÂÂÂÂÂÂ0.000ÂÂÂÂÂÂ 0.000ÂÂÂÂÂÂ 0.000ÂÂÂÂÂÂÂÂ8.000
ÂÂ >ÂÂÂÂ 0ÂÂÂÂÂÂ 0ÂÂÂÂÂÂ 30.000ÂÂÂÂÂÂ-1.000ÂÂÂÂ 550.000
ÂÂ >ÂÂ r11ÂÂÂÂÂÂ 0ÂÂÂÂÂÂÂÂ5.000ÂÂÂÂÂÂ 1.000ÂÂÂÂÂÂ 0.000ÂÂÂÂÂÂÂÂ0.000
#--------------------------------------------------------------------
Code:
#----------------------------------------------------------------------------------
#ÂÂÂÂ mode typeÂÂÂÂ_____position/rotation/scale______ÂÂ _________settings_________
#idxÂÂÂÂid unknownÂÂÂÂÂÂ xÂÂÂÂÂÂÂÂÂÂ yÂÂÂÂÂÂÂÂÂÂ zÂÂÂÂÂÂÂÂ #1ÂÂÂÂ #2ÂÂÂÂ #3ÂÂÂÂ #4
#----------------------------------------------------------------------------------
ÂÂa0ÂÂÂÂ 0ÂÂÂÂ0ÂÂÂÂÂÂ-179.760ÂÂ -5801.323ÂÂÂÂ8313.767ÂÂÂÂÂÂ 0ÂÂÂÂÂÂ0 0xffffÂÂÂÂÂÂ0
ÂÂ >ÂÂÂÂc6ÂÂÂÂ0ÂÂÂÂÂÂÂÂ 0.000ÂÂÂÂÂÂ 0.000ÂÂÂÂÂÂ 0.000
ÂÂ >ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ1.000ÂÂÂÂÂÂ 2.000ÂÂÂÂÂÂ 1.300
#----------------------------------------------------------------------------------