Skip to content
Permalink
Browse files

redive tools update

- export unity3d master hash
  • Loading branch information...
esterTion committed Aug 14, 2018
1 parent 73dc97a commit 8aaecc79d852f7df53b07d247821cc5239bf2999
Showing with 2 additions and 1 deletion.
  1. +2 −1 redive/main.php
@@ -352,7 +352,8 @@ function main() {
$manifest = file_get_contents('data/+manifest_masterdata.txt');
$manifest = array_map(function ($i){ return explode(',', $i); }, explode("\n", $manifest));
foreach ($manifest as $entry) {
if ($entry[0] === 'a/masterdata_master.cdb') { $manifest = $entry; break; }
if ($entry[0] === 'a/masterdata_master.cdb') { $manifest = $entry; }
if ($entry[0] === 'a/masterdata_master.unity3d') { file_put_contents('last_version_legacy.json', json_encode(['TruthVersion'=>$TruthVersion, 'hash' => $entry[1]])); }
}
if ($manifest[0] !== 'a/masterdata_master.cdb') {
throw new Exception('masterdata_master.cdb not found');

0 comments on commit 8aaecc7

Please sign in to comment.
You can’t perform that action at this time.