乱世王者(*.ifs)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
The soul of light
Posts: 48
Joined: Tue Jul 26, 2016 10:54 am

乱世王者(*.ifs)

Post by The soul of light »

Hi ~ aluigi.
You can help look at the game data file how to extract it? I try to use other tools to extract them, but not complete, and there is damage. Thank you so~ :P
Game official website:http://slg.qq.com/?ADTAG=media.buy.baidubrand.advanced_title
APK file:http://dlied5.myapp.com/myapp/1105371489/wec/2017_com.tencent.tmgp.wec_h105_1.2.8.666.apk
Data file:https://share.weiyun.com/0dfd4cdb38cfbf1ff63e1c9c68e50baf
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: 乱世王者(*.ifs)

Post by aluigi »

It's the nifs format and the only script available is this one:
http://aluigi.org/bms/monster_hunter_nifs.bms
The bad news is that it doesn't work at 100% on wecgame.ifs so it looks like I need to work on it.
If it's not important I would prefer to not waste time on it because that format and script is quite complex
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: 乱世王者(*.ifs)

Post by aluigi »

The problem is caused by a false positive at offset 0x79a781, because everything in this script is guessed.
I have updated the script to version 0.1.2 where it's used the variable CHECK_WORKAROUND_SIZE to control this "check", in the previous version it was set to 0x10000 while now I have set it to 0x8000 that allows the script to work on your file.
So problem partially solved.
The soul of light
Posts: 48
Joined: Tue Jul 26, 2016 10:54 am

Re: 乱世王者(*.ifs)

Post by The soul of light »

aluigi wrote:It's the nifs format and the only script available is this one:
http://aluigi.org/bms/monster_hunter_nifs.bms
The bad news is that it doesn't work at 100% on wecgame.ifs so it looks like I need to work on it.
If it's not important I would prefer to not waste time on it because that format and script is quite complex

I tried using this BMS script to extract these files but did not work. Not an important document, thank you. :P
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: 乱世王者(*.ifs)

Post by aluigi »

Here it worked perfectly with the wecgame.ifs found in the APK
The soul of light
Posts: 48
Joined: Tue Jul 26, 2016 10:54 am

Re: 乱世王者(*.ifs)

Post by The soul of light »

aluigi wrote:Here it worked perfectly with the wecgame.ifs found in the APK

Wow, thank you, aluigi. :P Has the BMS script updated? I see the version is still 0.1.1.
The soul of light
Posts: 48
Joined: Tue Jul 26, 2016 10:54 am

Re: 乱世王者(*.ifs)

Post by The soul of light »

I changed to 0x8000 after working 100%, but can not get the file name, how can I get the name of the document?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: 乱世王者(*.ifs)

Post by aluigi »

There are no filenames
loutian
Posts: 1
Joined: Tue Aug 29, 2017 1:47 pm

Re: 乱世王者(*.ifs)

Post by loutian »

The soul of light wrote:I changed to 0x8000 after working 100%, but can not get the file name, how can I get the name of the document?


Hi, bro. did you success to extract the wecgame.ifs ? I used the http://aluigi.org/bms/monster_hunter_nifs.bms to extract it , and there's an error :

- error in scr\file.c line 224: fdnum_open()
Error: No such file or directory

did you know how to solve this problem ?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: 乱世王者(*.ifs)

Post by aluigi »

create a new folder that doesn't contain chinese characters, for example c:\test_folder, put wecgame.ifs there and retry.