什么是car文件,如何反編譯car文件呢?

尤其是ios開發(fā)中經(jīng)常能遇到后綴是.car格式的文件,那么什么是car文件已經(jīng)我們?cè)撊绾未蜷_和編輯呢?

CAR stands for Component Application Resource. The CAR files contain information about the assets that are available for a software application being run on the Brew Mobile Platform. This platform is used to operate applications on a variety of mobile phones. The CAR files are compiled into a binary BAR file. This file is automatically loaded when the application is run.

The .car file extension is also used for AtHome Assistant files, Biosym chemical modeler input files, NeoBook Cartoon image format files, CAR Archive compressed archive files, CardMaker card files, Carnivores Ice Age resource files, Design-Your-CD data files and Railroad Tycoon 3 car properties files.

大概意思就是car文件是包含應(yīng)用程序資源的壓縮文件,例如Appicon,啟動(dòng)圖等圖片資源。ios開發(fā)者很容易知道car文件是Assets.xcassets編譯的,那么已知car文件我們?nèi)绾涡薷哪兀?/p>


如果使用xcode做ios開發(fā),那么直接打開xcode修改項(xiàng)目資源文件,重新編譯即可。

下面介紹的主要是逆向修改car文件

一 將car文件轉(zhuǎn)換為Assets.xcassets文件

百度 光程科技,打開導(dǎo)航在線工具(其實(shí)看到這個(gè)頁面聰明的你就已經(jīng)知道了真相~~)


首先點(diǎn)擊 Car->Assets,上傳你的car文件(20M以內(nèi))提交后下載Assets.xcassets文件,這一步其實(shí)就是將car文件還原了!是不是和xcode里的一模一樣~

可以直接打開Assets.xcassets修改里面的文件,注意圖片修改后要修改圖片目錄里的Contents.json文件,聰明的你一看就懂~


修改完成后將Assets.xcassets文件壓縮為zip格式


二 將Assets.xcassets文件轉(zhuǎn)換為car文件

還是剛剛的頁面,然后點(diǎn)擊 Assets->car,點(diǎn)擊上傳剛剛的zip文件,提交后稍等片刻,car文件就生成了,是不是很簡單~


至此就完成了car文件的修改了。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容