#How to get APK out of bluestacks? Rise of Berk.

185 messages · Page 1 of 1 (latest)

mental heath
#

I am trying to get models from dragons: rise of berk. I successfully have it running on bluestacks 4 and the models I want are RIGHT THERE. But any separate apk I download has no models at all! They likely load in when the game is booted up! When I ran the non-bluestacks one through studioassets, it just said "no unity asset could be loaded" which im worried something is wrong with it, because the APK I gave it had audio assets and it did not even show those. (Does it usually show all assets?)

  1. Is something wrong with my studioassets program that its not even reading any audio assets?

  2. How do I get an APK out of Bluestacks and back on to windows? I tried "export to windows" in bluestacks media manager, but it said "cannot copy files" 😭

potent kiln
#
  1. You have to compress it first (for example .ZIP) and then you will be able to.
mental heath
mental heath
#

So I got the file to zip using astro file manager on bluestacks.......now to figure out how to move it back to my actual desktop.

potent kiln
#

Using the media manager's "Export to Windows' feature

#

If that fails there is a shared media folder called "BstSharedFolder" you may be able to use instead.

mental heath
#

But when I try running them through asset studio, the greenbar loads about half way and then says "no unity file loaded".......I wonder if that means they are encrypted 😭 is that normal?

potent kiln
#

I won't be able to tell unless you upload some sample files.

#

(Note: Only a few files, not the whole thing)

mental heath
potent kiln
#

That's kinda funny, but its not helpful lol

#

I meant like take some of those and upload them here or to another site like google drive

#

But not everything since its against the rules to link to an entire game's resources here

mental heath
#

Lol

#

Would one of the cache ones work?

potent kiln
#

For unity games the expected file type is usually something like .bundle or .asset or .ab

#

Are any of those in there?

#

It is also possible to have files like this instead

#

It is still possible to have others of course

mental heath
#

Searching apk......no.

#

Theres a file labled assets it has music .wav files

.dsb files .dhr files

potent kiln
#

I haven't heard of those

#

Did you try loading the entire apk file?

mental heath
#

Yeah.

potent kiln
#

I'll look at the game myself and see if I can figure it out.

mental heath
#

FOR REAL?!

potent kiln
#

Geez lol

mental heath
#

Life saver

#

HERO

#

MVP

potent kiln
#

No guarantees!

mental heath
#

Just someone else who knows what they are looking at more is great

potent kiln
#

So i guess the files are these dsb , dab, and dhr files but I have no idea what they are

#

Hey this looks promising, same company too! Looking at the files in a hex editor reveals LPKG at the beginning of every file

mental heath
#

Wow

potent kiln
#

So it did work, kinda

mental heath
#

What is lpkg?

potent kiln
#

Some kinda compression

#

This is the result

#

Pvr is some kind of texture format, an example

mental heath
#

!!!!!

potent kiln
#

As for models I don't know

#

It could be buried in this avalanche of .dat files

mental heath
#

What hex editor? How did you decode them?

potent kiln
#

By the way all these files is just 1 out of a billion dsb/dhr/dab files lol

mental heath
#

There could still be models buried somewhere in there?

potent kiln
#

Perhaps

#

I only looked a bit for the texture format

mental heath
#

Would the asset studio pick them up?

potent kiln
#

No

mental heath
#

Wah

#

Thats a big step forward

#

......how would I replicate it?

potent kiln
#

Well anyway for this you download quickbms
Download the ludia jurassic park bms file
Load the bms in quick bms and then the matching dsb/dab/dhr files

#

I can record this process if it will be helpful

mental heath
#

Please that would be amazing.

#

How did you get the rcmcache too?

potent kiln
#

That may be a little more annoying

#

It requires root

mental heath
#

Hhhhh no android

potent kiln
#

So I was able to get it using the nox emulator

#

Other than that I don't know how you would

mental heath
#

I'll see if bluestacks can and if not, i'll just try nox!

potent kiln
#

Nox is easy because having root is just a checkbox

mental heath
#

And then you just import it to desktop like normal?

potent kiln
#

i copied the folder to downloads since you can open it on desktop

mental heath
#

Did you have to open the app or is that data all just from apk?

potent kiln
#

Give me a second

#

The location is root/data/data/com.ludia.dragons/files/RcmCache

mental heath
#

Bloomin hell, downloading nox asap

potent kiln
#

You can download es file explorer to easily copy this to the downloads folder

#

You must enable root though or you wont be able to

mental heath
#

I did something similar in bluestacks with astro file manager

potent kiln
#

Which ever you prefer as long as its able to do it!

mental heath
#

So you got the little dragon images without a file viewer.

potent kiln
mental heath
#

Thats the one you downloaded?

#

Damn before I even asked

potent kiln
#

Is the question not implied? thinkio

mental heath
#

Does the game load the cache when it loads or did I just wrongly assume that?

#

I thought it had NO assets until loading 😭

potent kiln
#

Uh Idk

#

When I downloaded it it downloaded roughly 800 mb of data and the rcm cache is roughly 800 mb

#

So I would assume this is the data

#

Or I am misunderstanding the question

mental heath
#

Did you start up the game?

#

Is it possible the models are still loaded in after loading up

potent kiln
#

Whatever for now I'm focusing on these files since you wanted to know how to unpack them

mental heath
#

Sorry yesse

#

Nox downloaded

Downloading game now

potent kiln
#

I already listed the texture viewing program and how to get the files (scroll up for that)

mental heath
#

Yesssss thank you

#

Im gonna get to downloading and messing with these.

potent kiln
#

For a little while I was wondering if all of this was just ui elements, but no there's 3d model textures too, along with misc things like audio (and quite possibly models)

mental heath
#

Im EXCITED

#

Im sorry you had to do so much digging

#

BUT STRAIT UP MAKING MY DAY

potent kiln
#

No worries

#

I wouldn't do it if I didn't want to

#

I find it kinda fun

#

But don't get excited for me finding the models or extracting them because I probably won't be able to

#

In that case you'd have to hope someone else could figure it out

mental heath
#

How so? Would there be another program needed to find them or is there just.....a lot to go through.

#

Because if theres just a lot to go through I fully intend to dig.

potent kiln
#

My knowledge of 3d model formats is extremely small lol

#

I only deal with models after they've been extracted, see?

mental heath
#

Ah. So it would be finding out what format they are in and asking around for something that can view those.

potent kiln
#

Though if I can find some evidence of it, you might be able to convince someone to look into it

#

It's more likely someone would if there's less work to do

#

Not guaranteed though!

mental heath
#

Find evidence of models in a funky format, heard!

#

You would be ok if I ask more questions later on after I get all this stuff downloaded yeah?

potent kiln
#

Okay!

#

I'll try and answer if I can

mental heath
#

Ok so I got the file explorer and root is on, and I copied it into downloads but theres no rcmcache

Does it do it automatically when root is enabled?

potent kiln
#

If root is enabled you should be able to explore those files

mental heath
#

Gonna watch a video on how to get to root on file explorer.

It did not work. Turned on show hidden files and root explorer on es file explorer and still don't know how to get to root folder.

MORE RESEARCH I FOUND IT had to go home directory and /

potent kiln
#

Great!

mental heath
#

Got to the tacent viewer and got to see some textures for decorations and character models..... any idea on what files it can and can't open? .dat could be anything, right? but I get some errors on some of the other ones too. "Error: no such file in directory".

mental heath
#

I kinda dumped every single file that had "dragon" in the name from rcm cache, and made a discovery. (It took like a half hour to transfer to desktop 😭)

The files are separated by species! Lol.

I even found the texture of the model im targeting.

potent kiln
#

@mental heath Yo! I managed to find and analyze a model file

#

I did tell you I have little knowledge in these things, but this format is straight forward as model formats go

#

And don't get excited for a automatic model extractor, I set this up manually by hand in model researcher

mental heath
#

I THOUGHT IT WAS A DAB

potent kiln
#

As for it is formatted, at the beginning it is vertex/normal/uv and then face indices

#

No rigging data in the file? (not that I'd know how) so it has to be stored separately

#

This is as far as I can go..

mental heath
#

textures and model is all I could ask for

#

I do have one last need of you

#

Please teach me how.

potent kiln
#

Oh, that's quite an ask, given I can only sorta understand it myself

mental heath
#

model researcher?

potent kiln
#

It is a program

#

For analyzing model formats

#

There is a guide here and you should be able to find the download link

mental heath
#

thakyouthankyouthankyou

potent kiln
#

Good luck...

mental heath
#

I was just about to ask the form tomorrow

#

Oh and I need to find out also, is this file a model?

potent kiln
#

Anyway as to not lead you completely in the dark, here is the tmr file for the above model file

#

Load the model and then load this template

potent kiln
# mental heath

you need the corresponding dhr and dsb files and then unpack the files with quick bms

mental heath
#

I found them as well I think.

#

and the resulting pool of .dat files is where the models are held? Lol Im so sorry for asking so many questions you have amazed me

potent kiln
#

Yes

#

You can open up these dat files with a hex editor to examine the contents

potent kiln
#

You can also view the model file I linked for a better idea of what to expect

#

It will be very confusing, just so you know..

#

So don't give up easily!

mental heath
#

I certainly will not! I will play with this a lot tomorrow and do a lot more research!

#

Would I still be able to ask you questions if I get hung up on something though? 😭

potent kiln
#

Anyway you can ask me for help, I'll help if I can

#

ahaha

mental heath
#

MVP MVP MVP

#

ABSOLUTE HERO

mental heath
#

You said face data is at the bottom? While guide's face is at the top. Oh boy. Any idea how to tell where the face- HOT HELL

#

YOUR TEMPLATE WORKED MAGIC

#

I JUST HAD TO ADUST THEM SO THEY DIDNT OVERLAP OR GO OVER

mental heath
#

The texture is flipped when I export but I can learn to fix that

mental heath
#

:) WAHOO!!!!

potent kiln
#

Yay!

potent kiln
#

And I guess you don't need it anymore, but the face indices have a very uniform look to them so they are easy to spot

#

Here the face indices start right after the last uv coordinate

#

The type is short (you can see that if you view the template)

mental heath
#

Ohhh I see it a bit! I just replicated where I saw it began on the template!

Im going to make sure everything right with the extracted model, run it through the checker, learn to make some icons and try to upload to the resource.

If all goes well I'll dig out more dragons!

Thank you so much for showing all of this! Its been a dream completed!

potent kiln
#

You dont even need to look for it anyway

#

assuming all files are arranged the same way, the end block of the vertices will be the beginning of the faces

narrow shuttle
#

Oh my god this thread is a lifesaver

narrow shuttle
#

Sorry for reawakening this but I really need help . Ok so I did the steps above until I decompressed the .dab file for a dragon to 1350 .dat files (and other sound files) now how do I know which one of those holds the model and if I found it how do I get it out in ModelResearcher

#

Without a template of course

narrow shuttle
#

Also an update on how to get the bones as well for animating would be great

mental heath
#

Ah, you find the right file by sorting by size, and picking which one you want thats a .dat. Titans usually largest, followed by any premiums, then the regular dragon, and then baby.

Or just check its the one you want by setting a few thousand verts and clicking render. It will give you a shape of red dots to look at, and check if its the right shape for your dragon (make sure its not split or on its side)

Then check hex view, and probably load a template. It just needs adjusting to the right amount and end points (and will likely need extended much more than what a small gronkle takes) make sure theres no overlap and that the faces (green) don't go past the end. Find where the verts, Uv and normals end, and the faces begin (as pointed out above, faces are uniform, usually with 0 in every other space). Also for these dragons, are exactly 8 spaces away from the last line of FFFF. It should fit perfectly.

#

I still don't know how to get bones or animations. Also the rise of berk models are kinda seamed? Parts are not actually connected, so might have to be messed with to get a different rig to work. I did find a folder called dragon animations global! But its more dastardly .dat files that of course the model researcher can't research (because its not models).

potent kiln
#

I was thinking about looking at the models again, but unfortunately I can't get the game working in Nox anymore.
It won't let me accept the prompts to start the asset download.

#

Looking at the old file I shared before, the only things included are vertices, normals, UVs, and quite possibly vertex color (the "FFFF"s)