ROM Hack [Mario Kart 7] KMP Expander - A MK7 KMP Editor

Ermelber

Well-Known Member
OP
Member
Joined
Sep 21, 2012
Messages
133
Trophies
1
Age
25
Location
Italy
Website
github.com
XP
299
Country
Italy
New version!

What's new:
- Added Glider Routes editing
- Added CSV Importing for Glider Routes
- Added CSV Exporting for CAME and AREA

In the next days, I'll add CAME and AREA editing and CSV Importing for them.
I think next will be the final beta.
 
  • Like
Reactions: TheZoroark007

Mattshark

Well-Known Member
Member
Joined
Aug 31, 2015
Messages
254
Trophies
0
Age
24
XP
239
Country
United States
I have a slight problem with this program...

Every time I drag a dot with right-click, instead of autocalculating the Y value, it gives an error, every time. I already loaded the obj file and all that, and this glitch never happened with the beta 2, just the beta 5...

The error if you need it:
Code:
See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at KMPEd.KMPEditor.RenderLocalMapPoints(Boolean picking)
   at KMPEd.KMPEditor.PickPoint(Point mousepoint, Boolean getY)
   at KMPEd.KMPEditor.KMP_Map_MouseUp(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.UserControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
KMPTest
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/(MYDIRECTORY)/KMP%20Expander%20Beta%205/KMP%20Expander.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1075.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Tao.Platform.Windows
    Assembly Version: 1.0.0.5
    Win32 Version: 1.0.0.5
    CodeBase: file:///C:/Users/Sean/Desktop/MK7HACKS/KMP%20Expander%20Beta%205/Tao.Platform.Windows.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
LibEndianBinaryIO
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/(MYDIRECTORY)/KMP%20Expander%20Beta%205/LibEndianBinaryIO.DLL
----------------------------------------
Tao.OpenGl
    Assembly Version: 2.1.0.12
    Win32 Version: 2.1.0.12
    CodeBase: file:///C:/(MYDIRECTORY)/KMP%20Expander%20Beta%205/Tao.OpenGl.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Last edited by Mattshark, , Reason: Blotted out my actual directory

Ermelber

Well-Known Member
OP
Member
Joined
Sep 21, 2012
Messages
133
Trophies
1
Age
25
Location
Italy
Website
github.com
XP
299
Country
Italy
Thanks for reporting, I'll try fixing it immediately. It has something to do with the UIMapPos thing I lastly added.
I'm sorry I'm not updating KMP Expander so much but I really started hating its code... I might remake it from scratch using new knowledge...

PS: Oh, right now I can't. Also I don't really wanna mess up with that code further. I'll remake it from scratch asap
 
Last edited by Ermelber,

Mattshark

Well-Known Member
Member
Joined
Aug 31, 2015
Messages
254
Trophies
0
Age
24
XP
239
Country
United States
Btw, I understand what most of the Routes do, but what do just plain "Routes" do?
Not Item Routes or Enemy Routes... just "Routes"?

When I right-click-drag it anywhere, it just teleports towards a random Object in the Objects Category. Is that intentional? And if so, what do these Routes even do?
 

Ermelber

Well-Known Member
OP
Member
Joined
Sep 21, 2012
Messages
133
Trophies
1
Age
25
Location
Italy
Website
github.com
XP
299
Country
Italy
Btw, I understand what most of the Routes do, but what do just plain "Routes" do?
Not Item Routes or Enemy Routes... just "Routes"?
They're the objects/Camera routes (such as crab routes etc...)
When I right-click-drag it anywhere, it just teleports towards a random Object in the Objects Category. Is that intentional? And if so, what do these Routes even do?
That's weird, I'll look into this.
 
D

Deleted User

Guest
I need help, how do I Disable the Respawn things (on Checkpoints section) where a player goes Out of Bounds? Not Lakitu's Respawn Points where he drops a player.
 
Last edited by ,
D

Deleted User

Guest
Oh, ok. I ended up moving them away in a distance instead. It sucks when deleting some Points and the game crashes
 
Last edited by ,

Ermelber

Well-Known Member
OP
Member
Joined
Sep 21, 2012
Messages
133
Trophies
1
Age
25
Location
Italy
Website
github.com
XP
299
Country
Italy
New version is in Work in Progress!
cGEpAAU.png


It will have ALL old KMP Expander features, plus, as you can see from the screenshot, You can tweak the settings as you please!
Since I'm recoding this from scratch it will take some time but I have to say something: Before today I still didn't have the rendering engine done.
After some hours of work today I've got a perfect dot moving (MUUUUCH better than the old version) and rendering. (And the code is much better)
 
Last edited by Ermelber,
  • Like
Reactions: Mattshark

Mattshark

Well-Known Member
Member
Joined
Aug 31, 2015
Messages
254
Trophies
0
Age
24
XP
239
Country
United States
New version is in Work in Progress!
cGEpAAU.png


It will have ALL old KMP Expander features, plus, as you can see from the screenshot, You can tweak the settings as you please!
Since I'm recoding this from scratch it will take some time but I have to say something: Before today I still didn't have the rendering engine done.
After some hours of work today I've got a perfect dot moving (MUUUUCH better than the old version) and rendering. (And the code is much better)
Glad to see this is still in development! :D
 
  • Like
Reactions: Ermelber

Ermelber

Well-Known Member
OP
Member
Joined
Sep 21, 2012
Messages
133
Trophies
1
Age
25
Location
Italy
Website
github.com
XP
299
Country
Italy
Alpha 3 is out

Changelog:
  • Improved OBJ Rendering (Alpha Test now works correctly)
  • Fixed OBJ Loading
  • Added "Add Point on Map" mode
  • UIMapPos is editable (just LocalMap for now)
  • Various fixes
A quick screenshot:

QCmsRc4.jpg
 

Ermelber

Well-Known Member
OP
Member
Joined
Sep 21, 2012
Messages
133
Trophies
1
Age
25
Location
Italy
Website
github.com
XP
299
Country
Italy
Alpha 4 is here

I added the hide/unhide function for the Local Map Image as requested.
I've also dramatically improved the OBJ Importer which will be with a new nice dialog window:
ug0zqvT.png

You can also change the Settings:
y163D9K.png

Also, you can hide/unhide groups as you wish
OHQ55Ec.png
 

Qubemind

New Member
Newbie
Joined
Jul 21, 2019
Messages
1
Trophies
0
Age
22
XP
54
Country
United Kingdom
Have you stopped supporting the project? I can't seem to connect to the dshack shop. (As in, it has been shut down by request from big n)
 
Last edited by Qubemind,

PabloMK7

Red Yoshi! ^ω^
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,025
Country
Spain
Update!
In the last year I've been improving this tool to allow more advanced editing of kmp files. Here are the new features in V4:
  • Added stage information editing.
  • Added multiple view planes.
  • Added missing info to some KMP Sections (Most notably: enemy, item and glider routes) .
  • Added .div file support.
  • Added the possibility to create properly linked .bcmdl files from a .cmdl file so .div files work with it.
  • Added more options to the OBJ Manager.
  • Added KMP error checking.
  • Added WIP application help (includes help related to the kmp).
  • Added the ability to play intro cameras.
  • Other minor bugfixes and improvements.
CftxEhz.png
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: lol, Okies. Family graveyard is that way 👉