Zero Escape: The Nonary Games .bin

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Zero Escape: The Nonary Games .bin

Post by makc_ar »

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

Re: Zero Escape: The Nonary Games .bin

Post by aluigi »

It seems all encrypted except the last bytes
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zero Escape: The Nonary Games .bin

Post by aluigi »

http://aluigi.org/bms/zero_escape_nonary.bms

There are no filenames stored in the archive so the files are extracted without names.

P.S.: the script work also in reimport mode, translations are welcome :D
Panzerdroid
Posts: 66
Joined: Sun Aug 30, 2015 12:51 pm

Re: Zero Escape: The Nonary Games .bin

Post by Panzerdroid »

Got an error

21a4be90 9292 0000711c.dat

- error in src\extra\xalloc.c line 619: xdbg_malloc()

Error: memory allocation problem
No such file or directory

press ENTER to quit

while unpacking ze1_data.bin

ze2_data_en_us.bin & ze2_data_jp.bin are unpacking just fine.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zero Escape: The Nonary Games .bin

Post by aluigi »

Yeah, another user reported the same problem yesterday.
It's a bug in the new runtime C compiler feature of quickbms 0.8.
ze1 contains more files than the other 2 archives with the effect of consuming more memory till the process can't allocate other bytes and the -9 option crashes quickbms.
Will be fixed in next version and there are no temporary work-arounds at the moment.
s428
Posts: 2
Joined: Mon Jul 10, 2017 6:51 am

Re: Zero Escape: The Nonary Games .bin

Post by s428 »

Can i ask you which file you unpacked?

I was unpack ze1_data.bin using quick bms nonary code. but I can't find script file.

I find dds, png, dat, zip, etc...files. there is no bin file in ze1_data.bin or ze2_data_jp.bin.

I saw you use filcutter code, but filcutter code just give two files ze1_data.bin_0_-1635754880 and ze1_data.bin_-1637852032_-1635754880 in my case.

Can you advice me which specific file you unpacked and how you do it?

That will be so thanksfull.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zero Escape: The Nonary Games .bin

Post by aluigi »

filecutter is used to provide a small version of the archive for analysis. Forget it.

What exact type of file are you looking for in those you extracted from the *data*.bin archives?
The extracted files are all there except if quickbms crashes due to the bug reported above.
MLAakaLion
Posts: 4
Joined: Wed Dec 20, 2017 11:00 am

Re: Zero Escape: The Nonary Games .bin

Post by MLAakaLion »

Hi, everyone. I'm trying to extract .bin files from Steam version of the game, but I keep geting message about lack of MEMORY_FILE10 in dll and error.
Can someone tell me what I need to do to solve this problem? I've read some topics but got no idea what to do.
Using current version of Quick BMS and script "Zero Nonary Games" from http://aluigi.altervista.org.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zero Escape: The Nonary Games .bin

Post by aluigi »

You didn't download the script correctly or you are not using quickbms 0.8.1.
Tested here and everything works perfectly with both the ze*.bin archives.
MLAakaLion
Posts: 4
Joined: Wed Dec 20, 2017 11:00 am

Re: Zero Escape: The Nonary Games .bin

Post by MLAakaLion »

Yeah, it seems I didn't noticed some lag or bug with download. Redownloaded quickbms, bms file and it worked.
Thanks for answer, sorry to disturb you!
TovarishComrade
Posts: 2
Joined: Fri Mar 30, 2018 5:28 am

Re: Zero Escape: The Nonary Games .bin

Post by TovarishComrade »

Hello there, sorry for bumping an old thread.

Currently, there's a translation team struggling with an extraction of files from 999 game (aka Zero Escape: The Nonary Game).
The problem is, that we cannot extract files completely. We've managed to get about 10-15% of all data files extracted when we recieve
this error - "error in src\extra\xalloc.c line 618: xdbg_malloc()"

"Error: memory allocation problem. Not enough storage is available to process this command."

Script for extracting was taken from here: http://aluigi.altervista.org/quickbms.htm under this title:
"Zero Escape Nonary . Zero Escape: The Nonary Games (999, VLR) . xor"

Version of quickbms is 0.8.4

Launched through 4gb .exe

The extractor is launched with only one parameter: -G

This happens when we're trying to extract data from ze1_data.bin file. The extraction is done on this machine: I7-4790, 16 GB RAM, 500 GB HDD free space. I'd really appreciate any help concerning this problem.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zero Escape: The Nonary Games .bin

Post by aluigi »

Try with the -9 option, quickbms 0.8.4 no longer has the bug described few posts above.
You can add that option in a link to quickbms.exe or in a .bat file
TovarishComrade
Posts: 2
Joined: Fri Mar 30, 2018 5:28 am

Re: Zero Escape: The Nonary Games .bin

Post by TovarishComrade »

aluigi wrote:Try with the -9 option, quickbms 0.8.4 no longer has the bug described few posts above.
You can add that option in a link to quickbms.exe or in a .bat file


Thank you, sir! That did the job!
I'll post more stuff if we'll encounter additional problems with stuff, mostly with packing it back :D

Anyway, thank you! We finally can make some progress.
MLAakaLion
Posts: 4
Joined: Wed Dec 20, 2017 11:00 am

Re: Zero Escape: The Nonary Games .bin

Post by MLAakaLion »

Hi, it's me again.
Can we ask someone - can we solve the problem with number of data by re-making bms script with "reimport2" in place of just "reimport"? Our team have got no problems with graphic files like buttons or logos, their size is always equal or less to that of original. But with text it asks for equal number of symbols and this is big problem. So, we are thinking to try and make new script ourselves.
P.S. And something of more confusion matter - we got ttf and dfont files out of bin, but they are not opening with any of available font editors. Can this bms script thing get file format wrong and should we press these files more or should we try to search somewhere else?
MLAakaLion
Posts: 4
Joined: Wed Dec 20, 2017 11:00 am

Re: Zero Escape: The Nonary Games .bin

Post by MLAakaLion »

We found a way to edit fonts, but here is still problem with size of data. I hope someone will answer soon about "reimport" and "reimport2".
AleXWerton
Posts: 2
Joined: Sat Mar 31, 2018 4:05 pm

Re: Zero Escape: The Nonary Games .bin

Post by AleXWerton »

Reimport2 still doesn't work. Maybe because nonary script uses MEMORYFILE. Aside from that, sir files serve different purposes. For example, files with SIR1 header are used for storing text, links, scripts and font (in a form of grayscale 8 bit bitmap). And files with SIR0 header are used to store 8 bit bitmap textures and something else in the same file (not sure what it is). Can somebody help me (if possible) to extract this data from .sir ? :)
Here sir files:
AleXWerton
Posts: 2
Joined: Sat Mar 31, 2018 4:05 pm

Re: Zero Escape: The Nonary Games .bin

Post by AleXWerton »

bump
Supurreme
Posts: 11
Joined: Sun Jul 15, 2018 4:12 am

Re: Zero Escape: The Nonary Games .bin

Post by Supurreme »

hey there sorry to bother you but ive tried running the script on the latest version of quickbms (0.9) on ZE1_data.bin with the -9 option but it still encounters the memory error problem in line 618 :/ is there something im doing wrong here?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zero Escape: The Nonary Games .bin

Post by aluigi »

There is no solution if it doesn't work with -9. The script uses an amount of memory equal than the file to extract due to the type of encryption.
exas
Posts: 2
Joined: Mon Feb 18, 2019 3:57 am

Re: Zero Escape: The Nonary Games .bin

Post by exas »

Hi, I'm trying to port a fantranslation from the original 999 ds into this game in pc. But I have a problem with the fonts because I need special characters that the game doesn't have and I don't know which files are fonts or how to edit them.
Other than that, the program works pretty well, i was able to extract the game and import it back without problems (except that from above, the said characters appears invisible).
So, if someone knows how to find the fonts and edit them I would appreciate it very much.
Thanks and sorry for bumpimg this.