-
Note: This plugin only works with the Universal Render Pipeline at the moment.
-
If you have a git account, add this project as a dependency in
Packages/manifest.json
in the root your your project"com.opeious.pokemon3dstounity": "https://github.com/opeious/Pokemon3DStoUnity.git",
-
If you don't have git setup, download and put the entire project into your Assets Folder
- From the top bar click 3DStoUnity and hit import
- Place your 3DS files in
Assets/Bin3DS
that would've been created - Hit import again
- Exported files and prefabs get added to
Assets/Exported
For a step-by-step guide / more info: https://gbatemp.net/threads/tutorial-export-your-pokemon-animated-models-from-3ds-to-unity-engine-3d.532962/
If you face any issues or just looking for a community of likeminded developers: https://discord.gg/pYBWwAa (Discord Server)
If you would like to contribute to this project, I would recommend going through the TODOs at the top of PokemonImporter.cs
in the main
branch:
https://github.com/opeious/Pokemon3DStoUnity/blob/main/Editor/PokemonImporter.cs
-
Add two new layers called "FireCore" and "FireMask"
-
Either create a new ForwardRenderer (sample attached in root of this repo), or select your existing ForwardRenderer
-
The default ForwardRenderer will be with URP settings in
Assets/Setting
-
In the ForwardRenderer: From Opaque Layer Mask remove FireCore and FireMask.
-
Add two render objects one for each layer, for their individual settings refer the image below
-
In your project settings. (URP Renderer Settings) If you created a new ForwardRenderer, set the new one as default
- Open the Binary using SPICA's H3D parser
- Translate the 3D model to Unity Mesh system and skinned mesh renderers
- Generate material files from the textures
- Automatically copy over some of the shader settings to the newly created materials
- Skins and generates the skeleton for the mesh
- Generates skeletal animations from the binaries
- Generate material / vis animations and append them to skeletal animations
- Renames animations, skips repeated animations
- Saves the translated mon as prefab
- Supports bulk processing
- Unity package manager doesn't currently support version of git packages, for now just remove the project as a dependency and add it again
- v2.1: Ability to override animation controller during import, List fix (2019.1 and below)
- v2.0: Added option to generate and apply shiny materials
- v1.9: Fix (Changed parser to allow reading of Binaries that are set to read only.)
- v1.8: Fixes, delete settings to regenerate defaults, custom shader support for material animations
- v1.7: Fire Shader
- v1.6: Full material / vis animation support, bunch of fixes related to animations and skipping corrupt files etc.
- v1.5: Added Visiblity animations, fixed iris/body shaders, Material aniamtions (preview)
- v1.4: Added UI, made the plugin customizable, animation renaming, etc
- v1.3: Skeletal animation generation
- v1.2: Skinning and rigging fixes
- v1.1: sample toon shader, asset creation
- v1: basic skeleton, model, texture generation