The PokéCommunity Forums Fan Games ROM Hacking Tools, Tutorials & Resources
Tool TSK's Shiny Chance Changing tool[v2.1 released: Graphical User Interface, Ruby support]

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.


Reply
 
Thread Tools
  #1    
Old January 11th, 2015 (1:05 PM). Edited January 23rd, 2015 by TSK.
TSK's Avatar
TSK TSK is offline
Roaming Kanto
     
    Join Date: Jun 2007
    Nature: Timid
    Posts: 168
    Shiny Chance Changing tool v2.1

    What is the Shiny Chance Changing tool?
    As the name suggests this is a tool that allows you to change the shiny encounter rate!
    Supported ROMs
    • English Fire Red
    • English Emerald
    • English Ruby
    How to use this tool
    First, make sure ShinyCC.exe and ShinyCCGUI.exe are in the same folder!
    Run ShinyCCGUI.exe, fill in the required data and hit the patch button!
    Your patched ROM will be saved to the folder that contains ShinyCC.exe


    Spoiler:
    This tool can also be used on the command line:
    Code:
    ShinyCC.exe <InFile.gba> <OutFile.gba> <numerator> <denominator>
    InFile.gba is your input file, a must be a ROM supported by the program.
    OutFile.gba is the name of the file that will be created by the tool, the patched ROM.
    The numerator and the denominator will determine the shiny chance, setting them to 1 and 2 respectively will result in a 50% shiny rate for example.

    Or you can use the tool as:
    Code:
    ShinyCC.exe <InFile.gba> <OutFile.gba> <percentage>
    Where percentage is the desired shiny chance.
    Important details
    This tool changes the way the game interprets shinyness of a pokemon.
    This means that shinies from a patched ROM will not appear shiny in an unmodified ROM!
    Changing the shiny chance and loading an existing save may change which pokemon appear shiny.
    This also means that real shinies may not appear shiny on a ROM that has been patched with this tool.
    Download
    ShinyCCv2.1
    Known bugs

    Spoiler:
    Pokemon shown in dialog boxes(such as starters when choosing them) have gltched palettes.(Fixed as of v2.1)

    Changelog

    Spoiler:

    v2.1:
    -Fixed a bug in Fire Red where pokemon shown in image boxes(Like when choosing a starter) would have a glitched palette
    -Fixed a bug in Emerald where pokemon shown in image boxes(Like when choosing a starter) would have a shiny palette

    v2.0:
    -English Ruby support added
    -Graphical User Interface added

    v1.1:
    -English Emerald support added
    -Percentage entry on command line added

    v1.0
    Initial release
    Reply With Quote

    Relevant Advertising!

      #2    
    Old January 11th, 2015 (4:30 PM).
    esperance's Avatar
    esperance esperance is offline
    • Platinum Tier
     
    Join Date: Mar 2010
    Location: Ohio
    Age: 20
    Gender: Male
    Nature: Relaxed
    Posts: 3,830
    Just a suggestion, but how about allowing the user to input a percentage instead of a numerator and denominator?
    It would probably be more used-friendly that way.
    __________________
    What are you so afraid of?
    Reply With Quote
      #3    
    Old January 11th, 2015 (10:26 PM).
    bcrobert's Avatar
    bcrobert bcrobert is offline
    Lazy Antagonist
       
      Join Date: Apr 2011
      Gender: Male
      Nature: Quirky
      Posts: 79
      Quote:
      Originally Posted by itari View Post
      Just a suggestion, but how about allowing the user to input a percentage instead of a numerator and denominator?
      It would probably be more used-friendly that way.
      I don't think it's a big difference personally. Numerator and denominator aren't pretty words but they just mean "fraction" in practice. Fractions can also achieve results that percentages can't, like 1/3 and 1/8.

      I'd love to see Emerald support though. It'd be nice to actually see some of my edited shiny palettes in-game every now and then. (Shinyzer is great but it's geared more toward a Red Gyarados encounter than it is to making shinies more common in general.)
      __________________
      Reply With Quote
        #4    
      Old January 12th, 2015 (1:01 AM). Edited January 12th, 2015 by TSK.
      TSK's Avatar
      TSK TSK is offline
      Roaming Kanto
         
        Join Date: Jun 2007
        Nature: Timid
        Posts: 168
        Quote:
        Originally Posted by itari View Post
        Just a suggestion, but how about allowing the user to input a percentage instead of a numerator and denominator?
        It would probably be more used-friendly that way.
        I'll add support for this, should be a fairly quick addition.

        Quote:
        Originally Posted by bcrobert View Post
        I don't think it's a big difference personally. Numerator and denominator aren't pretty words but they just mean "fraction" in practice. Fractions can also achieve results that percentages can't, like 1/3 and 1/8.

        I'd love to see Emerald support though. It'd be nice to actually see some of my edited shiny palettes in-game every now and then. (Shinyzer is great but it's geared more toward a Red Gyarados encounter than it is to making shinies more common in general.)
        I'll look into Emerald. Most likely the relevant part of the ROM base is the same between Emerald and Fire Red so the edits themselves will be similar, but there's quite a few offset to find. Most likely I'll have some time by the week-end.

        EDIT: Turns out that adding emerald support could be done very, very quickly. The tool has this been updated to version 1.1!
        Reply With Quote
          #5    
        Old January 13th, 2015 (2:45 AM).
        AtecainCorp.'s Avatar
        AtecainCorp. AtecainCorp. is offline
        Rejishan awake...
           
          Join Date: Jun 2008
          Location: Takoabe Town (Region Thonsu)
          Age: 25
          Gender: Male
          Nature: Hardy
          Posts: 1,274
          Any chance for Ruby Support?
          __________________
          - My new Project comming Soon
          Reply With Quote
            #6    
          Old January 13th, 2015 (3:32 AM).
          TSK's Avatar
          TSK TSK is offline
          Roaming Kanto
             
            Join Date: Jun 2007
            Nature: Timid
            Posts: 168
            Quote:
            Originally Posted by Ksiazek Bartlomiej View Post
            Any chance for Ruby Support?
            I'll take a look tonight, watch this space!
            Reply With Quote
              #7    
            Old January 13th, 2015 (4:24 AM).
            AtecainCorp.'s Avatar
            AtecainCorp. AtecainCorp. is offline
            Rejishan awake...
               
              Join Date: Jun 2008
              Location: Takoabe Town (Region Thonsu)
              Age: 25
              Gender: Male
              Nature: Hardy
              Posts: 1,274
              Quote:
              Originally Posted by TSK View Post
              I'll take a look tonight, watch this space!
              Thank's. That was very great tool with ideal potential... If you found Ruby places. It was good. XD When you make it avaible for Ruby. I use it on my hack.
              __________________
              - My new Project comming Soon
              Reply With Quote
                #8    
              Old January 13th, 2015 (8:29 AM).
              LCCoolJ95's Avatar
              LCCoolJ95 LCCoolJ95 is offline
              Limited Capacity
                 
                Join Date: May 2009
                Location: The World That Never Was
                Age: 22
                Gender: Male
                Nature: Naive
                Posts: 529
                I've been trying to open this problem for the past couple of minutes now and it doesn't work. It opens for like a second, and then closes again. What's happening? And why did you make it a program that has to use cmd.exe?
                __________________
                "The greatest obstacle in life is Yourself. Overcome it, and you will achieve the greatest accomplishment of all." -Art Beins, 1982

                Pokémon Theta Emerald EX: https://www.pokecommunity.com/showthread.php?t=386240
                Reply With Quote
                  #9    
                Old January 13th, 2015 (8:45 AM). Edited January 13th, 2015 by TSK.
                TSK's Avatar
                TSK TSK is offline
                Roaming Kanto
                   
                  Join Date: Jun 2007
                  Nature: Timid
                  Posts: 168
                  Quote:
                  Originally Posted by LCCoolJ95 View Post
                  I've been trying to open this problem for the past couple of minutes now and it doesn't work. It opens for like a second, and then closes again. What's happening? And why did you make it a program that has to use cmd.exe?
                  Because making a Graphical User Interface for something like this seemed overkill. Anyhow, this shoud work:

                  -Put your ROM and the tool in the same folder.
                  -Go up one level and right click the folder while holding SHIFT
                  -Click the 'open command window here' option
                  -type the command in the cmd(see OP)

                  I might make a graphical shell sometime.

                  EDIT:

                  And when I said "sometime" I apparently meant "the very first moment I have some free time"... Anyway, enjoy!

                  Quote:
                  Originally Posted by Ksiazek Bartlomiej View Post
                  Thank's. That was very great tool with ideal potential... If you found Ruby places. It was good. XD When you make it avaible for Ruby. I use it on my hack.
                  I have added Ruby support.
                  Reply With Quote
                    #10    
                  Old January 21st, 2015 (9:16 AM).
                  TSK's Avatar
                  TSK TSK is offline
                  Roaming Kanto
                     
                    Join Date: Jun 2007
                    Nature: Timid
                    Posts: 168
                    Version 2.1 has been released. This version fixes bugs introduced into Fire Red and Emerald by older versions of the tool, please repatch your ROM with the new version!
                    Reply With Quote
                      #11    
                    Old January 22nd, 2015 (12:38 AM).
                    destinedjagold's Avatar
                    destinedjagold destinedjagold is online now
                    Oh Hai Thar~
                    • Silver Tier
                     
                    Join Date: May 2007
                    Location: Philippines
                    Age: 27
                    Gender: Male
                    Nature: Careful
                    Posts: 8,580
                    Thanks for providing support for Ruby, even though it's kinda not needed these days. xD
                    Anyway, I seem to be dealing with a problem. I cannot use the tool either by using the GUI or through the command line. I get this error message when I do so...
                    “ShinyCCGUI.exe is not a valid Win32 application.”

                    ...And oh, my OS is WinXP.
                    (Yeah, I'm old school like that... >.>)
                    __________________


                    FC: 0061-1111-6462
                    TSV: 1364(X), 0790(OR)

                    Reply With Quote
                      #12    
                    Old January 22nd, 2015 (12:57 AM).
                    TSK's Avatar
                    TSK TSK is offline
                    Roaming Kanto
                       
                      Join Date: Jun 2007
                      Nature: Timid
                      Posts: 168
                      Quote:
                      Originally Posted by destinedjagold View Post
                      Thanks for providing support for Ruby, even though it's kinda not needed these days. xD
                      Anyway, I seem to be dealing with a problem. I cannot use the tool either by using the GUI or through the command line. I get this error message when I do so...
                      “ShinyCCGUI.exe is not a valid Win32 application.”

                      ...And oh, my OS is WinXP.
                      (Yeah, I'm old school like that... >.>)
                      Well that's no good. I'll have a look at build profiles tonight, I'm not sure if this thing compiled as an x64 or x86 binary and I can't check from here.
                      Reply With Quote
                        #13    
                      Old January 22nd, 2015 (12:58 AM).
                      destinedjagold's Avatar
                      destinedjagold destinedjagold is online now
                      Oh Hai Thar~
                      • Silver Tier
                       
                      Join Date: May 2007
                      Location: Philippines
                      Age: 27
                      Gender: Male
                      Nature: Careful
                      Posts: 8,580
                      Quote:
                      Originally Posted by TSK View Post
                      Well that's no good. I'll have a look at build profiles tonight, I'm not sure if this thing compiled as an x64 or x86 binary and I can't check from here.
                      Thanks. And take your time~
                      __________________


                      FC: 0061-1111-6462
                      TSV: 1364(X), 0790(OR)

                      Reply With Quote
                        #14    
                      Old January 22nd, 2015 (8:40 AM).
                      TSK's Avatar
                      TSK TSK is offline
                      Roaming Kanto
                         
                        Join Date: Jun 2007
                        Nature: Timid
                        Posts: 168
                        Quote:
                        Originally Posted by destinedjagold View Post
                        Thanks. And take your time~ ^^
                        I have recompiled the executable and GUI for x86 CPU, the link in the OP now points to that release. It's not likely that that extra x64 efficiency would be needed for this app anyway =p
                        Reply With Quote
                          #15    
                        Old January 22nd, 2015 (9:08 PM).
                        destinedjagold's Avatar
                        destinedjagold destinedjagold is online now
                        Oh Hai Thar~
                        • Silver Tier
                         
                        Join Date: May 2007
                        Location: Philippines
                        Age: 27
                        Gender: Male
                        Nature: Careful
                        Posts: 8,580
                        Quote:
                        Originally Posted by TSK View Post
                        I have recompiled the executable and GUI for x86 CPU, the link in the OP now points to that release. It's not likely that that extra x64 efficiency would be needed for this app anyway =p
                        Still saying that it's not a valid win32 application. :/
                        __________________


                        FC: 0061-1111-6462
                        TSV: 1364(X), 0790(OR)

                        Reply With Quote
                          #16    
                        Old January 22nd, 2015 (11:56 PM).
                        TSK's Avatar
                        TSK TSK is offline
                        Roaming Kanto
                           
                          Join Date: Jun 2007
                          Nature: Timid
                          Posts: 168
                          Quote:
                          Originally Posted by destinedjagold View Post
                          Still saying that it's not a valid win32 application. :/
                          I've found a useful stack overflow post that may be the answer. I'll give it a shot tonight.
                          Reply With Quote
                            #17    
                          Old February 21st, 2015 (10:42 PM).
                          destinedjagold's Avatar
                          destinedjagold destinedjagold is online now
                          Oh Hai Thar~
                          • Silver Tier
                           
                          Join Date: May 2007
                          Location: Philippines
                          Age: 27
                          Gender: Male
                          Nature: Careful
                          Posts: 8,580
                          I wanna ask if this was intentional. Trainer's 'mons (on Ruby) can also be shiny.
                          __________________


                          FC: 0061-1111-6462
                          TSV: 1364(X), 0790(OR)

                          Reply With Quote
                            #18    
                          Old February 24th, 2015 (2:58 AM).
                          TSK's Avatar
                          TSK TSK is offline
                          Roaming Kanto
                             
                            Join Date: Jun 2007
                            Nature: Timid
                            Posts: 168
                            Quote:
                            Originally Posted by destinedjagold View Post
                            I wanna ask if this was intentional. Trainer's 'mons (on Ruby) can also be shiny.
                            This is a side effect of the patch in every version, I haven't found a way to circumvent it =p The game avoids trainer shinies by generating a PID that isn't shiny under the normal shiny rules, but my patch changes those.
                            Reply With Quote
                              #19    
                            Old February 26th, 2015 (8:40 PM).
                            FBI's Avatar
                            FBI FBI is offline
                            Free supporter
                            • Silver Tier
                             
                            Join Date: Jan 2013
                            Location: Unknown Island
                            Gender: Male
                            Posts: 1,838
                            Quote:
                            Originally Posted by bcrobert View Post
                            I don't think it's a big difference personally. Numerator and denominator aren't pretty words but they just mean "fraction" in practice. Fractions can also achieve results that percentages can't, like 1/3 and 1/8.

                            I'd love to see Emerald support though. It'd be nice to actually see some of my edited shiny palettes in-game every now and then. (Shinyzer is great but it's geared more toward a Red Gyarados encounter than it is to making shinies more common in general.)
                            Actually, those numbers end up being rounded inorder to be supported. It'd have to be a 4 byte number at most. The reason why by default generation 3 games have such a low chance is because the math behind PID XoR SID <= 8 is a low chance when PID and SID are arbitrary 4 byte numbers. You simply can't achieve that kind of percentage with these kind of hacks, so the number is rounded instead. Most people would use this tool to increase the shiny rate, so percentage is a pretty good way to do it.

                            Also I don't know why people still use Shinyzer. That can practically be considered a bug seeing as it fails to create a shiny with actually random stats, that and it changes the random seed directly.


                            Quote:
                            Originally Posted by TSK View Post
                            This is a side effect of the patch in every version, I haven't found a way to circumvent it =p The game avoids trainer shinies by generating a PID that isn't shiny under the normal shiny rules, but my patch changes those.
                            Actually it doesn't prevent that. The PID is generated only once, so you can encounter a shiny trainer Pokemon. The Make Pokemon function in the game is the same for trainers and wild Pokemon :P
                            __________________
                            ...
                            Reply With Quote
                              #20    
                            Old February 27th, 2015 (8:47 AM).
                            TSK's Avatar
                            TSK TSK is offline
                            Roaming Kanto
                               
                              Join Date: Jun 2007
                              Nature: Timid
                              Posts: 168
                              Quote:
                              Originally Posted by FBI agent View Post
                              Actually, those numbers end up being rounded inorder to be supported. It'd have to be a 4 byte number at most. The reason why by default generation 3 games have such a low chance is because the math behind PID XoR SID <= 8 is a low chance when PID and SID are arbitrary 4 byte numbers. You simply can't achieve that kind of percentage with these kind of hacks, so the number is rounded instead. Most people would use this tool to increase the shiny rate, so percentage is a pretty good way to do it.

                              Also I don't know why people still use Shinyzer. That can practically be considered a bug seeing as it fails to create a shiny with actually random stats, that and it changes the random seed directly.




                              Actually it doesn't prevent that. The PID is generated only once, so you can encounter a shiny trainer Pokemon. The Make Pokemon function in the game is the same for trainers and wild Pokemon
                              Oh really huh, I always assumed the pokemon of random trainers were guarded against being shiny. You can see I haven't gotten around to debugging that part =p
                              Reply With Quote
                                #21    
                              Old February 27th, 2015 (11:23 AM).
                              daniilS's Avatar
                              daniilS daniilS is offline
                              busy trying to do stuff not done yet
                                 
                                Join Date: Aug 2013
                                Age: 18
                                Gender: Male
                                Posts: 409
                                Quote:
                                Originally Posted by TSK View Post
                                Oh really huh, I always assumed the pokemon of random trainers were guarded against being shiny. You can see I haven't gotten around to debugging that part =p
                                afaik you're right

                                By the way, this line has no purpose but to get my post to 25 characters because PC likes having retarded rules.
                                __________________
                                Reply With Quote
                                  #22    
                                Old May 7th, 2015 (8:09 PM).
                                Criminon's Avatar
                                Criminon Criminon is offline
                                Pokemon: Aqua Blue
                                   
                                  Join Date: Aug 2012
                                  Gender: Male
                                  Posts: 243
                                  Despite me putting it on a 1% chance, I'm finding shinies like 1/6. Anyone else having this problem? Would love to increase chances, and I love the fact that trainer's pokemon can be shiny, however this just seems like its happening way too often.
                                  __________________
                                  FC: 3582 - 9598 - 9978. Add me!
                                  Reply With Quote
                                    #23    
                                  Old May 7th, 2015 (11:26 PM).
                                  TSK's Avatar
                                  TSK TSK is offline
                                  Roaming Kanto
                                     
                                    Join Date: Jun 2007
                                    Nature: Timid
                                    Posts: 168
                                    Quote:
                                    Originally Posted by Criminon View Post
                                    Despite me putting it on a 1% chance, I'm finding shinies like 1/6. Anyone else having this problem? Would love to increase chances, and I love the fact that trainer's pokemon can be shiny, however this just seems like its happening way too often.
                                    Hmm, have you tried putting in a numerator and denominator rather than a percentage? I have to admit that the percentage to two integers conversion function was implemented in a bit of a hurry so it might be misbehaving.
                                    Reply With Quote
                                      #24    
                                    Old May 7th, 2015 (11:50 PM). Edited May 7th, 2015 by Splash.
                                    Splash's Avatar
                                    Splash Splash is offline
                                    But nothing happened.
                                       
                                      Join Date: Oct 2009
                                      Location: Just use an Old Rod
                                      Gender: Male
                                      Nature: Hasty
                                      Posts: 685
                                      Quote:
                                      Originally Posted by Criminon View Post
                                      Despite me putting it on a 1% chance, I'm finding shinies like 1/6. Anyone else having this problem? Would love to increase chances, and I love the fact that trainer's pokemon can be shiny, however this just seems like its happening way too often.
                                      The tool didn't do anything wrong 1% is a high enough number as it is because the normal shiny rate is afaik 0.00625% so adjusting it to 1% is deemed really high. Try lowering it to 0.3 or 0.4%..

                                      @TSK I found a bug where in the Pokedex shows only the shiny forms of the pokemon the player catches I hope you check it out sometime..
                                      __________________
                                      ༼ つ ◕_◕ ༽つ PRAISE Splash ༼ つ ◕_◕ ༽つ
                                      |VM|PM
                                      |
                                      Reply With Quote
                                        #25    
                                      Old May 8th, 2015 (12:06 AM).
                                      Criminon's Avatar
                                      Criminon Criminon is offline
                                      Pokemon: Aqua Blue
                                         
                                        Join Date: Aug 2012
                                        Gender: Male
                                        Posts: 243
                                        Quote:
                                        Originally Posted by Splash View Post
                                        The tool didn't do anything wrong 1% is a high enough number as it is because the normal shiny rate is afaik 0.00625% so adjusting it to 1% is deemed really high. Try lowering it to 0.3 or 0.4%..

                                        @TSK I found a bug where in the Pokedex shows only the shiny forms of the pokemon the player catches I hope you check it out sometime..
                                        I've tried the lower parts as well. Just seemed a bit odd. And I'm not beleiving that 1/6 = 1% chance to find a pokemon. I'm really happy with the program existing, I just want to make sure I fully understand it before I impliment it into my hack. With the ranges. Are these ranges the ID numbers it can land on with a chance of it being shiny? I didn't quite understand it, so I didn't use that part.

                                        Edit: I'm an idiot for not knowing numerators and denominators, ha.
                                        __________________
                                        FC: 3582 - 9598 - 9978. Add me!
                                        Reply With Quote
                                        Reply

                                        Quick Reply

                                        Join the conversation!

                                        Create an account to post a reply in this thread, participate in other discussions, and more!

                                        Create a PokéCommunity Account

                                        Sponsored Links
                                        Thread Tools

                                        Posting Rules
                                        You may not post new threads
                                        You may not post replies
                                        You may not post attachments
                                        You may not edit your posts

                                        BB code is On
                                        Smilies are On
                                        [IMG] code is On
                                        HTML code is Off

                                        Forum Jump


                                        All times are GMT -8. The time now is 9:21 PM.