The Forum is up for sale: XeNTaX Forum looking for new owner

Search found 7 matches

by SubZer0
Fri Feb 24, 2023 1:11 pm
Forum: Compressed files and methods
Topic: Compressed game files
Replies: 10
Views: 1029

Re: Compressed game files

@Spiritovod : i found output size of all 7 files in that bin.

file 1 -1055 bytes
file 2 - 656 bytes
file 3 - 1130 bytes
file 4 - 1227 bytes
file 5 - 682 bytes
file 6 - 584 bytes
file 7 - 571 bytes

So can we make script which extract file from compressed bin if we know output?
by SubZer0
Thu Feb 23, 2023 4:17 pm
Forum: Compressed files and methods
Topic: Compressed game files
Replies: 10
Views: 1029

Re: Compressed game files

Spiritovod wrote: Thu Feb 23, 2023 2:58 pm @SubZer0: You need more data to process them, it may be somewhere in the file (if it's a fragment) or in a separate related file.
Sorry for off topic question.
Where do or how do i get this fragmented size related info.
Is there any knowledge base from where i can learn reading files like you.
by SubZer0
Thu Feb 23, 2023 2:31 pm
Forum: Compressed files and methods
Topic: Compressed game files
Replies: 10
Views: 1029

Re: Compressed game files

Sorry to hijack this post but i guess i also have file with similar compression.
Seems like script not working on it.

Is it possible to extract attached file "Spiritovod" .
(I zip file to attached , you find main file which i wanted to extract inside it)
by SubZer0
Thu Feb 23, 2023 1:58 pm
Forum: Code Talk
Topic: C code in to Quick BMS Script
Replies: 7
Views: 573

Re: C code in to Quick BMS Script

This did not create separate extracted chunks like
000000.dat
000001.dat

It gives single file output.
by SubZer0
Wed Feb 22, 2023 7:17 am
Forum: Code Talk
Topic: C code in to Quick BMS Script
Replies: 7
Views: 573

Re: C code in to Quick BMS Script

@Spiritovod : I wanted to decrypt file with Xor , then which output file we received it have Zlib compression. So want Quick Bms script to extract chunks(from output file receive after xor function) which are compressed with Zlib. Its not "after encrypted part", it is itself a "fixed ...
by SubZer0
Tue Feb 21, 2023 9:07 pm
Forum: Code Talk
Topic: C code in to Quick BMS Script
Replies: 7
Views: 573

Re: C code in to Quick BMS Script

Thank you for replying "Spiritovod" I have made few more changes in code also found aft xor decrypted file, It have zlib compression. Providing both code for your reference. Kindly help me to make quick bms script. Xor Enc Dec code : #define CHUNK_SIZE 4096 // 4KB #define XOR_KEY 0x90 // K...
by SubZer0
Mon Feb 20, 2023 3:34 pm
Forum: Code Talk
Topic: C code in to Quick BMS Script
Replies: 7
Views: 573

C code in to Quick BMS Script

How can i write this code in to Quick bms code. Can any one help me on this? #define BUF_SIZE 1024 int main(int argc, char *argv[]) { if (argc < 2) { printf("Usage: %s <filename>\n", argv[0]); return 1; } char *filename = argv[1]; int fd = open(filename, O_RDWR); if (fd < 0) { printf("...