wwtmugen Posted May 25 Posted May 25 (edited) How to extract these files https://www.mediafire.com/folder/2lwywp0n5rw5e/xuan_dou_zhi_wang Edited May 25 by wwtmugen
Engineers shak-otay Posted May 25 Engineers Posted May 25 (edited) You may search for a VFS unpacker on the quickbms homepage. Edited May 25 by shak-otay
Supporter Solution wq223 Posted June 7 Supporter Solution Posted June 7 On 5/25/2025 at 4:32 PM, wwtmugen said: How to extract these files https://www.mediafire.com/folder/2lwywp0n5rw5e/xuan_dou_zhi_wang Try this script Your file is compressed using lzma86dec, and the mapping part of the file name is not sure exactly correct, but most of it should be fine. The decompressed file may contain secondary compression (zlib, lzma86dec), and requires additional processing. The tested dds texture can be opened normally Some files are too large and may take some time, please be patient Running scripts requires python Type commands on the console python vfs_xuanandou.py input_file Output folder The script will be processed automatically until the end of the file data is reached. vfs_xuandou.py 1
wwtmugen Posted June 7 Author Posted June 7 3 hours ago, wq223 said: Try this script Your file is compressed using lzma86dec, and the mapping part of the file name is not sure exactly correct, but most of it should be fine. The decompressed file may contain secondary compression (zlib, lzma86dec), and requires additional processing. The tested dds texture can be opened normally Some files are too large and may take some time, please be patient Running scripts requires python Type commands on the console python vfs_xuanandou.py input_file Output folder The script will be processed automatically until the end of the file data is reached. vfs_xuandou.pyFetching info... res can you extract the resources inside?
Supporter wq223 Posted June 7 Supporter Posted June 7 22 minutes ago, wwtmugen said: res can you extract the resources inside? OK, but I only know the DDS type Prepare a .res file and try to open it with a hexadecimal editor Then use your eyes to see, no matter where the location is, check whether there are these four bytes 44 44 53 20 (DDS magic number) Delete all the previous bytes and save the file to DDS format to view it The .res file does not have only DDS type, there may be other types, but I haven't checked them all, and the DDS file that appears the most Also, it should be said that this kind of file may contain multiple image blocks (multiple DDS headers). The first four bytes of each DDS header represent its length. This is why I don't write scripts, because I'm not sure whether these images are compressed in a res or different levels of an image
wwtmugen Posted June 7 Author Posted June 7 20 minutes ago, wq223 said: 好的,但我只知道 DDS 类型 准备一个 .res 文件并尝试使用十六进制编辑器打开它 然后用眼睛去看,不管位置在哪里,检查是否有这四个字节 44 44 53 20(DDS 幻数) 删除所有以前的字节并将文件保存为 DDS 格式以供查看 .res 文件不仅有 DDS 类型,可能还有其他类型,但我没有全部检查,以及出现最多的 DDS 文件 另外,应该说这种文件可能包含多个图像块(多个 DDS 标头)。每个 DDS 标头的前四个字节表示其长度。这就是我不编写脚本的原因,因为我不确定这些图像是压缩在 res 还是图像的不同级别 Can you help me try to extract other types?
Supporter wq223 Posted June 7 Supporter Posted June 7 1 hour ago, wwtmugen said: Can you help me try to extract other types? Most of these files are directly available For example, most audio, pictures, textures, scripts You just need some specific viewing method Some files are binary files and do not need to be processed For model class files (such as grids, skeletons, animations), I don't have a basis for processing, but you can try to search for any tools elsewhere, of course, the premise is to contain valid model file data I have checked most of the script files that are compiled. You can use tools to try decompiling. If it fails, it means they do not support or encrypt. In general, at least most of the files in the .vfs file can be processed now In any case, it is definitely not possible to figure out 100% of the file contents Even if you research it, they may give you a new type tomorrow
wwtmugen Posted June 7 Author Posted June 7 39 minutes ago, wq223 said: 这些文件中的大多数都可以直接获得 例如,大多数音频、图片、纹理、脚本 你只需要一些特定的查看方法 有些文件是二进制文件,不需要处理 对于模型类文件(比如网格、骨架、动画),我没有处理的依据,但你可以尝试在其他地方搜索任何工具,当然,前提是要包含有效的模型文件数据 我已经检查了大部分编译的脚本文件。您可以使用工具尝试反编译。如果失败,则意味着他们不支持或加密。 一般来说,至少 .vfs 文件中的大部分文件现在都可以处理 无论如何,绝对不可能弄清楚 100% 的文件内容 即使你研究了它,他们明天也可能会给你一个新的类型 https://www.zenhax.com/viewtopic.php@t=4651.htmlCan you make a BMS script?
Supporter wq223 Posted June 7 Supporter Posted June 7 6 hours ago, wwtmugen said: https://www.zenhax.com/viewtopic.php@t=4651.htmlCan you make a BMS script? Aluigi has written a bms script https://aluigi.altervista.org/bms/dzs_qq.bms But this bms script cannot handle the file name part of the file you provide Although the bms script can handle the files you provide, it cannot output the real file name So it is impossible to build folder/filename This is also why I use python instead of using quickbms This is quite funny, I don't know how quickbms handles this very weird file name mapping method, so I use python scripts If you insist on using bms scripts, someone may need to update them. Of course, this person is not me, because I am not familiar with bms. By the way, the processing logic of most other files 1.dds You can directly use the texture viewing tool to view it 2.res Someone has studied the old forum and it contains some dds textures inside. aluigi made a script that handles .res files, but I haven't tested it https://aluigi.altervista.org/bms/king_of_combat_res.bms 3.X DirectX dedicated model format, the game you provide uses a text structure model You should thank Durik256, who wrote the parsing script for the model in this format three weeks ago, you can view it using noesis https://github.com/Durik256/Noesis-Plugins/blob/master/fmt_DirectX.zip If you don't want to do this, you may be able to check out other supported tools 4.usm file You can directly convert it to mp4 using ffmpeg tool. I have tested using this parameter to output videos that display the normal screen. ffmpeg -i asm file path -c:v libx264 -crf 23 -preset fast -c:a aac -b:a 192k Output file If there is no sound, it may be that the file has no sound source 5.swf file Not sure, some say it is also a video file, but there is no verification The file contains a fixed file header and a 4-byte decompression length The compressed data part is compressed by zlib. After decompression, multiple zlib compression blocks will appear in the internal data. Other .xml, .fx, .png, .wav and other files can be viewed directly In summary, now you can process more than 90% of the files, and the remaining files may be some binary files that are useless to you, and it doesn't make much sense to study them. By the way, some asm or .swf files are compressed by lzma, I can decompress, but 7z prompts that decompression fails, but I can get an uncompressed file, most of these files are around 4mb, can be opened normally, or processed normally If there is no problem you can set the previous script as a solution, what I'm talking about now seems to be out of scope of the topic
wwtmugen Posted June 8 Author Posted June 8 1 hour ago, wq223 said: Aluigi 编写了一个 bms 脚本 https://aluigi.altervista.org/bms/dzs_qq.bms 但是这个 bms 脚本无法处理您提供的文件的文件名部分 虽然 bms 脚本可以处理您提供的文件,但它无法输出真实的文件名 所以不可能构建 folder/filename 这也是我使用 python 而不是使用 quickbms 的原因 这个挺好笑的,我不知道 quickbms 是怎么处理这种非常奇怪的文件名映射方法的,所以我用 python 脚本 如果您坚持使用 bms 脚本,则可能需要有人更新它们。当然,这个人不是我,因为我对 bms 不熟悉。 顺便说一句,大多数其他文件的处理逻辑 1.dds 您可以直接使用纹理查看工具进行查看 2.分辨率 有人研究了旧论坛,里面包含一些 dds 纹理。 Aluigi 制作了一个处理 .res 文件的脚本,但我还没有测试过它 https://aluigi.altervista.org/bms/king_of_combat_res.bms 3.X DirectX 专用模型格式,您提供的游戏使用文本结构模型 你应该感谢 Durik256,他在三周前以这种格式为模型编写了解析脚本,你可以使用 noesis 查看它 https://github.com/Durik256/Noesis-Plugins/blob/master/fmt_DirectX.zip 如果您不想这样做,您可以查看其他支持的工具 4.usm 文件 您可以使用 ffmpeg 工具直接将其转换为 mp4。我已经测试了使用此参数输出显示正常屏幕的视频。 ffmpeg -i asm 文件路径 -c:v libx264 -crf 23 -预设快速 -c:a aac -b:a 192k 输出文件 如果没有声音,可能是文件没有音源 5.swf 文件 不确定,有人说也是视频文件,但没有验证 该文件包含一个固定的文件头和一个 4 字节的解压缩长度 压缩后的数据部分由 zlib 压缩。解压后,内部数据中会出现多个 zlib 压缩块。 其他 .xml、.fx、.png、.wav 等文件可以直接查看 综上所述,现在你可以处理 90% 以上的文件,剩下的文件可能是一些对你没用的二进制文件,研究它们没有多大意义。 顺便说一句,一些 asm 或 .swf 文件是 lzma 压缩的,我可以解压,但是 7z 提示解压失败,但是我可以得到一个未压缩的文件,这些文件大部分都在 4mb 左右,可以正常打开,或者正常处理 如果没有问题,你可以将前面的脚本设置为解决方案,我现在说的似乎超出了主题的范围 Okay https://reshax.com/topic/18027-tian-tian-xuan-dou/ Can you help me try to extract it?
Engineers shak-otay Posted June 8 Engineers Posted June 8 (edited) Quote "Error: 7z not found, please install 7-Zip" What does that mean exactly under Windows? Do I have to expand the path variable with the 7z directory? Yep, that did the trick. edit: I checked the swf files (ui\uiRes), They are compressed (signature CWS) but the "rename to zip" trick didn't work. So I used offzip, found Quote <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/"> <xmp:CreatorTool>Adobe Flash Professional CS5.5 - build 325</xmp:CreatorTool> <xmp:CreateDate>2013-02-06T10:26:42+08:00</xmp:CreateDate> <xmp:MetadataDate>2016-08-31T14:53:59+08:00</xmp:MetadataDate> <xmp:ModifyDate>2016-08-31T14:53:59+08:00</xmp:ModifyDate> </rdf:Description> <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:format>application/x-shockwave-flash</dc:format> </rdf:Description> and some sort of string table (see picture) but no FWS signature as header for a maybe contained uncompressed swf file. edit 2: from Logo.swf I could extract a JFIF file. Edited June 8 by shak-otay
Supporter wq223 Posted June 9 Supporter Posted June 9 16 hours ago, shak-otay said: What does that mean exactly under Windows? Do I have to expand the path variable with the 7z directory? Yep, that did the trick. edit: I checked the swf files (ui\uiRes), They are compressed (signature CWS) but the "rename to zip" trick didn't work. So I used offzip, found and some sort of string table (see picture) but no FWS signature as header for a maybe contained uncompressed swf file. edit 2: from Logo.swf I could extract a JFIF file. It is like this. Through data query, the swf file is an animation file format used by Adobe Flash, which may contain three magic number types. FWS-Uncompressed CWS-zlib compression ZWS-lzma compression The decompressed data should contain frame size, frame rate, xml part, label, internal data, etc. Internal data may contain multiple types, such as images, videos, sounds, scripts, animations Maybe some professional tools are needed to play swf animations
wwtmugen Posted June 9 Author Posted June 9 31 minutes ago, wq223 said: It is like this. Through data query, the swf file is an animation file format used by Adobe Flash, which may contain three magic number types. FWS-Uncompressed CWS-zlib compression ZWS-lzma compression The decompressed data should contain frame size, frame rate, xml part, label, internal data, etc. Internal data may contain multiple types, such as images, videos, sounds, scripts, animations Maybe some professional tools are needed to play swf animations swf Extract with this software https://github.com/jindrapetrik/jpexs-decompiler I can't extract the dds in the textures folder using this bms BMS is the use of an older version of BMS Made with AI I just need dds png swf I don't know if it's completely extracted dzs_qq.bms.zip
Supporter wq223 Posted June 9 Supporter Posted June 9 1 hour ago, wwtmugen said: swf Extract with this software https://github.com/jindrapetrik/jpexs-decompiler I can't extract the dds in the textures folder using this bms BMS is the use of an older version of BMS Made with AI I just need dds png swf I don't know if it's completely extracted dzs_qq.bms.zip 5.18 kB · 0 downloads I saw that you modified the version specified by bms. Is the reason for the failure of the run because of the version? I don't know exactly what you mean by not being able to extract dds View dds image I used tacentview For dds in res, just delete the bytes before dds
wwtmugen Posted June 9 Author Posted June 9 2 hours ago, wq223 said: 我看到您修改了 bms 指定的版本。运行失败的原因是因为版本吗? 我不明白你说的无法提取 dds 到底是什么意思 查看我使用的 tacentview 的 dds 图像 对于 res 中的 dds,只需删除 dds 之前的字节 Some commands or parameters from version 0.8.0 are not available in 0.12.0 bms Can't be extracted these documents pyCan't be extracted these documents
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now