Zero Time Dilemma (.cfsi)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zero Time Dilemma (.cfsi)

Post by aluigi »

ok try the new script 0.1.4, now it seems to work.
The main problem with this format is how the "compressed" numbers are stored, apparently they are ever one byte except where is used 0xf8 and 0xfc (hardcoded because 0xfb instead is a one-byte number) in which case it uses a 16bit value. Weird.
Siengried
Posts: 29
Joined: Sun Nov 25, 2018 11:18 pm

Re: Zero Time Dilemma (.cfsi)

Post by Siengried »

aluigi wrote:ok try the new script 0.1.4, now it seems to work.
The main problem with this format is how the "compressed" numbers are stored, apparently they are ever one byte except where is used 0xf8 and 0xfc (hardcoded because 0xfb instead is a one-byte number) in which case it uses a 16bit value. Weird.

I tried, but it seems to not work still
Siengried
Posts: 29
Joined: Sun Nov 25, 2018 11:18 pm

Re: Zero Time Dilemma (.cfsi)

Post by Siengried »

Siengried wrote:
aluigi wrote:ok try the new script 0.1.4, now it seems to work.
The main problem with this format is how the "compressed" numbers are stored, apparently they are ever one byte except where is used 0xf8 and 0xfc (hardcoded because 0xfb instead is a one-byte number) in which case it uses a 16bit value. Weird.

I tried, but it seems to not work still

UP
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zero Time Dilemma (.cfsi)

Post by aluigi »

Please provide some more information about the error.
For example a screenshot of quickbms when it gives you the error (use ALT+STAMP to capture the quickbms window).
Siengried
Posts: 29
Joined: Sun Nov 25, 2018 11:18 pm

Re: Zero Time Dilemma (.cfsi)

Post by Siengried »

-------------------
*EXCEPTION HANDLER*
-------------------
An error or crash occurred:

*EH* ExceptionCode c000001d illegal instruction
*EH* ExceptionFlags 00000000
*EH* ExceptionAddress 013127A5
00C10000 + 007027a5 quickbms.exe
*EH* NumberParameters 00000000

Last script line before the error or that produced the error:
52 clog NAME OFFSET SIZE XSIZE

Press ENTER or close the window to quit
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zero Time Dilemma (.cfsi)

Post by aluigi »

Are you using quickbms 0.9.1?
Use quickbms 0.9.2 and let me know if you get the same error.
Siengried
Posts: 29
Joined: Sun Nov 25, 2018 11:18 pm

Re: Zero Time Dilemma (.cfsi)

Post by Siengried »

It works in extraction. But for reimport?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zero Time Dilemma (.cfsi)

Post by aluigi »

The script seems valid for reimporting so I don't see any problem.
Just be sure to use the reimporting feature correctly as explained in section 3 of http://aluigi.org/papers/quickbms.txt

The script is NOT valid for reimport2.bat, only reimport.bat can work with this game.
Siengried
Posts: 29
Joined: Sun Nov 25, 2018 11:18 pm

Re: Zero Time Dilemma (.cfsi)

Post by Siengried »

But i need to create an archive bigger then the original
Siengried
Posts: 29
Joined: Sun Nov 25, 2018 11:18 pm

Re: Zero Time Dilemma (.cfsi)

Post by Siengried »

up. There is a way to create a bigger archive?
Siengried
Posts: 29
Joined: Sun Nov 25, 2018 11:18 pm

Re: Zero Time Dilemma (.cfsi)

Post by Siengried »

The tool repack succesfull the archive but it do not expand the file so the game would crash the same if you expand a file(for a translation for example)
Siengried
Posts: 29
Joined: Sun Nov 25, 2018 11:18 pm

Re: Zero Time Dilemma (.cfsi)

Post by Siengried »

up
Siengried
Posts: 29
Joined: Sun Nov 25, 2018 11:18 pm

Re: Zero Time Dilemma (.cfsi)

Post by Siengried »

UP
Siengried
Posts: 29
Joined: Sun Nov 25, 2018 11:18 pm

Re: Zero Time Dilemma (.cfsi)

Post by Siengried »

UP
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zero Time Dilemma (.cfsi)

Post by aluigi »

@Siengried
I guess it's time to give up.
Please stop bumping.
Siengried
Posts: 29
Joined: Sun Nov 25, 2018 11:18 pm

Re: Zero Time Dilemma (.cfsi)

Post by Siengried »

it's time to give up? But the tool exist, it miss only a little thing
LinkOFF
Posts: 88
Joined: Thu Aug 11, 2016 6:52 pm

Re: Zero Time Dilemma (.cfsi)

Post by LinkOFF »

UPD: Made a tool for extract/build cfsi (very alpha ver). Rezero PotT and Zero Time Dilemma only tested. Before using look at usage (cfsiTool.exe in cmd).
There is few bugs:
* the tool cannot unpack the archive it was packing, idk why (i'm fix it later) but game works perfectly with it :)
* some bugs during building 2+ level subfolders