Post Reply 
infobar .prx modification
Author Message
junKie
Deh Eternal Stud

Posts: 397.4920
Threads: 48
Joined: 10th Jan 2011
Reputation: 1.72586
E-Pigs: 25.8715
Offline
Post: #351
RE: infobar .prx modification
So, if i understood correctly, editing the X and Y of the infobar
fixes the image stretching?

I was eXx1l3d from Techmantis.net for my ways.
Emo. (//.-)
27/04/2011 03:16 PM
Find all posts by this user Quote this message in a reply
gsmoke
Noob

Posts: 2,183.3269
Threads: 103
Joined: 14th Apr 2007
Reputation: 1.65351
E-Pigs: 36.8920
Offline
Post: #352
RE: infobar .prx modification
yep , if i understand you correctly , when you have image 144x272 and you set your X 255 and your Y 272 = the image will be not shown correctly.

(well im really oxidated and outdated so someone can correct me)

“Fear not for the future, weep not for the past.”
28/04/2011 02:24 AM
Find all posts by this user Quote this message in a reply
junKie
Deh Eternal Stud

Posts: 397.4920
Threads: 48
Joined: 10th Jan 2011
Reputation: 1.72586
E-Pigs: 25.8715
Offline
Post: #353
RE: infobar .prx modification
So, what do i input for the image
to show correctly?

I was eXx1l3d from Techmantis.net for my ways.
Emo. (//.-)
28/04/2011 11:53 AM
Find all posts by this user Quote this message in a reply
mugi
Paradigmatic Entity

Posts: 222.3840
Threads: 12
Joined: 18th Feb 2011
Reputation: -3.08805
E-Pigs: 15.2551
Offline
Post: #354
RE: infobar .prx modification
you have to set x size to same as the picture width you're using and Y size to same as the picture height you're using.

when you change the x size to smaller than 480 (the original value of it) you will have to edit the x position or it will not show up at all
as it gets drawn outside of the screen.

example:
use a picture that's 240x272 (half of the original width)
the start X value of the image is taken from the center of the picture, so in original image it expands 240 pixels to left and 240 pixels to right from the start position.
and in your image it is 120 to both directions.

the original image is positioned so that it starts drawing from X 481 on the PSP screen so if you use a 240pixel image, it will start drawing from X 601

summary:
when using an image with 240 as width, you need to change the X value to original value - what you removed from the original value/2 (math isn't my best attribute so someone will have to confirm this)
Either way... the smaller the width you use, the more you will have to move it to the left.  It's quite easy to experiment with it to see what happens.

just a side note, there's more than one place you have to edit to get all the menus to show up properly (see the first post)
(This post was last modified: 28/04/2011 05:18 PM by mugi.)
28/04/2011 05:13 PM
Find all posts by this user Quote this message in a reply
junKie
Deh Eternal Stud

Posts: 397.4920
Threads: 48
Joined: 10th Jan 2011
Reputation: 1.72586
E-Pigs: 25.8715
Offline
Post: #355
RE: infobar .prx modification
Ok, got it.
Thanks!

I was eXx1l3d from Techmantis.net for my ways.
Emo. (//.-)
30/04/2011 12:14 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: