Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

MineCraft .tga

Featured Replies

  • Author
  • Localization

aluigi, posted Fri May 01, 2015 2:51 pm (4956)


In my opinion there is something missing because there is no size field for the archive PNG and the file seems incomplete.

I have made something to extract the files, don't worry for the error at the end:
Code:
for
    get ZERO short
    callfunction EXTRACT

    get ZERO byte
    savepos OFFSET

    findloc END_OFF binary "IEND"
    math END_OFF 8
    goto END_OFF
    get DUMMY byte
    get DUMMY short
    get DUMMY long
    if DUMMY == 0x5845741f
        getdstring DUMMY 0x24
        savepos END_OFF
    endif

    xmath SIZE "END_OFF - OFFSET"
    log "" OFFSET SIZE

    math END_OFF 1
    goto END_OFF
next

startfunction EXTRACT
    get STRINGS long
    get DUMMY long
    get NAMESZ short
    xmath NAMESZ "(NAMESZ 1) * 2"
    getdstring NAME NAMESZ
    set NAME unicode NAME
    print "%NAME%"
    for i = 1 < STRINGS # work-around
        callfunction EXTRACT
    next i
endfunction

Anyway I suggest you to use a file ripper that supports the PNG files
  • Author
  • Localization

MerlinSVK, posted Fri May 01, 2015 2:51 pm (4957)


Open it in some hex editor. You will find it's PNG with some data at beginning.

Edit: Luigi overtook me :D
  • Author
  • Localization

lllccc, posted Fri May 01, 2015 3:13 pm (4958)


hmm can you guys recommend a ripper? i tired x-ripper and it got 1 file like this
Image
  • Author
  • Localization

lllccc, posted Fri May 01, 2015 3:29 pm (4960)


hmm when i tired most the programs they say its looking at the bitmap and nothing happens seems like the only one that kinda works was x-ripper
the script did extract the images
  • Author
  • Localization

aluigi, posted Fri May 01, 2015 3:43 pm (4961)


x-ripper extracted nothing because what you are watching is just the file you posted "as-is".

And Hyper Ripper of Dragon Unpacker works perfectly extracting all the png, just like my script did.
I don't know why you say it doesn't work. I guess you didn't select Hyper Ripper:
CTRL-H, go on Search, select the tga file in Source and then press the Search button, all the results will be available in the main window.

Direct links to the latest versions of Dragon Unpacker:
http://sourceforge.net/projects/dragonu ... z/download
http://download.elberethzone.net/dup5/n ... svn-708.7z
  • Author
  • Localization

lllccc, posted Fri May 01, 2015 3:50 pm (4962)


hmm okay yea i didn't choose that i will try it

It Worked thank you so much guys
  • Author
  • Localization

aluigi, posted Fri May 01, 2015 3:58 pm (4963)


You are welcome :)
I agree that the usage of Hyper Ripper is not so intuitive, I'm going to add the previous steps in the other thread.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.