Git Product home page Git Product logo

mltdtools's Introduction

MLTDTools (MiriTore)

Tools for THE iDOLM@STER Million Live! Theater Days (MiriShita/ミリシタ). A sister project of OpenCGSS/DereTore.

AppVeyor GitHub contributors GitHub (pre-)release Release Date Github All Releases HitCount

Commit Commit Activity PRs Welcome

Downloads:

Requires .NET Framework 4.7.2.

This repository:

  • contains some common tools to explore possibilities.
  • does not serve as a card/event/CG/commu database. If you want that please visit ミリシタDB.
  • DOES NOT PROVIDE TOOLS FOR YOU TO CHEAT. Cheating is not fun at all. It must be punished.

For the Unity project for resource generation, please visit PlatinumTheater. To preview animations (as in MVs) in Unity, please visit LeadActress.

Details

The projects include some utilities to investigate MLTD data structures.

ACB Packer

Similar to AcbMaker in DereTore, but packs live music into MLTD variant of ACB format.

HCA Decoder

Similar to Hca2Wav in DereTore, but uses MLTD's HCA cipher by default.

ExtractAcb

Extracts ACB file from the song bundles (song3_*.acb.unity3d).

MLTD Information Viewer

View resource manifest (please use Manifest Tools instead), card information and costume information from MLTD database files.

Manifest Tools

A collection of manifest-related utilities: viewing, downloading, diff-ing, exporting, etc.

MillionDance

Export models, dance animations, morphs and camera motions to MMD equivalents. It is currently in alpha state.

Manual

Output animation data can be played in either MikuMikuDance (MMD) or MikuMikuMoving (MMM). But, the number of frames is huge due to technical limitations. MMM is much faster reading motions with large amount of frames. Don't feed MMD with motions converted in 60 fps. It simply hangs for a long time and then crashes.

MLTD Dance Viewer

A simple viewer for MLTD dancing data, which allows directly reading model and motion data extracted from MLTD.

Theoretically it can be applied to other Unity games, with a little modification...

Requires OpenGL 4.0+

TDFacial

Facial expression mapping editor utility to use with MillionDance.

Manual

Contributing

Contributions are Welcome!!

License

BSD 3-Clause Clear License

mltdtools's People

Contributors

hozuki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mltdtools's Issues

some exes not opening

AcbPack, HcaDec, and ManifestExport do not open, and only open like a command prompt. Opening in Compatibility Windows 8 mode and giving Admin do not work. Along with this, MillionDance does not recognize files exported from MLTD Asset Downloader

MillionDance generated model/motions scaling problem

screenshot_185

Both motion sources (MLTD & MMD) were affected,
if Scaling to normal PMX size is checked, the tool generates about 100x normal model size.
but if unchecked, it generates about 0,1x ~ 0,01x normal model size with 100x bone size

input string was not in a correct format error

When I try to convert the model, I get an error
A small window pops up and says "input string was not in a correct format". By default, my decimal separator is a dot. I changed the decimal separator to coma and have tried to run the program again. Now I get a huge error. Again about input string.
1
2

Aliance stardust second camera

the program only exports the first camera (the shika parts and most of the time fixed aerial view) and reviewing there is not a file for another camera, so I think both are in the same file

Edit:I'm imbecile, there was already an open and solved problem, although I don't know how to choose

I just found an effect called "sub camera" works practically the same as the mmd camera but somewhat more complex since everything is set up by hand . I think it can be used to simulate the split screen of the mv as alstar and person voice

Effect: http://www.nicozon.net/watch/sm13354843

Example: https://youtu.be/IaTUaFWt1Js

How to find models?

Trying to find the unity3d models from cache00 folder. But all of them now has a bunch of numbers and letters. How would I know if the unity3d models are there?

Textures?

How do you get the textures to put on the models? Is this still being worked on or is there something missing that I'm doing?

s02ann(vivid collors) Lip sync error

when trying to take out the lip sync, million dance shows an error.

"index out of bounds of the matrix"

i have a spanish pc, attached screenshot

Edit*
I tried it with the first version of million dance and the mistake didn't happen, I guess it has several expressions at the same time (all for the background)

MillionDance 30_05_2020 01_27_28 p  m

MillionDance error

Hello, I tried using MillionDance with files from the latest version/manifest of the game, and the latest version of this program (CI auto build). It gave me this error while trying to just export a model (no dance, facial, camera, or lip sync, all other settings on default).
Screenshot

I can't really tell if it's an error on my side or not but if it's something I'm doing wrong I'd really appreciate being told what. If I need to provide more info I can do that too. Thank you for keeping this program updated even to this day!

MillionDance

I have all Resources,
image
,but when i run this process, display:System.NullReferenceException

"+" mots and other questions

Hi, thank you so much for the tools. I had some questions, as I’m no expert
1-Is it possible to convert cameras to mmd as smoothly as mmm?
2-Is it possible to rip the teleports/positions?(es. songs like "s01Mak"(jitensha) or Girl meets wonder which only have 1 dance file and yet in the game there are like 5 players, moving, teleporting frames(I guess?) or some other mots like flyers and glow map are fine up to a point where they teleport, in flyers' case they all go or the same spot once chorus starts, in glow map case the teleports are fine, but the positions are wrong and center player has a wrong anim once they start running near towards the bridge part of the stage. Are the teleport values stored somewhere?
3- Is it possible to rip "+" animations? Like flyers for 15 players, as well as the cam.
4-Is it possible to rip special appeals/alternative appeals? Jitensha for example has Makoto running on an actual bike, yet I can't even find the said bike in the files, nor its animation...
5-this is regarding files more than mot itself. In stages, there is no crowd in the actual stage file. Under "chemical light" there is an animation, but no model attached. Where could they be stored?
Thanks again for the tools, your effort and your time

Hand Accessories (suggestion)

there can be a way to add a function in the program to extract Live hand accessories? like "MUSIC♪" mic, "Parade D'amour" flower or "Do the Idol" Chupacabra plush, etc.?

About error on recent asset files

I tried to convert recent asset files with MillionDance - after the Unity engine version update, and the program spat out "System.NullReferenceException" error.
This seems to be the error caused by the change of Unity engine version of MLTD - which had changed the version to 2018 from 2017.f2 recently. It seems that the UnityEngine component in the program does not support the unity3d file.
Is there any way to figure out the problem?
adsfdf

broken vertices when converted to generic mmd

when converted to mmd, there are a bunch of (hidden) bones that affect the vertices of the leg. even when deleting these bones, they still seem to be pulled towards something. it isn't noticeable in mmd on its own, but is present in transform views motion player and mikumikumoving
video is of a base model after conversion in transform view (also, broken shadows?)
https://streamable.com/dxwooz

output merged motion

awesome tool man! thanks for sharing it

it'd be great if MillionDance has an option to output one motion with everything merged, dance, facial, all lips, like back in v0.2.0.35

the tool i use to rename facials (taat https://bowlroll.net/file/135250) doesn't work with the current facial output, maybe because the vmd is missing the non-facial section and taat doesn't know how to handle that
in case anyone is wondering, here are what i usually convert: ウィンク2 to まばたき, 困る左 to 困る, ワ to にっこり

also i usually just use one model, and merge lips of all characters on stage. v0.2.0.35 did that, and it was fine because very often all the dancers have the same dance motion anyway

a command line interface would be great too, or a way to save settings.
right now i need to add in the same body and head, unselect generate model, and change fps to 30 when i start the program every time
i tried to add one myself but i don't have JetBrains things ^^;

sorry for the wall of text, and thanks again for making this wonderful tool!

About issues on recent files

It seems that the file structure on scrobj file has changed once - though the exact time is unsure.
For some songs MillionDance is able to translate the facial motions like blinking or winking to MMD near perfectly - especially for older songs (e.g. Jireru heart ni hi wo tukete) However for more recent songs (like Mirai Hikou, Kururiuta) the program only translates the lipsync.
Would you look over the structure of "scrobj" file so that the program can translate the file?
Thanks in advance.

HCA decrypt result inconsistent with libcgss

There's a little bit difference between the wave file extracted by HcaDec.exe in this repository and the wave file extracted by hca2wav.exe in libcgss . I put them in two tracks , invert the phase of one of them and found the differences is mostly above 7kHz frequency.

image

So which one is correct ?

btw , this project's decrypt result is the same with DereTore .

support for exporting scenarios?

Specifically the "ts" files I still can't find a way to export with the "dummy bones" (I call them that because they exist in mltd but apparently not in the model)

Most scenarios have one or more "ts" files that contain the "extras" of the sescenario, so when exporting them with asset studio the "spot lights" have all the lights set to one bone instead of having one bone per light.

(As I wrote this I remembered that a long time ago I read in the readme a "stage editor: wip" and afterwards it disappeared)

works with dynamic dances? (for example melty fantasia)

I wonder why there is a part where everyone makes a consecutive gesture but not at the same time (I don't know how to explain) and another would be with the union song, I don't know if when the central idol rises it is part of the teleportation or it is apart

I also thought it would be good to change the teleportation to the mother bone (most models in mmd have it and it is easy to add in pmx editor) or make an "solo" option without teleportation

Exporting Error

i've trying to export some models and i got this error with one of them (hibiki fes), any solution?
image

All MillionDance motions&(most) bones are bugged from my exe

I've successfully extracted assets and created models (for the most part), and the models can run motions ripped by other people fine most of the time.

I have tried many different settings, and they all seem to come out the same way. Somehow after applying a motion converted by my exe, my models end up like this:
1
This has been my biggest issue that I can't find some sort of work-around for. I'm assuming it has something to do with the motion file renaming and resizing the bones- I've tried default settings and some other settings as well and I haven't seen much of a difference.

My other issue I'm having is some (seemingly random number) of the models come out having double bones, with one being taller...
2
I am not sure what causes this. Closing and re-opening sometimes stops this from happening, but I don't notice until after converting. The models with double bones seem to work normally as well when a motion is applied. Double bone Matsuri here can run another user-made Datte Princess, also from MLTDTools. Unsure if they did any extra steps to the motion files.

I've also noticed adjusting their height via 'Consider Idol Height' seems to bug them out pretty badly in my experience. My Konomi's bones are way out of bounds, so any motion applied to this pmx warps.
3
I've worked around the mismatched bones by exporting all to the default 1.60m then editing in pmx editor, so it's not too bad, but I can't imagine the 'Consider Idol Height' is working properly in my case. The PMX Editor models I scaled also work with the other user MLTDTools conversions.

I'm positive all of this is my error, so I apologize! I've spent a few hours trying to work around these issues and figured I'd ask here what I'm doing wrong after not being able to figure it out on my own.

Fix camera computation

Coordinate computation in camera motion is still buggy. May be because of LHS to RHS transformation.

Supporting alternative appeals

Some animations have special appeal (e.g. gf0000, 1 available appeal), and some of these have a second another appeal (e.g. kururi, 2 available appeals). These animations are played when the player completes a full combo before the large note.
dan files usually contain apa and apg, but some even have a companion _ap file. (#11) cam files usually contain apa and apg but none of them has _ap file.

Questions:

  1. What do apa and apg stand for, i.e. which one is which?
  2. If those two correspond to the alternative appeals, what role does _ap file play?

questions and suggestions x2

Seeing the publication of LudoMako encouraged me to write.

as for the dances with "+" in the name, just rename them as a normal dance (for example flyer+ change to flyers the dances keep the same position but from dance 6 on you can't read it in any position)

for some reason when i load the exported vmd from million dance they load me to 100 times their original size (even when i turn off the resize option) and the final one is because my pc uses "." to divide the decimals instead of "," (with time i got used to that and i can already take out in dl, but they are still very heavy)

the camera can be used in vmd just by opening the vmd in miku moving and exporting it, then in mmd load and multiply the position to 0.01 and add the fov +30 (for some reason in vmd it is exported to 0 from million dance)
example: https://www.youtube.com/watch?v=36CUwCLk53w

also, I discovered that the game's cubemaps (hairh.png) can be used by adding them as test subtexts exporting directly from noesis but the models generated in million dance don't have them (I don't know if I'm using an outdated version)
example: https://www.youtube.com/watch?v=7M2hWyGcFwM
(I still have some problems with the textures)

Hanamuke no Tori Camera and Facials

I can export the camera with an old version of mltdtools but some of the angles are incorrect, and in the newest version, the camera is just static and the facials for the lips look as if they merged both character's lip animation; motion 1 keeps singing after its supposed to stop as well as motion 2, and im even making sure that "Always Singing" is unchecked.

Broken Camera

I've downloaded new version of miritore and tried to export camera for alliance stardust, it was completely broken
5
camera with new tool
2
camera with old one

Broken Motion

i've having problems with some motions, like Melty Fantasia, it exports it at 60fps (with the 30fps duration) even if its marked the 30fps option, so it just stop dancing at some point. another problem its when the models teleport when dancing, like the MV in-game, there can be added an option to just dancing at the center like in a Solo Live MV?

Trouble with creating models in Million Dance

I wanted to create an ayumu maihama model for the longest time, and found your tool, which is really helpful!
I managed to get the assets with your tools.
However, there is a problem; whenever I use the files "ch_ex004_034ayu.unity3d" as the head and "cb_ex004_034ayu.unity3d" as the body, it says "Cannot load body avatar."

When I tried loading the same head file with the file "cb_ss001_034ayu.unity3d" I got this error instead.
image

If anyone helps, it will be appreciated.

"Sequence contains more than one matching element"

image
found while trying to export the dance + facial expressions for heart days night ( dan_hrtdnt_01.imo.unity3d + scrobj_hrtdnt.unity3d ) to vmd. i've exported other dances + facial expressions just fine before and am unsure if this is an error on my end or not :(

Songs with more than one appeal

The new crazy crazy event song (cracin in the data) fails when trying to export the dance and lip sync

It puts a very long error resealed to appeals (line 48)

It just happens with dancing and lips, the squeezes are exported well from any position

Also: appeals in 30fps are still exported at 60fps

I don't want to bother much, but I love the appeal and the mv in general (I already have the cameras ready to do the split screen I thinkI don't want to bother much, but I love the appeal and the mv in general (I already have the cameras ready to do the split screen I think)

About lip-sync error on specific song

On exporting the lip-sync of the song "Alive Factor" this error message pops up.
(sorry for the language - I use Korean windows)

캡처

"System.ArgumentOutOfRangeException : Not possible
variable name : lipCode
the actual value is 55."

Could you investigate the cause of this error?
Thanks in advance.

Invalid lip syncs

This is from the newest song, "No Curry No Life." It appears it has a new (?) lip sync code, or something like that.
image

problem with "Re@dy"

Million dance exports the first dance well but the others don't work.

I checked the files thinking they were "broken", but they are different from the first one, they contain the dan and idl but they don't contain the apa and apg, only the first one has the complete files (dan, apa, apg, idl

How to export model for another look?

Hello,

I have used MLTD tools and it is very helpful for me.

I tried to export Mizuki's SSR005 another look but received only error message such as "Cannot load body avatar."
I used Head and Body as below and faced error message.
Head: ch_ss105_044miz.unity3d
Body: cb_ss105_044miz.unity3d

When I used Head and Body as below, no error message and can load nicely exported model.
Head: ch_ss005_044miz.unity3d
Body: cb_ss005_044miz.unity3d
11

Does anyone know how to export its another look model?
I really appreciate if anyone can give me guidance.

app crash

Was trying to rip overmaster(hmt030) and loaded miki's head(since it seems that if you don't use the same char that was meant for the song it won' export facials like blink or eyebrows) and it didn't export anything followed by this error
Tried both latest release and unstable build(btw, thought special appeal was bundled with the main dance unity file, how would u have an external ap.imo.unity file?)
09:20:47 Error occurred.
09:20:47 System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
in OpenMLTD.MillionDance.Core.PmxCreator.Physics.AppendSwayBones(PmxBone[] bones, SwayBone[] swayBones, List1 bodies) in C:\projects\mltdtools\src\MillionDance\Core\PmxCreator.Physics.cs:riga 205 in OpenMLTD.MillionDance.Core.PmxCreator.Physics.ImportPhysics(PmxBone[] bones, SwayController bodySway, SwayController headSway) in C:\projects\mltdtools\src\MillionDance\Core\PmxCreator.Physics.cs:riga 42 in OpenMLTD.MillionDance.Core.PmxCreator.CreateModel(CompositeAvatar combinedAvatar, CompositeMesh combinedMesh, Int32 bodyMeshVertexCount, SwayController bodySway, SwayController headSway, ConversionDetails details, ValueTuple2[]& materialList) in C:\projects\mltdtools\src\MillionDance\Core\PmxCreator.Model.cs:riga 69
in OpenMLTD.MillionDance.FMain.DoWorkInternal(Object state) in C:\projects\mltdtools\src\MillionDance\FMain.Working.cs:riga 249
in OpenMLTD.MillionDance.FMain.DoWork(Object state) in C:\projects\mltdtools\src\MillionDance\FMain.Working.cs:riga 28

大佬带我

Any plan on unsupported motions?

Nowadays there are some unsupported motions on MillionDance like "White Vows" or "Rebellion" - in which they dont have files containing "imo" in the dance file name.
Do you have any plan on supporting these motions?
Best regards.

Is there any plan to support SHS version in Million Dance?

From 2021-06-30, MLTD started Second Hair Style gasha and
I've found which asset is SHS asset.

But Million Dance does not support since SHS asset starts with "ca_", where Million Dance supports only "cb_" for Input hair files.

SO, I'm asking a question if Million Dance supports "ca_" files for Input hair files or not.

A small bug when exporting cameras in vmd.

The fov is now constant, but for some reason the cameras come out inverted (this only happens in vmd) I mean, it is the correct position, but look the other way, I found a way to fix it but it made me curious

Also: mmd does not read the camera the same as miku moving since miku moving apparently ignores the model name (model / camera) and loads them, but mmd does not load the cameras, since the model name does not match, it puts the error as if it were a normal motion instead of a camera

How to fix it in mmd:

https://mega.nz/file/OX52USbY#YZ9lWILSSd3KhG5cYlgGuaksPgjAQg_yIr0onG1F34E

I really don't know, I tried to see what the problem is by converting an mmd camera and one generated in million dance to readable text (vmd exploring tools) but despite having the same data both files had a different header

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.