Skip to content

Commit f86239f

Browse files
committed
update redive index
1 parent 66763d1 commit f86239f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

redive/main.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ function main() {
539539
foreach (execQuery($db, 'SELECT unit_id FROM unit_rarity WHERE rarity=6') as $row) {
540540
$info[$row['unit_id']]['hasRarity6'] = true;
541541
}
542-
$spineManifest = file_get_contents('data/+manifest_spine.txt');
542+
$spineManifest = file_get_contents('data/+manifest_spine2.txt');
543543
foreach ($info as $id => &$item) {
544544
if (strpos($spineManifest, "a/spine_${id}_chara_base.cysp.unity3d") !== false) {
545545
$item['hasSpecialBase'] = true;

redive/resource_fetch.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
[ 'bundleNameMatch'=>'/^a\/comic_comic_l_\d+_\d+.unity3d$/', 'nameMatch'=>'/^comic_l_(\d+_\d+)$/i', 'exportTo'=>'comic/$1', 'extraParam'=>'-s 682x512' ],
2727
],
2828
'storydata'=>[
29-
[ 'bundleNameMatch'=>'/^a\/storydata_still_\d+.unity3d$/', 'nameMatch'=>'/^still_(\d+)$/i', 'exportTo'=>'card/story/$1', 'extraParamCb'=>function(&$item){return ($item->width!=$item->height)?'-s '.$item->width.'x'.($item->width/16*9):'';} ],
29+
[ 'bundleNameMatch'=>'/^a\/storydata_still_\d+.unity3d$/', 'nameMatch'=>'/^still_(\d+)$/i', 'exportTo'=>'card/story/$1', 'extraParamCb'=>function($item){return ($item->width!=$item->height)?'-s '.$item->width.'x'.($item->width/16*9):'';} ],
3030
[ 'bundleNameMatch'=>'/^a\/storydata_\d+.unity3d$/', 'customAssetProcessor'=> 'exportStory' ],
3131
[ 'bundleNameMatch'=>'/^a\/storydata_spine_full_\d+.unity3d$/', 'customAssetProcessor'=> 'exportStoryStill' ],
3232
[ 'bundleNameMatch'=>'/^a\/storydata_movie_\d+.unity3d$/', 'customAssetProcessor'=> 'exportSubtitle' ],
@@ -46,8 +46,8 @@
4646
[ 'bundleNameMatch'=>'/^v\/vo_(ci|speciallogin|btg)_(\d+)\.acb$/', 'exportTo'=> 'sound/vo_$1/$2' ],
4747
],
4848
'movie'=>[
49-
[ 'bundleNameMatch'=>'/^m\/(t\/)?(.+?)_(\d[\d_]*)\.usm$/', 'exportTo'=> 'movie/$2/$3' ],
50-
[ 'bundleNameMatch'=>'/^m\/(t\/)?(.+)\.usm$/', 'exportTo'=> 'movie/$2' ],
49+
// [ 'bundleNameMatch'=>'/^m\/(t\/)?(.+?)_(\d[\d_]*)\.usm$/', 'exportTo'=> 'movie/$2/$3' ],
50+
// [ 'bundleNameMatch'=>'/^m\/(t\/)?(.+)\.usm$/', 'exportTo'=> 'movie/$2' ],
5151
]
5252
];
5353

@@ -489,7 +489,7 @@ function checkAndUpdateResource($TruthVersion) {
489489

490490
$manifest = parseManifest($manifest);
491491
foreach ($resourceToExport as $name=>$rules) {
492-
$name = "manifest/${name}_assetmanifest";
492+
$name = "manifest/${name}2_assetmanifest";
493493
if (isset($manifest[$name]) && shouldUpdate($name, $manifest[$name]['hash'])) {
494494
curl_setopt_array($curl, array(
495495
CURLOPT_URL=>'http://prd-priconne-redive.akamaized.net/dl/Resources/'.$TruthVersion.'/Jpn/AssetBundles/iOS/'.$name,

0 commit comments

Comments
 (0)