|
26 | 26 | [ 'bundleNameMatch'=>'/^a\/comic_comic_l_\d+_\d+.unity3d$/', 'nameMatch'=>'/^comic_l_(\d+_\d+)$/i', 'exportTo'=>'comic/$1', 'extraParam'=>'-s 682x512' ],
|
27 | 27 | ],
|
28 | 28 | '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):'';} ], |
30 | 30 | [ 'bundleNameMatch'=>'/^a\/storydata_\d+.unity3d$/', 'customAssetProcessor'=> 'exportStory' ],
|
31 | 31 | [ 'bundleNameMatch'=>'/^a\/storydata_spine_full_\d+.unity3d$/', 'customAssetProcessor'=> 'exportStoryStill' ],
|
32 | 32 | [ 'bundleNameMatch'=>'/^a\/storydata_movie_\d+.unity3d$/', 'customAssetProcessor'=> 'exportSubtitle' ],
|
|
46 | 46 | [ 'bundleNameMatch'=>'/^v\/vo_(ci|speciallogin|btg)_(\d+)\.acb$/', 'exportTo'=> 'sound/vo_$1/$2' ],
|
47 | 47 | ],
|
48 | 48 | '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' ], |
51 | 51 | ]
|
52 | 52 | ];
|
53 | 53 |
|
@@ -489,7 +489,7 @@ function checkAndUpdateResource($TruthVersion) {
|
489 | 489 |
|
490 | 490 | $manifest = parseManifest($manifest);
|
491 | 491 | foreach ($resourceToExport as $name=>$rules) {
|
492 |
| - $name = "manifest/${name}_assetmanifest"; |
| 492 | + $name = "manifest/${name}2_assetmanifest"; |
493 | 493 | if (isset($manifest[$name]) && shouldUpdate($name, $manifest[$name]['hash'])) {
|
494 | 494 | curl_setopt_array($curl, array(
|
495 | 495 | CURLOPT_URL=>'http://prd-priconne-redive.akamaized.net/dl/Resources/'.$TruthVersion.'/Jpn/AssetBundles/iOS/'.$name,
|
|
0 commit comments