Beginner's guide to MK64n's method without patching + Tips for using 3DS MAX

Started by Miacis, August 15, 2010, 01:14:48 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Hello everybody, this is yet another tutorial about vertex hacking. :)


I don't know about you, but I've always found Vertex hacking ... very complicated and not really user-friendly. Lots of steps, easy to miss something or don't click on the right thing ... At least until now.
Two new ways of vertex hacking have been made and released recently. The DD Vertex Box 2 a few days ago, and mk64n's method without patching in June, for which he released a video tutorial some days ago too.
So, right now, anyone can get into Vertex hacking, I guess. It's still more tedious than some other forms of hacking, but it's very bearable.

I'm going to make a written tutorial about MK64n's last method, and giving a few beginner tips on how to 3DS MAX for some simple manipulations. The goal of this tutorial is to reach even the most newbie of the beginners, and is very detailled, especially for someone who has already used other methods of vertexing.

If you desire a tutorial about DDVB 2, search in this section, there are a few for different 3D softwares.


-----------------------------------------------------------------------------

You will need 3DS MAX 8 ! Not 2008, not 2009, not 2010, not 2011.
3DS MAX 9 apparently works too
(Thanks br3compactor for that info ! <3 )


1- Download AIS and install it.
Effect : Will transform your BRRES files into DAE files, usable by 3DS MAX.

2- Download COLLADA et install it as well.
Effect : Let's 3DS MAX import DAE files.

[Note : If the Installer can't detect 3DS MAX 8 on Windows 7 x64, try the 3.04 Installer.]

3- Open the PAC file you need to edit, with BrawlBox. Myself, I'll take Zelda and ... make her boots bigger, give her a bigger bust and put a comb on her head.
You can try and just follow the same steps as me if it's your very first time. :3
Click on ModelData[0] => 3DModels => FitZelda00 => Right-click and Preview.


Find the polygon you need to edit by checking/unchecking the polygons on the left side. Myself, i'll take polygon0.

4- Now, we need to get the Vertex Set of this polygon.. Go to FitZelda00.mdl0 => Polygons.Find your polygon, and look for its VertexSet in its Properties.


Close the Polygons folder, and look into the Vertices one, for a file whose ID is the number you've just noted down.


Right-click, and export this file in a new folder you have made just for this vertex hack, where we'll put all our stuff. :P Note down the MDL0 Offset too.


Now, let's export more stuff ... Exportz the FitZelda00.mdl0 file, the ModelData[0].brres file, and finally all the textures (TextureData[0] => Textures).
Textures are not necessary, but it's better to see them in 3DS MAX.  :3


5- Double-click on the .brres file and AIS should convert it and create a DAE. If not, try to drag-and-drop it in AIS.exe.

6- Start 3DS MAX 8. You should ease your life by enlarging as musch as possible the view you have on the bottom-right.
Click on MAXScript in the taskbar, and on New Script. Then copy MK64n's Script :
Sorry but you are not allowed to view spoiler contents.


Save it with a pretty name (vertex ?), in a folder that you access quickly. Then do MAXScript => Run Script and choose your vertex.ms file. A window will pop out.
http://a.imageshack.us/img831/5205/41130057.png

7- Put this window aside, we'll get back to it later. :3

In 3DS MAX itself, do File => Import and choose COLLADA in the file types. Load the DAE, making sure that the next two options are checked.


[Note : it has been reported that the COLLADA plugin might have problems under Windows Seven ... try to run it as XP if nothing shows up here.]

Your character will look quite weird, so click on Fix AIS Import in the script's window, making sure that Scale is checked.


8- Select your polygon, then Right-click => Hide Unselected.


9- Now, let's start with the vertexing.  :3

Camera Controls : Use the Mouse wheel to zoom in and zoom out.
Hold the "Mouse-wheel button" and move your mouse around to translate the camera. Hold the Alt button + the "Mouse-wheel button" to rotate the camera around your object.
Select an item (polygon, vertex, group of vertexes, "element"  ...) and click on the little white cube in the bottom-right of the window, and the camera will now turn around that item.


Select your polygon, then click on the sort of blue rainbow on the top-right, and on Edit Mesh. Activate the button with the three red dots if it's not already done.


10- Modify the position of each vertices to make your hack !  :D

(The next three appendix are the detail of the three typical modifications that I'm going to make, and their goal is only to help you learn to use 3DS MAX better. Don't hesitate to skip them if you have mastered the sofware of course. Otherwise, I highly suggest you to take a look at those.)
Sorry but you are not allowed to view spoiler contents.


11- Once you've finished all the tedious editing ... SAVE YOUR WORK !!!
File => Save to do this.

12- Now, you need to conform your model to the game's polygons. Right-click on your polygon (not a vertice, but your polygon) then Clone.
Choose Copy in the window that pops up and name it mod as an example.


Right now, the copy is overlapping your starting polygon. Move it aside (check that in the top-right, above the Edit Mesh, that you're indeed moving the mod).


Let's undo the modifications of your initial polygon0. For that, just click on it, then on the little bulb next to the Edit Mesh.


(Clicking on the bulb again will put back your modifications. :3 )
From now on, the light bulb near the "Edit Mesh" of the model that you've edited should be OFF all the time !!  You need to remove the edits on your base file before morphing it with the copy and vertex set. Always.

13- In the script's window, click on Import Verts and select the Vertex Set you had extracted in the beginning of this tutorial. It appears at the feet of the polygon0, but invisible.

14- Now, it's time to "patch" ! Click on the polygon0, and on Morpher (under Edit Mesh).
Right-click on -empty- then Pick From scene, and click on your mod.
Right-click on the second -empty-, and Pick from scene. The vertex set being invisible, just hit H on your keyboard to see all the elements of the scene. Choose the vertex set and then Pick.


Up the number near the mod box to 100. Your polygon0 should take the shape of your mod.
Now up the number near the vertex set to 100. Your polygon0 will start looking like a melted blob. Don't panic, it's normal !


15- DIn the script's window, uncheck Read Offset from file, and just under it write the MDL0 Offset you had noted in the beginning. :3


Make sure that the polygon0 is still selected, close all your BrawlBox windows and click on Export Verts in the script's window, then choose your FitZelda.mdl0.


DONE ! It will lay the polygon0 on its back but it doesn't matter. XD

16- Open your FitZelda00.pac, go to the mdl0 and right-click => Replace with the shiny mdl0 from your folder. Then Save As ... to get your modified PAC.

And if we preview it ...


-----------------------------------------------------------------------------

Double patching :



17- 17- But if we look at her feet ... something's wrong, baby. Modifying the legs/feet or arms/hands will cause a distortion on the left side. You'll need to re-patch to correct this. Of course, there's no need to double-patch if you don't have any issue.  :kdance:

Just like in the beginning of the tutorial, you ned to extract the mdl0, brres and textures of your new PAC. (Create a sub-folder for the double-patching, you wion't get lost, that way.  :-\ ).
Convertyour new .BRRES into a DAE (which i'll just call "the new DAE" from now on).

18- Back into 3DS MAX, click on your melting blob and Hide Unselected.
Import the new DAE, push OK in all the windows saying there's an Import Name Conflict.

19- In the script's window, check Selected Only and click on Fix AIS Import.

Click on the polygon you're working on, hold CRTL and click on the melting blob. Do another Hide Unselected. There should be only the polygon03 (fron the warped new DAE) and the blob.

Move the polygon03 aside.

20- Click on the blob, go to Morpher, right-click on the mod box => Delete Channel, then right-click => Pick From Scene and click on the polygon03.

Up its value to 100. Leave the vertex set's box as it it : at 100.

21- Click on the blob again, again Export Verts (with the same MDL0 Offset). And select the mdl0 of your modified PAC (the one with the one-legged Zelda).

DONE !

22- Open your modified FitZelda00.pac, replace its mdl0 with your shiny doube-patched mdl0 that is in your sub-folder. Just Save As ... to get your final modified PAC.

End result :


A wonderful big-breasted Zelda, with a comb and giant boots. Definitely a great piece of art.  :af:

Well, that's it. You can use it in your game if you want.
Have a good day. And I hope you enjoyed.  :)

-----------------------------------------------------------------------------

ADDENDUMS :

Triple/Quadruple/Multiple patching :

If double patching still doesn't work, you may have to keep patching it again and again and see if there is any improvement.

BEWARE: NEVER TOUCH THE X BUTTON OR THE O BUTTON WHEN USING 3DSMAX (Thanks to br3compactor again for testing this himself. :P)
Round and round the signature goes ~
~ where it stops, nobody knows.

I'm sure this will help alot of people, least now they can't complain about there being no written guide. lol

thanks

-mariokart64n
Luka Megurine by mariokart64n
[Character-ImportModel-Zelda]

thanks this is what i did from this method ^^


Other RPCs
Sorry but you are not allowed to view spoiler contents.


FOOLY's HACKING THREAD
Kida's Pro Manga

Just wondering. Let's assume I'd like to make a more complex vertex hack which requires remapping the model; is there any way to do so? If yes, would you mind linking me to a tutorial or sth?

Thanks in advance and great tutorial!

Quote from: Miacis Kusanagi on August 15, 2010, 01:14:48 PM
[Note : it has been reported that the COLLADA plugin might have problems under Windows Seven ... try to run it as XP if nothing shows up here.]

*Is crying in addition to having an angry face.*

https://www.youtube.com/watch?v=http://www.youtube.com/watch?v=ufsf_-a_H9Q

3DS Friend Code: 2895-6640-9302

but I'm using win7, so thats not true. and that tutorial up there is just based on the video posted in my signature.
Luka Megurine by mariokart64n
[Character-ImportModel-Zelda]

Why are all these guides for this popping up AFTER I fixed my problem...D:

Great guide anyway, it will help a friend of mine who wants vertexing help.
STILL BETTER AT VEXING THAN TEXING

Why do my textures not show up in the model? I have them exported and everything.
And will this work with OpenCollada? Its basically the same thing. And on my list i dont even have Edit mesh, only editable mesh! WTF!!!! HALP APPRECIATTED DANGAT. >_<
Sig by Segtendo. Epic

You have to export your textures to the same place the dae is. After you import the dad, it should have the textures.

Quote from: standardtoaster on August 17, 2010, 06:19:01 AM
You have to export your textures to the same place the dae is. After you import the dad, it should have the textures.
I had everything ini place, i had the Textures, the Brres, the MDL0, and AiS!
Wait, i use AiS 1.1 becuz 1.3(which is installed) when imported is invisible. Should i use 1.3?
Sig by Segtendo. Epic

Quote from: Vuze on August 16, 2010, 12:35:23 PM
Just wondering. Let's assume I'd like to make a more complex vertex hack which requires remapping the model; is there any way to do so? If yes, would you mind linking me to a tutorial or sth?

Thanks in advance and great tutorial!
(I have no idea what remapping means. Hey guys, can someone whisper it to me ? ^^')
I don't really know, in fact. :P
The only thing I can advise you to do is to check MK64's numerous videos in the stickied topic. Some info are outdated, but you should get a few more infos.  ;)

Quote from: luigiman1928 on August 17, 2010, 12:38:21 PM
Quote from: standardtoaster on August 17, 2010, 06:19:01 AM
You have to export your textures to the same place the dae is. After you import the dad, it should have the textures.
I had everything ini place, i had the Textures, the Brres, the MDL0, and AiS!
Wait, i use AiS 1.1 becuz 1.3(which is installed) when imported is invisible. Should i use 1.3?
I think you've just answered your question. XD
Yes, try to install AIS, and then double-click on a .brres to automatically convert it.

If nothing happens, you'll need to have a look at the beginning of MK64n's video (that I link to in the very beginning) from 2:00 to 5:00 , where he explains it ... I think. (I didn't follow it, as I didn't have any problem, sorry. ^^')
Round and round the signature goes ~
~ where it stops, nobody knows.

every model needs a texture map.. anyway we can't remap them, there indexed somehow. verts that share a common coordinate aren't printed in the texture coordinate list. rather these welded verts are listed in another index. because my work flow works around using ripped models and texture projection. I never had the use for remapping, although its apart of my scripts interface. very lowlevel, but you can import them as verts and move them around. only good if you wanted to increase the resolution on a certain part. sometimes your luck and some pieces arn't welded, so you can move them entirely. but anyway in a nutshell, no you cannot remap, but you can alter the texture map using basic vertex import export.

I was going to import them into the texture coordinate editor but it gets complicated cause max needs a model with faces, and the texture coordinate list is different then the vert count.. anyway not supported by me
Luka Megurine by mariokart64n
[Character-ImportModel-Zelda]

Okay, I have SP3 installed and I have Collada installed, but upon trying File -> Import in order to test if Collada is working, COLLADA does not show up as a selectable item.

I am running them on Windows 7...Dammit.

3DS Friend Code: 2895-6640-9302

I'm having issues with this. All goes well until I export the verts for the first patch. I export them, and then my morpher chanels for the blob reset to empty and 0.0.

Anyone have a solution?

EDIT: Nevermind, I was usng an old version of the script.

New question, could you put in more useful screenshots than just the little boxes in the double patch tutorial? I'm having trouble telling if what I'm doing is right because that's all you're showing.

Quote from: Black Boo on August 25, 2010, 02:28:37 PM
New question, could you put in more useful screenshots than just the little boxes in the double patch tutorial? I'm having trouble telling if what I'm doing is right because that's all you're showing.
Will do. In the mean time, I can give you a little description of what's on your screen for each step so that you don't get stuck the time for me to do this.

*********************
Just like in the beginning of the tutorial, you ned to extract the mdl0, brres and textures of your new PAC. (Create a sub-folder for the double-patching, you wion't get lost, that way.  :-\ ).
Convert your new .BRRES into a DAE (which i'll just call "the new DAE" from now on).

18- Back into 3DS MAX, click on your melting blob and Hide Unselected.
On your screen : The melted blob is selected and alone on the scene, lying on the "ground". The Morpher values should be the same as before, but the polygon0 box is blue.
Import the new DAE, push OK in all the windows saying there's an Import Name Conflict.
What's new on you scene : the whole model with a glitchy side is here, selected, but not fixed yet though.

19- In the script's window, check Selected Only and click on Fix AIS Import.

On your screen : The melted blob and the (fixed) whole glitchy model are on the scene.
Click on the polygon you're working on, hold CRTL and click on the melting blob. Do another Hide Unselected. There should be only the polygon03 (fron the glitched new DAE) and the blob.

Move the polygon03 aside.
On your scene :
The melted blob is still in the center, the glitched polygon is on the side.

20- Click on the blob, go to Morpher, right-click on the mod box => Delete Channel. (The blue box will become -empty-) then right-click => Pick From Scene and click on the polygon03.

Up its value to 100. Leave the vertex set's box as it it : at 100.
The glitched polygon03 is still on the side. The blob should have very slightly changed when you upped the new Morpher value to 100.

21- Click on the blob again, again Export Verts (with the same MDL0 Offset). And select the mdl0 of your modified PAC (the one with the one-legged Zelda).
The blob is still lying on the "ground"

DONE !

***************************************
PS : If you have any particular step that you think needs pictures here, just tell. I wouldn't want to make unnecessary pics, and to forget important ones. ^^'
Round and round the signature goes ~
~ where it stops, nobody knows.