[Steam] Criminal Girl Invite Only, Please help me analyze this file.
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
[Steam] Criminal Girl Invite Only, Please help me analyze this file.
https://www.dropbox.com/s/407lj4jnmwxpo ... t.dat?dl=0
https://www.dropbox.com/s/qfftk1p33j3ne ... t.dat?dl=0
These files are part of the Criminal Girl invite only.
First, you need a script to extract.
But I do not know what each pointer is or what these mean.
Could you help me?
If you can analyze it, please give some explanation.
I am wondering if there is a length of dialogue when editing the game file.
I wonder if there is a part that determines the length of the script.
https://www.dropbox.com/s/qfftk1p33j3ne ... t.dat?dl=0
These files are part of the Criminal Girl invite only.
First, you need a script to extract.
But I do not know what each pointer is or what these mean.
Could you help me?
If you can analyze it, please give some explanation.
I am wondering if there is a length of dialogue when editing the game file.
I wonder if there is a part that determines the length of the script.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [Steam] Criminal Girl Invite Only, Please help me analyze this file.
The problem are just these pointers that are a mess.
Basically it's a mix of strings, numbers and arrays of both strings and numbers of dynamic size, but without any information about what data is referenced by each variable.
Therefore, even if the format is simple, it's impossible to make a script that extracts data if there is no way to know what's the format of the variable.
It's not even possible to "guess" it from the variable name since variables containing "_TXT" may be both numbers and strings, just those with "_MESS" are usually strings.
This is the script that should be able to dump those variables that are probably ever strings:
Basically it's a mix of strings, numbers and arrays of both strings and numbers of dynamic size, but without any information about what data is referenced by each variable.
Therefore, even if the format is simple, it's impossible to make a script that extracts data if there is no way to know what's the format of the variable.
It's not even possible to "guess" it from the variable name since variables containing "_TXT" may be both numbers and strings, just those with "_MESS" are usually strings.
This is the script that should be able to dump those variables that are probably ever strings:
Code: Select all
get FILES long
for i = 0 < FILES
get OFFSET long
getdstring NAME 0x1c
if NAME & "_MESS"
if NAME & "[]"
elif NAME & "_NUM"
else
goto -0x1c 0 SEEK_CUR
slog "" -1 0x1c
slog "" OFFSET -1
endif
endif
next i
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
Re: [Steam] Criminal Girl Invite Only, Please help me analyze this file.
Is this a repackable script?
can you make a repacking script?
can you make a repacking script?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [Steam] Criminal Girl Invite Only, Please help me analyze this file.
Sure, the script is valid for reimporting
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
Re: [Steam] Criminal Girl Invite Only, Please help me analyze this file.
https://www.dropbox.com/s/bcz8dqn3pcrma ... .utf8?dl=0
https://www.dropbox.com/s/zdi2n8cc5ru8l ... .utf8?dl=0
https://www.dropbox.com/s/f3751wtcxdhg8 ... .utf8?dl=0
https://www.dropbox.com/s/kt7p7f9ktdekg ... .utf8?dl=0
https://www.dropbox.com/s/skb4r5yxkzbal ... .utf8?dl=0
https://www.dropbox.com/s/6oc97m11s5urs ... .utf8?dl=0
Can this file also create an unpacking repacking script?
It looks like a text file.
Perhaps the structure is the same.
https://www.dropbox.com/s/zdi2n8cc5ru8l ... .utf8?dl=0
https://www.dropbox.com/s/f3751wtcxdhg8 ... .utf8?dl=0
https://www.dropbox.com/s/kt7p7f9ktdekg ... .utf8?dl=0
https://www.dropbox.com/s/skb4r5yxkzbal ... .utf8?dl=0
https://www.dropbox.com/s/6oc97m11s5urs ... .utf8?dl=0
Can this file also create an unpacking repacking script?
It looks like a text file.
Perhaps the structure is the same.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [Steam] Criminal Girl Invite Only, Please help me analyze this file.
Code: Select all
get SIZE long
math SIZE + 4
do
slog "" -1 -1
savepos TMP
while TMP != SIZE
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
Re: [Steam] Criminal Girl Invite Only, Please help me analyze this file.
Thank you very much for your help.
This file appeared with this error.
https://www.dropbox.com/s/82s84m8mw7wj9 ... .btc2?dl=0
https://www.dropbox.com/s/efpbuinikjnoh ... .btc2?dl=0
https://www.dropbox.com/s/wq6ljr43zpqqp ... .btc2?dl=0
https://www.dropbox.com/s/wrlkw01f49vpj ... .btc2?dl=0
https://www.dropbox.com/s/nxtvgo6mvfky6 ... .btc2?dl=0
https://www.dropbox.com/s/9t9xbyhjwd18i ... .btc2?dl=0
https://www.dropbox.com/s/i631t4cwvj7ka ... .btc2?dl=0
https://www.dropbox.com/s/jh223gsmv5pee ... .btc2?dl=0
https://www.dropbox.com/s/1woxzj0vu3n9k ... .btc2?dl=0
structure is the same
Error: incomplete input file 0: D:\Downloads\quickbms\crmn\crmn-\2\bt_c_08.btc2
Can't read 1 bytes from offset 000031c0.
Anyway don't worry, it's possible that the BMS script has been written
to exit in this way if it's reached the end of the archive so check it
or contact its author or verify that all the files have been extracted.
Please check the following coverage information to know if it's ok.
coverage file 0 100% 12736 12736 . offset 000031c0
Last script line before the error or that produced the error:
4 slog "" -1 -1
This file appeared with this error.
https://www.dropbox.com/s/82s84m8mw7wj9 ... .btc2?dl=0
https://www.dropbox.com/s/efpbuinikjnoh ... .btc2?dl=0
https://www.dropbox.com/s/wq6ljr43zpqqp ... .btc2?dl=0
https://www.dropbox.com/s/wrlkw01f49vpj ... .btc2?dl=0
https://www.dropbox.com/s/nxtvgo6mvfky6 ... .btc2?dl=0
https://www.dropbox.com/s/9t9xbyhjwd18i ... .btc2?dl=0
https://www.dropbox.com/s/i631t4cwvj7ka ... .btc2?dl=0
https://www.dropbox.com/s/jh223gsmv5pee ... .btc2?dl=0
https://www.dropbox.com/s/1woxzj0vu3n9k ... .btc2?dl=0
structure is the same
Error: incomplete input file 0: D:\Downloads\quickbms\crmn\crmn-\2\bt_c_08.btc2
Can't read 1 bytes from offset 000031c0.
Anyway don't worry, it's possible that the BMS script has been written
to exit in this way if it's reached the end of the archive so check it
or contact its author or verify that all the files have been extracted.
Please check the following coverage information to know if it's ok.
coverage file 0 100% 12736 12736 . offset 000031c0
Last script line before the error or that produced the error:
4 slog "" -1 -1
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [Steam] Criminal Girl Invite Only, Please help me analyze this file.
Obviously you get an error from them, they have a different extension and format.
I don't know what type of data is that and it's not an archive or text container.
I don't know what type of data is that and it's not an archive or text container.
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
Re: [Steam] Criminal Girl Invite Only, Please help me analyze this file.
what the...
error came out...
can you fix this??
viewtopic.php?f=9&t=8544#p38589
- open input file D:\Downloads\quickbms\crmn\crmn-\2\bt_log.utf8
- open script D:\Downloads\quickbms\crmn\crmn-\datautf-8.txt
- set output folder D:\Downloads\quickbms\crmn\crmn-\2
offset filesize filename
--------------------------------------
> 0: 湯 瑛飲
> 1: 刀(協) 持唐 箱悶噂 踏暁
Error: your string is longer than the original of 9 bytes!!!
It's not possible to use reimport2 with sequential data bigger than the
original since the new content overwrites the next data.
Please restore the backup because the archive has been already modified.
Last script line before the error or that produced the error:
4 slog "" -1 -1
error came out...
can you fix this??
viewtopic.php?f=9&t=8544#p38589
- open input file D:\Downloads\quickbms\crmn\crmn-\2\bt_log.utf8
- open script D:\Downloads\quickbms\crmn\crmn-\datautf-8.txt
- set output folder D:\Downloads\quickbms\crmn\crmn-\2
offset filesize filename
--------------------------------------
> 0: 湯 瑛飲
> 1: 刀(協) 持唐 箱悶噂 踏暁
Error: your string is longer than the original of 9 bytes!!!
It's not possible to use reimport2 with sequential data bigger than the
original since the new content overwrites the next data.
Please restore the backup because the archive has been already modified.
Last script line before the error or that produced the error:
4 slog "" -1 -1
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [Steam] Criminal Girl Invite Only, Please help me analyze this file.
No, the error reported by quickbms is very clear.
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
Re: [Steam] Criminal Girl Invite Only, Please help me analyze this file.
Oh, my explanation was wrong.
I was talking about a script, not a fix the program.
Can you create a repacking script?
Is it possible to create a repacking script that seems to be the length of the characters?
I was talking about a script, not a fix the program.
Can you create a repacking script?
Is it possible to create a repacking script that seems to be the length of the characters?
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [Steam] Criminal Girl Invite Only, Please help me analyze this file.
Yes and no since it's a chunked format containing multiple information:
The RGCP/RAHC file contains YKCMP_V1 compressed data
Code: Select all
get PCDR_SIZE asize # just in case
for ENTRY_OFF = 0 != PCDR_SIZE
goto ENTRY_OFF
getdstring ENTRY_SIGN 4
if ENTRY_SIGN == ""
break
endif
get DUMMY long
get ENTRY_SIZE long
get DUMMY long
getdstring SIGN 4
get SIZE long
get ZERO long
get ZERO long
math SIZE - 0x10
savepos OFFSET
string NAME p "%s/%s" ENTRY_SIGN SIGN
log NAME OFFSET SIZE
next ENTRY_OFF + ENTRY_SIZE
The RGCP/RAHC file contains YKCMP_V1 compressed data