#and for batching some imagemagick calls
Explore tagged Tumblr posts
superchlorine · 2 years ago
Text
who knew making gifs would involve writing so much code 😵‍💫
7 notes · View notes
alexa-play-despacito · 3 years ago
Note
(I don't know if this has already been asked but-)
How do you do your rips for LN? You make them look so good. I wanna learn so I can make them for another game I play!
I read a tutorial by askr. You can find the Drive link to the tutorial on their page if you /search/ for rips. I don't want to drop a direct link. It'll help a lot. There are two methods I can explain. I'm on Windows 10. One is using NinjaRipper https://gamebanana.com/tools/5638. This tool is no longer updated, but it works on Nox 6.2.2.0 for LN at least, and the emulated Android device is default, so Android 4.4.2 is the version you're launching, or at least I launch. After ripping search for the DDS file extension and get them all out to the same folder. I batch convert the DDS into PNG via file globbing using ImageMagick https://imagemagick.org/. The command is: magick mogrify -format png *.dds (Of course do that after navigating to the directory you placed the .dds extractions, so: cd C:\Users\User\Documents\Images\etc\ ) (I don't know how to survive lots of image files without ImageMagick, it's a secret standard of batch image processing, it even has a rival spinoff or fork called GraphicsMagick that claims to be better, wow, image processing drama) Besides that, this tool Noesis was recommended as a game image conversion tool https://richwhitehouse.com/index.php?content=inc_projects.php , and has the same quality as ImageMagick. There are lots of ways to convert DDS → PNG so I think getting NinjaRipper to work is the hardest. Also, there is a successor, NinjaRipper 2, that I would like to try, and you can BUY the tool here. https://www.patreon.com/ninjaripper. My laptop has poor and slow processing power, like, 2 cores, but it gets by. A single rip takes up to 15 minutes for me. It's nice that it rips in order which is helpful for arranging the individual textures together.
Tumblr media
Yup, here's an example of a bad rip. Not every texture displayed was ripped. My educated guess is the animated background particles (I had animations enabled) caused the ripper to overwrite identically named texture files between display from frame to frame over the few second duration that the ripper was executed. The texture file names indicate the order of the layering. The flowers Tex_0019 were laid on top and loaded final. This is one thing helpful about the NinjaRipper method, compared to nefarious method #2. The second method involves File Manager+ on the same Nox emulator, possibly any unless it is a later Android version that File Manager+ can't handle. Download the app on Google Play or hm, APKPure possibly but it won't launch on Android 4 for the Nox version I was talking about earlier. It's good to know about APKPure. Anyways. The Nox emulated Android device is rooted, and what happens is File Manager + requests superuser access. Go into the system data.... and you will find... /res/ as well as /resupdate/ . There was a drama about it a year ago because this information caused game leaks (the thread is helpful), and the texture files have since been encrypted and PVRTextool doesn't read the .ktx files. KTX is just a container and the game actually stores the images as compressed png images, not in DDS format. There is a decoder that decrypts the scrambled png data, and that tool is for LN itself. Maybe your game texture files won't be encrypted yet and you can do a raw file extraction only. I couldn't use File Manager+ to access system on Android 9 when I attempted extracting JN game data some months ago, and that's because of recent security updates regarding scoped storage. Or maybe it was because of Nox being finicky with a beta version which, for Nox, Android 9 is. Solid File Explorer File Manager, the trial version you can use for 1 week, will successfully do that file extraction for you if your game requires the a more updated Android version. I can also say that in the system data files there are some unencrypted GIFs that are housing emojiis!
Tumblr media
I didn't explain perfectly on purpose, I hope this helps.
8 notes · View notes