Drift City online

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
nhubia
Posts: 11
Joined: Thu Jan 29, 2015 3:00 pm

Drift City online

Post by nhubia »

Hi,
so i'm extracting some drift city game files to modify some and re-import them and I did managed to extract and modify them but it doesn't re-import due to extracted file size too big, the thing is the maximum size is 16384 which is written on the script and I dont know how to reduce files with 1mb at least to 16kb.

the scrip I used is the one you made for Drift City online,
http://aluigi.altervista.org/papers/bms/drift_city.bms
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Drift City online

Post by aluigi »

The script is not valid for reimporting because it uses chunks.
It's an old script that used the direct-to-file dumping, all the new scripts instead use MEMORY_FILE and so it's more easy to identify the invalid scripts for reimporting.
Check if you can use the extracted files directly without archive.
nhubia
Posts: 11
Joined: Thu Jan 29, 2015 3:00 pm

Re: Drift City online

Post by nhubia »

thanks for answer this quick,
as you suggested I tried to re-import without calling for archive and well it didn't showed up the size error (I guess this that part is done) but another error came through which is Image
what should I do now?

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

Re: Drift City online

Post by aluigi »

The script is not valid for reimporting, it means that you cannot use quickbms to reimport these files.
nhubia
Posts: 11
Joined: Thu Jan 29, 2015 3:00 pm

Re: Drift City online

Post by nhubia »

Oh I see, thanks for everything.

You asked me if I could use the files without archive and no, the game only assume and also it requires that the file extension is .agt, by the way did you ever tried this out? Extract some DriftCity files to see how they work, I'm just wondering since you created that script for extraction.

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

Re: Drift City online

Post by aluigi »

No never tried because I have never used the game :)
It was just a script I made in 2009 http://forum.xentax.com/viewtopic.php?f=11&t=3392
nhubia
Posts: 11
Joined: Thu Jan 29, 2015 3:00 pm

Re: Drift City online

Post by nhubia »

I've visited that forum already :P, I just tough quickbms could repack the files as they should be for the game.
In that forum one guys mentioned something like "a storage unpacker and repacker called soifs", does it even exist? :D
Don't you know any methods to repack those files as if were the original archive?

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

Re: Drift City online

Post by aluigi »

I really don't know. My knowledge of this game and its community is zero, I simply made the script.
nhubia
Posts: 11
Joined: Thu Jan 29, 2015 3:00 pm

Re: Drift City online

Post by nhubia »

Well somehow i managed to get some files reimported successfully but for that happen i had to reduce the size and consequently the content. Not every files does reimport successfully even with appropriate size, maybe if i post here the error message i could have some help with figuring this?
nhubia
Posts: 11
Joined: Thu Jan 29, 2015 3:00 pm

Re: Drift City online

Post by nhubia »

nhubia wrote:Well somehow i managed to get some files reimported successfully but for that happen i had to reduce the size and consequently the content. Not every files does reimport successfully even with appropriate size, maybe if i post here the error message i could have some help with figuring this?
nhubia
Posts: 11
Joined: Thu Jan 29, 2015 3:00 pm

Re: Drift City online

Post by nhubia »

Anyone know how to open a .tdf archive?


edit: never mind
nhubia
Posts: 11
Joined: Thu Jan 29, 2015 3:00 pm

Re: Drift City online

Post by nhubia »

Image
as this image above shows some files were reimported and others came up with that error below last file reimported. why this happens? by the way that NeoHuvParam.xlt is only one file, when i try reimport it split in those parts, i dont really know why. my question remains the same, why this error seems to happen in some parts of the file and not the whole file?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Drift City online

Post by aluigi »

Have you read the previous posts?
nhubia
Posts: 11
Joined: Thu Jan 29, 2015 3:00 pm

Re: Drift City online

Post by nhubia »

aluigi wrote:Have you read the previous posts?

A couple times, but hear me out, the reimport does work, thats not in discussion.
nhubia
Posts: 11
Joined: Thu Jan 29, 2015 3:00 pm

Re: Drift City online

Post by nhubia »

Hi, luigi or anyone else,
for the reimport feature works with this game files, those files has to be 16300kb size maximum, thats the only way to reimport since 16kb is almost nothing, just few files can be reimported successfully. At the script code is somewhere "16384" thing which means that every file bigger than 16,384kb wont be reimported. can you look throught this?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Drift City online

Post by aluigi »

The script is NOT valid for reimporting.

This is the last time I say that.
Chunked files are not supported in reimporting, that's why you see many small files of 16kb just because the files are splitted in multiple parts.
nhubia
Posts: 11
Joined: Thu Jan 29, 2015 3:00 pm

Re: Drift City online

Post by nhubia »

sorry i dont mean to disturb you, but i reimported a few files already, how is that possible? maybe those chunks are not chunks at all, because is not like when u extract them and they look like this part1, part2, part3, etc. when i extract them i dont see chunks of any other extracted file. or im not getting your point.
anyway thanks for everything.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Drift City online

Post by aluigi »

You can reimport only the files that are smaller than 16kb because they are composed just by one chunk (one chunk = original file).

The extraction is completely transparent and the only thing you see is quickbms asking to overwrite the files because it must append the new chunks to the extracted files.