Kuribo64
Views: 10,984,664 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
07-12-20 12:53 PM
Guest:

0 users reading Collision tools | 1 bot

Main - Archived forums - SMG hacking tools development - Collision tools New reply

Pages: 1 2
blank
Posted on 07-09-12 02:20 PM (rev. 2 of 07-09-12 02:20 PM) Link | #143
I figured I'd post my tools on this board so we have all the hacking tools in one place.

collision_export
Can convert a number of nintendo collision file formats to wavefront OBJ files. At the moment the supported file formats are: Wii KCL (used in Super Mario Galaxy 1/2, Mario Kart Wii, Skyward Sword), COL (used in Super Mario Sunshine) and BCO (used in Mario Kart: Double Dash).

Usage:

> collision_export infile [outfile]

where infile is the collision file to be converted and the optional argument outfile is the name of the resulting OBJ file.

Download: collison-v0.6

collision_creator
Convert a Wavefront OBJ file to a KCL and PA file that can be used for collision in SMG1/2. Requires Python 3 with PyQt4 installed to run. Check the README for more information.

Download: collision_creator-v0.7

Arisotura
Posted on 07-09-12 02:32 PM Link | #145
Thanks, this seems like it'll be useful. :)

Is there source code availabe with those tools, too? It would help making a model importer for Whitehole a lot.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

blank
Posted on 07-09-12 03:07 PM (rev. 2 of 07-09-12 03:07 PM) Link | #146
Yep, the source is included in the download.

MK7tester
Posted on 07-09-12 03:12 PM Link | #147
Blank, we need a model importer like Frauber's obj_import for SM64.

Arisotura
Posted on 07-09-12 03:15 PM Link | #148
Well thanks, that'll be helpful :)

Also, does it generate good collision maps, or do they have holes or other bugs?

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

blank
Posted on 07-10-12 12:12 AM Link | #149
As far I know it generates perfect collision maps, but as I said it hasn't been tested that much. The only problems I have experienced so far hasn't been caused by the importer itself, but by badly formed OBJ files. Long, thin triangles for example will cause problems, but that is because the game can't properly collision test with such triangles, it's not a problem with the importer.

Silver_mkll: I know and I'm working on one, but such things takes time.

Arisotura
Posted on 07-10-12 06:38 AM Link | #150
Hmmokay, this is interesting.

Though, merging it with Whitehole would require a rewrite, and gah I don't know shit about Python... and for now there are higher priorities for Whitehole.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Gericom
Posted on 07-10-12 01:50 PM (rev. 2 of 07-10-12 01:50 PM) Link | #181
Posted by Mega-Mario
Hmmokay, this is interesting.

Though, merging it with Whitehole would require a rewrite, and gah I don't know shit about Python... and for now there are higher priorities for Whitehole.

I can give you my collision generation code from mkds course modifier. Blank edited his code so it worked for mkds. But much is the same and it can help you.

ray
Posted on 07-10-12 02:20 PM Link | #183
Posted by Gericom
Posted by Mega-Mario
Hmmokay, this is interesting.

Though, merging it with Whitehole would require a rewrite, and gah I don't know shit about Python... and for now there are higher priorities for Whitehole.

I can give you my collision generation code from mkds course modifier. Blank edited his code so it worked for mkds. But much is the same and it can help you.


NOOO xD You first have to fix the "edge collision problem" :D xD

____________________
Check out my Patreon Page if you want to support me :)



Gericom
Posted on 07-10-12 02:23 PM Link | #184
Posted by ray
Posted by Gericom
Posted by Mega-Mario
Hmmokay, this is interesting.

Though, merging it with Whitehole would require a rewrite, and gah I don't know shit about Python... and for now there are higher priorities for Whitehole.

I can give you my collision generation code from mkds course modifier. Blank edited his code so it worked for mkds. But much is the same and it can help you.


NOOO xD You first have to fix the "edge collision problem" :D xD

Good idea :P I will send chaddaz an email tomorrow.

ray
Posted on 07-10-12 02:28 PM Link | #185
Yeah thank you very much! That bug is the only thing blocking our way to very nice CT's :D

____________________
Check out my Patreon Page if you want to support me :)



Arisotura
Posted on 07-10-12 02:36 PM Link | #186
Erm this thread is about SMG tools, guys... if you wanna discuss about MKDS custom tracks, there's a forum for that ;)

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Gericom
Posted on 07-10-12 02:38 PM (rev. 2 of 07-10-12 02:38 PM) Link | #187
Posted by Mega-Mario
Erm this thread is about SMG tools, guys... if you wanna discuss about MKDS custom tracks, there's a forum for that ;)
No, the code I use is based of blanks code he made to work with mkds. But the base is the same as the one for smg.

Arisotura
Posted on 07-10-12 02:39 PM Link | #188
I was talking to ray, since he started talking about MKDS tracks...

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Gericom
Posted on 07-10-12 02:40 PM Link | #189
Posted by Mega-Mario
I was talking to ray, since he started talking about MKDS tracks...
Okay

Goembario
Posted on 06-08-13 03:04 PM (rev. 2 of 06-08-13 03:07 PM) Link | #24384
Hmm when I just rescaled my planet and reversed a texture upsidedown, the collision tool gave me this error:
[image]
Any idea what I did wrong?
It just did it's job before rescaling and the texture fix.

Edit:
Also: https://www.dropbox.com/s/ep1fo1z5ac4ijyv/test5.obj
Its the .obj file.

shibboleet
Posted on 06-08-13 03:09 PM Link | #24385
Just drag the .obj into the .exe

____________________
a

Goembario
Posted on 06-08-13 03:18 PM (rev. 2 of 06-08-13 03:21 PM) Link | #24387
Thanks but I still get the same error o_O
edit: I forgot to say it outputs the .kcl file, but, no .pa file...

NWPlayer123
Posted on 06-08-13 03:23 PM Link | #24389
are you opening the exe and importing the file with the GUI? .,O

____________________
"I hate playing musical chats" ~ Quote of the month

Goembario
Posted on 06-08-13 03:25 PM Link | #24390
Uh normally I do yes, why? :P
But I also tried MrRean's suggestion.
Pages: 1 2

Main - Archived forums - SMG hacking tools development - Collision tools New reply

Page rendered in 0.042 seconds. (2048KB of memory used)
MySQL - queries: 30, rows: 240/240, time: 0.028 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.