Users browsing this thread: 7 Guest(s)
XOR First Bytes of Files Automatically
#1
Bug 
Hi everyone!

I'm currently in the process of ripping sprites from Sword Art Online: Alicization Lycoris.
After spending probably way too much time on this game, I finally found a way to get the character sprites out of it.
The problem is, with my current methods, it takes ages.

I managed to automate a lot of the usual file-by-file operations using PowerShell.
However, part of the process is decrypting a file header by using a logical XOR operation on the first 32 bytes of the files.
While I can do that for each file individually, I would have to do so for something around 600 files if I want to rip everything.
So my question is: is there a way to automate this process? Potentially a PowerShell function that can XOR a specified amount of bytes?

I did search the web already, but didn't manage to find anything that was able to help my specific case.
If any of you more experienced people know of a way, that would be massively appreciated!

Thanks in advance!
Reply
Thanked by:


Messages In This Thread
XOR First Bytes of Files Automatically - by Lillyth-Sillyth - 11-30-2024, 03:12 PM

Forum Jump: