PopCap Games 解包汉化打包教程

查看 94|回复 9
作者:chishingchan   
以 植物大战僵尸 为例:


2.png (46.86 KB, 下载次数: 0)
下载附件
2023-4-15 17:55 上传

[HTML] 纯文本查看 复制代码编辑程序:Hex Workshop v4.23
程序下载:http://www.bpsoft.com/bbl/download/download.html?dlfile=hw32v423.exe
安装 Hex Workshop v4.23 序并修复右键菜单:(右击 hw32v423.inf 选择安装)
----hw32v423.inf----
[Version]
Signature="$CHICAGO$"
[DefaultInstall]
AddReg=AddReg
[AddReg]
;Hex Workshop Context Menu
HKCR,"*\shell\用 Hex Workshop 打开\command",,0x20000,"%1%\hworks32.exe ""%%1"" ""%%2"""
--------------------------------
游戏名称:植物大战僵尸年度版 v1.2.0.1073
游戏下载:http://static-www.ec.popcap.com/binaries/popcap_downloads/PlantsVsZombiesSetup_20120812.exe
备注:各个文件的默认位置如下:
C:\Program Files (x86)\Hex Workshop 4.2\hw32v423.inf
X:\PlantsVsZombiesSetup\PlantsVsZombiesSetup_20120812.exe
X:\PlantsVsZombiesSetup\PlantsVsZombiesSetup.sfx
X:\PlantsVsZombiesSetup\PlantsVsZombiesSetup.cab
X:\PlantsVsZombiesSetup\PlantsVsZombiesSetup.sig
X:\PlantsVsZombiesSetup\Expand.cmd
X:\PlantsVsZombiesSetup\FileList.cmd
X:\PlantsVsZombiesSetup\MakeCAB.cmd
X:\PlantsVsZombiesSetup\new_PlantsVsZombiesSetup.cab
X:\PlantsVsZombiesSetup\new_PlantsVsZombiesSetup.cmd
X:\PlantsVsZombiesSetup\new_PlantsVsZombiesSetup.exe
使用 Hex Workshop 打开 PlantsVsZombiesSetup_20120812.exe
一、分析游戏程序
计算        偏移地址        描述        值                注释
        0000003C        NT        00010000        PE头地址=00000100
PE+98=        00000198        SD RVA        28018C02        ①数字证书地址=028C0128
PE+9C=        0000019C        SD Size        B8150000        ②数字证书大小
二、分解游戏程序
以 Hex 值搜索 4D5343460000(MSCF..),偏移地址:00078008
以 Text 字符串搜索 !popcapinstallersig!.,偏移地址:028C010F
00000000 - 00078008        另存为:PlantsVsZombiesSetup.sfx
00078008 - 028C010F        另存为:PlantsVsZombiesSetup.cab
028C010F - 028C16E0        另存为:PlantsVsZombiesSetup.sig
三、解压缩 PlantsVsZombiesSetup.cab 文件
----Expand.cmd----
@echo off
cd /d "%~dp0"
EXPAND.EXE PlantsVsZombiesSetup.cab -F:*.* .
--------------------------------
四、使用批处理创建压缩包列表文件 PlantsVsZombiesSetup.txt
----FileList.cmd----
@echo off
cd /d "%~dp0"
echo.>PlantsVsZombiesSetup.txt
setlocal enabledelayedexpansion
for /f "delims=" %%e in ('dir /b /on /s /ad 2^>nul') do (
        set "str=%%e"
        set "str=!str:%cd%\=!"
        >>"%~dp0FileList.txt" echo .set DestinationDir="!str!"
        pushd "%%e"
        for /f "delims=" %%j in ('dir /b /on /a-d 2^>nul') do (
                set "str2=%%~fj"
                set "str2=!str2:%cd%\=!"
                >>"%~dp0FileList.txt" echo "!str2!"
        )
        popd
)
endlocal
--------------------------------
五、汉化、精简、破解相关文件及图片(略)
六、压缩列表文件 new_PlantsVsZombiesSetup.cab
----MakeCAB.cmd----
@echo off
cd /d %~dp0
MakeCAB.exe /D MaxDiskSize=107374182400 /D CompressionType=LZX /D CompressionMemory=21 /D CabinetNameTemplate="..\new_PlantsVsZombiesSetup.cab" /F PlantsVsZombiesSetup.txt
rd /q disk1
del /f /q setup.inf
del /f /q setup.rpt
--------------------------------
七、修正 new_PlantsVsZombiesSetup.cab 文件
使用 Hex Workshop 打开 new_PlantsVsZombiesSetup.cab 文件
偏移:00000008        记录数据:ABF7 6105
在 new_PlantsVsZombiesSetup.cab 文件末尾插入 8 字节
数据:ABF7 6105 0100 0000
八、组合成新的安装程序
----new_PlantsVsZombiesSetup.cmd----
@echo off
cd /d "%~dp0"
copy /b PlantsVsZombiesSetup.sfx+new_PlantsVsZombiesSetup.cab+PlantsVsZombiesSetup.sig new_PlantsVsZombiesSetup.exe
--------------------------------
九、修正 new_PlantsVsZombiesSetup.exe 文件的数字证书
计算        偏移地址        描述        值                注释
        0000003C        NT        F8000000        PE头地址=000000F8
PE+98=        00000190        SD RVA        D1F76705        ①数字证书地址=0567F7D1
PE+9C=        00000194        SD Size        A8150000        ②数字证书大小
查找:A8150000        继续查找第三次偏移:0567F7BB
转到:00000190
原值:D1F76705
替换:BBF76705

文件, 地址

chishingchan
OP
  

惊奇探险1:环游世界
http://static-www.ec.popcap.com/binaries/popcap_downloads/AAAroundTheWorldSetup.exe
惊奇探险2:失落的古墓
http://static-www.ec.popcap.com/binaries/popcap_downloads/AALostTombSetup.exe
惊奇探险3:加勒比宝藏
http://static-www.ec.popcap.com/binaries/popcap_downloads/AATheCaribbeanSecretSetup.exe
惊奇探险4:被遗忘的王朝
http://static-www.ec.popcap.com/binaries/popcap_downloads/AATheForgottenDynastySetup.exe
惊奇探险5:两个骑士之谜
http://static-www.ec.popcap.com/binaries/popcap_downloads/AATwoKnightsSetup_20120614.exe
字符炼金术
http://static-www.ec.popcap.com/binaries/popcap_downloads/AlchemySetup.exe
宇宙打砖块
http://static-www.ec.popcap.com/binaries/popcap_downloads/AstroPopSetup.exe
香蕉虫
http://static-www.ec.popcap.com/binaries/popcap_downloads/BananaBugsSetup.exe
大海战
http://static-www.ec.popcap.com/binaries/popcap_downloads/Battleship_20121205.exe
宝石迷阵 2
http://static-www.ec.popcap.com/binaries/popcap_downloads/Bejeweled2Setup.exe
宝石迷阵 3
http://static-www.ec.popcap.com/binaries/popcap_downloads/Bejeweled3Setup.exe
宝石迷阵 旋转
http://static-www.ec.popcap.com/binaries/popcap_downloads/BejeweledTwistSetup.exe
超级赚钱大亨
http://static-www.ec.popcap.com/binaries/popcap_downloads/BigMoneySetup.exe
邦妮的书店
http://static-www.ec.popcap.com/binaries/popcap_downloads/BonniesBookstoreSetup.exe
书虫
http://static-www.ec.popcap.com/binaries/popcap_downloads/BookwormSetup.exe
书虫大冒险
http://static-www.ec.popcap.com/binaries/popcap_downloads/BWASetup.exe
书虫大冒险 卷2
http://static-www.ec.popcap.com/binaries/popcap_downloads/BWAVol2Setup.exe
毛毛球
http://static-www.ec.popcap.com/binaries/popcap_downloads/ChuzzleSetup.exe
宇宙甲虫
http://static-www.ec.popcap.com/binaries/popcap_downloads/CosmicBugsSetup.exe
侏罗纪泡泡龙
http://static-www.ec.popcap.com/binaries/popcap_downloads/DynomiteSetup.exe
秘境逃生1:玫瑰岛惊魂
http://static-www.ec.popcap.com/binaries/popcap_downloads/EscapeRosecliffIslandSetup.exe
秘境逃生3:翡翠之星
http://static-www.ec.popcap.com/binaries/popcap_downloads/EscapeTheEmeraldStarSetup.exe
秘境逃生2:低语谷惊魂
http://static-www.ec.popcap.com/binaries/popcap_downloads/EscapeWhisperValleySetup.exe
吞食鱼 2
http://static-www.ec.popcap.com/binaries/popcap_downloads/FeedingFrenzy2Setup.exe
吞食鱼
http://static-www.ec.popcap.com/binaries/popcap_downloads/FeedingFrenzySetup.exe
锤锤小矮人
http://static-www.ec.popcap.com/binaries/popcap_downloads/HammerHeadsSetup.exe
重装兵器
http://static-www.ec.popcap.com/binaries/popcap_downloads/HeavyWeaponSetup.exe
隐秘的身份 芝加哥大停电
http://static-www.ec.popcap.com/binaries/popcap_downloads/HiddenIdentitySetup.exe
精灵宝宝
http://static-www.ec.popcap.com/binaries/popcap_downloads/IgglePopSetup.exe
怪怪水族箱
http://static-www.ec.popcap.com/binaries/popcap_downloads/InsaniquariumSetup.exe
麻将中国行
http://static-www.ec.popcap.com/binaries/popcap_downloads/MahjongEscapeACSetup.exe
麻将日本行
http://static-www.ec.popcap.com/binaries/popcap_downloads/MahjongEscapeAJSetup.exe
大富翁 地产大亨
http://static-www.ec.popcap.com/binaries/popcap_downloads/MonopolySetup_20120923.exe
神秘案件7:造假海湾奇事
http://static-www.ec.popcap.com/binaries/popcap_downloads/MysteryPICounterfeitCoveSetup_20120801.exe
神秘案件5:伦敦罪案
http://static-www.ec.popcap.com/binaries/popcap_downloads/MysteryPILondonSetup.exe
神秘案件4:洛杉矶疑案
http://static-www.ec.popcap.com/binaries/popcap_downloads/MysteryPILosAngelesSetup.exe
神秘案件3:纽约遗产
http://static-www.ec.popcap.com/binaries/popcap_downloads/MysteryPINewYorkSetup.exe
神秘案件6:旧金山失窃案
http://static-www.ec.popcap.com/binaries/popcap_downloads/MysteryPISanFranciscoSetup.exe
神秘案件1:丢失的彩票
http://static-www.ec.popcap.com/binaries/popcap_downloads/MysteryPISetup.exe
神秘案件2:维加斯抢劫
http://static-www.ec.popcap.com/binaries/popcap_downloads/MysteryPIVegasSetup.exe
神秘纸牌
http://static-www.ec.popcap.com/binaries/popcap_downloads/MysterySolitaireSetup.exe
幻幻球之夜
http://static-www.ec.popcap.com/binaries/popcap_downloads/PeggleNightsSetup_20120803.exe
幻幻球
http://static-www.ec.popcap.com/binaries/popcap_downloads/PeggleSetup.exe
像素岛
http://static-www.ec.popcap.com/binaries/popcap_downloads/PixelusSetup.exe
疯狂比萨
http://static-www.ec.popcap.com/binaries/popcap_downloads/PizzaFrenzySetup.exe
植物大战僵尸
http://static-www.ec.popcap.com/binaries/popcap_downloads/PlantsVsZombiesSetup_20120812.exe
大战役
http://static-www.ec.popcap.com/binaries/popcap_downloads/RiskSetup_20121112.exe
疯狂火箭
http://static-www.ec.popcap.com/binaries/popcap_downloads/RocketManiaSetup.exe
单词拼拼乐
http://static-www.ec.popcap.com/binaries/popcap_downloads/ScrabbleSetup_20130307.exe
黄金传说
http://static-www.ec.popcap.com/binaries/popcap_downloads/TalismaniaSetup.exe
大富翁 游戏人生
http://static-www.ec.popcap.com/binaries/popcap_downloads/TheGameofLifeSetup_20121031.exe
深海猎鲨
http://static-www.ec.popcap.com/binaries/popcap_downloads/TyperSharkSetup.exe
度假寻奇2:澳大利亚
http://static-www.ec.popcap.com/binaries/popcap_downloads/VacationQuestAustraliaSetup_20120801.exe
度假寻奇1:夏威夷
http://static-www.ec.popcap.com/binaries/popcap_downloads/VacationQuestHawaiiSetup.exe
威尼斯
http://static-www.ec.popcap.com/binaries/popcap_downloads/VeniceSetup.exe
深海怪虫
http://static-www.ec.popcap.com/binaries/popcap_downloads/WaterBugsSetup.exe
神奇画笔
http://static-www.ec.popcap.com/binaries/popcap_downloads/WizardsPenSetup.exe
祖玛
http://static-www.ec.popcap.com/binaries/popcap_downloads/ZumaSetup.exe
祖玛复仇记
http://static-www.ec.popcap.com/binaries/popcap_downloads/ZumasRevengeSetup.exe
爱丽丝农场
http://static-www.ec.popcap.com/binaries/popcap_downloads/AliceGreenfingersSetup.exe
原子实验室
http://static-www.ec.popcap.com/binaries/popcap_downloads/AtomicaSetup.exe
宝石迷阵 闪电战
http://static-www.ec.popcap.com/binaries/popcap_downloads/BejeweledBlitzSetup_**.exe
宝石迷阵
http://static-www.ec.popcap.com/binaries/popcap_downloads/BejeweledSetup.exe
大暗礁
http://static-www.ec.popcap.com/binaries/popcap_downloads/BigKahunaReefSetup.exe
蛋糕工坊
http://static-www.ec.popcap.com/binaries/popcap_downloads/CakeManiaSetup.exe
魔法之争
http://static-www.ec.popcap.com/binaries/popcap_downloads/MagicMatchSetup.exe
木乃伊迷宫
http://static-www.ec.popcap.com/binaries/popcap_downloads/MummyMazeSetup.exe
宁波麻将
http://static-www.ec.popcap.com/binaries/popcap_downloads/NingPoSetup.exe
诺亚方舟
http://static-www.ec.popcap.com/binaries/popcap_downloads/NoahsArkSetup.exe
橡皮泥战机
http://static-www.ec.popcap.com/binaries/popcap_downloads/PlatypusSetup.exe
怒海争锋
http://static-www.ec.popcap.com/binaries/popcap_downloads/SevenSeasSetup.exe
超级方块 3
http://static-www.ec.popcap.com/binaries/popcap_downloads/SuperCollapse3Setup.exe
水果派
http://static-www.ec.popcap.com/binaries/popcap_downloads/TipTopSetup.exe
贸易风之新传说
http://static-www.ec.popcap.com/binaries/popcap_downloads/TradewindsLegendsSetup.exe
词汇大师
http://static-www.ec.popcap.com/binaries/popcap_downloads/WordHarmonySetup.exe
魔幻方块
http://static-www.ec.popcap.com/binaries/popcap_downloads/BreakQuestSetup.exe
美女餐厅2之紧急援助
http://static-www.ec.popcap.com/binaries/popcap_downloads/DinerDash2Setup.exe
伊特
http://static-www.ec.popcap.com/binaries/popcap_downloads/EetsSetup.exe
家庭赛乐赛
http://static-www.ec.popcap.com/binaries/popcap_downloads/FamilyFeudSetup.exe
天才教授
http://static-www.ec.popcap.com/binaries/popcap_downloads/FizzwizzleSetup.exe
麻将探秘
http://static-www.ec.popcap.com/binaries/popcap_downloads/MahJongQuestSetup.exe
神秘视线
http://static-www.ec.popcap.com/binaries/popcap_downloads/MCF_HuntsvilleSetup.exe
马赛克
http://static-www.ec.popcap.com/binaries/popcap_downloads/MosaicSetup.exe
狗仔队
http://static-www.ec.popcap.com/binaries/popcap_downloads/PaparazziSetup.exe
魔法植物园
http://static-www.ec.popcap.com/binaries/popcap_downloads/PlantasiaSetup.exe
鬼脸方块 2
http://static-www.ec.popcap.com/binaries/popcap_downloads/QBeez2Setup.exe
保龄球增强版
http://static-www.ec.popcap.com/binaries/popcap_downloads/RocketBowlPlusSetup.exe
毛毛球圣诞版
http://static-www.ec.popcap.com/binaries/popcap_downloads/ChuzzleXmasSetup.exe
幻幻球 午夜精灵 艺术大赛
http://static-www.ec.popcap.com/binaries/popcap_downloads/PeggleNightsArtContestPackSetup.exe
幻幻球 午夜精灵 假期
http://static-www.ec.popcap.com/binaries/popcap_downloads/PeggleNightsHolidayPackSetup.exe
幻幻球 午夜精灵 春天
http://static-www.ec.popcap.com/binaries/popcap_downloads/PeggleNightsSpringPackSetup.exe
幻幻球魔兽世界版
http://static-www.ec.popcap.com/binaries/popcap_downloads/PeggleWoWSetup.exe
apull   

幻想游戏系列也不错哈
Eixxon   

感谢分享
zjh889   

这东西很好,谢谢楼主分享!
recurrence   

好久没玩宝开游戏了,谢谢楼主分享
小肥元   

大战僵尸好多年没搞了
xiaomo66   

好用,学习了
fa22   

不错的说!辛苦了!
qjlfl   

挺怀旧的
您需要登录后才可以回帖 登录 | 立即注册

返回顶部