mirror of
https://github.com/scurest/apicula.git
synced 2025-06-18 14:45:37 -04:00
Update README
This commit is contained in:
parent
a21790f2b0
commit
cf6b325cae
91
README.md
91
README.md
@ -1,86 +1,109 @@
|
||||
# apicula
|
||||
<p align=center><img src="frontispiece.gif" alt="Ore ga Omae o Mamoru model in Blender"></p>
|
||||
<h3 align=center>apicula</h3>
|
||||
<p align=center>
|
||||
<a href="https://ci.appveyor.com/project/scurest/apicula"><img src="https://ci.appveyor.com/api/projects/status/bavh9qh25mbta41x?svg=true" alt="Build status"></a>
|
||||
<a href="https://github.com/Aaronepower/tokei"><img src="https://tokei.rs/b1/github/scurest/apicula" alt="Lines of code"></a>
|
||||
<a href="LICENSE"><img src="https://img.shields.io/badge/license-0BSD-lightgrey.svg" alt="license 0BSD"></a>
|
||||
<br>
|
||||
Rip models from DS games.
|
||||
</p>
|
||||
|
||||
[](https://ci.appveyor.com/project/scurest/apicula)
|
||||
[](https://github.com/Aaronepower/tokei)
|
||||
-----
|
||||
|
||||
Convert Nintendo DS models and animations to COLLADA.
|
||||
|
||||
The [Nitro file
|
||||
formats](https://wiki.vg-resource.com/wiki/Nintendo_DS#NITRO_File_Formats) were
|
||||
the formats for Nintendo's SDK for DS game developers and were used by many DS
|
||||
games. This tool is for dealing with Nitro models (NSBMD files), viewing them,
|
||||
and converting them to COLLADA .dae files. There is also support for loading
|
||||
textures (NSBTX) and animations (NSBCA).
|
||||
|
||||

|
||||
Many Nintendo DS games used [Nitro
|
||||
files](https://wiki.vg-resource.com/wiki/Nintendo_DS#NITRO_File_Formats) for
|
||||
assets, like NSBMD files for 3D models. apicula can extract these models and
|
||||
their associated textures and animations from a ROM or memory dump, display them
|
||||
in its model viewer, and convert them to the common 3D formats COLLADA and glTF
|
||||
for importing into content-creation tools like Blender.
|
||||
|
||||
* [Tutorial](https://github.com/scurest/apicula/wiki/TUTORIAL)
|
||||
* [Hallow's tutorial on VG Resource](https://www.vg-resource.com/thread-32332.html)
|
||||
* [Common Blender issues](https://github.com/scurest/apicula/wiki/BLENDER)
|
||||
|
||||
|
||||
## Downloads
|
||||
### Downloads
|
||||
|
||||
Pre-built binaries are provided for Windows:
|
||||
|
||||
* [apicula-latest-x86_64-pc-windows-msvc](https://s3.amazonaws.com/apicula/apicula-latest-x86_64-pc-windows-msvc.zip) (Windows, 64-bit)
|
||||
* [apicula-latest-i686-pc-windows-msvc](https://s3.amazonaws.com/apicula/apicula-latest-i686-pc-windows-msvc.zip) (Windows, 32-bit)
|
||||
* [apicula for Windows, 64-bit](https://s3.amazonaws.com/apicula/apicula-latest-x86_64-pc-windows-msvc.zip)
|
||||
* [apicula for Windows, 32-bit](https://s3.amazonaws.com/apicula/apicula-latest-i686-pc-windows-msvc.zip)
|
||||
|
||||
These are built automatically off the latest `master`. You may need one of the Visual Studio
|
||||
Redistributable packages installed.
|
||||
|
||||
|
||||
## Building
|
||||
### Building
|
||||
|
||||
Building is done in the usual way for Rust projects. See [BUILDING.md](BUILDING.md).
|
||||
Make sure [Rust is installed](https://rustup.rs/) and [build the usual way](https://doc.rust-lang.org/cargo/guide/working-on-an-existing-project.html)
|
||||
|
||||
$ git clone https://github.com/scurest/apicula.git
|
||||
$ cd apicula
|
||||
$ cargo b --release
|
||||
$ target/release/apciula -V
|
||||
|
||||
|
||||
## Usage
|
||||
### Usage
|
||||
|
||||
To view a set of models
|
||||
To search a ROM or other packed file for Nitro files and extract them
|
||||
|
||||
apicula extract <INPUT FILE> -o <OUTPUT DIR>
|
||||
|
||||
To view models
|
||||
|
||||
apicula view <NITRO FILES>
|
||||
|
||||
To convert a set of models to COLLADA, placing the generated files in the given
|
||||
directory
|
||||
To convert models to COLLADA `.dae` files
|
||||
|
||||
apicula convert <NITRO FILES> -o <OUTPUT DIR>
|
||||
|
||||
To extract Nitro files from a ROM or other packed file, placing extracted files
|
||||
in the given directory
|
||||
To convert models to glTF `.glb` files
|
||||
|
||||
apicula extract <INPUT FILE> -o <OUTPUT DIR>
|
||||
apicula convert -f=glb <NITRO FILES> -o <OUTPUT DIR>
|
||||
|
||||
To get technical information about the given Nitro files
|
||||
|
||||
apicula info <NITRO FILES>
|
||||
|
||||
To receive help
|
||||
To receive further help
|
||||
|
||||
apicula help
|
||||
|
||||
See also the [tutorial](https://github.com/scurest/apicula/wiki/TUTORIAL) on the
|
||||
process of extracting Nitro files from a ROM image and using apicula to convert
|
||||
them to COLLADA.
|
||||
process of extracting Nitro files from a ROM, converting them to COLLADA, and
|
||||
importing them into Blender.
|
||||
|
||||
|
||||
## Compatibility
|
||||
### Compatibility
|
||||
|
||||
apicula was primarily tested with Nitro files from the following games
|
||||
apicula recognized these file formats
|
||||
|
||||
* `.nsbmd`, `.BMD`, or `.BMD0` contain 3D models, and often their associated
|
||||
textures and palettes
|
||||
* `.nsbca`, `.BCA`, or `.BCA0` contain skeletal animations
|
||||
* `.nsbtx`, `.BTX`, or `.BTX0` contain textures and palettes
|
||||
* `.nsbtp`, `.BTP`, or `.BTP0` contain pattern animations, which change the
|
||||
textures in a material
|
||||
|
||||
Pattern animations are supported in the viewer and extractor, but not in the
|
||||
converter (neither COLLADA nor glTF support animations that change a material's
|
||||
textures).
|
||||
|
||||
Exporting is primarily tested with the following games:
|
||||
|
||||
* Kingdom Hearts: 358/2 Days
|
||||
* Ore ga Omae o Mamoru
|
||||
* Rune Factory 3: A Fantasy Harvest Moon
|
||||
|
||||
Importing the COLLADA files we generate has been tested in the following programs:
|
||||
Importing the resultant COLLADA files has been tested in the following programs:
|
||||
|
||||
* Blender
|
||||
* Blender 2.79
|
||||
* Godot
|
||||
|
||||
If you can test in others (Maya, 3DS Max), that would be appreciated :)
|
||||
|
||||
|
||||
## Special Thanks
|
||||
### Special Thanks
|
||||
|
||||
* **kiwi.ds**, for models and documentation for Nitro formats. All NDS model viewers seem to be
|
||||
derived from this one. Now defunct.
|
||||
@ -97,6 +120,6 @@ If you can test in others (Maya, 3DS Max), that would be appreciated :)
|
||||
invaluable.
|
||||
|
||||
|
||||
## License
|
||||
### License
|
||||
|
||||
0BSD
|
||||
|
BIN
frontispiece.gif
BIN
frontispiece.gif
Binary file not shown.
Before Width: | Height: | Size: 497 KiB After Width: | Height: | Size: 904 KiB |
Loading…
Reference in New Issue
Block a user