Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Question) Most ddi files of V2 cannot be extracted #2

Closed
Cinelie opened this issue Jun 15, 2022 · 5 comments
Closed

(Question) Most ddi files of V2 cannot be extracted #2

Cinelie opened this issue Jun 15, 2022 · 5 comments

Comments

@Cinelie
Copy link

Cinelie commented Jun 15, 2022

As the title said,most v2 libraries' ddi files will cause the AssertionError
and only VY2V5 can be fully renamed,VY2V2 and V3's ddi.yam have the unknow wav names which do not be inclued in the extract samples.(Seem that the second pitch's wav name have an error)Miku V2 Dark can not be fully extract(it can only extract 1299 files in totally 1473 files)

@ain-soph
Copy link
Owner

It might be helpful for others if we communicate using English here.

I'm using LuoTianyi V4 Meng as my main reference for the implementation.

If there is any AssertionError, that means my current ddi file structure prediction is not perfect (https://1drv.ms/u/s!AgxVwvz3Kj1Ek49YzGjngt49krIZvQ). I never expect it to be perfect though.

I can't spend too much time on this, and it doesn't seem to be hopeful to get everything working. But any discussion and PR is welcome.

@ain-soph
Copy link
Owner

I see most errors come from the old V2 and V3 libraries. I think it'll be fine to simply use the new version instead. Working on old standards is quite painful.

@Cinelie
Copy link
Author

Cinelie commented Jun 30, 2022

Oh,I see.
I guess that problem may be caused by different PHDC part of ddi.
Some libraries do not have newer version or their newer version use the different sound samples,so I want to remake them to a higher quality.(I do not think most people will not be interested in a more fluent Miku V2)
May a phoneme list extractor be possible?Just show which cv,vv and vc samples the ddi have.

@Cinelie Cinelie changed the title (求解)大部分V2的ddi不能被解包 (Question)Most ddi files of V2 can not be extract Jun 30, 2022
@ain-soph
Copy link
Owner

It might not be easy to encode everything back to ddi and ddb format.

Currently I'm only doing the decode job. You can see there are a bunch of unknown bytes in the file, and especially some hash-like bytes. We can't calculate them, and the file validation will fail if we encode our diy stuffs.
But it might work if they don't have any validation mechanism.

Thanks for posting this issue again!

@Cinelie
Copy link
Author

Cinelie commented Jun 30, 2022

It might not be easy to encode everything back to ddi and ddb format.

Currently I'm only doing the decode job. You can see there are a bunch of unknown bytes in the file, and especially some hash-like bytes. We can't calculate them, and the file validation will fail if we encode our diy stuffs. But it might work if they don't have any validation mechanism.

Thanks for posting this issue again!

Well,actually I do not have a plan to encode them to vocaloid.Vocaloid's oto making will be overly concerned with details.An UTAU vb with world vocoder will be easier and more useful.

@ain-soph ain-soph changed the title (Question)Most ddi files of V2 can not be extract (Question) Most ddi files of V2 cannot be extracted Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants