Post Reply 
[release] 01-12.bmp (un)packer
Author Message
atomicdryad
Paradigmatic Apprentice

Posts: 23.4380
Threads: 2
Joined: 11th May 2010
Reputation: 0
E-Pigs: 3.0017
Offline
Post: #1
[release] 01-12.bmp (un)packer
This is a perl script I wrote to automate mucking about with multi-image 01-12.bmp's, since I tend to prefer my own wallpapers but still want waves and such. It's a commandline utility that automagically extracts jpegs and records their padded lengths, then adds the correct padding when rebuilding. I'm aware of other utilities out there but the one I have tried didn't work, and is a gui app which I tend to loathe.

Usage is as such:
extracting
0112arc.pl -e 01-12.bmp
0112arc.pl -e 01-12.bmp imagedir

Now the images can be replaced with anything of the same size or smaller.

packing
0112arc.pl -c /psp/ctf/fnord/vsh/resources/01-12.bmp /some/other/dir

The directory can be left off and it will assume that it's BMPFILE-out. You will need an existing multi-image 01-12.bmp to extract. I have included a sample with 30 images, each allowed 32725 bytes.

If you're on windows without perl and wish to use this, see http://strawberryperl.com/releases.html and look for the portable version.

todo (maybe)
  png support
  option to set the image sizes by reading vshmain.prx
  option to set the image size -in- vshmain.prx


Attached File(s)
.7z  0112arc.7z (Size: 42.01 KB / Downloads: 411)
(This post was last modified: 09/06/2010 05:23 AM by atomicdryad.)
09/06/2010 05:19 AM
Find all posts by this user Quote this message in a reply
Cirehpsa
Let's finger this out.
Fractal Insanity

Posts: 2,549.3603
Threads: 63
Joined: 9th Oct 2009
Reputation: -4.69042
E-Pigs: 724.9902
Offline
Post: #2
RE: [release] 01-12.bmp (un)packer
Oooh!

Nice! I'll try this out, as whenever I try to replace 01-12.bmps It doesn't work...

Madwin

[Image: VCvmsjM.gif][Image: DecdMVG.gif][Image: glI7KKK.gif][Image: OJilHSf.gif]
09/06/2010 07:56 AM
Find all posts by this user Quote this message in a reply
Vegetano1
$urf

Posts: 9,083.2507
Threads: 397
Joined: 2nd Mar 2007
Reputation: 6.06988
E-Pigs: 2756.6280
Offline
Post: #3
RE: [release] 01-12.bmp (un)packer
Cool but does't look much easier to me,. Blur

i best try it out,. :) (i liek gui's,.. )


Make loads of $$!! it wurks!!
[Image: csbanner_anim_03.gif]
Signed Homebrew by bsanehi & OMightyBuggy
http://endlessparadigm.com/forum/showthr...?tid=25707
Spoiler for My miniBlog:
09/06/2010 08:31 AM
Visit this user's website Find all posts by this user Quote this message in a reply
nickxab
Pro hacker

Posts: 545.3302
Threads: 40
Joined: 23rd Feb 2009
Reputation: 1.65651
E-Pigs: 21.2108
Offline
Post: #4
RE: [release] 01-12.bmp (un)packer
Good job. Madwin

(09/06/2010 08:31 AM)Vegetano1 Wrote:  (i liek gui's,.. )

All of us loves guis xD

I was born with a d*ck in my brain, yeah ,f*cked in the head

Phat PSP 1004 TA-079 v3 + Sony 16GB Mark II + tiltFX with 6.60 ME 1.6 + leda 0.2
Phat PS3 CECHG04 40GB (750GB int. + 500GB ext.) with REBUG 3.55.2 OTHEROS++
iPhone 3G 8GB jailbroken with iOS 4.2.1
PS2 Slim model SCPH-75004 + Free McBoot 1.8b + uLaunchELF v4.42 + ESR beta r9b
[Image: userbar794826.gif]
[Image: userbar781446.gif]
10/06/2010 03:09 AM
Find all posts by this user Quote this message in a reply
atomicdryad
Paradigmatic Apprentice

Posts: 23.4380
Threads: 2
Joined: 11th May 2010
Reputation: 0
E-Pigs: 3.0017
Offline
Post: #5
RE: [release] 01-12.bmp (un)packer
GUI fooie! Having to use that horrid directory selection dialog is painful (looking at you ctftool :P). I have cygwin installed so it's usually a matter of
01<tab> /ps<tab>p3<tab>vs<tab>mo<tab>01<tab><enter>
>.>
For repeated use:
!01<enter>
:P
10/06/2010 05:17 AM
Find all posts by this user Quote this message in a reply
trademark91
Unique?
Fractal Insanity

Posts: 4,719.9300
Threads: 269
Joined: 4th Jan 2008
Reputation: -6.15982
E-Pigs: 105.8691
Offline
Post: #6
RE: [release] 01-12.bmp (un)packer
hasn't there already been one of these around for a long time?

infact i know there has...

nice though.

[Image: 531115][Image: 76561198014212040.png]
windows Proud
11/06/2010 07:19 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread:

 Quick Theme: