Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

About project Tokyo dolls

Featured Replies

  • Author
  • Localization

libaibaba, posted Sun Nov 03, 2019 5:23 am (51853)


First of all, the script in this link is wrong. It doesn't apply to current assetshttps://zenhax.com/viewtopic.php?f=9&t=12638&p=51441&hilit=Project Tokyo Dolls#p51441
When I look at the article, I see this https://estertion.win/2019/03/project-tokyo-dolls-????/
https://gist.github.com/esterTion/6b3fd18e2f67d72fdb6d28c5fe195e8a

This works well, but you need to install related tools that support php7.2 or below, such as wampserver.
Because it only deals with one asset, I made a small change
Code:
//Come from https://gist.github.com/esterTion/6b3fd18e2f67d72fdb6d28c5fe195e8a
$dir = "G://prim/*";
foreach(glob($dir) as $file)
{

$dat = file_get_contents($file);

$key = implode('', array_reverse(str_split(base64_decode('Y2VJOCQpWSNZcyRyNVJGNVd8NFctXzE7Kkw7KVZVenc='), 1)));
$iv  = implode('', array_reverse(str_split(base64_decode('ZTBnJDJuUnAmIWRBUVJXP2pxeCxXPn1FI2ZKRzFEKkw='), 1)));

$head = substr($dat, 0, 0x400);
$body = substr($dat, 0x400);

$headdec = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key, $head, MCRYPT_MODE_CBC, $iv);

file_put_contents($file, $headdec.$body);
}


I still don't make BMS scripts as usual, sorry?
Finally, as I have always stated, English is not my native language, which depends on translation software. Please forgive me for my English
  • Author
  • Localization

aluigi, posted Sat Mar 21, 2020 10:00 pm (54910)


I don't have samples for testing the script but I guess this one may work:
Code:
set KEY string "Y2VJOCQpWSNZcyRyNVJGNVd8NFctXzE7Kkw7KVZVenc="
set IV  string "ZTBnJDJuUnAmIWRBUVJXP2pxeCxXPn1FI2ZKRzFEKkw="

string KEY U KEY
string IV  U IV

get NAME basename

encryption "mcrypt rijndael-256_cbc" KEY IV 0 32
log NAME 0 0x400
get SIZE asize
math SIZE - 0x400
encryption "" ""
append
log NAME 0x400 SIZE
append
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.