[PC] Disgaea 5 Complete Demo (.dat)
-
- Posts: 121
- Joined: Sun May 01, 2016 10:06 pm
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: [PC] Disgaea 5 Complete Demo (.dat)
Obfuscated. Here snipped code to deobfuscate
Code: Select all
for (int i = 0; i < dwSize; i++)
{
lpBuffer[i] = 16 * lpBuffer[i] | ((uint8_t)~lpBuffer[i] >> 4);
}
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am
Re: [PC] Disgaea 5 Complete Demo (.dat)
here is my bms script attempt to deobfuscate file
Code: Select all
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm
get SIZE asize
get NAME basename
string NAME + _fixed.dat
filexor "\xF0"
log memory_file1 0x0 SIZE
filexor ""
log memory_file2 0x0 SIZE
goto 0x0 -1
for i = 1 to SIZE
get TMP byte -1
math TMP z 4
put TMP byte -2
next i
log NAME 0x0 SIZE -2
Last edited by Acewell on Tue May 08, 2018 8:29 pm, edited 1 time in total.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [PC] Disgaea 5 Complete Demo (.dat)
Script 0.1.1:
http://aluigi.org/bms/nispack.bms
The script automatically decompresses the lzs files too.
http://aluigi.org/bms/nispack.bms
The script automatically decompresses the lzs files too.
-
- Posts: 121
- Joined: Sun May 01, 2016 10:06 pm
Re: [PC] Disgaea 5 Complete Demo (.dat)
Thank you, everyone!
-
- Posts: 72
- Joined: Fri Oct 09, 2015 1:41 am
Re: [PC] Disgaea 5 Complete Demo (.dat)
aluigi wrote:Script 0.1.1:
http://aluigi.org/bms/nispack.bms
The script automatically decompresses the lzs files too.
Anyone know where the text files?
-
- Posts: 1193
- Joined: Sun Aug 17, 2014 7:27 pm
Re: [PC] Disgaea 5 Complete Demo (.dat)
Ogoshi wrote:Anyone know where the text files?
Here: https://www87.zippyshare.com/v/oEKKHnl6/file.html
-
- Posts: 72
- Joined: Fri Oct 09, 2015 1:41 am
Re: [PC] Disgaea 5 Complete Demo (.dat)
makc_ar wrote:Ogoshi wrote:Anyone know where the text files?
Here: https://www87.zippyshare.com/v/oEKKHnl6/file.html
Hi Makc, thanks! How you get that? I'll try to use this script but it's not works in all the files on folder. Can you explain? If you want, send me one PM.
Regards.
-
- Posts: 8
- Joined: Sun Dec 03, 2017 5:21 am
Disgaea 5 (.dat)
I'm having trouble to extract the .dat files from the game. The script from the demo apparently don't work with the full game.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Disgaea 5 (.dat)
It's different than viewtopic.php?f=9&t=7800
Basically here the obfuscation seems the same but there is NISPACK magic and the format doesn't have much sense, number of files followed by "FILES * 4 * 2" that don't match any offset or size.
*edit* moved the 2 posts in the original topic.
Basically here the obfuscation seems the same but there is NISPACK magic and the format doesn't have much sense, number of files followed by "FILES * 4 * 2" that don't match any offset or size.
*edit* moved the 2 posts in the original topic.
-
- Posts: 21
- Joined: Sat Feb 24, 2018 7:24 am
Nis compression
Hello.
Could anyone help me with unknown nis lzs compression?
There is no info about compressed/uncompressed size in the header.
Link: https://www81.zippyshare.com/v/yD1tQyut/file.html
I've tried unpacking this file with basic lzss algoritm, but no success.
Game: Disgaea.
Could anyone help me with unknown nis lzs compression?
There is no info about compressed/uncompressed size in the header.
Link: https://www81.zippyshare.com/v/yD1tQyut/file.html
I've tried unpacking this file with basic lzss algoritm, but no success.
Game: Disgaea.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [PC] Disgaea 5 Complete Demo (.dat)
@Rainx
I have moved your post in another topic for this game.
In the header I see "dat\0", a sort of size field that doesn't match a compressed or uncompressed size because it's shorter and then "UNMO".
Do you have other samples?
I have moved your post in another topic for this game.
In the header I see "dat\0", a sort of size field that doesn't match a compressed or uncompressed size because it's shorter and then "UNMO".
Do you have other samples?
-
- Posts: 21
- Joined: Sat Feb 24, 2018 7:24 am
Re: [PC] Disgaea 5 Complete Demo (.dat)
aluigi wrote:Do you have other samples?
One more sample: https://www80.zippyshare.com/v/t2LgwJi0/file.html
And that's all. Because other files have normal lzs compression (I mean, dat\0, uncompressed size\0, compressed size-4\0).