hashinami46 / sakamichi-app-ts-cli

Typescript based cli tools to download Sakamichi Series Apps and Games assets such as photo, video, audio, and text.
20 stars 2 forks source link

are you able to extract reward movies from nogikoi? #4

Open Ayanaminn opened 7 months ago

Ayanaminn commented 7 months ago

Hi,

Great script. I'm not very familiar with JS but tried to read through so I might be wrong.

I was wondering if you could get reward movies of nogikoi from the server. Unlike photocards, it seems they are encrypted and if you do not play you won't get a token.

Also it seems for the nogifra what you did is to access the app data from a rooted phone rather than directly request data from server?

hashinami46 commented 7 months ago

Hello!

About the nogikoi related movie assets, since the movie is securely encrypted with keypair, I can't generate the secure link using random pubkey/privkey. The keypair itself is the dev's secret, but if you find the method/logic to get token that used as a middleware to generate the secure url, it might be possible.

Also about nogifra assets. That's almost impossible to obtain the catalog's decryption key because of it's security (game guard). So, the only thing that possible to do it extract the downloaded assets from /android/data folder and convert it to playable media. This method doesn't need root as long as your filemanager can reach the /android/data/ subfolder.

Ayanaminn commented 7 months ago

Thanks. So now it seems like the Nogikoi reward movie and the mobile fan club wallpaper are the only keypair encrypted contents. The mobile wallpaper used to have a preview version directly accessible through web request, but that pathway was dead, unfortunately.