July 5, 2025Jul 5 Localization What is the file Dirinfo from Destruction Derby 2 (PC) and has anyone tried to write an unpacker? destructionderby2_dirinfo.rar Edited July 5, 2025Jul 5 by mrmaller1905
July 5, 2025Jul 5 Localization Solution I'm editing this post, I checked the files and the code needs to be improved, I'll let you know when I fix it. hello, I analyzed the file and wrote the code to unpack it. The file does not have a file extension by default, so add it e.g. .dat and set the file path in the code and the unpack path. I also wrote documentation for this file, if anyone is interested in how it is structured. https://github.com/zbirow/Destruction-Derby-2-Unpack Edited July 5, 2025Jul 5 by zbirow
July 6, 2025Jul 6 Localization 2 hours ago, zbirow said: I'm editing this post, I checked the files and the code needs to be improved, I'll let you know when I fix it. hello, I analyzed the file and wrote the code to unpack it. The file does not have a file extension by default, so add it e.g. .dat and set the file path in the code and the unpack path. I also wrote documentation for this file, if anyone is interested in how it is structured. https://github.com/zbirow/Destruction-Derby-2-Unpack The script is fixed and extracts the files correctly.
January 8Jan 8 @zbirow Some of the filenames are cut off. I haven't checked your code in detail but it's possible that your script doesn't read the files correctly. I also looked into extracting game data from DD2 and wrote some scripts. This should work perfectly: Quote Extracts data from Destruction Derby 2's DIRINFO file. Also contains experimental attempt to decompress LEVEL.DAT files but it doesn't work as intended. Just ignore the decompressed files or remove the decompression call from the code. It's all done relatively quick and dirty. https://gist.github.com/AcidicVoid/944c05c40c2ff5d3bb46abcb015d307c dd2_extractor.py
February 10Feb 10 Localization Added proper support in my extractor: https://github.com/smiRaphi/UniPyX @ashijikuboido your script has a bug, some file names have garbage after a first null byte which your script doesn't remove because it's just using .rstrip(b'\0') instead of .split(b'\0',1)[0]
February 12Feb 12 @NeoGT404 Thank you. I've updated my script and it should now be fine: https://gist.github.com/AcidicVoid/944c05c40c2ff5d3bb46abcb015d307c May you explain how your UniPyX is used with DD2?
February 12Feb 12 Localization You should just be able to drag and drop the DirInfo file onto unipyx.py but it's also described on the ReadMe page
Create an account or sign in to comment