Comments (13)
acb2wavs does not support looping by default...
But is the time alright? I mean, the decoded time equals to overall time (with looped content only plays once).
from libcgss.
I believe the time is alright.
If not by default then how do I get it to loop? I've been using vgmstream for a lot of the tracks which are looped automatically but I've come across a couple tracks that just get exported as static noise. I've tried those tracks with acb2wavs and they get exported correctly but just not looped.
from libcgss.
Those tracks that are static noises don't have their subkeys baked into vgmstream yet: it should only be anything from and past the Lost Heroes event along with most sound effects/voice clips.
from libcgss.
Oh yes that's right. Also thanks I managed to get it to work with vgmstream by giving it the correct subkeys
from libcgss.
To enable looping you can modify the fields in decoderConfig
:
libcgss/src/apps/acb2wavs/acb2wavs.cpp
Line 172 in 56041aa
vgmstream is like a de facto standard... I start to think I should make a utility that generates companion .hcakey for vgmstream from acbs. Then it does not have to bake those keys in the code.
from libcgss.
Oh nice. Also that would actually be super useful if you could do that. Thanks for your help
from libcgss.
@Rohul1997 The new release contains a utility to do that. But you still have to get the main key yourself.
from libcgss.
Ayy thanks a lot. I've just tried it and it kinda works how its meant to.
For some Dragalia Lost tracks .bin
files get exported which are also .hca
files that are normally separate vocal and instrumental tracks. The problem is using acb2hcas the .bin
files that get exported inside the external
folders are files filled with zeros in hex. Other than that the .hca
and .hcakey
files that get exported work fine with vgmstream.
from libcgss.
I guess you meant "internal
folders".
Well, it may be another "linking" or "aliasing". And they are filled with zeroes, for unknown reasons. You can check out the internal AWB in raid.acb
. (Search for "AFS2" in a hex editor.)
from libcgss.
No no I actually did mean the external
folders because when using acb2wavs
it exported to external and those .bin
files if you rename them to .wav
they play. So it should be the same with acb2hcas
only difference is those .bin
files should just be renamed to .hca
but the problem is they are filled with zeroes and so contain nothing.
from libcgss.
Oh so when I use the -n
parameter it gives 1 .hca
file with the name and 2 .bin
file inside the external
folder. The .hca
file is fine and has the correct content but the 2 .bin
files are filled with zeroes.
When I don't use the -n
parameter it gives 3 .bin
files inside the external
folder. All 3 are .hca
files and do have the correct content inside.
The same file names + extensions are exported inside the internal
folder but those are just couple kb files that don't have the actual content.
from libcgss.
It's weird, the name should not affect reading streams. Anyway this should be fixed in a new release.
from libcgss.
Thanks! Just tried and it works perfectly now. I guess I can close this now.
from libcgss.
Related Issues (9)
- [hcacc] Fails to change crypto type for hca files that loop HOT 2
- Not all HCA files are exported from ACB HOT 10
- Compatibility issue when one Cue has multiple sub wav files HOT 1
- Feature: Add prefix to Cue name HOT 6
- ACB Ver.1.40.00 support
- Decrypt errors for latest ADX2 SDK ver (v2.98) HOT 37
- Failed decryption and inconsistencies between libcgss and DereTore HOT 5
- Error with reading Dragalia acb file HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcgss.