mirror of
https://gitlab.com/Nanolx/qwad.git
synced 2024-11-22 18:49:19 +01:00
11 lines
441 B
Python
11 lines
441 B
Python
|
import os
|
||
|
from U8 import *
|
||
|
from title import WAD
|
||
|
|
||
|
sysmenuWad = WAD('/home/giuseppe/Scrivania/RVL-WiiSystemmenu-v258.wad')
|
||
|
sysmenuWad.unpack('/home/giuseppe/Scrivania/sysdump')
|
||
|
|
||
|
for file in os.listdir('/home/giuseppe/Scrivania/sysdump'):
|
||
|
if open('/home/giuseppe/Scrivania/sysdump/' + file).read(4) == '\x55\xaa\x38\x2d':
|
||
|
U8('/home/giuseppe/Scrivania/sysdump/' + file).unpack('/home/giuseppe/Scrivania/sysdump/' + file + '_decompressed/')
|