暗影格斗2吧 关注:53,428贴子:553,339
  • 18回复贴,共1

关于dz文件的解包与打包

只看楼主收藏回复



IP属地:浙江1楼2024-05-09 09:48回复
    修改1.9.38版本的时候找到的解包工具,能直接解压dz里面的所有文件,楼下使用教程


    IP属地:浙江2楼2024-05-09 09:54
    回复
      解压工具

      把要解压的dz文件放到dzip所在的目录,然后在此目录打开cmd工具,输入以下指令: dzip.exe -d dz文件名.dz
      以1.9.21的地狱章节文件ZONE_RAID.dz为例:

      执行命令即可解压并生成解压的文件夹,ZONE_RAID文件夹里面就是解出来的文件


      IP属地:浙江3楼2024-05-09 10:01
      回复
        简单预览一下dz的文件夹层级结构

        至今为止解出来的dz文件都是 assets + setting.xml + zone_raid_list.xml 这样的结构
        assets文件夹里面就是非常熟悉的东西了



        IP属地:浙江4楼2024-05-09 10:06
        回复
          关于setting.xml和zone_raid_list.xml文件
          两个文件除了文件名不同以外,没有任何区别,里面都是dz文件的层级以及文件名(打包的时候或许用的上)


          IP属地:浙江5楼2024-05-09 10:10
          回复
            以下是dzip的所有指令:
            dzip command line parameters:
            dzip <options> <config_file>
            where <options> are zero or more of:
            --waitatend (-w)pause for a keypress before exiting
            --help (-h)print this message then exit
            --license (-L)print the license message then exit
            --version (-V)print the version information then exit
            --quiet (-q)no output
            --verbose (-v)extended output
            --command (-c) "<command>"extra commands (in .dcl file format)
            --decompress (-d)Extract compressed dzip file to subdirectory
            --list (-l)List compressed dzip file contents
            --dir (-D) <dir>add base dir
            --align (-A) <num>align to <num> byte boundary
            or
            dzip <options> [-a|--archive <archive_file> [<files>|<file_options>]*]+
            where <options> are as above and file_options are one or more of
            --type (-t) <type>compression type: dz, zlib, bzip, zero or copy
            --start (-s) <num>[%]previous file starts at num
            --end (-e) <num>[%]previous file ends at num
            Derbh config file format:
            archive <archive_name>file to export to (archive_name is relative to config file)
            (first archive file contains file/dir info)
            master <filename>include base file with common settings
            basedir <dir>files are stored relative to this (there can be multiple basedir's)
            align <size>align to this boundary
            file <path><archive> <flags>file to add to export (relative to basepath) where archive is the archive file to go in
            and flags is one or more of:
            dzuse dz compression
            zlibuse zlib compression
            bzipuse bzip compression
            zerozero out the data
            copycopy with no compression
            from <num>[%]start offset (optionally as a percentage)
            to <num>[%]end offset (optionally as a percentage)


            IP属地:浙江8楼2024-05-09 10:14
            回复
              我试过用dzip将自己改的moves文件打包到files.dz中,以实现直装的修改包,但是失败了,游戏一直闪退.


              IP属地:浙江9楼2024-05-09 10:16
              收起回复
                以下为1.9.21版本安装包内files.dz的解压文件:


                IP属地:浙江10楼2024-05-09 10:22
                回复
                  注:1.9.38版本是可以改的,能改的部分不多,可以通过卡usersDefault的方式来修改贴图以及users存档
                  我试过改模型,虽然能进游戏,但是会报错,其他的xml文件修改后也是一样的问题,不知道是不是md5的缘故


                  IP属地:浙江11楼2024-05-09 10:28
                  收起回复
                    补个链接dzip: https删://删magic-mcx删.lanzoue删.com/删iIwyv1y5tiib


                    IP属地:浙江12楼2024-05-09 12:03
                    回复
                      喔,我要的就是这个


                      IP属地:广东来自Android客户端13楼2024-05-09 14:09
                      收起回复


                        IP属地:山东来自iPhone客户端14楼2024-05-12 15:54
                        回复