Checked and it's a bug of the game archive. It states that there is a compressed ucl file of 0x001eb6bb bytes at offset 0x0f631000 while the data located there is about the 16th part of that size. Even the original uclpack spits out errors on that file. There are no fields that states that file must be skipped so there is no way to skip it during the extraction except for manually specifying the offset in the script.
Note that ucl is NOT an archive, it's a single compressed nameless file.
Luigi, I made a mistake on his carelessness I made a dump with my licensed copy shutokou battle x [Japan Version], and Hash was another... I checked again and everything works completely without error )))) All files extracted, work on the unpacking of this game can be considered ended. Thank you for your time, without you this would not have been
P.S. Perhaps that correctly extracted only Japanes version game
That's a good news. Anyway I will update the script in the next days for using the uclpack comtype existent in quickbms instead of the code of the script to do the same job ("startfunction uclpack..."). There will be no difference in the extracted files, it's just for using a feature of quickbms that makes the final script shorter and cleaner
I have just released the script 0.3.1 that uses the embedded uclpack code of quickbms instead of the one written in bms code. The extracted files are exactly the same of the old script, it's only a way to have a better-looking script.
Sorry for reviving this but I'm sad to say the script does not work properly.
We, the dev team from the Shutoko Revival Project, and a couple of other talented heads were trying to get meshes from this game, but it appears the script does not properly decompress the archives and leaves many of the files still encrypted.
We are mainly after the map files as this game has kilometers of laserscanned road not present in other games at this accuracy level. AFAIK the "build.dat" archive is for cars, meanwhile the "build_crs.dat" is for the "course" - the map. Attempts were made using tools like the 3D Model Researcher but to no avail.
As far as I can see by watching some files extracted from build.dat, everything is correct. All the tga files are correct while the other dat are different types of files like shaders, sequences of float numbers and so on. There is no compression in the few files I opened. If you have noticed one specific file please let me know the exact name.
The only "bugged file" is the first extracted file but it's only something to ignore because it's probably part of the header and not something to extract..
In short it's not a bug of the script. Basically the archive contains many files without uncompressed size so the script correctly dump them. But the majority of them have OFFSET 0 which is wrong while others uncompressed size 0 that results in empty files. So the solution is just skipping them.
Thanks again for the feedback. The script skips those files however they still might reference others elsewhere. It still looks as if something's missing or encrypted, we can't get vertex positions from crs files.