-psycledelics- (http://psycle.pastnotecut.org/index.php)
|- SKINS BOARD (http://psycle.pastnotecut.org/board.php?boardid=15)
|-- What the hell are .psh and .psm files? (etcetera) (http://psycle.pastnotecut.org/threadid.php?boardid=15&threadid=1615)


From Seraph on 18.01.2005, 00:40:

  What the hell are .psh and .psm files? (etcetera)

Well, as stated in the subject of this post, what are .psh and .psm files? How do you edit them? How do you do anything when creating a skin. The document "how-to-skin-psycle" couldn't be any less helpful if it was entirely blank. I have no idea what to do, any help would be appreciated.


__________________
LX Industries - The innnocent shall suffer.
http://www.lxindustries.tk


From FingerSoup on 18.01.2005, 01:59:

 

I actually found the information very helpful. It also helps if you take a look at the BMP's, and the PSH/PSM files of someone else's skin... It makes more sense that way.

Basically these files are what sets up where each button/text/LED/meter is on Machines (.PSM) and Column headers(.PSH). As all graphics are in the same file (ie: On and Off lights are all part of the graphic) you have to define where you need to cut and paste the graphics. This is done by defining the coordinates in the .PSH/.PSM files for your skin.

Basically draw your machines/headers, then draw the buttons/lights/vu meters, etc... right below the 3 machines. then find the coords for all of these (Or multitask and find out yourself). write them down, and build your .PSM/.PSH files.

Alk also created a skinning helper app. It can be found On the Boards. Unfortunately the actual link to the file doesn't seem to work, so perhaps some kind soul will post a working link to it


__________________
I thought you beat the inevitability of death to death, just a little bit...


From Seraph on 31.01.2005, 00:36:

 

Yeah, it would be appreciated if someone could fix the link for that...I have a "Matrix" skin half-done, half-waiting-in-my-head. I'm sure anyone as much who's as much of a nerd as I am would appreciate that, no?

And since I haven't even seen this wonderous little application yet, are you able to edit said files right through it, or do you use some external program? 'Cause I tried using PhotoFiltre and Adobe Photoshop Version Delta Bravo Six Oh Niner, but neither program worked.

Rrr...now I really want to finish this damn skin!


__________________
LX Industries - The innnocent shall suffer.
http://www.lxindustries.tk


From FingerSoup on 31.01.2005, 01:39:

 

As for the editor, I haven't used it. I believe it would edit the files, or at least allow you to select areas and write a PSM or PSH (Hereafter referred to as skin file).

If your paint program gives coordinates in pixels, you can edit the files yourself by hand, using Notepad.

Take a copy of a previously existing skin, and edit it. Source Coordinates are as follows:

"Variable"=x,y,width,height

Where X and y are the top left hand corner. Source coordinates outline the location in the machine in the BMP.

Destination coordinates are where certain graphics need to be rendered. they can be in either of the following formats:

"Variable"=x,y,width

for controls that move on a horizontal axis (VU meters and Panning control) and:

"Variable"=x,y

for controls that overlay(replace) graphics (such as Mute, and bypass switches).


__________________
I thought you beat the inevitability of death to death, just a little bit...


From Seraph on 31.01.2005, 01:48:

 

Um...you lost me. So...skins can be made/altered using a text editor...I'm not sure what files you'd use with that, or what the "variable" would be.

I know a little bit about some kinds of coding, but this is not one of them.


__________________
LX Industries - The innnocent shall suffer.
http://www.lxindustries.tk


From TranceMyriad on 31.01.2005, 04:56:

 

well basically you have one big BMP file with all the elements of skin in it....(have a look in the folders of one of the built in skins).....and then you use the text files to specify where the elements (i.e. master machine image, mute/solo buttons) are within the BMP....so basically, find the psm and psh files of someone else's skin, make your own BMP with your own pics for the elements (all next to each other in the one file), and then subsitute the coordinates of the elements within your BMP into the psm and psh files

(i'm pretty sure all the files each have to have the same name except for the extension (?))

any help?


__________________


www.quantinuitymusic.com


From FingerSoup on 31.01.2005, 21:02:

 

RE: Variables - I erred in calling those variables. A more accurate description would be Items or Objects, as the coordinates are the variables (things that you Change). Basically the Item is a short description of what you are assigning values to.

Open a PSM file(In Notepad), the corresponding BMP(In your paint program), and the docs at the same time.
Look up the co-ordinates. Items with 4 variables are based off of BMP co-ordinates, whereas items with 3 or 2 variables are located in relation to the MACHINE. Thus you have to adjust your math.

I will try and make a tutorial on the WIKI... Give me a few days, and I'll gave something there.


__________________
I thought you beat the inevitability of death to death, just a little bit...


From Seraph on 01.02.2005, 01:27:

Aha! Thanks a lot, I get it now. Very cool. I just spent an hour or two editing Odo's skin (the purple one, my favorite), and I've got it all figured out now. Now I can finally finish this. I don't plan on doing anything else until it's done, so I might even have it done as soon as tomorrow, if not it will be in the next couple days. If ksn deems it acceptable, that is. Maybe I'll actually have something decent to contribute to Psycle for once.


__________________
LX Industries - The innnocent shall suffer.
http://www.lxindustries.tk

Powered by: Burning Board 1.0 Beta 4.5eEnglish Translation by AnnaFan
Copyright © 2001 by WoltLab