I tried extract files from the ps2 game 悠久ノ桜
Could you please write bms script for this format *.VDP(VSC_VDP_FILE) ?
https://mega.nz/file/1VVnGBYB#X6YsIr18i ... y-UCarLXy0
Please help extract this archive *.VDP
-
- Posts: 179
- Joined: Tue Jan 18, 2022 12:21 am
Re: Please help extract this archive *.VDP
cardia wrote:I tried extract files from the ps2 game 悠久ノ桜
Could you please write bms script for this format *.VDP(VSC_VDP_FILE) ?
https://mega.nz/file/1VVnGBYB#X6YsIr18i ... y-UCarLXy0
I really dont understand the full logic of this file, but, i made a script, its a workaround one, should be able to extract this file you uploaded.
Code: Select all
GOTO 0X800
GET FOLDER STRING
GOTO 0X834
GET FOLDER2 STRING
GOTO 0X868
GET FOLDER3 STRING
GOTO 0x1000
FOR
GET OFFSET LONG
XMATH OFFSET "(OFFSET + 0X2000)"
GET NOIDEA LONG
GET SIZE LONG
GET ZEROS LONG
GET NAME STRING
STRING FILENAME P "/%FOLDER%/%NAME%"
IF NAME == ""
BREAK
ENDIF
GETDSTRING ZEROS 0X0E
LOG FILENAME OFFSET SIZE
NEXT
GOTO 0x4C64000
SAVEPOS TEMP
FOR
GET OFFSET LONG
XMATH OFFSET "(OFFSET + TEMP + 0X1000)"
GET NOIDEA LONG
GET SIZE LONG
GET ZEROS LONG
GET NAME STRING
STRING FILENAME P "/%FOLDER2%/%NAME%"
IF NAME == ""
BREAK
ENDIF
GETDSTRING ZEROS 0X0E
LOG FILENAME OFFSET SIZE
NEXT
GOTO 0xA1ED000
SAVEPOS TEMP2
FOR
GET OFFSET LONG
XMATH OFFSET "(OFFSET + TEMP2 + 0X5800)"
GET NOIDEA LONG
GET SIZE LONG
GET ZEROS LONG
GET NAME STRING
STRING FILENAME P "/%FOLDER3%/%NAME%"
IF NAME == ""
BREAK
ENDIF
GETDSTRING ZEROS 0X0A
LOG FILENAME OFFSET SIZE
NEXT
Probably it will not work with other .VDP
-
- Posts: 11
- Joined: Mon Oct 05, 2020 4:02 pm
Re: Please help extract this archive *.VDP
rabatini wrote:cardia wrote:I tried extract files from the ps2 game 悠久ノ桜
Could you please write bms script for this format *.VDP(VSC_VDP_FILE) ?
https://mega.nz/file/1VVnGBYB#X6YsIr18i ... y-UCarLXy0
I really dont understand the full logic of this file, but, i made a script, its a workaround one, should be able to extract this file you uploaded.Code: Select all
GOTO 0X800
GET FOLDER STRING
GOTO 0X834
GET FOLDER2 STRING
GOTO 0X868
GET FOLDER3 STRING
GOTO 0x1000
FOR
GET OFFSET LONG
XMATH OFFSET "(OFFSET + 0X2000)"
GET NOIDEA LONG
GET SIZE LONG
GET ZEROS LONG
GET NAME STRING
STRING FILENAME P "/%FOLDER%/%NAME%"
IF NAME == ""
BREAK
ENDIF
GETDSTRING ZEROS 0X0E
LOG FILENAME OFFSET SIZE
NEXT
GOTO 0x4C64000
SAVEPOS TEMP
FOR
GET OFFSET LONG
XMATH OFFSET "(OFFSET + TEMP + 0X1000)"
GET NOIDEA LONG
GET SIZE LONG
GET ZEROS LONG
GET NAME STRING
STRING FILENAME P "/%FOLDER2%/%NAME%"
IF NAME == ""
BREAK
ENDIF
GETDSTRING ZEROS 0X0E
LOG FILENAME OFFSET SIZE
NEXT
GOTO 0xA1ED000
SAVEPOS TEMP2
FOR
GET OFFSET LONG
XMATH OFFSET "(OFFSET + TEMP2 + 0X5800)"
GET NOIDEA LONG
GET SIZE LONG
GET ZEROS LONG
GET NAME STRING
STRING FILENAME P "/%FOLDER3%/%NAME%"
IF NAME == ""
BREAK
ENDIF
GETDSTRING ZEROS 0X0A
LOG FILENAME OFFSET SIZE
NEXT
Probably it will not work with other .VDP
Thank you,maybe I should give the whole game
https://mega.nz/folder/MQkRCQaQ#u8Ni0v3WXtNFRAmRTslgcQ
-
- Posts: 11
- Joined: Mon Oct 05, 2020 4:02 pm
Re: Please help extract this archive *.VDP
rabatini wrote:cardia wrote:I tried extract files from the ps2 game 悠久ノ桜
Could you please write bms script for this format *.VDP(VSC_VDP_FILE) ?
https://mega.nz/file/1VVnGBYB#X6YsIr18i ... y-UCarLXy0
I really dont understand the full logic of this file, but, i made a script, its a workaround one, should be able to extract this file you uploaded.Code: Select all
GOTO 0X800
GET FOLDER STRING
GOTO 0X834
GET FOLDER2 STRING
GOTO 0X868
GET FOLDER3 STRING
GOTO 0x1000
FOR
GET OFFSET LONG
XMATH OFFSET "(OFFSET + 0X2000)"
GET NOIDEA LONG
GET SIZE LONG
GET ZEROS LONG
GET NAME STRING
STRING FILENAME P "/%FOLDER%/%NAME%"
IF NAME == ""
BREAK
ENDIF
GETDSTRING ZEROS 0X0E
LOG FILENAME OFFSET SIZE
NEXT
GOTO 0x4C64000
SAVEPOS TEMP
FOR
GET OFFSET LONG
XMATH OFFSET "(OFFSET + TEMP + 0X1000)"
GET NOIDEA LONG
GET SIZE LONG
GET ZEROS LONG
GET NAME STRING
STRING FILENAME P "/%FOLDER2%/%NAME%"
IF NAME == ""
BREAK
ENDIF
GETDSTRING ZEROS 0X0E
LOG FILENAME OFFSET SIZE
NEXT
GOTO 0xA1ED000
SAVEPOS TEMP2
FOR
GET OFFSET LONG
XMATH OFFSET "(OFFSET + TEMP2 + 0X5800)"
GET NOIDEA LONG
GET SIZE LONG
GET ZEROS LONG
GET NAME STRING
STRING FILENAME P "/%FOLDER3%/%NAME%"
IF NAME == ""
BREAK
ENDIF
GETDSTRING ZEROS 0X0A
LOG FILENAME OFFSET SIZE
NEXT
Probably it will not work with other .VDP
And I get the files *.tex, Is there any way to convert/extract them to PNG files?