Difference between revisions of "KMP Modifier"

From Custom Mario Kart
Jump to navigation Jump to search
(→‎Version 3: Time for the cameras)
m (kmp cameras have nothing to do with real life XD)
Line 148: Line 148:
 
|-
 
|-
 
! Advanced camera editing
 
! Advanced camera editing
| A real life preview of your camera settings; a triangle will be drawn between point and view and they move.
+
| A real time preview of your camera settings; a triangle will be drawn between point and view and they move.
 
| {{Maybe|In progress}}
 
| {{Maybe|In progress}}
 
|-
 
|-

Revision as of 16:44, 19 October 2012

Warning
Because the homeserver is down and the site has moved, the kmp modifier may not be able to load. If anybody has problems with current version you can contact me on this wiki or on youtube so I can give you a debug version of v3.0 (new functions not working) --kHacker35000vr
KMP Modifier
Creator: kHacker35000vr
File Formats:
Version: 3.0.2.10
Video: YouTube
Download: kmpmodifier.bravesites.com

<Rating comment=false> What do you think about v2.0? 1 (Very bad) 2 3 4 5 6 7 8 9 10 (Amazing) </Rating>

The KMP Modifier is a program that is able to edit and expand Nintendo KMP files. It was once released as a help tool as support for the szs modifier's lack of functions and is since v2.0 a stand-alone editor. Since summer 2012 v3 is in development to be able to compete with the concurrents.

Official Site: http://kmpmodifier.bravesites.com/

Tutorial Video: -coming ever-

Original Post: http://www.mariokartwii.com/f72/kmp-editor-72386.html

History

The first version of the KMP Modifier was finished in summer 2010 and could only replace certain points with a different kind of point. When the SZS Explorer was released, the software was completly redesigned and was able to add, remove and edit points of a few groups. Two months later an update was released that added support for more groups and a POTI editor. Version 1 was mainly created to edit kmp files in ways the szs modifier couldn't and was therefor not very advanced in editing kmp files.

In september 2011 kHacker annouced version 2 as complete new software which didn't need the SZS Modifier anymore. The development went slow, untill Vulcanus2 annouced his own KMP editor. Later the KMP Modifier v2.0 was released in April 2012. Version 2.0 and its updates contained a lot of bugs and this had as result that the KMP Modifier was seen as a very buggy editor. Later in 2012 version 2.1 was released which was tested on every possible bug and was the final version for KMP Modifier v2. In August the main site of the KMP Modifier went down and this had as result that the KMP Modifier couldn't access needed files. This had as result that every v2 release became unusable.

To compete with the competition, kHacker annouced version 3 in late July 2012 and promised that this version contained all features which v2 missed. The coding of v3 started in late september after the bugfixing of previous bugs discovered in version 2 and after the new layout was completly finished. The release date is expected to be in December.

Main Program

Version 2 was mainly coded with a big amount of features. This features were plugins and external files. The lag of a clear overview made it very impopular and made the KMP Modifier drop in the amount of users. Version 2 uses the interface of the previous version, with the new features added around it and is mainly fouces around the overview.

200px

What can it do?

The current version was able to edit every group, except STGI. It could add points, delete them and modify them. It can was able to load plugins which worked with certain external file and export points. Further there are functions to move dots around and give dots a new ID, so the order of points can be changed.

CTools

Since the update to v2.1 the KMP Modifier can be called by CTools so it can open and save directly to a szs file, without the need of extracting the kmp. Further can the kmp files be edited like the usual way.

KMF Files

KMF Files are used by the KMP Modifier v2 only. They act like path files to replace existing content in KMP files.

Currently the only way to edit KMF files is with a hex editor, whereas the KMP Modifier only exports from a kmp.

File header of a KMF file
Offset Size Description
0x00 4 Magic, always 'KMHF' in ASCII
0x04 4 File length
0x08 4 File version
0x0C 2 Total amount of groups (N)
0x0E 2 Length of the header in bytes
0x10 N*4 Section Offsets
0x10 + N*4 End of file header

The KMF file contains sections, just like an orginal KMP file.

A single section
Offset Size Description
0x00 4 Group magic (KTPT as example)
0x04 2 The point id where to start replacing
0x08 2 The amount of points in this section
0x0C The points

Version 3

In October 2012 version 3 of the KMP Modifier was officially annouced and it is made to compete with KMP Cloud and wkmpt. It will contain a completly new design and new features which make editing easier. Creating a KMP file with version 3 will be made easier than ever before.

In the following table is a list with new features and the progress of them, the information is updated within a hour.

Added with 3.0

Progress 3.0
New layout Sick of the combobox? Now you can scroll trough the items trough tabs! Also every 2nd row will be colored light-red, the table is resizeable and STGI is merged to the KTPT tab. Done
Obj to section Converts an obj to a whole collection of sections and points. Done
Auto Y When clicking on a position of an obj the y is generated. Done
Sort clockwise/counter clockwise For easy ording of the points after importing them trough the obj importer. Done
Area scaled A square is drawn around the point so it's clear how big an AREA point is Done
Arrow Points A small arrow pointing in the direction given for the yaw (y rotation) Done
Route used by... A new column in the route list showing what object or camera is using it Done
Error Finder The software searches for any problems that can cause a freeze Done?
Save as csv For editing sections in external software Done
Advanced camera editing A real time preview of your camera settings; a triangle will be drawn between point and view and they move. In progress
Object catalogue Comes with a list of objects, minatures will be displayed in the main screen, and the known settings are included. No progress
SZS Support Makes use of the brres and the kmp of a szs file (may be dropped) No Progress
Expected release End of November/December

3.0 will not make use of external kmf files anymore and instead there is an option to transfer ENPT to ITPT and you can copy cells.

If you have any ideas which can be implented, put it on the talk page!

Further:

  • Full screen point dragger
  • Resizeable table
  • KMF Files which act like SZS Modifier's path files, so it replaces certain points, groups or sections. KMF Files are also used by plugins.
  • Advanced errorhandler that searches for invalid pointers and itemamounts.

Media

Video showing the new functions

Readme

This is the content of the readme of the v1 package:

KMP Modifier usage

When opening the program you'll see the form that contains almost everything. Every change you make will directly be saved to the KMP you're editing. What's recommended is to create a new KMP. Unfortunately, this application can't edit routes, CAME, AREA, and the STGI. This has multiple reasons, but the main reason is that editing them can cause a freeze in the game.

Showing amount of points

We start with the checkpoints and the datagridview at the bottom of the startup form. When checking these boxes, you'll see how much of them are stored in the KMP. They can not be edited.

Editing points without sections

When changing the item at the top-left of the screen youll see a lot options coming, when choosing as example startposition a box will appear at the empty place. Here you can edit the amount but also using auto amounts to have directly a battle stage. When adding objects the editor will ask the id of the object. (0065 for itembox)

Editing section-amount

When changing the item to something with a section the datagridview and the numericupdown will become enabled. When changing the digit youll add or delete a section, after adding a section the default values are all 0x00

Changing next/previous section

Double-clicking on a section will cause a new form to show up. Most text will speak for how it works. This is the only place that doesnt save every change you made, you save it when pressing ok.

Changing points with sections

When pressing the button that showed up youll see another form. Again a numericupdown but this time for changing the amount of points. The datagridview contains again section settings but now for the points. It can be edited and stored directly. Note: Adding and deleting a point will require section editing, if you dont do this the kmp is unstable and will freeze the game.


Links

Template:User-kHacker-Link