# rwTool **Repository Path**: n9tank/rwTool ## Basic Information - **Project Name**: rwTool - **Description**: rwTool 是一个专为Rusted Warfare(铁锈战争)设计的工具集。提供混淆,封包拆包,提取地图文件,地图文件精简等功能。 - **Primary Language**: Java - **License**: AGPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 2 - **Created**: 2024-11-09 - **Last Updated**: 2025-10-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![GitHub stars](https://img.shields.io/github/stars/n9tank/rwmodProtect)](https://githubfast.com/n9tank/rwmodProtect/stargazers) [![GitHub forks](https://img.shields.io/github/forks/n9tank/rwmodProtect)](https://githubfast.com/n9tank/rwmodProtect/network) [![GitHub issues](https://img.shields.io/github/issues/n9tank/rwmodProtect)](https://githubfast.com/n9tank/rwmodProtect/issues) # 介绍 rwTool 是一个专为Rusted Warfare(铁锈战争)设计的工具集。提供混淆,封包拆包,提取地图文件,地图文件精简等功能。 # 功能 - [Protect](README_Protect.MD) 混淆器功能,详细见页面。 - pack/unpack 尽可能将文件伪装成文件夹,拆包则是还原,用于规避常规文件浏览器。 - 提取地图文件 尝试从rwsave/replay文件提取tmx,并写出。 - [地图精简](https://github.com/Timeree/RwMapCompressor) 基于RwMapCompressor修改的地图压缩器,提供强力的压缩效果。 (建议使用v1模板) - png压缩 基于pngquant,压缩效果不会太差。 # 开关 错误日志会保存在在Android/data/rust.rwTool/cache。(未提供Debug版本) - lib 启用加载依赖,这将使用内置的lib.zip作为加载依赖。 - raw 启用原始流,不解压条目操作更快。(建议保持开启,关掉这个会尝试重新压缩一遍,它非常慢并且如果有大文件会导致错误。) # 公开配置 - head 决定zip文件头,为空禁用,只有一个条目则只写出头,用“,”分割,格式:最小大小,随机大小,…。 - end 用于伪装Zip64尾部,在低版本jdk不兼容。 - split 文件路径“/”分割计算,为空禁用,格式:NN。(0-9),最大分割数-1,最大分割长度-1。 - safe zipunpack在安全模式下工作避免一些特殊构造导致损坏文件。 # [构建](BUILD.MD)