Code Monkey home page Code Monkey logo

unitylive2dextractor's Introduction

UnityLive2DExtractor

用于从Unity AssetBundle中提取Live2D Cubism 3文件

Used to extract Live2D Cubism 3 files from Unity AssetBundle

Usage

拖放Live2D文件夹到exe上,多个Live2D文件请放到一个文件夹内,将在文件夹所在目录生成Live2DOutput目录

Drag and drop the Live2D folder to the exe. Please put multiple Live2D files into a folder, and the Live2DOutput directory will be generated in the directory where the folder is located

Command-line

UnityLive2DExtractor.exe live2dfolder

Requirements

unitylive2dextractor's People

Contributors

perfare avatar xkein 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

unitylive2dextractor's Issues

Question

sometimes when i try to extract models from a file, this happens altho it didnt produce an error... any idea what could be wrong or missing?
minorproblem

同遊戲不同角色的live2d模型只有一個能Extract

我的各角色live2d是.bundle檔案,每個角色的檔案我都用assetstudio確認過有moc和phy的檔案,但我把他們各自放到不同資料夾且把各自的資料夾拖到live2dextractor時只有固定的某個角色能成功,其他的全部都是跳出終端機一下就立刻沒了。
我曾想過是不是因為檔案是中文名,但當我把能輸出成功的檔案改中文名且不能輸出的改英文名時,前者依舊可以輸出成功,後者依舊不行。
如果能夠幫助我我會很感謝的。

help

How exactly do I use it? I put this folder and it said loading and that's it.
image

Splitted motion files

Hi, I have some problems. Similar like #1 , but the motions file are likely scattered / splitted over other file. For example xxxx.unity3d has CubismDrawable#1 and xxx2.unity3d has CubismDrawable#2 and so on (Based on my prediction, not check all files btw.)

Here's I got from AssetStudio

  • CubismAutoEyeBlinkInput#n,
  • CubismDrawable#n,
  • CubismEyeBlinkController#n,
  • CubismHarmonicMotionController#n,
  • CubismHarmonicMotionParameter#n,
  • CubismLookController#n,
  • CubismModel#n,
  • CubismMouthController#n,
  • CubismParameter#n,
  • CubismPart#n,
  • CubismPartInspector#n,
  • CubismPhysicsController#n,
  • CubismRenderController#n,
  • CubismRenderer#n,
  • ...etc

They all were splitted in different .unity3d file and the type is MonoBehaviour, this cause live2d models are not having any .motion3.json at all.

I'm using AssetStudio to lookup any model linked file and using UnityLive2DExtractor to extract from file. Any help or tricks would be appreciated, and thanks for providing awesome tool for extract live2d model.

outofmemoryexception

i tried using it on a folder and it gave a outofmemoryexception, what do i do when this happens?

Different Motions

Hello! This is my first issue, so please bear with me.

When I extract the models I have, the UnityLive2DExtractor doesn't output some of the motions. I looked through AssetStudio with the same file, and the missing motions are there, just under different titles like m_200_backward #1560 and e_013 #2131.

They're all contained in one, singular file.

I'm not really sure what else to do here, so any help is appreciated! Thanks.

update request

i cant seem to extract model files from a certain game even using 1.0.7 version of this program... can you update the program again?

Separate Model and Controller files

I'm working on figuring out how to get the Cubism motion3 files out of a game going EoS soon, but it seems like the structure of the files prevents me from recovering the AnimationClip files back into motion3 files via UnityLive2DExtractor.

I've seen other games where there is an Animator file that seems to contain the model3, moc3, and such files, but what I find in tihs game is that these files are already exposed - there is no Animator file containing them.
image

the animation clips are also in an entirely different folder than the model data, unlike in other situations where the whole cubism object is in 1 file.

I was wondering what I need to try to modify to get the data necessary to rebuild the motion3 out of the AnimationClips.

This section:
CubismMotion3Converter
seems to be what I need to modify to reference something, but I'm not clear on how it does what it does (what file is it reading, how does it grab the data it needs)

EDIT: From what I'm understanding - there should be Transform files that I'm tracing the hierarchy of to build the Motion3 conversion objects with, but I can't seem to find any Transform files in relation to these Cubism files, only an AnimationController that seems to be more for StateMachine controls.

The cdi file seesms to contain parameter data (Parameter Names, Groups, Part names) - but no obvious hierarchy data or defaults, so I'm not sure if this works as a replacement for the Transform objects that are missing.

example.zip

Program.cs:line 64

I will be honest I know very little about coding. I wish to rip the live2d files from a game called Mosaique Neko Waifus 4. I have followed the instructions, but keep running into this error and wanted to know if there was a solution.

Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at UnityLive2DExtractor.Program.Main(String[] args) in C:\projects\unitylive2dextractor\UnityLive2DExtractor\Program.cs:line 64

I tried opening the file within visual studio, but it detected no errors. I also tried compiling the master branch but received the same error. If you could help that would be greatly appreciated.

update extraction program

a certain game has live2d data that cant be extracted by the current versions of this program, will you do some updating on the program in the future?

How do I extract audio files?

I'm trying to extract audio files from Azur Lane, specifically the voice lines. I don't know where the files are stored and I'm not sure if I'm extracting from the right folder.

AssetStudio

I've tried to use the AssetStudio program to extract them as well, but I am unsure as to what files/file extensions actually contain the audio (voice lines). When the file exports finished, I don't see any files with file extensions that contain audio (or I don't know which ones contain audio).

Note: I can't create an issue in AssetStudio repository, so I'm creating it here as it is somewhat related.

I'm currently extracting from the Android -> data -> com.YoStarEN.AzurLane -> files -> AssetBundles folder through an Android emulator. I'm not sure which folder within the AssetBundles stated above contains the voice lines.

.obb:

There is also a related Azur Lane file in Android -> obb -> com.YoStarEN.AzurLane -> main.62016.com.YoStarEN.AzurLane.obb that is 1.53 GB and I am unsure if this may contain the audio files (voice lines). I'm not sure if there is a correct way to extract from this. I've tried changing the file extension to .zip and extracting from that but got files that all ended in .ys. Then I tried extracting from that and got some different files with extensions like .resS and files that don't have file extensions.

Final Remarks

If there are specific file types to look out for, naming patterns (for files), specific procedures to follow, or any information on this, please let me know. If there is a tutorial out there that you can point me to, that would be helpful. Any help is appreciated.

Note: no problems with extracting the live2d files. I'll like to pair them up with the voice lines/audio.

motions輸出完為空

用extractor後moc3. physic3 model3.都有出來,唯獨motions是空的,用assetstudio看裡面也沒有看到,其他檔案也都看過了沒有fa名字有fade或motion之類的文件,但有看到這個live2d的.bundle檔裡面有很多emotion還有animation controller,請幫幫我。

Export MotionFade back to Motion3Json

Hello, I'm not sure where this question would go between your UnityLive2D Extractor or AssetStudio. I have some issues with exporting out some motion3.json files that have been converted to .fade files. They are all MonoBehaviour scripts with Animation clips. Looking at it in AssetStudio, the .fade files contains the parameters and keyframe data.

Is it possible if you could look at this if it can be returned back to its json file? Thank you very much.
enstarsl2dmotions.zip

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.