Welcome to ReversedRooms Autopatch!

Welcome!

This is ReversedRooms™ Autopatch’s help site.

About us

This site is currently operated by miHomo Software, and published by ReversedRooms.

Join our Discord:

Discord - ReversedRooms

Discord - miHomo Software

About here

ReversedRooms™ Autopatch is a part of Project: Garden of Recollection, aiming to preserve and share delicate memories of any type.

Currently our sites are:

  • autopatch.reversedrooms.workers.dev
  • mirror.autopatchcn-juequling.workers.dev
  • mirror.autopatchos-zenlesszonezero.workers.dev
  • mirror.autopatch-reversedrooms.workers.dev

Content on the main site and mirrors should be same, but the mirrors may be updated slower than the main site (about 1-3 hours).

What we provide?

We provide some dead resources here, including:

If you find what you want, you can jump to Skill issues part to have a expectation that what problems you may meet with.

All resources are marked with certain format in the following code blocks. They follow these format:

  • One line of hotfix should contain Branch (-b) and at least one channel pair.
  • A channel pair should contain identifier (-r, -s, …), version and suffix ([number]_[hex_suffix]).
  • After several hotfixes, --res-plats can specify the platforms -r supports. If only -r is platform-specific, --res-plats is included; if all channels are not able to be equal across platforms, --platforms is included.
  • Packages include non-hotfix files. The first word will tell what it is:
    • single means that’s a single file.
    • scattered means it’s originally from ScatteredFiles API. If you want to consume these files, you can first request pkg_version under the URL base and download the remaining files by remoteName.
    • unzip is equal to scattered, except that it’s extracted from a zip file and auto-generated; in other words, these links never exists on the origin site.
    • Notice that in scattered or unzip packages, you should ask the server whether Audio_[Language]_pkg_version exists.

“A Certain Anime Game”

The base URL is:

  • For CN hotfix / CN Package, https://{site}/anime-cn.
  • For OS Package, https://{site}/anime-os.

3.4_live

There’s one version of CN available on this site (actually OS and CN’s hotfix are all the same here).

1
2
3
4
5
6
7
8
9
10
11
# CN / OS Hotfix
-b 3.4_live -s 12901190_326dbbbf65 -c 13021296_8f79734b55 -r 12875869_b9da23cec2

--res-plats Android StandaloneWindows64 iOS
--windows-exclude-patterns ".*\.pck" ".*\.usm" ".*\.cuepoint"

# CN Package
scattered "client_app/download/pc_zip/20230109134623_pLhUB4LFubdudxQa/ScatteredFiles" --audios Chinese English(US) Japanese Korean

# OS Package
scattered "client_app/download/pc_zip/20230109135018_10QhExKHwAoa4ecr/ScatteredFiles" --audios Chinese English(US) Japanese Korean

Notice: for this version, some files are not provided on the server, including:

  • In client_game_res for StandaloneWindows64, any files with their extensions matching .pck, .usm, .cuepoint are not provided. For a complete Windows game client that’s nothing.

For information on usage in PS hosting, see Anime 3.4 Autopatch Output.

Bare URL Examples:

  • client_game_res (-r):
    • .../anime-cn/client_game_res/3.4_live/output_12875869_b9da23cec2/client/Android/base_revision
    • .../anime-cn/client_game_res/3.4_live/output_12875869_b9da23cec2/client/Android/release_res_versions_external
  • client (-c):
    • .../anime-cn/client_design_data/3.4_live/output_13021296_8f79734b55/client/General/AssetBundles/data_versions
    • .../anime-cn/client_design_data/3.4_live/output_13021296_8f79734b55/client/General/AssetBundles/blocks/10/33761807.blk
  • client_silence (-s):
    • .../anime-cn/client_design_data/3.4_live/output_12901190_326dbbbf65/client_silence/General/AssetBundles/data_versions
  • Package:
    • (CN) .../anime-cn/client_app/download/pc_zip/20230109134623_pLhUB4LFubdudxQa/ScatteredFiles/pkg_version
    • (OS) .../anime-os/client_app/download/pc_zip/20230109135018_10QhExKHwAoa4ecr/ScatteredFiles/Audio_Chinese_pkg_version

Have a nap!

The base URL is:

  • CBT 2/3: https://{site}/sleep.
  • OS (Live): https://{site}/sleep-os.

1.4 OS Beta

1
2
3
4
# Oversea Hotfix
-b beta_live -r 5016531_79764a0a26 -s 5016531_79764a0a26 -d 5016531_79764a0a26 --oversea

--platforms Android StandaloneWindows64 iOS PS5

For information on usage in PS hosting, see ZZZ 1.4 OSBeta Autopatch Output.

Bare URL Examples:

  • game_res (-r):
    • .../sleep-os/game_res/beta_live/output_5016531_79764a0a26/client/Android/oversea/base_revision
  • design_data (-s, -d):
    • .../sleep-os/design_data/beta_live/output_5016531_79764a0a26/client/PS5/oversea/data_version
    • .../sleep-os/design_data/beta_live/output_5016531_79764a0a26/client_silence/iOS/oversea/data_version

CBT 2

Sadly, here’re only CN distributions.

1
2
3
4
5
6
-b cb2_live -r 735278_0faa66787a --res-plats Android StandaloneWindows64 iOS
-b cb2_live -r 761862_8733c5e847 --res-plats Android StandaloneWindows64 iOS
-b cb2_live -r 815667_a43ce10395 --res-plats Android StandaloneWindows64 iOS
-b cb2_live -r 821944_b3efd63ca2 --res-plats Android StandaloneWindows64 iOS

--res-plats Android StandaloneWindows64 iOS

Bare URL Examples:

  • .../sleep/game_res/cb2_live/output_710004_f7cf131a11/client/Android/cn/base_revision
  • .../sleep/game_res/cb2_live/output_709447_d117773543/client/Android/cn/Blocks/3298614664.blk

CBT 3

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Oversea Hotfix
-b cb3_live -r 1767124_d8cdc6f85f --oversea
-b cb3_live -s 1886259_21f7b1a5bc -d 1886259_21f7b1a5bc --oversea
-b cb3_live -r 1886259_21f7b1a5bc --oversea
-b cb3_live -r 1976854_84fb82ffe3 -s 1976854_84fb82ffe3 -d 1976854_84fb82ffe3 --oversea
-b cb3_live -r 2028017_3405ec90bd -s 2028017_3405ec90bd -d 2028017_3405ec90bd --oversea
-b cb3_live -r 2132685_34d1b276e1 -s 2132685_34d1b276e1 -d 2132685_34d1b276e1 --oversea
-b cb3_live -r 2238087_d2e274ee04 -s 2238087_d2e274ee04 -d 2238087_d2e274ee04 --oversea

--platforms Android StandaloneWindows64 iOS PS5

-b cb3_live -r 2321779_33192d92fd -s 2321779_33192d92fd -d 2321779_33192d92fd --oversea
-b cb3_live -r 2450486_bccab76585 -s 2450486_bccab76585 -d 2450486_bccab76585 --oversea

--platforms Android StandaloneWindows64 iOS

# CN Hotfix

-b cb3_live -r 1767124_d8cdc6f85f
-b cb3_live -s 1886259_21f7b1a5bc -d 1886259_21f7b1a5bc
-b cb3_live -r 1886259_21f7b1a5bc
-b cb3_live -r 1976854_84fb82ffe3 -s 1976854_84fb82ffe3 -d 1976854_84fb82ffe3
-b cb3_live -r 2028017_3405ec90bd -s 2028017_3405ec90bd -d 2028017_3405ec90bd
-b cb3_live -r 2132685_34d1b276e1 -s 2132685_34d1b276e1 -d 2132685_34d1b276e1
-b cb3_live -r 2238087_d2e274ee04 -s 2238087_d2e274ee04 -d 2238087_d2e274ee04
-b cb3_live -r 2321779_33192d92fd -s 2321779_33192d92fd -d 2321779_33192d92fd
-b cb3_live -r 2450486_bccab76585 -s 2450486_bccab76585 -d 2450486_bccab76585

--platforms Android StandaloneWindows64 iOS

# Oversea Package

unzip "package_download/op/client_app/os/download/20240408183416_R8WrHYHbQW7jNMku/unzip"

# CN Package

unzip "package_download/op/client_app/download/20240408183253_vTHA2z527fho119q/unzip"
single "package_download/op/client_app/download/20240408145616_igYLv9zdfakL58ds/zzz.apk"

For information on usage in PS hosting, see ZZZ CBT3 Autopatch Output.

Bare URL Examples:

  • game_res (-r):
    • .../sleep/game_res/cb3_live/output_1767124_d8cdc6f85f/client/Android/oversea/base_revision
    • .../sleep/game_res/cb3_live/output_2132685_34d1b276e1/client/Android/cn/res_version
    • .../sleep/game_res/cb3_live/output_1767124_d8cdc6f85f/client/PS5/oversea/Video/HD/Yorozuya/Zero/ChallengeZero_Nineveh_SunShine.usm
  • design_data (-s, -d):
    • .../sleep/design_data/cb3_live/output_2132685_34d1b276e1/client_silence/StandaloneWindows64/cn/silence_version
    • .../sleep/design_data/cb3_live/output_2132685_34d1b276e1/client/Android/cn/data_version
    • .../sleep/design_data/cb3_live/output_2450486_bccab76585/client/iOS/cn/Blocks/959279945.blk
  • Package:
    • (OS) .../sleep/package_download/op/client_app/os/download/20240408183416_R8WrHYHbQW7jNMku/unzip/pkg_version
    • (CN) .../sleep/package_download/op/client_app/download/20240408183253_vTHA2z527fho119q/unzip/ZZZ.exe
    • (CN) .../sleep/package_download/op/client_app/download/20240408145616_igYLv9zdfakL58ds/zzz.apk

Skill issues

Here’re some problems you may meet with:

How to get a part of file (instead of the full one) by adding Range header

Site supports breakpoing-resume downloading. If you write a request like this, the response will be the requested bytes. Simple.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
GET https://autopatch.reversedrooms.workers.dev/need-urgent-rsp/anime-cn/client_game_res/3.4_live/output_12875869_b9da23cec2/client/Android/release_res_versions_external HTTP/1.1
User-Agent: miHomo
Host: autopatch.reversedrooms.workers.dev
Range: bytes=0-20


HTTP/1.1 206 Partial Content
Date: Thu, 20 Jun 2024 08:20:58 GMT
Content-Type: application/octet-stream
Content-Length: 21
Connection: keep-alive
Content-Range: bytes 0-20/401247
Content-Disposition: attachment; filename="release_res_versions_external"
Accepted-Ranges: bytes

# Response body
{"remoteName": "ctabl

Server also supports multipart range, but I personally don’t recommend this. Retard invension™.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
GET https://autopatch.reversedrooms.workers.dev/need-urgent-rsp/anime-cn/client_game_res/3.4_live/output_12875869_b9da23cec2/client/Android/release_res_versions_external HTTP/1.1
User-Agent: miHomo
Host: autopatch.reversedrooms.workers.dev
Range: bytes=0-20, 21-30


HTTP/1.1 206 Partial Content
Date: Thu, 20 Jun 2024 08:22:05 GMT
Content-Type: multipart/byteranges; boundary=ATighnariLoverPresents
Connection: keep-alive
Content-Disposition: attachment; filename="release_res_versions_external"
Accepted-Ranges: bytes
alt-svc: h3=":443"; ma=86400

# Response body
--ATighnariLoverPresents
Content-Type: application/octet-stream
Content-Range: bytes 0-20/401247

{"remoteName": "ctabl
--ATighnariLoverPresents
Content-Type: application/octet-stream
Content-Range: bytes 21-30/401247

e.dat", "m
--ATighnariLoverPresents--

This picture clarifies the format of multipart/byteranges body:

HTTP multipart/byteranges Format

Notice that due to some reasons, response of multipart/byteranges won’t return Content-Length. That’s unnecessary, really.

“File Size verify not passing” |「文件长度校验不通过」

This may because when modifying query_gateway for the client, you has changed only the revision number and URL; however the index file list should also be adjusted.

You can often find related configuration values on Autopatch Output in the end of your demanded version’s corresponding part below.

Big Files cut off

Currently, if the requested file’s size is over about 190 MB, the response will be cut off, which makes downloading in browser broken. Your own program may resolve this by

  • Requesting 190 MB per chunk (using Range in HTTP request header).
  • Implement a proper “response not long enough” handling mechanism and let program automatically adjust when the response get cut off.

520

If you get HTTP status code 520, that means the upstream service is encountering some temporary issues. Just retry requests later.

“Network lag”

Original content here is deprecated because:

  • Streamed response is fully supported and available even without need-urgent-rsp tag;
  • Code under need-urgent-rsp tag acts no difference compared to without it.

429 Too Many Requests

Oops! The traffic today to our website is really high and meet the request limit of Cloudflare Workers.

You can try to use another mirror listed before, or wait until the next day’s 00:00:00 (on UTC).

500

If you get content like this:

1
500 Qiqi Obtained. CF-Ray: 87654321abcdef

You can contact @yyheggegg on Discord or send a email to mihomo-technology@outlook.com, with the CF-Ray.

Theoritically if you received this error, it has been reported to the backend; but if you really want to feedback more details, we really welcome it.

About maintainer

A Tighnari lover Presents