|The Autumn logo competition is now open, please submit your entries via email to f4r. You must supply both a high-resolution PNG file and the original multi-layer source file, along with a qualifier version. Entries will be posted to the wiki as they are received, submissions will close 23:59:59 UTC on the 29th of September. This will be followed by a week-long poll. Cloverball logo: .ai .png .svg|
|The content of this page or section is incomplete because we're a bunch of lazy fucks. Feel free to help out.|
- 1 Introduction
- 2 Tools and Requirements
- 3 Tutorials
- 3.1 Basic Head Model
- 3.2 Card/Box/Cube/Flatheads
- 3.3 Facemasks
- 3.4 CM3D2 Heads
- 3.5 Balls
- 3.6 Static Models
- 3.7 Full-body Models
- 3.8 Short & Simple
- 4 Misc
- 5 Recommended Reading
This page tries to put all the important Blender tutorials in one place instead of having them scattered all over. Contributions are very welcome since as of first draft this will be based on personal workflows instead of maybe the most optimal way to do this, but it should be enough to get people started. Videos detailing all tutorials should be coming soon hopefully.
Keep in mind, if you're stuck at any point you can always join the /aesco/ Discord or ask in /4ccg/ and someone who went through the same steps once will help.
Tools and Requirements
These are the general things you'll need for pretty much everything. More specialized tools and files will be linked at the beginning of their specific tutorial.
This is your most important tool. The most used versions are 2.67, 2.71, 2.78 and 2.79. Getting 2.71 for RigEx and 2.78 for PES Face Tools is probably the safest bet but as you get more used to Blender in general it all comes down to personal preference.
An Image Editor
Again, one of the basic aesthetics tools that's all down to your personal preference. Only requirement is the ability to handle the DDS image format. Most used programs are Paint.NET, GIMP and Photoshop.
- GIMP and gimp-dds, the plugin you need for importing/exporting DDS in GIMP, read the readme. The GIMP UI was slightly redesigned after 2.8 so if 2.10 feels weird going back to 2.8.22 is recommended.
- If you want to use Photoshop you probably already have it, otherwise sail the seven seas it should be easy to find.
Blender Plugins and Config
All the most important import/export scripts plus the PES face and stadium tools packed into a single download. Also includes a standard Blender config. Copy and rename for all Blender versions you have.
Basic Head Model
This is the first thing anyone should learn about Blender and PES aesthetics. It's simply the process of taking an existing model and making it usable for PES, but thanks to how basic it is it functions as the foundation for all the other more advanced Blender stuff. Everything else simply adds extra layers on top of the basic process.
First download the base folder and then watch the video tutorial which should cover everything. The video tutorial is made for MMD anime heads but the process for any basic head replacement model is exactly the same so going by the video should be good enough.
A process even more basic than the Basic Head Model thanks to pre-existing templates and also one of the few tutorials that doesn't necessarily require Blender. You can also skip using the templates and instead go for some Blender practice by making your own heads, but for getting the job done quickly simply editing the clearly labelled textures in the templates is the way to go.
As for making your own heads, simply go Add -> Mesh -> Cube in the bottom bar left corner in your Blender window for Boxheads and double-sided cardheads, or Add -> Mesh -> Plane for a cardhead with a normal front and a flipped back. Scale the new mesh to your liking with S (rememeber the axis-lock function of S, then X, Y or Z), create a UV map for the mesh (easiest way to get it right quickly is to position the camera directly in front of a face, select only that face and go U -> Project from View in Edit Mode and repeat for the other faces). Then just use the UV editor to fit your UVs to your texture, triangulate the mesh with CTRL+T and you're done.
If you want your self-made cardhead to only be visible from the front select the backside of it in Edit Mode and then press N while your cursor is in the 3D window which opens up the right sidepanel. Towards the bottom is a heading Normals with three boxes next to it, click the rightmost one which will show the normals of all faces. Small cyan lines will appear, in short these control which way the face is facing which helps PES decide if a face should be rendered or not when viewing from a certain angle. Make sure you've selected only the backside of your cardhead and press CTRL+Shift+N to flip the normals so they're pointing into the model and not out of it. If CTRL+Shift+N doesn't do the trick try CTRL+N to recalculate the normals, they may already be flipped for some reason. Now with the face normals flipped you can export your model and do a final finishing touch in the template files. Open hair.mtl in a text editor, go to the very bottom to the material named hairparts_htShader, look for the state twosided and set it to 0. This tells PES your model's normals are configured correctly and it can stop rendering them when they should be invisible and blame all possible fuckups on you instead.
A way to give human players a custom face without having to either use a cardhead or hunt for a model which most likely doesn't exist if you're considering facemasking. Also includes the added benefit of keeping the PES facial animations intact so your player can show emotion which with good facemasking work can make for an excellent-quality playermodel without tons of work.
Basically how it works is you edit your player's face into a default PES face texture, align it with the template model and then pick the right hair model and texture files from a pre-made pack and recolour the hair textures if needed. Getting the process down is a bit of work but once you're familiar with it churning out facemasks is a simple and easy process.
- Facemask Template - A generic facemask template, very useful except you might want to swap the face texture depending on your source image
- Facemask Template Overlay Edition - Modified template to use the Overlay shader for sometimes better-looking results, explained in more detail in the actual tutorial
- PES17 Hairstyles - All the PES17 hairstyles and their textures in a simple pack
NOTE: This part is based on personal preferences and done entirely in GIMP, Photoshop at least should have a very similar process but mind the possible slight differences.
First off start by finding an image of the face you want to facemask. An ideal source image is a relatively high-res photo showing the face from a straight angle so you can cut out the entire face and a bit of spare skin as well. For example this is a very good source image.
For your first couple of facemasks the template folder is usually good enough, but generally it's worth the trouble to grab some of the default PES face folders by first extracting dt36_win.cpk from your PES Data folder and then extracting a bunch of the resulting face CPK files and finally unzlibbing them all to take a look at the textures. This will possibly save you a good bunch of trouble especially if your reference image is anything other than a brown-haired slav. Simply look for a face.dds that matches your source image at least in skin colour and copy that over to your working folder over the template face.dds. You don't need to worry about hair textures or the model files because the template ones are better for the job.
Now from the template folder open face.dds in an image editor, and copy-paste your source image into another window in the same image editor. Then with the Lasso/Free-select Tool select the entire face and as much skin around it as possible. Usually the best is to follow the jawline and after that the hairline, making sure to not include the ears and trying to include as little hair as possible. When you have your face ready to transplant, copy-paste it over to the face.dds window and scale and rotate it to fit the face. Setting the source face's layer to around 50% opacity helps a lot. Try to position at least the eyes and the mouth correctly, the nose might be a completely lost cause but getting it close enough is good if you can match the eyes and mouth perfectly. After you're happy with the positioning just mess with the sliders to try to match the skin colour and brightness of the PES face texture. Generally just using Brightness/Contrast and Lightness/Saturation in GIMP is enough to get an acceptable result. Once the colour kind of matches erase any rogue bits of skin that are overlapping hair or beard or generally out of place and finally start making the finishing touches and blending the edges of the source image into the PES face. For GIMP running the Healing Tool along the edges of the source face will usually do a good job, for more difficult blends the Clone Stamp is a good addition to the Healing Tool. Once you're happy with the texture it's time to move to Blender for some very final touches, the hard work is already done.
In Blender, import the face model from the template folder and set it to use your new face texture as the texture. Position and scale the UV to fit the texture, the mouth and the eyes are the most important as before, the nose is just kind of 50/50 depending on your luck. Once the positioning is OK and the model looks good in Blender you can just simply export the face model and move on to picking the perfect hair for your new player.
First you'll want to open PES, go to the Edit Menu, then choose a random player and go to Appearance -> Hairstyle, reset the settings if asked to and start re-creating your source's hair in PES. Getting it 100% is probably going to be impossible so don't stress about that, simply good enough will do just fine. After you have recreated the hair in PES, go to the PES17 Hairstyles folder and read the .rtf tutorial there. The only difference I'd recommend trying is if using Multiply as the mode doesn't give good results try out other modes as well, I've had better success with Grain Merge since Multiply tends to get a bit dark. Once you're done editing the hair textures do the final finishing touch of editing the hair in the face texture to fit the actual hair colour as well. Once that's done your facemask should be ready for use, compile and test out in PES.
If you're unhappy with how the facemask looks and the reason for it is too much detail like creases which make it hard to make out the features of the actual face it's supposed to be, first of all make sure face_normal.dds, face_normal_detail.dds and face_specular_roughness.dds are all white. If they're white and you still have the same problem open hair.mtl, look for hairparts_htShader and set its shader to be Overlay. Re-compile and see if the face looks better in PES, don't mind the fact that the neck is black we're going to fix that later. It it looks better read on for the Overlay trick, otherwise it's probably a problem with the texture or the UV alignment of the face model.
The Overlay trick is a modified hair_high_win32.model file that fuses a copy of the hair_1 mesh into the hair_0 mesh so that the back of the model's head doesn't turn black when using Overlay as the shader. If you want to use Overlay as the shader for your hair, copy all of the files from the Overlay template folder into your facemask's folder except for face.dds if you have already made your facemask texture. First of all open hair_col.dds in an image editor and copy-paste your face texture over the existing one and make sure to keep the right side of the texture transparent. Then import both face and hair into Blender and fit the face UVs into your texture as usual. Then open up a second Blender window and import the hair model you picked when re-creating the hairstyle in PES. Copy the hair_2 mesh and in your original Blender window select its hair_2, change to Edit Mode, select it all with A and move it aside. Back in Object Mode paste your copied hair_2 over to the original window, select it, select the original one and press CTRL+J to join them together. Change back to Edit Mode, select the entire original hair model you moved aside and delete it by pressing X and confirming deletion. Export your hair, compile and try it out in PES to see if it's any better compared to the default template. It might crash PES either in Edit Mode or in-game if something went wrong during the process in which case either try again from scratch or give up, it's a hassle to get right once it's gone wrong once.
For when you can't find a model for an anime character but really want them to have a model anyway. Lets you frankenstein your own anime girl from pre-existing pieces which you can then import to Blender and turn into a face model to get around the no MMDs problem.
To begin with you will require the CM3D2 game in some form. Be warned before doing this, CM3D2 has an *extensive* selection of DLC. This means that with enough intuition and elbow grease you can effectively create any anime girl you want with the enormous variety of individual models available to you. This however also means a hefty initial download size and chunk of disc space taken that only increases with mods and, if you take the complicated route, extraction of the individual models and textures.
To download and learn about the game I would recommend visiting the CM3D2 /h/ thread as it by far the best resource and any guide I would make regarding installation would be just reiterating what is already written there. It also has numerous resources for mods and plugins.
- The simple and easy method involves converting a girl made in the actual CM3D2 game to MMD format with a tutorial that can be found here. (Be warned it is Deviantart tutorial and reads like the average shit you find there). Once converted simply follow the same steps as converting an MMD to PES model.
- The limitations of this method are the limitations of the CM3D2 character creator. While there is a vast selection of parts and numerous mods available to expand further the truth is that even with all that there is no guarantee you will be able to make something that accurately looks like the girl you want. In addition to this CM3D2 textures have a look that can be considered inaccurate and sometimes ugly, especially concerning the garish hair shading.
- To make some of the more complex (or ludicrous) anime girl designs from your favourite trash you will probably have to use a more complicated method of extracting and importing individual model parts from the game instead of importing one whole girl. This can be a painful and time consuming process but will also allow for models that look much more similar to the source material and allow you to stitch together different parts in a way CM3D2 itself does not allow.
- Tutorial for this will come soon(tm). It's gonna be a big one.
Maybe a little out-of-place in the midst of nothing but player aesthetics tutorials, but balls are Blender work as well so might as well have them here.
This is one of the tutorial's you'll need RigEx for, so boot up your Blender 2.71. First of all open and prepare the model you want to use as a ball. It should be cleaned and textured, ready for use in PES before you start working on actually making PES load it as a ball. Once your model is ready grab the ball template and dump it into your working folder. Using RigEx's PES Model Importer at the very bottom import unzlib_ball.model for reference and then copy the model you want to use as a ball into 2.71. Scale it so it's around the size of the reference ball and once you're happy with the size, delete the reference ball and start preparing the new ball model for export. First in the PES Model Exporter click Create Export Parent which will add a parent object every child of which will be exported into the final model. Select the folder to export to under Export Menu and then re-select your new ball in the 3D window. Back in the exporter click Set to assign it to the export parent, make sure the field next to Object has Ball as the mesh name and finally click Add UVs to add the UV Maps the exporter needs for the exporting process to work. Finally re-select the item called EXPORT in your top right corner and press Export .model File under Export Menu and your ball model will be exported. The exported model will always be called export.model so rename it to be ball.model instead. Copy your model's texture into the folder as well and replace ball_c.dds with it and your ball is done. One extra bit you might want to do is add this state <state name="twosided" value="1" /> to you ball.mtl under the samplers if you ball has any complexity to it and its normals aren't set up correctly. If any part of the ball is invisible from certain angles when testing this state will fix the problem. Finally change ball_016.dds to be your ball thumbnail in advance and move on to testing the ball in-game.
Testing the ball in-game takes a bit of effort. You'll need to build you own test CPK and possibly even edit the Ball.bin file if you want the ball's name to show up correctly on your end. The ball model, MTL and textures go to common\render\model\ball\ballXXX\ where XXX is a 3-digit ball ID with leading 0s usually between 1 and 50 if you're using the 4cc ball pack, so for example 016 for ball ID 16. The thumbnail goes to common\render\thumbnail\ball\, don't forget to change the ID in its name to whatever ID you're using for your ball. Ball.bin goes to common\etc\pesdb\. If you want to edit the Ball.bin first of all extract your current 4cc_38_balls.cpk and grab the existing Ball.bin from there. Then simply open it in a hex editor, locate the name of the ball you're overwriting and change the name to your ball's name. Save the file and add it to your test CPK. However please don't submit a modified Ball.bin if you're submitting a ball to a tournament since the aesthetics compiler person will build a new one with all the balls for that cup anyway and extra files will just be extra hassle.
A direct expansion on balls, static models are also done in RigEx and simply glide around the pitch. The method of making them is almost identical to balls and it's ideal for models like cars since they don't need to move in a specific manner, just gliding is enough. This tutorial will also be good XML and MTL editing practice since you need to load a whole new model and change an MTL to accommodate.
The above template includes a face model and MTL that when used together completely hide the PES face/neck which is what we want for a static player. It also has a basic APC MTL included, keep this around as well since we'll need it for the static model. Torva is a random model I had handy that can be used as a scale in RigEx since both its scaling and origin values are different compared to BA's plugin. Kitmanager will be used later to make the default PES player disappear, it's needed in order to edit the kit configs without having to hex edit them.
Start by having your static model basically ready to be put into PES. Have it cleaned and textured just like in the balls tutorial and then open Blender 2.71. Using the importer import oral_torva_win32.model and then copy-paste your static model over to the 2.71 window. The reference model is very close to the size of a normal PES player so scale your model with that in mind and please keep the size reasonable. After you're done scaling you can delete the reference model and start setting up the exporting process. First of all in the Exporter press Create Export Parent and in the slightly changed window select the folder you want to export to. Re-select your static model in the 3D view and again in the Exporter click Set to assign it to the export parent, then either change the name next to Object to whatever you want to call the mesh or take a note of what the current name is and leave it unchanged, and finally press Add UVs to create the UV maps the exporter needs. Now select EXPORT in your top right corner and in the Exporter press Export .model File and you model will be exported. It'll be called export.model by default so rename it to oral_<model>_win32.model. The <model> part can be whatever you want as long as you have both the oral_ prefix and _win32 suffix.
Now it's time to set up your player's face folder so the static model is loaded correctly. First of all add the model's loading line to your XML <model level="0" type="parts" path="./oral_model_*.model" material="./apc.mtl"/> and remember to change oral_model_* to whatever your model's name is, replacing the win32 with *. Then open the apc.mtl included in the noface template and change the material name to be whatever you named the mesh before instead of skin_limb. After that also change the DiffuseMap path to point to your model's texture instead of a skin texture and your MTL is also set up. Now you can add the player to your aesthetics export and compile.
Before testing it out in-game we're also going to have to take a slight early peek at FPC to make the default player disappear so that the static model will be the only thing showing for the player. Read through the FPC page and then using Kitmanager set up your kit configs for FPC. After that set Left Wrist Tape for everyone on your team that shouldn't have the static model, and for the player with the static model set full FPC. Now you should be able to test the model in-game and it should only have your static model and none of the default PES player bits.
For when the default PES body just isn't enough. Replacement of the entire default PES player with your own model that also moves like a player, or at least close enough. This tutorial talks about a complete body replacement but the same principles and techniques apply for replacing only certain bits of a player or adding extra stuff to a normal PES player model. These will have their own section but it's best to know the theory behind replacing a full body to help make smaller replacements and additions easier to understand.
First of all read the pastebin guide by Shakes and download the template folder which contains the very useful medical_staff.model and the face files for hiding the player's face/neck. In addition reading up on FPC is greatly recommended to understand how to make the default players disappear, whereas reading up on APC is not as important but still a good idea if you want to understand the PES model loading process a bit more closely. The Kitmanager linked with the templates is used to modify the kit configs for FPC. The guide is very feature-packed but everything in it is a worthy read and gives you everything you need for working with FBMs. The only thing I'm going to add is my method for dealing with source models with no skeleton since having a skeleton is pretty rare outside of anime models, especially when dealing with rips and low-quality models.
The usual problem with skeletonless source models is the fact that it's not in the exact T-pose PES wants. The lack of a skeleton means you'll have to manually bend them to shape. There's several ways to do this and someone probably has a more efficient method but here's what I do regardless of the model and it's stance.
Usually the problem are the limbs as the torso is probably still in a relatively straight stance so I'll focus on limb-mending. The same process will work for a torso as well though. What you'll want to do is locate the uppermost spot (i.e shoulder) where the source model doesn't match the medical suit, then in Edit Mode select all the faces up to that point in the limb and then rotate along an axis by pressing R and then either X, Y or Z depending on which way you need to bend the limb. After you've bent it a bit, grab the faces with G and drag the limb around until the distortion caused by the rotation is smoothed out and the limb looks natural again. Rinse and repeat until that bit matches the limb of the medic suit and then start slowly making your way down the source model's limb, de-selecting one "ring" of faces at a time and rotating-grabbing-fixing until the entire limb matches the medical model's limb. During this process you can also shorten/lengthen the limbs smoothly as well since they'll need to be at least close to the length of the PES limbs for the painting to work optimally. Once you've done this a couple times you'll start getting a feel for how much you need to rotate the limb and along which axis to nail the transform first try.
There'll be a video here at some point hopefully soon since watching someone else do this process is probably a lot easier to understand.
Short & Simple
Smaller tutorials that are more like nifty tricks that enable you to do some cool stuff. Most are just layers on top of FBM and most also have very easy templates that do most of your work for you. This is also the point where you might want to read up on APC if you didn't do so already since all of these will assume you know how to add models to load into the XML and make sure the MTL they point to is correct.
Custom skin means exactly what's on the tin, you're giving your player custom-coloured limbs, most likely to fit better with the head/neck. Also gives a decent intro into APC and some hints about FPC if you haven't had a look yet.
Custom human limbs is actually very easy thanks to the template. All you need to do is pick the correct files and put them in your player folder, edit skin_color.dds, copy the right lines from the .txt file in Config and PES will load custom-coloured limbs for your player. Remember to set invisible skin in an editor and you're all done.
Attaching Parts to Players
Also known as APC, it might seem a bit weird to have this only after learning how to do full-body models but most of this will actually require at least some understanding of weight painting so better have it here than before the weight painting tutorial. If you haven't learned how to weight paint yet take a look at Full-body Models first, you'll need both guide.txt and the template but you can apply the guide to your attachment piece instead of a proper full-body model just fine.
This can all be boiled down to a single sentence: Do an FBM but instead of a full body it's just smaller bits. The process is entirely the same and if you handle FBMs perfectly then reading on won't reveal anything new but I'll write a short recap of the process anyway.
This is actually exactly the same technology that was used above in the custom skin tutorial except this time you'll be working on a custom model in blender instead of the default PES limbs that only need texture editing. What you'll need to do first is prepare the custom attachment you want, so clean it up, texture it properly and have it basically ready to be exported just like you'd have a normal head. After that open the medical_staff.blend from the FBM template into a new Blender window and copy it over to the window where your attachment is. Position the attachment to where you want it to be using the medical suit as a reference and if required bend it into shape as detailed in the FBM tutorial. After you're happy with the positioning transfer weights from the medical suit as detailed in the FBM tutorial. You can now hide or delete the medical suit and do whatever minor paint fixes the attachment might need. After you're happy with the result export the attachment like you'd export any FBM and it's time to make PES load it.
First you should add the loading line to the face.xml. The type for these kinds of attachments is usually parts unless you for some reason need a more specialized type, for example uniform for models using the kit texture as detailed a bit further into this page or handsL or handsR if you're working with hands and want the fingers to move. The model also needs to be named in a very specific way, oral_<name>_win32 where <name> can be anything but both the oral_ prefix and _win32 suffix need to be present so the model doesn't crash PES in Edit Mode. An example loading line looks like this <model level="0" type="parts" path="./oral_helmet_*.model" material="./apc.mtl"/>. Note that the win32 part gets changed to * in the loading line. After you've added the loading line you'll also need to set up an MTL. Grab a pre-existing one, for example medical.mtl from the FBM template folder works fine. Rename your MTL to apc.mtl or whatever your loading line has and then open it for checking and possible editing. Make sure the DiffuseMap sampler points to your attachment's texture, make sure the material's name is medic and finally check the states to make sure things like alphatest, alphablend and twosided are on/off depending on what you want. Both the XML and the MTL and some of the most common values are detailed over at Setting up Model Files. Once your model is added to the XML and its MTL is sorted you can add the player to your aesthetics export and compile to test in PES. If all went right your attachment should be in and move naturally with the bit it's attached to.
Custom Kit Textures
Same basic progress as custom skin except now a bit more complicated because of more files and the fact that we're dealing with a kit texture instead of a skin texture where just dumping a solid-colour paint bucket on it was enough.
Read the readme.txt inside, it's got all you need to do.
Boots and GK Gloves
For when the default PES selection just isn't good enough. Please note that this is simply for editing the textures of the default PES models, for custom models you should use APC.
Since it's just a texture edit everything's simple. Edit kXXXX_c.dds and/or gXXX_c.dds to your liking and your work is done, all you need to do is have PES load the boots. There's two ways of going about this, either having each player's face.xml load the boots/gloves separately, or actually adding them to the in-game list of PES boots/gloves which means you can just set them in an editor.
First of all I'll mention that the Aesthetics Compiler has a separate folder for both boots and gloves meaning it can do the hard work of getting them in-game for you. I'll still go through the manual methods here since it's always better to know what's going on under the hood, but if you just want the boots in-game the compiler is by far the fastest option. I'll also only refer to boots from now on unless there's a clear difference in a particular step so by default every step applies to both boots and gloves exactly the same.
Adding the boots to the face.xml is much simpler but can be a bit tedious to keep track of since every player will have to load those files. If you want to do this move the files to your player's face folder. Open the face.xml and add a loading line for boots.model using boots.mtl as type boots, like so <model level="0" type="boots" path="./boots.model" material="./boots.mtl"/>. For gloves it's a bit more complicated, you need lines for both gloves separately. First off delete one of glove_r.mtl and glove_l.mtl and then rename your remaining MTL to gloves.mtl, then load the left glove as type gloveL, right glove as gloveR both using gloves.mtl, so for example <model level="0" type="gloveL" material="./gloves.mtl" path="./glove_l.model"/>. Now compile and your boots should be in, remember to use an editor to hide your player's default boots. If you plan on having the same boots for multiple players reading up on the Aesthetics Export Common Folder is recommended, it makes keeping track of your boots a lot easier.
The other method requires you to build your own CPK for the boots, but after the initial effort using the boots becomes a lot easier since you can simply change your players to use them in an editor. Once your textures are edited you don't need to change any of the other files, simply move them to the correct locations. For boots this is common\character0\model\character\boots\kXXXX\ where XXXX is your boots ID with leading 0s, so for example 0050 for boots ID 50. For gloves the path is common\character0\model\character\glove\gXXX\ where in the same fashion XXX is the gloves ID, so 050 for gloves 50. Check PES16/Boots and PES16/Gloves to see which IDs you should use for your boots and gloves. You don't need to change any texture names or IDs inside the folder, the name of the folder is all that matters. Now simply compile the CPK and load it in your dpfilelist. Before you open PES to test them remember to set your player(s) to use the correct boots/gloves in an editor and you're ready to test. If all went right your players should have their custom-textured boots and gloves.
Using Kit Textures for Models
Making the model change colours depending on which kit is selected. Very useful for repping team colours and making FBM players look more like they belong on the team. In more extreme cases can be used to load a full custom model depending on which kit is selected.
No templates for this as this will always be a case-to-case basis. What you'll want to do is grab one of your team's kit textures and import the model you want to use the kit's texture into Blender. Fit the model's UV into the kit texture however you want and re-export the model using the FBM exporting procedure of a second Blender window and joining to a medical model.
It's also fine to only have one part of the model use the kit texture. In these cases select the whole part in Edit Mode and go P -> Selection to separate the selected bit into its own mesh. Then map that mesh to the kit texture while keeping the rest of your model on its own texture and then export both meshes separately.
Once you have your kit-colour mesh exported, you need to add its loading line to face.xml. When adding the line have it's type be uniform instead of the usual parts. You can still use the MTL parameters like alphas and twosided but you can't give the model a diffuse map since that'll always be forced to the kit texture which is what we wanted anyway.
Custom Models as Kits
Expanding on the previous topic, custom models as kits are also accomplished by loading models with their type set to uniform. This time though the problem is that if you want to have a cloth kit and a custom kit or several custom kits then there needs to be some way to hide the other kit models while only the selected one is visible. This is accomplished by using alphatest in the MTLs for transparency and cramming all the textures for the custom kit models into the 2048x2048 area of the PES kit texture. NOTE: changing between custom and cloth kits doesn't work for keepers since they can only ever have a single kit.
We'll cover the case of custom kit alongside a cloth kit first since that's the more difficult one and has the more comprehensive solution that will always be usable no matter your scenario. If you just want custom kits for every outfield player and no default cloth kits at all skip to the next section which deals with exactly that since it's a much simpler scenario thanks to the missing cloth kits. I'll assume you have the custom kit model ready already. First what you'll want to do is combine it's texture and your cloth kit's texture into a single 2048x2048 image just like you'd combine textures for any PES model. You should also grab a skin_color.dds from the Custom Skin Colour template and merge it into the new texture as well. Keep it handy since you'll need it later for hands. The combined texture will be your base image and it'll also help you keep track of where your UV maps are. Once the textures are combined load your custom model into Blender and scale its UV to fit its texture in the new combined texture. After that's done simply export your model and you're done setting up the easier one of the two models.
Now you need to resize the cloth kit's UV map to fit the new combined map. Grab all the kit bits you want in the custom kits template and place them into a folder. Start importing these into Blender and fitting their UVs to the new texture. Eventually you should have a shirt, pants, socks, collar, sleeves and pants_sub in a single Blender window with their UVs mapped to the cloth kit's part in the new texture. Now also grab arms and thighs, import to Blender and map to their part of the texture, your kit should now have skin-coloured limbs. Then select all of the meshes with A and then join them all together with CTRL+J. You now have a full PES kit in a single mesh. Next you should delete all vertex groups, open a new Blender window and open medical_staff.blend from the Full Body Template. Copy the medical model over and transfer weights from it into your cloth kit which will make it move almost perfectly in PES without having to worry about transfering and painting individual bits. Now delete the medical model and export your cloth kit like you'd export any FBM.
You'll still need hands and boots. Hands can't actually be loaded in as uniform which is what we would ideally want so either join them into your cloth kit and paint them entirely to their respective hand bones thus sacrificing finger movement or if your custom kit model covers up the PES hand models reliably you can leave them as-is and just deal with them once it's time to set up the XMLs. Boots can simply be imported into Blender and exported back again from the same window so I'll gloss over them, just add the boots texture to your combined texture and map the UV to it before re-exporting. If you want the hands to be hidden when your custom kit is loaded map them as well, join to your cloth kit model, paint to the hand bones and re-export your kit model. You can find a boots template under Boots and GK Gloves.
Finally you'll need to set up the whole thing so it loads the correct kit at the correct time. This is where making use of the Aesthetics Export's common folder is recommended. You can drop your boots, hands and all kit models along with their respective MTLs in there. Then set up a face.xml that first loads your custom kit as type uniform, then the cloth kit as uniform, boots as uniform and if you have always-visible hand models load them as handL and handR. The model path to use with the common folder is model/character/uniform/common/<yourteam>/, so for example model/character/uniform/common/rsg/oral_torva_*.model. Then set up an MTL for your custom kit model and make sure it has alphatest set to 1 and alpharef set to something moderate like 100 which tells PES to not render any pixels that have a transparency below the set value. Having it as 100 will make sure the fully-transparent bits stay unrendered but also gives you room to have some transparency in your actual texture. Now do the same setup for your cloth kit and move both MTLs to the common folder as well, the loading path for the MTL is the same as for models. Now copy the XML to the face folders of the players you want to use the custom kits for and move on to finishing touches.
Now create as many copies of the combined texture as you have kits and edit it so that for the custom kit you delete everything except the custom kit's texture and for the cloth kit you delete the custom kit's texture. Basically the kit texture should only have the texture of the kit model that uses it, everything else should be transparent. For more than one cloth kit texture you should replace the texture in the cloth kit spot in the combined texture since every non-custom kit will use the cloth kit model instead and that's where the cloth kit's UV is mapped. After you've deleted the extras from every kit texture you can move them to your aesthetics export to be your actual kit textures.
Make sure all of your kit configs are set up for FPC and make sure all the players who need to be wearing the custom kit are also full-FPC. Now you can compile and if everything went well you should be able to swap between the custom kit model and the cloth kits simply by changing kits in-game.
If you for some reason have a non-FBM player or players that shouldn't use the kit you'll basically have to give them their own FBM cloth kit body, so add another copy of your kit textures to vacant spots in all of your new custom combined textures, create a copy of the cloth kit model, import it to Blender, change the UV to use the second kit texture you just added in, export the model and change the player you want to keep cloth-only to use that version of the cloth kit instead and completely remove the custom kit from their XML. You also need to add some sort of a kit texture to the same spot in the custom kit's texture so the players will still have their cloth kit when everyone else is rocking their custom kits.
And with that you're finally done, custom kits and cloth kits for everyone with only a minor hassle.
If you want more than one custom kit simply add their textures to the big combined texture, add the model and MTL for them to common and change the XMLs to load them somewhere before the cloth kit. Once you've done all the work for adding one custom kit alongside a cloth kit adding more is no trouble at all.
Custom Models as Kits - The Special Scenario
The WAY easier scenario of the two where cloth kits don't exist and everyone can have the same custom kit models which lets you use the magic of collar slots.
All the actual work you'll have to do here is unzlib all of your custom kit models, open them in a hex editor, search for "dsk" and look for a mesh name after the bone list. This will typically be medic for FBMs. Change this to be uni_shirts and save your model. With that you've done all the actual work, the rest is just loading models and moving files.
Rename all of your custom kits to be collar_XXX where XXX is a number between 107 and 255. Collar slots are not yet regulated so for now you can choose pretty much any number but be prepared to change it if using the collar slots becomes popular and more teams want their slots. After that if you want to test the kits in-game you'll need to build a test CPK the old-fashioned way. Move the collar models to common\character0\model\character\uniform\nocloth\, build your test CPK and add it to your DpFileList.
Now with your kits in-game you also need to edit your kit configs and textures. For the configs set up FPC except for collar model. Save your changes and then open the configs in a hex editor in order to change the collar model ID to point to your custom kits that are now officially collars. The bytes you want to change are 0x14 and 0x15, set these both to be the ID of the custom kit model you want to use for the specific kit you're editing. After that save the configs, replace your kit textures with the textures for the correct custom kits and you've completed setup as well.
Finally you need to set FPC to your liking so it fits with your custom kit models and if everything went right, they should be in-game and changeable by changing in-game kits.
The only problem is that by using the collar slots you're also forced to use the shirt shader and the PES default collar MTL, but this should generally not be too much of a problem. If it does look bad because of the shader or some default kit mapping texture, you can try adding your custom kits using the above method which will let you define your own preferred shader and such things.
Custom models from boots
A methode where boot slots are used to load in custom models. It may sound pretty hard but it is very easy. Check PES16/Boots to see which IDs you should use for your boot. Make a new folder using the ID you found on the page so it becomes kxxxx. Copy your already made model with its mtl and texture and dump them into the folder. Then rename the .model to boots.model and the .mtl to boots.mtl. Make sure the texture name is the same as in the boots.mtl otherwise PES will give you a white texture on the model. If you have renamed everything in the map there should be 3 files: boots.model, boots.mtl and the .dds.
Now to get this into the game check AET/Boots to set them up correctly in the game. Then use a editor to give your player the Boots ID. If all went right the model should show up when you check your player.
The most difficult part of making aesthetics, finding the perfect source model. Be it for the cute girl from that niche anime about 3 people in Japan watched or for the main character from that one video game that is unrippable and nobody in the west can re-create 3d models for, chances are you will eventually run into problems trying to find a usable model for your next project. Sometimes they just don't exist, sometimes you're just not looking hard enough, so this page will list resources and hints to enhance your model-hunting capacities.
Here's how you generally want to go about looking for source models. I'll split everything into a couple sections so you can better focus on exactly what sort of models you want.
- Google - Just Google it, this is the universal rule for looking for 3d models. If it's a named character of any sort search for "<character name>" 3D as a generic search term, or "<character name>" MMD with both the English name and the Japanese name for anime characters or characters that might possibly have a big enough Japanese following to spawn MMD recreations. Keep the quotation marks, they make it so that exact phrase in that exact order has to appear in the search result which is what we want. For non-named characters and just about everything else just searching "<generic descriptor>/<generic name>" 3D should give you some results but checking specific sites listed further in this tutorial might be a better choice.
Even though the previous section mostly covered googling anime models, there's still some specific sites you can focus on. Googling is still recommended but if any of these pop up in the search results they're always worth checking first.
- nicovideo.jp - Some MMD video creators link their source models in the video description, and some password-protected models might even make you watch the video to figure out the password. The main nico site doesn't host the 3d models itself but it's a great way of finding models that wouldn't otherwise show up in your search results.
- 3d.nicovideo.jp - Completely different from the main nicovideo, this is their own 3D model repository that might have some cool MMD stuff easily accessible. You need a nico account to be able to download models and you need to navigate your way around a site entirely in moonrunes, but that's what looking for anime models really is.
- bowlroll.net - The main page has a nice collection of mostly MMDs, but realistically you'll end up straight to a model page either from Google or from a niconico MMD video. Probably the most used MMD dl site, good luck trying to figure out the passwords since most of the models are protected due to Nip paranoia.
- deviantart.com - Deviantart is a surprisingly robust source of weeaboo models. You might be able to find something using the site's own search function, otherwise use google with this search site:deviantart.com "<character name> 3d" and replace the 3d with MMD for another set of possible results.
- sketchfab.com - When you're starting to get desperate, Sketchfab has a small community of anime model creators but good luck trying to find someone willing to share their precious models.
- The Seven Seas - Get on nyaa or your alternative tracker of choice and search for MMD. Sort by filesize and you should find some model packs just fine. Also grab these two from personal collections and read the big pastebin courtesy of /e/'s MMD thread. /e/'s thread is also a good place to possibly find some models that have been pulled from distribution, just mind the rules and don't bother people too much if you end up spending time there.
- models-resource.com - Your go-to for game rips, the site is entirely founded on people posting models ripped from video games. It's pretty comprehensive and your best chance of finding anything especially for retro stuff, but might be lacking in more modern releases.
- p3dm.ru - Click the Russian flag and then the second option and you can actually read most of the site. In true Russian fashion most of it is army stuff ripped from vidya but if that's your thing this is a treasure trove.
- xnalara.deviantart.com - All hail Xnalara. In addition to a decent collection of MMDs Deviantart also boasts a huge amount of stuff in the Xnalara file format. Mostly game rips ranging from characters and vehicles to everyday props. Same google trick works here as well, just search site:deviantart.com "<model> Xanalara" or site:deviantart.com "<model> XPS". You'll need this plugin for importing XPS to Blender.
- PS1 games - Most 3D PS1 games utilize the TMD model format (sometimes packed within archives, much like PES CPKs). If you do find a .tmd model on a game disc, it can be converted using TMD2LWO (a command-line-only program) into an LWO model, which can then be converted into the format of your choosing. Your mileage may vary.
For sites that have a little bit of everything and don't specialize in anything, especially good if you're looking for CAD stuff or western models or props of some sort.
- grabcad.com - CAD model heaven, usually really high-quality stuff if you happen to find what you're looking for here. Beware though, most of the time you'll either have to bake the material colours into a texture or possibly even make your own texture from scratch, this is the downside of CAD but luckily solid-colour textures will work fine for these sorts of models.
- 3dwarehouse.sketchup.com - Probably the biggest dump of 3d models on this list, you can find absolutely anything here but the tradeoff is that everything's in the Sketchup format and mostly low-poly and really shit-looking. Good texturework can mitigate the low-poly look but that means you have to do extra work. Still, if you want an inanimate object as your model there's a 99% chance you'll find it here. You'll also need to download the Sketchup software to convert the models you download. With this version you should download SketchUp 2016 Model or older when prompted on the site.
- sketchfab.com - Already mentioned in the anime section, Sketchfab is another site where you have a bit of everything and in extremely high quality. Problem is people don't have to share their models and it's more like a portfolio than a model sharing site. There's a way to rip any model off the site though but that's a whole another topic.
- blendswap.com - Entirely for stuff made in Blender and as usual everything goes. Everything is licensed under a form of Creative Commons which to us means everything is freely downloadable as long as you make a blendswap account, giving credit be damned. Usually pretty high-quality as well since almost everything is made from scratch by either enthusiasts or professionals.
- About a million other sites - The above 4 are just my go-to picks. Google will give you several pages of results no matter what, and even though sites like turbosquid host paid models some might still be free and decently usable so if the first 4 fail go digging deep. One neat trick is using image search instead of web search on Google to get a sneak peek of the models themselves so you know what you're going in for.
Once you've found your model you're probably going to face another equally annoying problem. It's probably in a fuck-off wierd format the creator for some reason prefers above literally anything else. The SketchUp software for converthing their models to something actually usable is already linked above but here's some pointers and software for other filetypes as well.
- Easy solution, get 3ds Max - Max is fully featured and a pain in the ass for someone who has only ever used Blender, but the one thing it does well is handling just about any filetype without a problem. This is the version I have, you might be able to find an alternative download off a site somewhere.
- Freecad - A CAD modeling software that can also convert some of the most used CAD formats to .obj
- Google - Your best friend once more, if you google "<format>" import Blender you'll probably find a result either in stackexchange or Blenderartists talking about an importer plugin and how to install it. Github is also a possible source. Otherwise there probably isn't a plugin for Blender and you're out of luck.
- Ask someone else - There's several people in /aesco/ who already have 3ds Max installed for this specific purpose and if you're nice and persistent enough someone will take your model and run it through the conversion machine.
Useful shortcuts in Blender
- CTRL-J (object mode) -
Join objects; all objects selected will be merged to the last selected object
- CTRL-L (edit mode) (3D window only)
Selects all faces/edges/vertices attached to the faces/edges/vertices you've selected
- A (object or edit mode, also UV editor)
Selects all objects (object mode) or face/edges/vertices/UVs (edit mode and UV window), hit again to deselect all objects
- X or Delete
Brings up delete submenu
Brings up the separate submenu
- Shift-D (object and edit mode)
Duplicate selected object or highlighted mesh part
- G/R/S then X,Y, or Z
Restrict editing to axis specified
- G/R/S then Shift + X,Y, or Z
Exclude specified axis from editing
- Alt-M (edit mode)
Brings up the merging sub menu
- CTRL-T (edit mode)
Triangulates selected mesh, all PES models need to be triangulated
Drag vertex along a connected edges
- NumPad (NumLocked)
- 7 - Overhead view, +Shift - Underside view
- 1 - Front view, +Shift - Back view
- 3 - Side view, +Shift - oOpposite side view
- 8 - Pivot view up
- 2 - Pivot view down
- 4 - Pivot view left
- 6 - Pivot view right
- 5 - Switch between perspective and ortho view (ortho view is default and better for editing)
- Scroll wheel
- +Shift - Pan vertical
- +Shift+CTRL - Rotate view around an axis centered on the window
- +CTRL - Pan horizontal
- +CTRL+Alt - Pivot view around vertical axis
- Middle-click hold and drag
Pivot view around
- +CTRL - Zoom
- +shift - Pan
- 1,2,... through ... 9,0
View all layers
Things not fully covered here (at least yet) that are also worth reading for a better understanding of how some things work.
- Setting Up .model Files - Details the different parts and values of both the model-loading XMLs and the MTLs associated with them
- FPC and APC - If you somehow made it all the way here without reading one or both, congratulations, go read them since even for someone who doesn't actually do FBM models or aesthetics at all at least learning how to apply the correct settings and hide bits of your players is important since every cup several managers fail to do this simple task, thus piling more work on /aesco/ who have to fix it all
- Aesthetics Export - Same story, learning how to make an aesthetics export is a basic skill anyone who plans on making a team or contributing aesthetics to a team should know how to do. Also includes a download link to the aesthetics compiler which will save you some time when testing aesthetics over manually compiling a full-path CPK every time