mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
DKR Assets Tool v0.5 (#577)
* Saving files before attempting to integrate custom crash screen * Put code under DkrAssetsTool namespace * More progress * Lots of work done. * Forgot to revert back to v77 in the makefile * Included cstdint in bytes_view.hpp * Hopefully fixed issue with CEnum::tostring(), removed asset_enums from tracking, and modified gitignore to allow obj files from the mods folder * .mtl file and the textures should now check if the path is absolute or relative. * Fixed compile_all.sh * Doing a thing that is technically not valid. * Removed 'make assets', now assets are built in the normal 'make' setting.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"files": {
|
||||
"order": [
|
||||
"ASSET_CUSTOM_TESTCUBE"
|
||||
],
|
||||
"sections": {
|
||||
"ASSET_CUSTOM_TESTCUBE": {
|
||||
"filename": "okCube.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "Custom Model Test",
|
||||
"authors" : ["Example"],
|
||||
"description": "A simple cube model with a custom texture that replaces the N64 logo on the bootup screen."
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"models": [
|
||||
"ASSET_CUSTOM_TESTCUBE"
|
||||
],
|
||||
"merge-type": "patch"
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"model": "okCube.obj",
|
||||
"type": "ObjectModel"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
# Blender 4.2.3 LTS MTL File: 'okCube.blend'
|
||||
# www.blender.org
|
||||
|
||||
newmtl OK
|
||||
Ns 250.000000
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.500000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd ok.png
|
||||
@@ -0,0 +1,50 @@
|
||||
# Blender 4.2.3 LTS
|
||||
# www.blender.org
|
||||
mtllib okCube.mtl
|
||||
o Cube
|
||||
v -1.000000 -1.000000 1.000000
|
||||
v -1.000000 1.000000 1.000000
|
||||
v -1.000000 -1.000000 -1.000000
|
||||
v -1.000000 1.000000 -1.000000
|
||||
v 1.000000 -1.000000 1.000000
|
||||
v 1.000000 1.000000 1.000000
|
||||
v 1.000000 -1.000000 -1.000000
|
||||
v 1.000000 1.000000 -1.000000
|
||||
vt 0.997037 0.999800
|
||||
vt 0.001401 0.004664
|
||||
vt 0.996713 0.004264
|
||||
vt 1.000502 1.001801
|
||||
vt -0.000438 -0.001309
|
||||
vt 0.999901 0.006264
|
||||
vt 0.998942 0.999685
|
||||
vt -0.000837 0.000692
|
||||
vt 1.001076 0.004442
|
||||
vt 1.001248 1.009469
|
||||
vt 0.001877 -0.005005
|
||||
vt 1.001871 -0.004697
|
||||
vt 0.995394 0.004395
|
||||
vt -0.000019 0.996097
|
||||
vt 0.003106 0.005796
|
||||
vt 0.999416 0.002147
|
||||
vt -0.002540 1.000085
|
||||
vt -0.002540 0.002147
|
||||
vt 0.001724 1.000200
|
||||
vt 0.000501 1.003068
|
||||
vt -0.002671 0.999511
|
||||
vt 0.001254 1.009161
|
||||
vt 0.998585 0.993865
|
||||
vt 0.999416 1.000085
|
||||
s 0
|
||||
usemtl OK
|
||||
f 2/1 3/2 1/3
|
||||
f 4/4 7/5 3/6
|
||||
f 8/7 5/8 7/9
|
||||
f 6/10 1/11 5/12
|
||||
f 7/13 1/14 3/15
|
||||
f 4/16 6/17 8/18
|
||||
f 2/1 4/19 3/2
|
||||
f 4/4 8/20 7/5
|
||||
f 8/7 6/21 5/8
|
||||
f 6/10 2/22 1/11
|
||||
f 7/13 5/23 1/14
|
||||
f 4/16 2/24 6/17
|
||||
Reference in New Issue
Block a user