Git Product home page Git Product logo

Comments (8)

captbaritone avatar captbaritone commented on August 22, 2024

This is excellent. I have not come across any other solid documentation of the skin spec. I think you may be creating it.

This had some more info: http://forums.winamp.com/showthread.php?p=951257 but it's mostly based around a sample skin that gives clear outlines about where each sprite starts and stops by giving them well defined outlines.

I hope this can become a pull request before too long. Let me know how I can help, be it with naming or research.

from webamp.

captbaritone avatar captbaritone commented on August 22, 2024

It might be cool to make the skin definition object JSON. That way, if somebody want's to do an implementation in another language, they can share our code. Also, since it's so verbose, I would like to keep it in a separate file.

Thoughts?

from webamp.

captbaritone avatar captbaritone commented on August 22, 2024

Just discovered this: http://wiki.winamp.com/wiki/Creating_Classic_Skins Does not include coordinates, but it does have some information, and should at least help with naming.

from webamp.

PAEz avatar PAEz commented on August 22, 2024

!!!!!!!!!!AWESOME!!!!!!!!!!
http://people.xmms2.org/~tru/promoe/Winamp_skinning_tutorial_1_5_0.pdf

Today was a good day :P
Was looking for more explanations of region.txt (which by the way is going to be awful to deal with, but definitely doable...wonder if you could even use css?...not great at css myself but Im sure ive seen something on this) and did a search for "winamp Justin's whacked trans skin" and this popped up!!!

from webamp.

captbaritone avatar captbaritone commented on August 22, 2024

Excellent! This is invaluable. I've added it to the readme here: d24e378

I've also looked a bit into region.txt and while I'm sure it's doable, I don't know how. Like many of the challenges this project presents, I've just let it sit in the back of my mind with the hopes that at some point I'll be on a walk, or in the shower and I'll say "Ah ha! I know how we can solve that problem!".

from webamp.

PAEz avatar PAEz commented on August 22, 2024

Typical!
I looked up what I was thinking about css (clip,clip-path,mask) and offcourse not one of them is fully cross browser supportable....urggghhhh.
So worse come to worse your going to have to have a canvas the size of winamp to paint too and one for the mask.
Then paint each and every element onto the canvas with the mask and then cut them out again....bleh!
And when it comes to painting the mask I think it follows the methods of what I was once taught as the clockwise polygon (they have some cool properties), but that was over 20 years ago and I cant remember that stuff. Both my original teachers were demo coders and both tried to drill that into me, but I never did get it ;). Its the holes that are urggghh, otherwise its simple (and considering how much a pain it can be by hand I doubt many did it and most just used that tool (http://www.smspower.org/maxim/Winamp/RegionTxtGenerator) which doesnt make use of the hole stuff). But hopefully canvas might work that way.

from webamp.

PAEz avatar PAEz commented on August 22, 2024

Small note...
Still updating that json data, it'll take a while ;).
In case you ever want to see where Im up to or if someone wants to do one of the windows (ha, yeah right, its soooooo boring) Ill keep this updated....
https://gist.github.com/PAEz/a1fd05022cf44b200ca3

I want to be able to generate everything dynamically....data is king!

from webamp.

captbaritone avatar captbaritone commented on August 22, 2024

If we are going to get it merged in, I would love to see this done as a series of small pull requests rather than one giant project, and here's why:

  • We can more easily collaborate on the approach taken. If you finish the whole thing, and I don't like some basic assumptions you made, it might be too late to make such a core change, and it may never get merged.
  • Small PRs are safer. We might break something, but probably not everything.
  • It makes it easier to collaborate on the code if we can define the work needed in smaller pieces.
  • It's easier for me to internalize the new code if I get to read it one PR at a time.
  • It reduces the possibility of huge merge conflicts if we merge more frequently.

What do you think?

from webamp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.