Announcement

Collapse
No announcement yet.

MAKI Cheats

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Haha, I came back from my hiking trip this weekend, logged onto the forums, couldn't find this thread. Thought it must have sunk to page 2 already and was figuring no one was gonna get anything from it. Never thought I would find it stickified.
    Anyways, I am glad to find people are benefitting from it. I'll be adding some more tonight or tomorrow sometime.
    ->lakitu42: heh, no worries, I didn't think you came across sounding angry or anything. I totally agree, in order to do more complicated things, people are gonna need to learn to love std.mi and learn how to code for themselves. I figured this would help out those who either have no interest in learning MAKI, or, like me, like to have working examples in front of them(hence my bothering to include .m's) so they can get a better grasp of how the basics work before they go on to bigger things. Also, thanks for that link, didn't know of that resource.
    ->rintaro82: Look around, I bet you can find a skin that demonstrates basic stuff like this... Or to save you time, just go to http://forums.winamp.com/showthread....hreadid=103493 Actually you may want to wait, I am gonna repost that skin using these exact scripts(right now they are the same scripts as these but written specifically for that skin) Let me know if you find that skin helpful, or if you find it lacking anywhere.
    ->willfisher: thanks for that script, I've been planning on posting a script that uses your code(you are credited, fear not!) to make it even easier to use for volume control.
    ->Paikan: Double thanks to you my friend! First catching a bug, then fixing it before I even looked at it I'll repost that script with those corrections. Did you have any success with your other two questions? If not, I'll look into them. And your English is fine
    Until next time,
    ~FrisbeeMonkey
    My Skins
    Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
    Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

    Comment


    • #17
      Animated Seek.... Take 2

      Here's a fixed animated seek script. See the first anim seek post(or just read the included .m) for how to use it. Thanks go to Paikan for the correction.
      ~FrisbeeMonkey
      Attached Files
      My Skins
      Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
      Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

      Comment


      • #18
        AutoRepeating Volume Buttons

        // USING THIS SCRIPT:
        //*****************************************************************************
        // 1. Define VolUp and VolDown buttons in your XML, something like:
        // <button
        // id="VolUp"
        // x="424" y="39"
        // image="player.IncVolUp"
        // downImage="player.IncVolDown"
        // tooltip="+ Volume +"
        // />
        // <button
        // id="VolDown"
        // x="408" y="45"
        // image="player.DecVolUp"
        // downImage="player.DecVolDown"
        // tooltip="- Volume -"
        // />

        // 2. Make sure their ids are "VolUp" and "VolDown"
        // 3. Make sure your ticker is called "SongTicker" and is in the same group as
        // "VolUp" and "VolDown" If you don't have a ticker, add one now.
        // 4. Copy this script and autorepeatvolumebuttons.maki to your scripts folder.
        // 5. If you don't have autorepeatvolumebuttons.maki, compile this script
        // (you'll need the AutoRepeatButton.m included in this zip)
        // 6. Add this line to the group that contains your volume buttons:
        // <script id="ARVB" file="scripts/autorepeatvolumebuttons.maki"/>
        // 7. Refresh your skin(F5) and try it out.
        //*****************************************************************************
        Attached Files
        My Skins
        Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
        Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

        Comment


        • #19
          Animated Volume

          // USING THIS SCRIPT:
          //*****************************************************************************
          // 1. Define the following in your XML:
          // <AnimatedLayer
          // id="VolumeAnim"
          // x="121" y="231"
          // w="25" h="25"
          // image="player.anim.volume"
          // move="0"
          // autoplay="0"
          // autoreplay="0"
          // />
          //
          // <slider id="HiddenVolume"
          // ACTION="Volume" x="0" y="0" w="40" h="2"
          // thumb="player.anim.volume"
          // alpha="0"
          // />
          // Change the position(x,y) and size(w,h) of "VolumeAnim" to the specifics
          // of your layer. (w and h refer to just one frame, not the whole image)
          // "HiddenVolume" is a dummy layer to get volume updates, no
          // changes are needed.
          // 2. Define your gradient map with your other elements using:
          // <bitmap id="player.map.vol" file="player/player-map-volume.png"/>
          // If you need help creating a map file, check:
          // http://www.stefanweb.com/wa3/tutorials.html#UsingMaps
          // 3. Make sure your ticker is called "SongTicker" and is in the same group as
          // "VolumeAnim" and "HiddenVolume" If you don't have a ticker, add one now.
          // 4. Copy this script (and volume.maki) to your scripts folder.
          // 5. If you don't have volume.maki, compile this script.
          // 6. Add this line to the group that contains your animated layer
          // <script id="animvolume" file="scripts/volume.maki"/>
          // 7. Refresh your skin(F5) and try it out.
          //*****************************************************************************
          Attached Files
          My Skins
          Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
          Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

          Comment


          • #20
            Skin demonstrating these scripts

            In response to the requests of newer skinners wanting to see a full skin using these scripts, I have updated my MAKI skin to use many of these exact scripts. The XML is commented, noting which parts of the XML are useed by which script. The updated skin is available here . Make sure you get the most recent version, rename it to .zip, open it up and check it out!
            ~FrisbeeMonkey
            My Skins
            Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
            Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

            Comment


            • #21
              Yeah, that autorepeating volume buttons is a nice thing for beginners.
              DO NOT PM ME WITH TECH SUPPORT QUESTIONS

              Comment


              • #22
                I'm trying to make a skin where i need the drawer script to open on mouse over instead of mouse click. I got the code changed, but when I tried to compile, it gave me an error in std.mi. Can somebody help me out with this?

                Comment


                • #23
                  You're in luck. The next two scripts coming up are a mute button and a mouseover drawer
                  Check back tonight or tomorrow sometime,
                  ~FrisbeeMonkey
                  My Skins
                  Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
                  Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

                  Comment


                  • #24
                    Mute script

                    // USING THIS SCRIPT:
                    //*****************************************************************************
                    // 1. Define the following in your XML:
                    // <togglebutton
                    // id="Mute"
                    // x="147" y="125"
                    // image="player.MuteOff"
                    // downImage="player.MuteOn"
                    // activeImage="player.MuteOn"
                    // tooltip="Mute"
                    // />
                    // Change the position(x,y) to the specifics of your button,
                    // 2. Make sure your ticker is called "SongTicker" and is in the same group as
                    // "Mute" If you don't have a ticker, add one now.
                    // 4. Copy this script (and mute.maki) to your scripts folder.
                    // 5. If you don't have mute.maki, compile this script.
                    // 6. Add this line to the group that contains your animated layer
                    // <script id="mute" file="scripts/mute.maki"/>
                    // 7. Refresh your skin(F5) and try it out.
                    //*****************************************************************************
                    Attached Files
                    My Skins
                    Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
                    Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

                    Comment


                    • #25
                      thanks for the mute script!
                      two more ideas:
                      a playing time counter that shows milliseconds (01:12:45) like in those early alpha versions of winamp3 (iirc)
                      someone asked me why the songtitledisplay scrolling in the main window of winamp3 differs from wa2, it scrolls forth and back rather than only in one direction - can you change that with maki?

                      Comment


                      • #26
                        Hey Lion King,
                        No problem about the mute script, I'll be updating the MAKI skin soon so you can see it in action. Just have to finish up commenting this MouseOverDrawer.
                        There is a script that does something like what you want for the timer, check out the Skinning/Scripting Tips And Tricks sticky. The post is by Spleen and is entitled Sonique2 Timer.
                        I don't know if you can limit the ticker to scrolling only one direction in MAKI. I am guessing not, but that's only a guess.
                        Back to commenting,
                        ~FrisbeeMonkey
                        My Skins
                        Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
                        Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

                        Comment


                        • #27
                          i'm anxiously awaiting the mouseoverdrawer script. now i'm not gonna be able to go to bed tonight. i'll post a very basic idea of what i've been trying to accomplish (with just the base skin), then all you creative types will hopefully figure out ways to use it too.

                          Comment


                          • #28
                            MouseOver Drawer Script

                            // USING THIS SCRIPT:
                            //*****************************************************************************
                            // 1. Define a MouseOver drawer group in your XML. (see example below)
                            // 2. Add your background layer to the group, something like:
                            // <layer id="MODrawer" image="player.MODrawer" x="0" y="0" sysregion="1"/>
                            // You can change any of the values but the id and sysregion
                            // 3. Add a layer to pass info to this script, something like:
                            // <layer id="MODrawerInfo" x="54" y="151"/>
                            // Set x and y to where you want your drawer to slide to
                            // 3. Add any other objects(layers, buttons, sliders, etc) to your group
                            // 4. Copy this script (and mouseoverdrawer.maki) to your scripts folder.
                            // 5. If you don't have mouseoverdrawer.maki, compile this script.
                            // 6. Add this line to the group that you want to be a drawer:
                            // <script id="mouseoverdrawer" file="scripts/mouseoverdrawer.maki"/>
                            // 7. Refresh your skin(F5) and try it out.
                            //*****************************************************************************

                            // EXAMPLE XML
                            //=============================================================================
                            //<groupdef id="MouseOverDrawerGroup" w="121" h="33">
                            //
                            // <!-- This layer is the background for the drawer, also catches mouse coords for opening/closing-->
                            // <layer id="MODrawer" image="player.MODrawer" x="0" y="0" sysregion="1" move="0"/>
                            //
                            // <!-- This layer passes info to the drawer script, see script for details +22y-->
                            // <layer id="MODrawerInfo" x="54" y="151"/>
                            // //add other objects that you want to move with the drawer here
                            //
                            // <script id="mouseoverdrawer" file="scripts/mouseoverdrawer.maki"/>
                            //</groupdef>
                            //=============================================================================
                            // ***Don't forget to place your group somewhere in your layout!***
                            // <group id="DrawerGroup" x="47" y="0"/>

                            /**
                            Note: This is not very useful as is. The drawer will close when the mouse
                            goes over anything you put in the drawer. I put my animated layers
                            in the MAKI skin by setting them ghost="1", but most things you'll want
                            to put in the drawer require mouse input. To add mouse-dependent
                            objects (buttons, sliders, etc) make sure they are not ghosted and then
                            you will have to add to this script and recompile it.

                            You'll need to follow these steps for each object you want to add:
                            -Create a new global variable of whatever type(Button, Slider, etc)
                            Ex. Global Button SomeButton;
                            -Get the object from the XML
                            Ex. SomeButton = MODrawerGrp.findObject("SomeButtonName");
                            -Define an onEnterArea() for your new object
                            Ex. SomeButton.onEnterArea() {
                            MODrawerGrp.setTargetX(EndX);
                            MODrawerGrp.setTargetY(EndY);
                            MODrawerGrp.setTargetSpeed(1);
                            MODrawerGrp.gotoTarget();
                            }
                            Doing this for all objects will prevent the drawer from closing prematurely.
                            In 99% of the cases, you won't need an onLeaveArea for anything you add.
                            **/
                            Attached Files
                            My Skins
                            Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
                            Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

                            Comment


                            • #29
                              Stop After Current Song Script

                              // USING THIS SCRIPT:
                              //*****************************************************************************
                              // 1. Define the following in your XML:
                              // <togglebutton
                              // id="StopAfterSong"
                              // x="147" y="89"
                              // image="player.StopAfterSongOff"
                              // downImage="player.StopAfterSongOn"
                              // activeImage="player.StopAfterSongOn"
                              // tooltip="StopAfterSong"
                              // />
                              // Change the position(x,y) to the specifics of your button,
                              // 2. Make sure your ticker is called "SongTicker" and is in the same group as
                              // "StopAfterSong" If you don't have a ticker, add one now.
                              // 4. Copy this script (and StopAfterSong.maki) to your scripts folder.
                              // 5. If you don't have StopAfterSong.maki, compile this script.
                              // 6. Add this line to the group that contains your animated layer
                              // <script id="StopAfterSong" file="scripts/StopAfterSong.maki"/>
                              // 7. Refresh your skin(F5) and try it out.
                              //*****************************************************************************
                              Attached Files
                              My Skins
                              Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
                              Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

                              Comment


                              • #30
                                frisbeemonkey...check your pm's

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎