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.

Resident Evil 4 (PS2) subtitles

Featured Replies

  • Author
  • Localization

Kratos9999, posted Sat Dec 03, 2016 11:24 am (19242)


Hi aluigi, I am having problems with a bms script for extract an archive file. The script is this:
goto 0x48
get files long
get tableoff long
goto tableoff

for i = 0 < files
savepos offset
getct name string 0x2e
getdstring ext 3
math TMP2 = 0x30
savepos TMP
math TMP - offset
math TMP2 - TMP
for j = 0 < TMP2
get dummy byte
next j
get offset long
get size long
get dummy longlong
if ext = "mdt"
string name "."
string name ext
log name offset size
endif
next i

This is the link of archive that I can't extract: https://drive.google.com/file/d/0B24D4L ... p=drivesdk

The Quickbms always returns the error: "Couldn't not possible to read the last 32 bytes of archive".
You can solve this problem in script for me, I need really to extract this file.
  • Author
  • Localization

aluigi, posted Sat Dec 03, 2016 2:12 pm (19249)


Because the script is wrong for that format :D
Honestly I don't know how the data is referenced there, there is a list of filenames but I don't see things like offsets and sizes.
In short, ask to who made that format and, moreover, add references in this topic: name of the game, where you got the original script, what that evd file should represent and so on.
  • Author
  • Localization

Kratos9999, posted Sat Dec 03, 2016 4:50 pm (19253)


Aluigi, the game is Resident Evil 4, PS2 Version. This evd archive contain the subtitles of cutscenes, the script extract many subfolders, and in the end, the file with subtitles is 0Kb. I have searched in many sites for an EVD tool, but every links are broken. A script for extract/repack is my last hope to translate the subtitles.
  • Author
  • Localization

aluigi, posted Sat Dec 03, 2016 6:48 pm (19256)


Moved in the correct section and assigned a better title
  • Author
  • Localization

Kratos9999, posted Sat Dec 03, 2016 9:11 pm (19257)


Aluigi, is possible to make editing in script and adapt to extract and repack the files inside evd archive, without the error of "32 bytes" and 0kb in file size?
  • Author
  • Localization

Kratos9999, posted Sun Dec 04, 2016 10:34 pm (19272)


Aluigi, the script was made by Thief1987. Do you know if he is a member of Zenhax?
  • Author
  • Localization

aluigi, posted Mon Dec 05, 2016 6:59 am (19281)


I guess yes, there is an user with that exact username
  • Author
  • Localization

Kratos9999, posted Mon Dec 05, 2016 11:22 pm (19294)


Someone can help me, aluigi, swuforce, thief1987... I need really to extract this evd file!
  • Author
  • Localization

czdvoika, posted Thu Apr 13, 2023 1:35 pm (76378)


Hi I know this is offtopic but I solved the problem by adding "endian little" in the third line, maybe it will help someone.
"*.EVD cutscene PS2"

Code:
goto 0x48
get files long

endian little

get tableoff long
goto tableoff

for i = 0 < files
savepos offset
getct name string 0x2e
getdstring ext 3
math TMP2 = 0x30
savepos TMP
math TMP - offset
math TMP2 - TMP
for j = 0 < TMP2
get dummy byte
next j
get offset long
get size long
get dummy longlong
if ext = "mdt"
string name "."
string name ext
log name offset size
endif
next i
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.