Difference between revisions of "Talk:KMP Cloud"

From Custom Mario Kart
Jump to navigation Jump to search
m (Undo revision 31244 by Guilmon (talk) Mediafire account NOT banned, it was saying MINE was banned)
Line 86: Line 86:
  
 
--[[sup3rsmash8]], 22:05, 16 November 2012 (UTC)
 
--[[sup3rsmash8]], 22:05, 16 November 2012 (UTC)
 
== Mediafire account terminated ==
 
 
The Mediafire account that hosted the download for KMP Cloud was terminated, just like mine was. I'm afraid Nintendo might be trying to hint at something since they're targetting MKWii modders.<br>--Digital Monster, [[Guilmon35249vr]] 17:46, 7 February 2013 (UTC)
 

Revision as of 17:55, 7 February 2013

Wow! I am really looking forward to this! Really! It would be nice to have a single program that can both add items to the KMP & Place them! I'm just wondering, what did you mean by OBJ Import? I had an idea a long time ago, and it was like this, where you would place objects in groups like (For example) an item box model would be placed in the courses model, and then pasted in place into another Sketchup Window. Then, all item boxes would be in group "Itembox.brres", and each of those in a group within the group in Number like 1, 2, 3... So, if I had placed 3 Boxes, I would put item box 1 into group "itembox.brres:1". And then the exported OBJ would be exported read each object from each group, like it woukd read the group "itembox.brres", and read each within by reading th Numbered groups for each object of that kind, so it reads the Y/X/Z Cordinances, and place that Object in the KMP. Is that what you mean't by OBJ Importing? I had this idea long ago. -- SuperMario64DS, 00:14, 23 January 2012 (CET)

Object List

If you want a text file with all Objects with or without the flags (like KMPItems.xml), just tell me and give me the wanted format. I can also create source code to use it directly in your software.
Wiimm 18:39, 6 March 2012 (CET)

Well I don't specifically want to use it, but the ObjectNames.dll file is fairly simple in structure. It has a GetName function as well as a GetIdx function, and a string array with all known ID's and that's it. Im not sure if that are the right method names, Ill edit it tomorrow if it isn't right. GetName requires an Int32 as input(just "int" in C#, but for you Ill specify the size :P), and GetIdx requires string as input. I don't know the namespace name right now, so I'll have to look for that. I don't know if C and C# can go hand in hand, or if the reference works on any ObjectNames.dll, but if it can, feel free to distribute a self-made ObjectNames.dll.
--Vulcanus2 23:30, 6 March 2012 (CET)
Again: I can easily create a text file in any format, ans also C# source. Here I have different source lists and a script, that reads all of them and create:
  • C sources for my tools.
  • A little DB for the online object query.
  • Another little DB for the online track reference.
  • The wiki table for page "Object".
  • KMPItems.xml
It's easy to support other text exports. I need only the text format (e.g. example code).
Wiimm 11:55, 7 March 2012 (CET)
Does this offer still counts? for the next version of KMP Cloud I'd like a txt file in the following format:
name|description
Each object (including non-existing ones should have 1 line, non existing object could just have an empty line), this way custom object slots which might me made in the future are also supported.
--Vulcanus2 21:48, 10 May 2012 (UTC)
Yes! Please give me an example code with:
  • Beginning of the file (cut+paste)
  • 1 or 2 example objects
  • end of the file (cut+paste)
Do you need an additional header file? See this for example and suggestion:
Sorry for the late answer -- Wiimm 17:11, 4 June 2012 (UTC)
Well it's simply that each line represents an object ID, I'll add my header above it later on so you don't have to worry about it. Objects that don't exist should be an empty line, with exception from 0000, which is called the "null" object in KMP Cloud (see example).
Also a thing to mind is that I use a special char to specify a new line: ~, but since I don't know yet how long a line should be, I'll take care of it later.
Well an example of the start (I have cut some descriptions that are too long to fit on 1 line on the wiki):
null|This is an empty object, it's not loaded in-game.
airblock|The airblock is a solid object with the wall va...
Psea|This is the sea seen on GCN Peach ...
lensFX|Generates a lens flare object when looking at the sun. It's also highly recommed to place this object near the sun. 
Now an example of a middle part (starting with object, and also line 0xc7):


f_itembox|A route controlled itembox, you can edit it either explodes or loops. MashBalloonGC|An airballoon as seen on GCN Mario Circuit. It has an assigned route but also floats from Y to Y. CarA1|Moving Car from Coconut Mall. It moves exactly like WLWallGC but instead left <> right.
As you see in this example 2 lines are empty because those objects don't exist.
I hope it's enough for you. I intend to put the file both locally and online. The online list will be automatically used in KMP Cloud unless it's set to load the local version, or the connection fails. This way it can be kept up-to-date without the need to update the program itself. The format may be extended in the future, but I have to get to that part in programming yet.--Vulcanus2 19:57, 4 June 2012 (UTC)
Here we are: http://szs.wiimm.de/cgi/mkw/object-export/a.txt?mode=kmp-cloud
Some notes:
  • The list is directly generated from my db. See http://szs.wiimm.de/cgi/mkw/object for the last update.
  • You can select any name behind "object-export/" and before the question mark. This means: Direct exporting with a generic file name.
  • Tell me, if you need some character escapes. In this moment just all control characters like newline are removed.
Wiimm 20:45, 4 June 2012 (UTC)
Thanks :P --Vulcanus2 20:56, 4 June 2012 (UTC)

Help Page

I downloaded it, but i have no idea how to use it. Is the help page done soon?
PC Freak 14:25, 3 June 2012 (UTC)

I wasn't even working on it. I know I should finish it, but I'm also working on Wetland Woods and I have homework etc.
Once I'll finish that page, but not now. --Vulcanus2 14:41, 3 June 2012 (UTC)
OK, but if its finished I can create a version for in the software. I have a program to make it.
PC Freak 15:31, 3 June 2012 (UTC)

Bugs

There is one thing that just screwed me over with this tool. The new version (1.2) damages the KMP file, assumingly, as my track (DS Bowser Castle) crashes upon startup.

This didn't seem to happen when I had 1.1, so, why now? And I can't downgrade to it, because it says I have a newer version... even after uninstalling it.

Now my KMP crashes the game and I have to reconstruct it ALL over again... rage...

--sup3rsmash8, 21:41, 16 November 2012 (UTC)

It may not be the KMP Cloud causing this error, perhaps you damaged the KMP yourself, as I've had no problem using this version of the software. I'd recommend downloading Wiimms SZS Tools and running the KMP Scan function, and if there are any errors you (Or even the software) could have caused, it will most likely locate it. --SuperMario64DS 20:48, 16 November 2012 (UTC)


Hmm... I just checked with Wiimm's KMP Tool. Wrong of me, lol. There was an Enemy Route Group with no points. :P

I was getting the temper because I had the same problem a few months earlier with the software.

Thank GOD I don't have to remake it... (although, you could copy over the values, of course)

--sup3rsmash8, 22:05, 16 November 2012 (UTC)