:: Home :: FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
[SKIN TOOL]: USST 0.3 (command line version) by toxl
Goto page 1, 2  Next
 
       Skale Tracker Forum Index -> Skins
View previous topic :: View next topic  
Author Message
toxl
Skale User


Joined: 12 May 2003
Posts: 73
Location: The Dark Woods, Bavaria

Posted: Wed Dec 08, 2004 1:10 am    Post subject: [SKIN TOOL]: USST 0.3 (command line version) by toxl

I'm working on a skin, and used USSM to pack the files.. I noticed several things:
- There are different TGA formats. My paint program saves them upside down, and USSM doesn't detect this. A "workaround" is to mirror the pictures every time before saving...
- compressed TGAs or wrong bit depths crash Skale
- USSM always writes the whole sks file even if only 1 Picture has changed
- etc

so I wrote my own version to fix all this. This one should also work with the 0.80 skins.

most recent version: http://qwertz.coden.at/usst/SkaleSkinTool-0.3.zip

If anybody wants the source i'll make it available. This program has no GUI, it's a commandline program. So either use it from a dos-box or drop the files onto the exe in explorer or whatever.


Last edited by toxl on Tue May 10, 2005 3:50 pm; edited 1 time in total
Back to top
vereiser
Skale Moderator


Joined: 04 Nov 2004
Posts: 314
Location: Berlin, Germany

Posted: Wed Dec 08, 2004 3:22 pm    Post subject:

Thanx man. That's I've been waiting for.
I will try that. And release some more skins.
Back to top
vereiser
Skale Moderator


Joined: 04 Nov 2004
Posts: 314
Location: Berlin, Germany

Posted: Wed Dec 08, 2004 5:48 pm    Post subject:

Tool works.
Some bat.files would be a fine, I think: for all those ppl never see the dos mode.
Back to top
vereiser
Skale Moderator


Joined: 04 Nov 2004
Posts: 314
Location: Berlin, Germany

Posted: Wed Dec 08, 2004 10:58 pm    Post subject:

I have problems working with new created skin in V0.80a and some songs created in V0.80a.

Skale crashes, if I go to the mixer, after loading a new created skin. This problem only occures on some of my skm's
Back to top
toxl
Skale User


Joined: 12 May 2003
Posts: 73
Location: The Dark Woods, Bavaria

Posted: Thu Dec 09, 2004 12:16 am    Post subject:

Thanks for the bug report, Vereiser. Did you try passing "-version 078" to the program? That should set the version string correctly, maybe it works then. I will upload 0.2 later tonight, which will write a Version file into the directory of the extracted files so this can't happen any more...
Back to top
skagen
Skale Jedi


Joined: 12 Nov 2002
Posts: 508
Location: Norway

Posted: Thu Dec 09, 2004 4:09 am    Post subject:

Extract.bat [skinfile]
Code:

@ECHO OFF
USST.EXE %1 -X


Makeskin.bat [skindir]
Code:

@ECHO OFF
USST.EXE %1 -SKINFILE DEFAULT.SKS -VERSION 080


Updateskin.bat [skindir]
Code:

@ECHO OFF
USST.EXE %1 -U -SKINFILE DEFAULT.SKS -VERSION 080


These should work if I have not misunderstood the options of the skintool
Back to top
toxl
Skale User


Joined: 12 May 2003
Posts: 73
Location: The Dark Woods, Bavaria

Posted: Thu Dec 09, 2004 11:24 pm    Post subject:

Thanks Skagen for those examples. Everything should work except the options should be all lowercase. (And there isn't a "080" version string - v0.80 Default.sks seems to use "078").

This is not a DOS program, btw: it doesn't even run in "DOS Mode"... It's a commandline program because that's easier to code. I sense we might have a GUI version soon though... Wait for it...

I've just uploaded USST 0.2. This one writes a Version file when extracting files, and reads it in when it packs them again. So no crashes any more, I hope. Can anyone confirm this? I couldn't reproduce the bug yet. Of course the Version file can only be read if it was extracted before, if it isn't there it defaults to 076w.

It also includes some code to make drag'n'drop stuff easier:
- Make a link to usst.exe on your desktop
- drop a .sks file onto the icon to extract the files
- drop a skin.txt or the directory containing it onto it to re-pack the skin.

I'm using a link which contains the commandline options to update my skin:
1. Create a link to usst.exe
2. right-click on the icon, choose Properties
2. change the command line so it reads:
x:\path\to\usst.exe -u x:\path\to\your\skin\skin.txt

Change your files, click the icon, change to skale, reload your skin...
(All of this might be obvious to you, if so, sorry )
Back to top
skagen
Skale Jedi


Joined: 12 Nov 2002
Posts: 508
Location: Norway

Posted: Fri Dec 10, 2004 4:06 am    Post subject:

Oh, hehe. I once was "l337" with batching in MS-DOS 6.22, but as the years past so does my memories
I thought everything running in DOS console was a DOS-program
Or is USST a windows program just missing the GUI??
Back to top
toxl
Skale User


Joined: 12 May 2003
Posts: 73
Location: The Dark Woods, Bavaria

Posted: Fri Dec 10, 2004 10:01 am    Post subject:

Quote:
Or is USST a windows program just missing the GUI??

exactly You would just get a "This program must be run under Win32" message if you tried to run it under plain DOS... Coding for text mode is just a) easier and b) portable, because it's like a "lowest common denominator" between operating systems. The code should compile nearly unmodified on Linux I think. If it had a GUI it would be specific to either Windows or Linux. (Of course there are some fat bloated cross-platform GUI libraries, which I don't want to use...) Does anyone make skins in linux btw? The linux version of Skale doesn't seem to be that popular (yet?).
Back to top
vereiser
Skale Moderator


Joined: 04 Nov 2004
Posts: 314
Location: Berlin, Germany

Posted: Mon Dec 13, 2004 3:23 pm    Post subject:

Usst coder would you give me your emailadress ! Want to send you a skm which crashed new created skins V0.80a. But I don't know if it is an error of skale or an error of wrong created sks.
Thankx.
Back to top
toxl
Skale User


Joined: 12 May 2003
Posts: 73
Location: The Dark Woods, Bavaria

Posted: Mon Dec 13, 2004 4:19 pm    Post subject:

j-kroll (at) gmx (dot) de
Back to top
vereiser
Skale Moderator


Joined: 04 Nov 2004
Posts: 314
Location: Berlin, Germany

Posted: Mon Mar 07, 2005 12:21 pm    Post subject:

Some of us want to see skale in a new style. Example: BlueOrb and Wood skin. I think, the skin system of skale is cool . But the most of skale users do not want to spent so much time creating their own skin. They only want to change the colour of this and this. What is the way out of this dilemma.
We could build an old school skin, in the same line like the good old ft2 one, only using one coloured surfaces and one coloured lines and letters.
Via a skintool u can change the colour of these.
The trick is the use of one color for shadow, one color for the buttons, one for the scrollbar and so on.

Somebody has to work the skin, another one the tool.

Personally I make my own skins and in addition it trains my skills working with graphic tools.
_________________
http://www.vereiser.de

Intel Pentium 4 / 2,8 GHz / 1 GB DDR / WinXP Prof. / Hoontech DSP24 Value (multichannel soundcard)
Back to top
toxl
Skale User


Joined: 12 May 2003
Posts: 73
Location: The Dark Woods, Bavaria

Posted: Wed Mar 09, 2005 3:34 pm    Post subject:

That's a cool idea. You could make a greyscale skin, and I'd write a "Skin Colorizer" program. We'd have to work out some kind of color conventions for the skin. What about this:

Code:

  COL_BAKGND    // Pattern + Fileselector Background
  COL_DIALOG    // background of Dialogs + stuff on top of the screen
  COL_TEXT        // Text Color
  COL_ITEM      // Buttons etc.
  COL_ITEM2      // Buttons (when clicked)
  COL_FRAMEHI   // Button "Hilights" (3d-look)
  COL_FRAMELO   // Button "Shadows"


Each of those constants would be a different shade of grey, and everything in the skin must be composed of exactly those colors. Then it can be easily colorized. I don't know if I get around to coding this soon, because I'm a bit busy ATM (I *should* do a lot of things... )
Back to top
vereiser
Skale Moderator


Joined: 04 Nov 2004
Posts: 314
Location: Berlin, Germany

Posted: Wed Mar 09, 2005 6:49 pm    Post subject:

I'm a bit over-busied too, but it is good to read that you could do that.
I will make this skin ft][-styled for all these nostalgic users of skale. Seems that I have to take ft][ to see which parts of the skin is changeable there.

First I release a new version of my wood.skin. And, oh, there was such a big manual I write.
_________________
http://www.vereiser.de

Intel Pentium 4 / 2,8 GHz / 1 GB DDR / WinXP Prof. / Hoontech DSP24 Value (multichannel soundcard)
Back to top
toxl
Skale User


Joined: 12 May 2003
Posts: 73
Location: The Dark Woods, Bavaria

Posted: Thu Apr 14, 2005 9:14 pm    Post subject:

Ok, I fixed the "63.tga bug"... Thanks dBlues for the hint. And I compiled a binary for linux, too. Hope everything works!

usst 0.3
Back to top
Display posts from previous:   
       Skale Tracker Forum Index -> Skins All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group