Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- SETLOCAL ENABLEEXTENSIONS
- echo Cleaning extract directory
- rmdir /S /Q _extract
- echo Unpacking image from original.img
- imagesuite\unimg -d original.img
- echo Moving dump to extract directory
- rename original.img.dump _extract
- echo Renaming files to .fex
- for /F "delims=" %%a in ('dir /b _extract\*.') do rename "_extract\%%a" "%%a.fex"
- echo Done...
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement