网上瞎转时碰到了这个 转载的 请别喷我 我也是想让猴子快些研究出改木仓
英语只有4级而已,翻译得不好请见谅
Jack14:
Hello....
I want to use NARTOOL to extract cstrike.nar , then replace some my CS files , example config.cfg ....
old \cstrike\config.cfg ====> my \cstrike\config.cfg
and recompress cstrike folder as NEW cstrike.nar to play CSOnline ......
who can do it ??? thanks
翻译:
大家好....
我想使用NARTOOL提取cstrike.nar,并且替换里面的一些文件为我的CS文件,比如config.cfg
把老的cstrike\config.cfg 替换为 我的cstrike\config.cfg
并且重新压缩文件生成新的cstrike.nar,进入CSOL服务器游戏......
谁可以做到呢???谢谢
loonbg:
i don't now meybe is inposible..
翻译:
我也不知道,也许这是不可能的..
jack14:
NARTOOL.exe can decode struct NAR file , but can't encode a file as NAR file ???
why ???
can release NARTOOL.exe source code ???
thanks ......
NAR\0\0\0\0\0\1XXXXXXXXXXXXXXXXXXX
XXXXXXXXXX path\filename XXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXX file context XXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXNAR\0
翻译:
nartool.exe 能反编译nar文件,为什么不能编译nar文件
为什么?
能不能利用源代码重新编译生成nartool.exe
谢谢 .....
(像这样)
NAR\0\0\0\0\0\1XXXXXXXXXXXXXXXXXXX
XXXXXXXXXX path\filename XXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXX file context XXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXNAR\0
jack14:
I had compiled NARTOOL.exe with VC++ 2008 , it's a very great source code ....
but I had some trouble when I try to make a my test NAR file ...
NAR file use XOR and A Key to encode & compress all files , except for *.wav , *.mp3
if we don't know the Key , we can't write encode & compress Function
only God and Nexon.com.kr know the Key
我使用VC++2008完成了对Nartool.exe的编译,这是一个非常好的源代码
但是我当我准备制作我自己的nar的时候我发现了一些问题
Nar文件的压制时使用了XOR以及一个密码加密来压缩*.wav,*mp3 这些文件
如果我们不知道这个密码,我们就不能写入和压缩生成nar档案
只有上帝和Nexon.com.kr知道这个密码
jack14:
attentment file 1 .... in CS1.6 (remapped.bmp) has 5176 Bytes ,
but in CSO cstrike.nar , remapped.bmp only has 3474 Bytes ,
see my attentment file 2 decoded_compressed_bin.dat (the file read from cstrike.nar , had decoded )
I had understand CNexusFileEntry::GenerateXorKey encode/decode file data ,
but I still need CNexusFileEntry::Compress Function ......
I try many Compress Function to Compress (remapped.bmp) 5176 Bytes to (decoded_compressed_bin.dat) 3747 Bytes ....
but I can't find a Compress Function used as same as Nexon Archive , will not Play cstrike-online.exe
can help me write CNexusFileEntry::Compress this function , thanks ....
翻译:
attentment文件1 ....在CS1.6(remapped.bmp)有5176字节,
但csol cstrike.nar档案里,remapped.bmp只有3474字节,
看到我的attentment文件2 decoded_compressed_bin.dat(该文件用于都区cstrike.nar,已破解)
我已经知道CNexusFileEntry::GenerateXorKey 编码方式了,
但我还需要CNexusFileEntry::压缩功能......
我将尝试更多压缩功能的压缩(remapped.bmp)5176字节(decoded_compressed_bin.dat)3747字节....
但如果我不能找到一个压缩功能,用于可以和Nexon公司档案相同,就不能用于使用在cstrike - online中
谁能帮助我写CNexusFileEntry::压缩此功能,感谢....
jack14:
I successly play CSO with my cstrike.nar file .....
I change players leet model ....and tempdecal.wad
but ....
error happen:
Mod_LoadBrushModel: models/player/leet/leet.mdl has wrong version number (0 should be 30)
I think that most of important files can't accept change ........ ( CS online will recheck )
I will give up to change *.nar ..................
翻译:
我已经完成了使用自己的cstrike.nar文件来玩cso
我更换了玩家的leet模型和tempdecal.wad
但是。。
错误出现了:
Mod_LoadBrushModel: models/player/leet/leet.mdl has wrong version number (0 should be 30)
我想这点才是最重要的,文件不能被替换(Csonline会进行检查)
我准备放弃更改*.nar了
jack14:
I can speak Chinese , I live in Taiwan ....
if you want to put your cs file into NAR , and Play CSO success.....
you must edit NAR header ....see NARTool source code ............
file dataXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
header XXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
翻译:
我可以说中文,我是台湾人
如果你想在nar文件里放进自己的cs文件,并且使用这个修改的nar进游戏玩的话
你必须编辑NarHeader(Nar头文件)....你可以看看NarTool源代码
(像这样)
file dataXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
header XXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
jack14:
ouch.........
CSOnline Server will check all *.nar file when lauch CSOLauncher.exe ....
after 2009/01/06 updated CSOnline files......
when you login CSO successly...... CSOnline Server will recheck cstrike.nar ..... ( double check from 2009/01/06 )
and kick you if it found use modify cstrike.nar file ............
翻译:
哎哟.......
Csonline 服务器现在当你运行CSOLauncher.exe时将会检查所有的nar文件...
就是因为2009年1月6日的这次升级
当你登陆CSO完毕的时候 CSOnline的服务器将会再次检查cstrike.nar (在2009年1月6日更新后将进行双重检查了)
如果你修改过Cstrike.nar文件的话服务器将会把你踢出游戏
PS:希望这个翻译对改木仓猴子们有帮助