91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

我下載了csdn網站上的三個源碼,然后又下載了前端開發博客上提供的github微信源碼 經過多方比較,索性全部上傳分享,決不騙分。源碼都是game.js,其他res目錄下的圖片和音效是游戲資源,如果沒有任何開發知識,請勿下載。本來想發圖片證明的,描述內容無法插入圖片,見諒。在壓縮文檔里有圖片截圖。

資源截圖

代碼片段和文件信息

#!/usr/bin/python
#?by?@wenxingxing
#?usage?python?unwxapkg.py?filename

import?sys?os
import?struct


class?WxapkgFile:
????nameLen?=?0
????name?=?““
????offset?=?0
????size?=?0


if?len(sys.argv)?????print(‘usage:?unwxapkg.py?filename‘)
????exit()

with?open(sys.argv[1]?“rb“)?as?f:

????root?=?os.path.dirname(os.path.realpath(f.name))
????name?=?os.path.basename(f.name)

????if?len(sys.argv)?>?2:
????????name?=?sys.argv[2]

????#read?header

????firstMark?=?struct.unpack(‘B‘?f.read(1))[0]
????print(‘first?header?mark?=?‘?+?str(firstMark))

????info1?=?struct.unpack(‘>L‘?f.read(4))[0]
????print(‘info1?=?‘?+?str(info1))

????indexInfoLength?=?struct.unpack(‘>L‘?f.read(4))[0]
????print(‘indexInfoLength?=?‘?+?str(indexInfoLength))

????bodyInfoLength?=?struct.unpack(‘>L‘?f.read(4))[0]
????print(‘bodyInfoLength?=?‘?+?str(bodyInfoLength))

????lastMark?=?struct.unpack(‘B‘?f.read(1))[0]
????print(‘last?header?mark?=?‘?+?str(lastMark))

????if?firstMark?!=?0xBE?or?lastMark?!=?0xED:
????????print(‘its?not?a?wxapkg?file!!!!!‘)
????????exit()

????fileCount?=?struct.unpack(‘>L‘?f.read(4))[0]
????print(‘fileCount?=?‘?+?str(fileCount))

????#read?index

????fileList?=?[]

????for?i?in?range(fileCount):

????????data?=?WxapkgFile()
????????data.nameLen?=?struct.unpack(‘>L‘?f.read(4))[0]
????????data.name?=?f.read(data.nameLen)
????????data.offset?=?struct.unpack(‘>L‘?f.read(4))[0]
????????data.size?=?struct.unpack(‘>L‘?f.read(4))[0]

????????print(‘readFile?=?‘?+?data.name?+?‘?at?Offset?=?‘?+?str(data.offset))

????????fileList.append(data)

????#save?files

????for?d?in?fileList:
????????path?=?root?+?‘/‘?+?name?+?‘_‘
????????file_?=?path?+?d.name

????????if?not?os.path.exists(os.path.dirname(file_)):
????????????os.makedirs(os.path.dirname(file_))

????????w?=?open(file_?‘w‘)
????????f.seek(d.offset)
????????w.write(f.read(d.size))
????????w.close()

????????print(‘writeFile?=?‘?+?file_)

????f.close()

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-01-15?05:51??wechat-jump-source-master\
?????文件??????????80??2018-01-15?05:51??wechat-jump-source-master\app-config.json
?????文件??????789755??2018-01-15?05:51??wechat-jump-source-master\game.js
?????目錄???????????0??2018-01-15?05:51??wechat-jump-source-master\res\
?????文件????????4796??2018-01-15?05:51??wechat-jump-source-master\res\0.png
?????文件????????3017??2018-01-15?05:51??wechat-jump-source-master\res\1.png
?????文件????????4947??2018-01-15?05:51??wechat-jump-source-master\res\2.png
?????文件????????4547??2018-01-15?05:51??wechat-jump-source-master\res\3.png
?????文件????????4055??2018-01-15?05:51??wechat-jump-source-master\res\4.png
?????文件????????4945??2018-01-15?05:51??wechat-jump-source-master\res\5.png
?????文件????????5101??2018-01-15?05:51??wechat-jump-source-master\res\6.png
?????文件????????3756??2018-01-15?05:51??wechat-jump-source-master\res\7.png
?????文件????????5135??2018-01-15?05:51??wechat-jump-source-master\res\8.png
?????文件????????5093??2018-01-15?05:51??wechat-jump-source-master\res\9.png
?????文件????????1421??2018-01-15?05:51??wechat-jump-source-master\res\ava.png
?????文件?????????899??2018-01-15?05:51??wechat-jump-source-master\res\ava_b.png
?????文件????????2654??2018-01-15?05:51??wechat-jump-source-master\res\ava_big1.png
?????文件????????1224??2018-01-15?05:51??wechat-jump-source-master\res\ava_lookers.png
?????文件????????2280??2018-01-15?05:51??wechat-jump-source-master\res\ava_rank.png
?????文件????????3029??2018-01-15?05:51??wechat-jump-source-master\res\bag.png
?????文件????????3214??2018-01-15?05:51??wechat-jump-source-master\res\bottom.png
?????文件?????????435??2018-01-15?05:51??wechat-jump-source-master\res\box_bottom.png
?????文件????????3680??2018-01-15?05:51??wechat-jump-source-master\res\box_middle.png
?????文件?????????545??2018-01-15?05:51??wechat-jump-source-master\res\box_top.png
?????文件????????2908??2018-01-15?05:51??wechat-jump-source-master\res\btn.png
?????文件????????7321??2018-01-15?05:51??wechat-jump-source-master\res\btn_bg_g.png
?????文件????????2300??2018-01-15?05:51??wechat-jump-source-master\res\btn_bg_h.png
?????文件???????12309??2018-01-15?05:51??wechat-jump-source-master\res\btn_iplay.png
?????文件???????28626??2018-01-15?05:51??wechat-jump-source-master\res\changlle_share.png
?????文件????????1982??2018-01-15?05:51??wechat-jump-source-master\res\clock.png
?????文件????????4534??2018-01-15?05:51??wechat-jump-source-master\res\close.png
............此處省略93個文件信息

評論

共有 條評論