Difference between revisions of "Blender tutorials"

From Rigged Wiki
Jump to navigation Jump to search
(Adding PES18+ tutorials and splitting page into two major sections for the two different engines)
(Custom hands tutorial and links to the Fox Shaders page)
Line 404: Line 404:
* To balance out the colour-draining effect of the shader, open the texture of your model in an image editor and saturate it. The perfect value will always be different, but using GIMP's '''Levels''' tool under the '''Colours''' menu and setting the '''Gamma''' value to '''0.45''' has given good results so far
* To balance out the colour-draining effect of the shader, open the texture of your model in an image editor and saturate it. The perfect value will always be different, but using GIMP's '''Levels''' tool under the '''Colours''' menu and setting the '''Gamma''' value to '''0.45''' has given good results so far
</div>
</div>
=== Custom Hand Models ===
<div class="mw-collapsible mw-collapsed">
''Click ->''
<div class="mw-collapsible-content">
==== Preparation ====
[https://drive.google.com/file/d/13PllmUNvc7EeOZPZsGHEzcY2ofdJ1t-B/view?usp=sharing Template Pack] - Template files for both shaded and shadeless hands
[https://drive.google.com/file/d/1Yk072w2BmHIgBi51Lu9NONLzu_u9jvxj/view?usp=sharing PES19 1.6 Outfield Gloves Patch] - Patch your EXE once again to make the trick used for custom hands work
[https://drive.google.com/file/d/1ts-nvEoFnU8rfMQMn1Y2h0m1ttUhxND9/view?usp=sharing 4ccEditor.exe] - Make sure you have AT LEAST '''Spring 20 Edition B1''' to enable support for 4-digit GK Glove IDs
[https://github.com/the4chancup/4cc-aet-compiler/releases/ 4cc aet compiler] - Similarly make sure you have AT LEAST version '''5.02''' to enable support for 4-digit GK Glove IDs, still best to grab the latest version always
==== Tutorial ====
With all that out of the way, a little bit of an explanation on how the trick works and why it needed so much preparation. The EXE patch makes PES load GK gloves for outfield players in addition to goalkeepers, as long as those outfield players have a GK gloves ID that is not 0 set in the save. At the same time the ID range of the gloves was bumped up to have 4 digits instead of 3 to avoid running out of space, which is why both the editor and aesthetics compiler had to be updated to handle the new ID range.
Now, for the actual tutorial:
* Import one of the custom hands you want to port over to 18+ into a blender window using '''PES Model I/O'''
* Import the corresponding glove file from the template pack into another blender window
* Select the template glove, change to '''Edit Mode''', select everything with '''A''' and drag the template model to the side
* Swap back to '''Object Mode''' and copy-paste your custom hand model over to the template blender window
* Select your custom hand model, then with '''Shift''' held select the template model and press '''CTRL+J''' to join the two together
* Change to '''Edit Mode''', deselect everything with '''A''', select the entirety of the template model and delete it with '''X -> Vertices'''
* Your custom model has now inherited all the properties of the template model. The default texture will be named '''skin.dds''' and a reference texture is included in the template pack. Feel free to tweak any of the settings to your liking if needed
* Once you're happy with the model export it using '''FMDL I/O''' and repeat the process for the other hand.
* GK Gloves go in the '''Gloves''' folder in an [[AET#Gloves | Aesthetics Export]], read the wikipage for a more detailed explanation. Also check the [[Pro Evolution Soccer 2019/Gloves | Gloves]] page for the IDs you should use for your team. The files included in the template pack form a complete gloves folder so you can recycle the default mask textures and '''gloves.fpk.xml''' for your custom gloves as well
</div>
=== Model Settings ===
=== Model Settings ===
Also known as getting around '''pes-fmdl'''.
Also known as getting around '''pes-fmdl'''.
Line 416: Line 448:
* '''Filename''': The filename of the texture the mesh will use. The file extension should be '''.dds''' always even if PES18+ textures are '''.fmdl''' files.
* '''Filename''': The filename of the texture the mesh will use. The file extension should be '''.dds''' always even if PES18+ textures are '''.fmdl''' files.
* '''Directory''': The location of the texture the mesh will use. Template models will have this set to a sensible value and the [[AET|Aesthetics Compiler]] will change any player IDs in the path when needed so there's rarely any need to change this.
* '''Directory''': The location of the texture the mesh will use. Template models will have this set to a sensible value and the [[AET|Aesthetics Compiler]] will change any player IDs in the path when needed so there's rarely any need to change this.
==== Material Settings ====
This is where the '''shader''' and '''technique''' of the mesh are defined. For a list of shaders/techniques and all the other settings required to use them properly can be found on the '''[[Fox Shaders]]''' page.


==== Transparency and Shadow ====
==== Transparency and Shadow ====
If you swap to the '''Data''' tab you should be able to find a section called '''FMDL mesh settings''' with two values. These control the '''shadow''' and '''alpha''' settings of the selected mesh. Here's a list of values you might want to use, split into two sections based on which shader your model has.
If you swap to the '''Data''' tab you should be able to find a section called '''FMDL mesh settings''' with two values. These control the '''shadow''' and '''alpha''' settings of the selected mesh. As with the shaders themselves, the alpha and shadow values that work with them are detailed on the '''[[Fox Shaders]]''' page.
 
</div>
===== Non-constant shaders =====
* Alpha:
** 0 for no alpha, onesided
** 32 for no alpha, twosided
** 128 for alpha, onesided
** 160 for alpha, twosided
* Shadow:
** 0 for shadow
** 1 for no shadow


===== Constant shaders =====
* Alpha:
** 5 for alpha, onesided
** 16 for alpha, twosided
* Shadow:
** 4 for shadow
** 5 for no shadow
</div>
= Misc =
= Misc =



Revision as of 01:10, 3 September 2020

Incomplete.svg The content of this page or section is incomplete because we're a bunch of lazy fucks. Feel free to help out.

Introduction

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 most of this will always be based on personal workflows and as such other ways of doing things will exist as well.

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.

For Windows

Blender

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 or 2.79 for anything else, including PES18+, is probably the safest bet but as you get more used to Blender in general it all comes down to personal preference.

Pick your versions here

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

PES16/17

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.

Blender Config Pack

PES18+

  • Blender Config Pack - Complete all-in-one pack of scripts and settings for a cup-standard installation. Use this if you only just installed blender or if you want to have the recommended settings and layout
  • pes-fmdl - The main import/export plugin from PES18 onwards. Move to AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons and remember to enable in Blender's user preferences. Updated pretty frequently, the /aesco/ Discord will always have the latest version whereas the one on this page might be slightly outdated
  • pes-model-importer - A model importer for PES16/17, has some helpful features (like keeping vertex group names on import) which make it a better option than the regular 16/17 importer/exporter for porting purposes. Move to AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons and remember to enable in Blender's user preferences

Tutorials

PES16/17

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.

Card/Box/Cube/Flatheads

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.

Click ->

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.

Facemasks

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.

Click ->

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

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.

CM3D2 Heads

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.

Click ->

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.

Basic

  • 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.

Advanced

  • 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.

Balls

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.

Click ->

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.

Static Models

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.

Click ->

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.

Full-body Models

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.

Click ->

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

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.

Click ->

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.

Click ->

Boots/Gloves Template

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.

Click ->

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.

Click ->

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.

Click ->

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.

Pictureguide

PES18+

Basic Head Model

This is a text based and illustrated .pdf guide that covers porting basic head models into PES. It assumes you have no prior knowledge of Blender and contains links to all the tools you'll need. The guide was made specifically for Source Filmmaker models, but can be applied to any model that Blender can open.

Porting Heads

Another tutorial for heads, likely repeating a lot of what the above one already covers. Pick whichever you prefer and stick with it and all should be well.

Click ->

Resources

  • Aesthetic Templates - Separate wikipage for useful templates
  • PES19 Base Models - Base setup for a head model, contains useful stuff like default textures and models. Originally created specifically for this tutorial

Tutorial

Video Tutorial: https://drive.google.com/file/d/1SAOv0Dvo-8lGRMudEFL2FeGS-uIgDduc/view?usp=sharing

Make sure to grab the Base Model Pack from above as it will be used during this entire process

  • Open two blender windows, have your model open in one and import base.fmdl from the Base Model Pack into the other
  • Copy the base model over to your model's blender window
  • The base model is a default PES head all combined into a single model so it functions as a good reference point, hence why you definitely should use it
  • Scale and position your own model around the template model. If you imported with PES model I/O the scale will automatically be correct but you may have to adjust the position of your model. If you imported with the older PES Mesh Tools you'll have to scale down to 0.1 and then re-position your model.
  • Once you're happy with the size and position of your model, delete the template model from your primary window
  • Swap over to the secondary blender window with only the template model for a moment
  • Select the template model, change to Edit Mode, press A to select the entire template model and drag it aside. Make sure you get the entire model and be doubly sure to do this in Edit Mode
  • Swap back to Object Mode and copy your own model into the secondary blender window with the now-moved template model in it
  • With your model selected swap to the Data tab and next to the list of Vertex Groups press the black downwards triangle and select Delete All Groups
  • Keep your model selected and with Shift held select the template model and press Ctrl+J to join the two together. This will make your model inherit all the useful properties and settings the template model has
  • Swap back to Edit Mode, select the entirety of the template model while making sure no part of your model is selected and press X -> Vertices to delete the template model
  • While still in Edit Mode and the Data tab, select your whole model with A, select sk_head in the list of Vertex Groups and under the list press Assign
  • Swap to Weight Paint Mode, press T to bring out the left sidepanel and press Normalize All
  • Swap back to the Scene tab, change the model filename to be hair_high.fmdl in the FMDL I/O section so it's named correctly for use in PES and you don't accidentally overwrite the template model and finally press Export fmdl
  • Your model should be exported successfully. The texture the model uses is called head.dds and the Base Model Pack includes an example texture. This file is really the only thing in the Base Model Pack you should change, everything else is ready by default. The functions of the rest of the template files are explained below but the blender part of the tutorial is done and you're free to test your model in PES

Base Model Pack Files

What the files in the Base Model Pack do and why they're included / why you might want to use them for your players

  • base.fmdl - The template head model used in the exporting tutorial. A default PES player's head fused together into one reference model with favorable properties ideal for template use
  • face.dds - The texture used by face_high.fmdl
  • face.fpk.xml - Required for the face folders in your aesthetics export, used to tell the compiler which model files to include for that player. This default one will include face_high.fmdl, hair_high.fmdl and face_diff.bin
  • head.dds - The texture used by base.fmdl and by extension any model ported with this method
  • face_diff.bin - Controls the size and position of the default PES eyes and mouth. This one has them shifted deep underground so they'll never appear in play, perfect for custom head models where they would just be in the way
  • face_high.fmdl - The default PES neck/chest model modified to work well with custom head models
  • face_nrm/srm/trm.dds - Map textures used by both base.fmdl and face_high.fmdl. Normal, Specular and Translucency maps. These three are default blank maps giving your models a smooth and neutral appearance so using them without any changes is greatly recommended

Porting FBMs

Click ->

Preparation

PES18/19 FBM Base Model Pack - The medical staff model and a couple default textures you'll need during this part

Tutorial

Video Tutorial: https://drive.google.com/file/d/1mXKQ7o7a_kHUqiF0bEYe_ZRrFvHe4rjI/view?usp=sharing

  • Make sure you grab the Base Model Pack as you'll need the medic FMDL bundled in there
  • Open two fresh blender windows
  • Import medical_staff_boots_reweighted.fmdl into one, import your FBM to the other with PES model I/O. Make absolutely sure you use the pes-model-importer linked on this page when importing the FBM you want to port as the rest of this tutorial assumes you're using that. PES Mesh Tools and RigEx WILL NOT WORK by default.
  • Copy the medic suit to the same blender window as your model
  • Scale and position your model to match the imported medic model. The scale will already be correct if you imported with the recommended PES model I/O, positioning is going to vary so you'll have to eyeball this one.
  • Once you're happy with the size and scale of your model swap over to the second blender window with the medic model in it and select it
  • Switch to Edit Mode, select the entirety of the medic model with A and drag it to the side
  • Swap back to your primary window, select your model and copy it over to the second blender window
  • Select the medic model, swap to the Data tab and next to the list of Vertex Groups press the black downwards triangle and select Delete All Groups
  • In Object Mode first select your model, then with Shift held select the medic and press CTRL+J to join the two together
  • Swap back to Edit Mode, press A until everything is de-selected and then select the entire medic model and delete it. Make sure you get every part of it to avoid stray bits floating off to the side of your actual model in-game
  • Thanks to this maneuver your model has inherited all the properties of the medic model. This is a nice base setup and honestly everything you need in most cases. Some possible things you might want to change are listed in a completely separate section at the bottom of this page
  • Finally swap back to the Scene tab, select a location to export to in the plugin's panel and press Export FMDL.
  • Your model should successfully export. The main texture the model uses is called medic_bsm.dds and a reference texture you can overwrite with yours is included in the Base Model Pack. There are some useful settings like transparency and backface culling you might want to check out detailed at the bottom of this page in a separate section.
  • Once your model if exported and your texture is done you can test it in PES and hope it got over in one piece. Good luck

Shadelessness and Outlines

Click ->

Preparation

Template Pack

Tutorial

Video Tutorial: https://drive.google.com/file/d/1mMVc9a8ORLAIsK-euliIu276t_82rQpT/view?usp=sharing

  • Import the model you want to turn shadeless into a fresh Blender window
  • The following steps are for making an outline for your model. If you only want the shadelessness skip to the separated section at the end
  • Select everything in Edit, press Shift-D to duplicate and Right Click to drop the duplicated part in place
  • Press P -> By Selection to separate the duplicated part into its own mesh
  • In Object Mode hide everything but your duped mesh
  • It is recommended you swap to Edit Mode and delete minor details like eyebrows and eyes that don't really benefit from having an outline and that might actually cause more problems with the outline
  • Select everything, press Space -> search for Remove Doubles and run it
  • Press Alt+S and input 0.003 for a nice default value or experiment with values of your own if you've done a couple already
  • Press Ctrl+Shift+N to flip the normals
  • N to open the side panel, toggle normals on with 0.01 size and check that nothing is sticking through the surface. Pay close attention to the area around the mouth and eyes and either flip or delete any offending faces if you want to get rid of all possible imperfections
  • Map the UV to any black spot in the texture so the entire mesh is black (or the colour you want the final outline to be)


  • Import the template hair_high.fmdl into a second fresh Blender window
  • Swap your Viewport Shading to Solid (press Z until the mesh is not a wireframe)
  • Use the lighter part for your actual model and the darker part for your outline when exporting so you get the correct settings for both
  • Export your model, the texture for both head model and outline will be called head.dds. The model does not require any other textures
  • To balance out the colour-draining effect of the shader, open the texture of your model in an image editor and saturate it. The perfect value will always be different, but using GIMP's Levels tool under the Colours menu and setting the Gamma value to 0.45 has given good results so far

Custom Hand Models

Click ->

Preparation

Template Pack - Template files for both shaded and shadeless hands

PES19 1.6 Outfield Gloves Patch - Patch your EXE once again to make the trick used for custom hands work

4ccEditor.exe - Make sure you have AT LEAST Spring 20 Edition B1 to enable support for 4-digit GK Glove IDs

4cc aet compiler - Similarly make sure you have AT LEAST version 5.02 to enable support for 4-digit GK Glove IDs, still best to grab the latest version always

Tutorial

With all that out of the way, a little bit of an explanation on how the trick works and why it needed so much preparation. The EXE patch makes PES load GK gloves for outfield players in addition to goalkeepers, as long as those outfield players have a GK gloves ID that is not 0 set in the save. At the same time the ID range of the gloves was bumped up to have 4 digits instead of 3 to avoid running out of space, which is why both the editor and aesthetics compiler had to be updated to handle the new ID range.

Now, for the actual tutorial:

  • Import one of the custom hands you want to port over to 18+ into a blender window using PES Model I/O
  • Import the corresponding glove file from the template pack into another blender window
  • Select the template glove, change to Edit Mode, select everything with A and drag the template model to the side
  • Swap back to Object Mode and copy-paste your custom hand model over to the template blender window
  • Select your custom hand model, then with Shift held select the template model and press CTRL+J to join the two together
  • Change to Edit Mode, deselect everything with A, select the entirety of the template model and delete it with X -> Vertices
  • Your custom model has now inherited all the properties of the template model. The default texture will be named skin.dds and a reference texture is included in the template pack. Feel free to tweak any of the settings to your liking if needed
  • Once you're happy with the model export it using FMDL I/O and repeat the process for the other hand.
  • GK Gloves go in the Gloves folder in an Aesthetics Export, read the wikipage for a more detailed explanation. Also check the Gloves page for the IDs you should use for your team. The files included in the template pack form a complete gloves folder so you can recycle the default mask textures and gloves.fpk.xml for your custom gloves as well

Model Settings

Also known as getting around pes-fmdl.

Click ->

Texture Settings

If you swap to the Texture tab in blender you'll see a list of textures your currently selected mesh uses. The values that matter for exporting are in the FMDL Texture Settings section, and each of them is detailed below:

  • Role: The role of the relevant texture, such as Base_Tex_SRGB for diffuse maps and NormalMap_Tex_NRM for normal maps. There's usually no need to change this unless you're changing shaders in which case the textures and their roles for the new shader should be detailed somewhere.
  • Filename: The filename of the texture the mesh will use. The file extension should be .dds always even if PES18+ textures are .fmdl files.
  • Directory: The location of the texture the mesh will use. Template models will have this set to a sensible value and the Aesthetics Compiler will change any player IDs in the path when needed so there's rarely any need to change this.

Material Settings

This is where the shader and technique of the mesh are defined. For a list of shaders/techniques and all the other settings required to use them properly can be found on the Fox Shaders page.

Transparency and Shadow

If you swap to the Data tab you should be able to find a section called FMDL mesh settings with two values. These control the shadow and alpha settings of the selected mesh. As with the shaders themselves, the alpha and shadow values that work with them are detailed on the Fox Shaders page.

Misc

Finding Models

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.

General

  • 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.

Anime

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.

Video Games

  • 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.

Everything

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.

Converting Models

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

Click ->

  • 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

  • P

Brings up the separate submenu

  • CTRL-Z

Undo

  • CTRL-Shift-Z

Redo

  • Shift-D (object and edit mode)

Duplicate selected object or highlighted mesh part

  • G

Move selected

  • R

Rotate selected

  • S

Scale selected

  • 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

  • V

Split vertex

  • E

Extrude tool

  • K

Knife tool

  • Shift-V

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

Zoom

    • +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 layer

  • ~

View all layers

More in-depth list

Recommended Reading

Things not fully covered here (at least yet) that are also worth reading for a better understanding of how some things work.

PES 16/17

  • 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