feat: implement resource index decryption

- Add `cipher` utility for resource index decryption/encryption
- Automatically decrypt `index_initial.json` and `index_main.json` during archiving
- pages: Update `ResourcesTab` to display links to decrypted versions of index files
- Update README to reflect that some raw data is now decrypted
This commit is contained in:
daydreamer-json
2026-03-30 17:21:08 +09:00
parent 75899425a1
commit 80dbeeb545
5 changed files with 75 additions and 5 deletions

View File

@@ -12,6 +12,11 @@ type AllRequired<T> = Required<{
type ConfigType = AllRequired<
Freeze<{
cipher: {
akEndfield: {
resIndexKey: string;
};
};
network: {
api: {
akEndfield: {
@@ -69,6 +74,11 @@ type ConfigType = AllRequired<
>;
const initialConfig: ConfigType = {
cipher: {
akEndfield: {
resIndexKey: 'Assets/Beyond/DynamicAssets/Gameplay/UI/Fonts/', // via reversing
},
},
network: {
api: {
akEndfield: {