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.
Resident Evil 4 (PS2) subtitles
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Problem with bms script in extraction
Because the script is wrong for that format
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.
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.
-
- Posts: 129
- Joined: Mon Aug 22, 2016 10:30 am
Re: Problem with bms script in extraction
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.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Resident Evil 4 (PS2) subtitles
Moved in the correct section and assigned a better title
-
- Posts: 129
- Joined: Mon Aug 22, 2016 10:30 am
Re: Resident Evil 4 (PS2) subtitles
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?
-
- Posts: 129
- Joined: Mon Aug 22, 2016 10:30 am
Re: Resident Evil 4 (PS2) subtitles
Aluigi, the script was made by Thief1987. Do you know if he is a member of Zenhax?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Resident Evil 4 (PS2) subtitles
I guess yes, there is an user with that exact username
-
- Posts: 129
- Joined: Mon Aug 22, 2016 10:30 am
Re: Resident Evil 4 (PS2) subtitles
Someone can help me, aluigi, swuforce, thief1987... I need really to extract this evd file!