GithubHelp home page GithubHelp logo

spica's Introduction

SPICA Build status

Experimental H3D tool for serializing/deserializing BCH.

Dependencies:

  • .NET Framework 4.6.2
  • OpenGL 3.3 at least
  • OpenTK
  • OpenTK.GLControl
    • Both can be found on NuGet.
    • Note: The version of OpenTK.GLControl on NuGet is broken, so it's recommended to build it yourself from source and manually add a reference to the compiled library.
    • OpenTK git can be found here.

Linux/Mac Support

SPICA can be built on Linux/Mac using Mono. See README.mono.md for details.

Windows build

To download the lastest automatic build for Windows, Click Here.

Modder Notes (multi-motion export for pokemon sun)

specifically pokemon fans, although possibly not limited to just that realm. DAE files are kind of a pain, but they are open source and easily manipulated. I needed a simple way to combine N animations into a single dae file. Spica already supported single animation exports, yet i hate blender, so prefer to create the game ready models and animations programatically.

what you'll need

  1. get a decrypted .3ds file (possible called .cia)
  2. visual studio 2017 community
  3. DotNet.3DS.Toolkit (i used 1.2.0)
  4. PUYOTOOLS (i built from source)
  5. PK3DS (build 354 - others may work)
  6. SPICA
  7. UNITY3D

Step 1. DotNet.3DS.Toolkit extract from rom

  • use DotNet.3DS.Toolkit to extract the already decrpyted cia/.3ds file
    • (make sure outputs are placed in a diff directory)

Step 2. PK3DS unpack a GARC

  • Open PK3DS and choose tools>Misc Tools> Un(pack)+BCLIM
  • Drag the garc from a/0/9/4 in the first field while holding ctrl.
  • When it's done, you'll have 0000.bin - 10422.bin

Step 3. PUYOTOOLS batch decrypt all the .bins

  • just use the prebuilt binary!
  • or build yourself
  • run and decompress the entire directory output by the pk3ds tool
  • you now have 10k files with all the pkmn data in it an uncompressed for spica

Step 4A. SPICA CLI

  • git clone [email protected]:Wambosa/SPICA.git
  • build using visual studio 2017
  • run
    • .\SPICA.CLI.exe -bin=C:/pkmn/094 -pokemon=charmander

image.png

Step 4B. SPICA UI

  • open spica
  • select merge (folder with plus on it)
  • choose the ~9 files corresponding to the pkmn you want (ctrl+click)
  • here is a model index
  • export textures to .../pokemon/tex
    • most (not all) textures need to be mirrored in order to work in unity*
  • hit save (floppy disk) with selected animation(s) and model to store as .dae

this version of the codebase will save all the animations as a single animation on export

Step 5. UNITY3D

  • import textures first into unity,
  • then import .dae model
  • check out the animation tab

bounty

poli.gif poli.png

spica's People

Contributors

gdkchan avatar reisyukaku avatar wambosa avatar iskunk avatar igniscitrinus avatar

Stargazers

Alexandr Titovskiy avatar  avatar Arthur Chaloin avatar Diogo Guedes avatar

Watchers

James Cloos avatar  avatar 哈雷不灰心 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.