• Home
  • Downloads
  • EBOOT Fixes
  • Forums
  • New Posts
  • Register
    • Welcome, Register Now! 
    • Premium VIP Membership
    • PS3 Sticky
      • PS3 CFW & MFW
      • PS3 Debug Firmware
      • PS3 Decrypted PSN Links for CFW
      • PS3 Downloads
      • PS3 EBOOT.BIN Original File Links
      • PS3 Firmware
      • PS3 Game Releases List
      • PS3 Guides & Tutorials
      • PS3 Hacking Guides and Tutorials
      • PS3 Hacks & JailBreak
      • PS3 Help & Support
      • PS3 JailBreak Game Compatibility List
      • PS3 JB2 / True Blue (TB) Game Links
      • PS3 multiMAN Updates
      • PS3 Resources
      • PS3 Reviews
      • PS3 Save Files Repository
      • PS3 Themes
      • PS3 Trophies List
      • PS3 Videos
      • PS Vita Trophies List
    • Quick Links
      • Affiliates
      • Contact Us
      • FAQ
      • Post News
      • Site Rules
      • Tag Cloud
 

PS Vita Magic Reader Script v1.1 Update is Now Available

Category: PSP & PS Vita News  By: PS3 News - (wololo.net)
Tags: ps vita magic reader script v1.1 ps vita homebrew updates ps vita hax ps vita hacks

46w ago - Following up on his initial release, today PlayStation Vita homebrew developer PsDev has updated his PS Vita Magic Reader Script to version 1.1 with the details below.

To quote: A while back as a test I made Magic Reader v1 that extracted the Magic (SCEUF), the FW version and license.xml out of the Vita PUP. Well I just added a extraction for the whole Vita Header of PUP.

This script extracts the following:

  • Magic(SCEUF)
  • PUP Version
  • License
  • Package Version
  • Image Version
  • File Count
  • Header length
  • Package length
  • A Unknown bit of values 0x50 in length
  • FileTable
  • HashTable
  • HeaderHash

Also later I'll add a FileTable extractor. which is determined by the FileCount.

This is a linux script and will run in any linux environment.

    #!/bin/bash
    # PsDev 2012. this script extract the PUP magic.
    #Edit from PsiColio lv1.self extractrion
    #just extracts the header info from a vita pup, good for comparison kinda useless atm and most likely always.

    # File names to extract from the PUP
    Extract=( "Magic" "PUPVersion" "License.xml" "PackageVersion" "ImageVersion" "FileCount" "HeaderLength" "PakageLength" "UNKNOWN" "FileTable" "HashTable" "HeaderHash" )

    #length starting from the offset and it ending in the offsets total length
    length=( 0x8 0x10 0x724B4 0x8 0x8 0x8 0x8 0x8 0x50 0x20 0x40 0x20) #how many long the file is how much to copy, for example the Magic starts at 0x0 and the length is 0x8 bytes.

    #offset of the Magic, Version and License
    offset=( 0x0 0x9FF 0xC00 0x8 0x10 0x18 0x20 0x28 0x30 0x80 0x100 0x130 ) #where the file dump begins in the hex.

    cont=0

    printf "____________________________\n"
    printf " PsDev \n"
    printf " Magic Reader \n"
    printf "____________________________ \n\n"

    for file in "${Extract[@]}" #tells it for a file look in Extract = the the file names

    do

    printf "____________________________ \n"

    printf " %s\n" "${file}" #file name

    printf "____________________________ \n"

    printf "offset= %s\n" "${offset[$cont]}" #tells offset of file
    printf "length= %s\n" "${length[$cont]}" #tells total offset length of file
    printf "%s\n" "${cont}"

    dd if=$1 of=$file bs=1 obs=1 skip=$((${offset[$cont]})) count=$((${length[$cont]}))

    cont=$(($cont+1)) # make sure the usage is "./Magic-reader.sh PSP2UPDAT.PUP"

    done
How to:

  • Make a new file named "Magic-reader.sh"
  • Run "chmod +x Magic-reader.sh" to give to execution permissions
  • Now in terminal run it. "./Magic-reader.sh PSP2UPDAT.PUP" It will output the three files in the folder/location the scripts located in.

Example out of the old Terminal LOG in v1, not updated there is a lot more files:

    ./Magic-reader.sh PSP2UPDAT.PUP
    ____________________________
    PsDev
    PUP READER
    ____________________________

    ____________________________
    Magic
    ____________________________
    offset= 0x0
    length= 0x8
    0
    8+0 records in
    8+0 records out
    8 bytes (8 B) copied, 0.0153084 s, 0.5 kB/s
    ____________________________
    PUP_Version
    ____________________________
    offset= 0x9FF
    length= 0x10
    1
    16+0 records in
    16+0 records out
    16 bytes (16 B) copied, 0.0528894 s, 0.3 kB/s
    ____________________________
    license.xml
    ____________________________
    offset= 0xC00
    length= 0x724B4
    2




Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 1 Comment - Go to Forum Thread »

Errors

The following errors occurred with your submission

Okay

Quick Reply Quick Reply

  • Decrease Size
    Increase Size
  • Wrap [QUOTE] tags around selected text
Posting Quick Reply - Please Wait Posting Quick Reply - Please Wait
PS3 News's Avatar
#1 - PS3 News - 63w ago
Reply
Today PlayStation Vita developer PsDev has made available a PS Vita Magic Reader script for those interested and noted that PUP, SFO and PSF support are also currently in the works.

To quote from his blog (linked above): Made this script in about 10 min. It extracts the Magic ASCII, PUP Version and License.xml from a VITA PUP here is the script.

Right now the script is stupid and doesn’t do much, I plan on adding a full PUP dump and a SFO/PSF dumper.


#!/bin/bash

# PsDev 2012. this script extract the PUP magic.

#Edit from PsiColio

#Will be adding on more stuff for it to extract in time…

# File names to extract from the PUP

Extract=( “Magic” “PUP_Version” “license.xml” )

#length starting from the offset and it ending in the offsets total length

length=( 0×8 0×10 0x724B4) #how many long the file is how much to copy, for example the Magic starts at 0×0 and the length is 0×8 bytes.

#offset of the Magic, Version and License

offset=( 0×0 0x9FF 0xC00 ) #where the file dump begins in the hex.

cont=0

printf “____________________________\n”

printf ” PsDev \n”

printf ” PUP READER \n”

printf “____________________________ \n\n”

for file in “${Extract[@]}” #tells it for a file look in Extract = the the file names

do

printf “____________________________ \n”

printf ” %s\n” “${file}” #file name

printf “____________________________ \n”

printf “offset= %s\n” “${offset[$cont]}” #tells offset of file

printf “length= %s\n” “${length[$cont]}” #tells total offset length of file

printf “%s\n” “${cont}”

dd if=$1 of=$file bs=1 obs=1 skip=$((${offset[$cont]})) count=$((${length[$cont]}))

cont=$(($cont+1)) # make sure the usage is “./Magic-reader.sh PSP2UPDAT.PUP”

done
I added a lot of comments to it, just to make it more clear on what’s going on. Also added a offset and length teller for the hex and then the rest of the edit of course


How to:
Make a new file named “Magic-reader.sh”

\Run “chmod +x Magic-reader.sh” to give to execution permissions

Now in terminal run it. “./Magic-reader.sh PSP2UPDAT.PUP” It will output the three files in the folder/location the scripts located in.

Example out Terminal LOG:
./Magic-reader.sh PSP2UPDAT.PUP
____________________________
PsDev
PUP READER
____________________________

____________________________
Magic
____________________________
offset= 0×0
length= 0×8
0
8+0 records in
8+0 records out
8 bytes (8 B) copied, 0.0153084 s, 0.5 kB/s
____________________________
PUP_Version
____________________________
offset= 0x9FF
length= 0×10
1
16+0 records in
16+0 records out
16 bytes (16 B) copied, 0.0528894 s, 0.3 kB/s
____________________________
license.xml
____________________________
offset= 0xC00
length= 0x724B4
2


More PlayStation 3 News...

Page 1 of 1 1

Related PS3 News and PS3 CFW Hacks or JailBreak Articles

• Video: Sidescrolling Skate 'Em Up OlliOlli Debuts New Footage at E3
• Video: KickBeat on PlayStation Vita: Strutting Its Stuff at E3 2013
• Video: Pickles in Your Pocket: Bringing Runner2 to PlayStation Vita
• Dakko Dakko: Floating Cloud God Goes HD on PlayStation Vita
• 1001 Spikes on PS Vita: A Game for the Masochistic Gamer
• Video: Killzone Mercenary: New Single-Player & Multiplayer Details
Affiliates  NewsNow  Privacy  PS3 CFW & MFW  PS3 Hacks & JailBreak  PS3 Reviews  PS3 Videos  © 2013 PlayStation 3 News

PlayStation 3 Links

• Contact Us E-Mail
• PS3 Affiliates
• PS3 CFW & MFW
• PS3 Debug Firmware
• PS3 Decrypted PSN Links for CFW
• PS3 Downloads
• PS3 EBOOT.BIN Original File Links
• PS3 Firmware
• PS3 Game Releases List
• PS3 Guides & Tutorials
• PS3 Hacking Guides and Tutorials
• PS3 Hacks & JailBreak
• PS3 Help & Support
• PS3 JailBreak Game Compatibility List
• PS3 JB2 / True Blue (TB) Game Links
• PS3 multiMAN Updates
• PS3 News Forums
• PS3 News Site FAQ
• PS3 News Site Advertising FAQ
• PS3 News Site Posting FAQ
• PS3 News Site Privacy FAQ
• PS3 News Site Rules
• PS3 News Site Tag Cloud
• PS3 News Site Terms
• PS3 Resources
• PS3 Reviews
• PS3 Save Files Repository
• PS3 Themes
• PS3 Trophies List
• PS3 Videos
• PS Vita Trophies List

PlayStation 3 News Discussions
Hitman absolution PS3 help? - 9m ago

JeoWay's Avatar
Quote If you are not able to run Hitman Absolution while on a 3.55 OFW PS3, then you may need to update your Core_OS (inside pup). You can do this by simply...
By JeoWay with
 2 Comments »
PS3 Unban and Anti-ban Methods for Console ID and Sign-In - 14m ago

dyceast's Avatar
Quote Save game file? Where did you learn this? The only technique Ive heard with an OFW ps3, is with wireshark etc if that still works since i have...
By dyceast with
 84 Comments »
Copying PS3 with CFW to PS3 with OFW help? - 20m ago

dyceast's Avatar
Quote ^^^ Were you using a spoofer? I had always thought firmware needs to be the same or above.... This is where the spoofers come into play...
By dyceast with
 2 Comments »
Hitman absolution PS3 help? - 22m ago

dyceast's Avatar
Quote I had this problem with 3.55 ... Upgrade to 4.xx cfw and put back a clean eboot...
By dyceast with
 2 Comments »

Latest PlayStation 3 Trophies
Dungeons & Dragons: Daggerdale: The Big Stick
Dungeons & Dragons: Daggerdale: Four of a Kind
Dungeons & Dragons: Daggerdale: Man at Arms
Dungeons & Dragons: Daggerdale: Solid Gold

Latest PlayStation Vita Trophies
Jak II (Vita): The Collectationator!
Jak II (Vita): The Collectivist
Jak II (Vita): The Collector
Jak II (Vita): Head Master

Latest PlayStation 3 Releases
MotoGP 13 PS3-COLLATERAL - 06-17-2013
Remember Me USA PS3-ANTiDOTE - 06-17-2013
The Last of Us ASiA MULTi3 PS3-Kirin - 06-14-2013
Armored Core For Answer USA PS3-Googlecus - 06-12-2013

Latest PlayStation 3 Themes
The Last of Us PS3 Theme - 06-14-2013
God Of War 3 (Unofficial V1/V2) PS3 Theme - 06-12-2013
Heavy Rain (Official) Dynamic PS3 Theme - 06-11-2013
PlayStation Classic PS3 Theme - 06-11-2013
  • Contact Us
  • -
  • PS3 News