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

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old March 6th, 2015 (10:53 AM). Edited February 8th, 2017 by PierrotTheMad.
PierrotTheMad's Avatar
PierrotTheMad PierrotTheMad is offline
     
    Join Date: Nov 2014
    Location: Germany
    Gender: Female
    Nature: Quiet
    Posts: 16
    Hello,

    I want to share a program I originally made for myself because I couldn't find anything similar. I thought that other people might like it, too, and if so then that's great.

    My program is called the "NDS Palette Randomizer" and does exactly what the name implies; it can randomize all Pokemon color palettes in all NDS Pokemon games (Diamond, Pearl, Platinum, HeartGold, SoulSilver, Black, White, Black 2, White 2).

    I have build in different randomization modes sorted by most to least random:

    • Completely Random - randomizes every hue of the palette seperately and assigns it a new brightness and saturation value as well.
    • Randomize Hue - Leaves saturation and brightness as it is and just shifts the hue. It is possible to get a Pokemon with almost the original set of colors or something very different.
    • Slightly Vary Original Colors - Shifts the hue, saturation, brightness of the palette slightly to create a subtle change. Here and there a more changed look is thrown in.
    • Color by Type - Assigns a predetermined type color to the Pokemon to make types easier to identify. Useful for beginners or when types are changed with the Universal Pokemon Randomizer.
    • Color by Evolution Family - The whole evolution family will use a single palette and therefor look similar.
    • Color bias - You can increase the likeliness of a specific color to appear. If you choose yellow you will get more yellow Pokemon.
    • Change one Color - The Pokemon stays the same exept for one randomly chosen color. You can end up with a Charizard with violet wings, a Pikachu with blue cheeks and a Bulbasaur with a red bulb.

    I have included a manual in the actual program itself. Click on the "help" button in order to view instructions.

    I hope that you will enjoy my work as much as I do.


    Download

    You can download the newest version HERE.

    It should be compatible with all languages and NDS game versions. If you are experiencing problems, please notify me.

    This version includes a beta version of the trainer color editor. Works for Black/White (2) only.
    Click on the edit trainer button, click on the hat/skin/... buttons, choose a color, close the trainer window and your chosen colors are applied to your trainer avatar.

    Currently working on...

    ... an editor to modify the colors of your trainer avatar.
    The colors are applied to the overworld and in-battle sprite. All you have to do is choose a few colors.

    It already works for Black and White, currently working on B/W2.
    Reply With Quote

    Relevant Advertising!

      #2    
    Old March 23rd, 2015 (9:39 PM).
    Joexv's Avatar
    Joexv Joexv is offline
    WHO ARE YOU PEOPLE
    • Silver Tier
     
    Join Date: Oct 2012
    Location: Oregon
    Age: 20
    Gender: Male
    Nature: Sassy
    Posts: 1,024
    So I finally got a chance to test this out, and the color by type doesnt seem to work correctly for me.
    I had electric types who were purple and some dark types who were green, it was kinda odd. But for some of the pokemon it worked on they looked pretty good.
    __________________
    I'm bored
    Jesus Christ is my Savior
    Bros with Percy

    My Rom hacks
    A New Dawn---Gentlemon
    Not in Production:
    Blackened Night---Holiday Hacks
    Reply With Quote
      #3    
    Old March 25th, 2015 (2:10 PM).
    MementoMagus's Avatar
    MementoMagus MementoMagus is offline
       
      Join Date: Mar 2015
      Age: 20
      Gender: Female
      Nature: Relaxed
      Posts: 1
      Hey there! I've been playing around with this, and it works great with the Gen IV games! (Except what joexv said about the occasional off-color Pokemon, like when I caught a dark purple Gible that turned out to be grass type...) However, when I try to run the program for the Gen V games, I get this error:

      Quote:
      Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

      Could not find a part of the path 'U:\((my name))\Downloads\Palette Randomizer\a004_black2'.
      There was never a 'a004_black2' folder when I unpacked the .zip files. I even deleted all of the folders and re-unpacked the .zips after getting this message multiple times.

      Any help would be appreciated. c: Thanks!
      Reply With Quote
        #4    
      Old March 26th, 2015 (2:50 AM).
      SHSL Ivalice SHSL Ivalice is offline
         
        Join Date: Dec 2006
        Nature: Adamant
        Posts: 11
        It's the same with me - even when I managed to get it to randomize, by renaming the mis-named Black2 folder - it freezes up when certain Pokemon are checked/it doesn't save the images properly.
        Reply With Quote
          #5    
        Old March 26th, 2015 (4:37 AM).
        xGal xGal is offline
        Mhm
           
          Join Date: Nov 2011
          Location: A tree
          Gender: Other
          Nature: Relaxed
          Posts: 243
          Does the source code for C# work only with the TXT? Shouldn't you upload the project file?
          __________________
          Reply With Quote
            #6    
          Old May 11th, 2015 (2:23 PM).
          PierrotTheMad's Avatar
          PierrotTheMad PierrotTheMad is offline
             
            Join Date: Nov 2014
            Location: Germany
            Gender: Female
            Nature: Quiet
            Posts: 16
            Over the course of the last few months I had a lot of stress and forgot that I had uploaded my program. I am sorry for that but I am very happy to see that other people found my program to be useful.

            Renaming folders won't do any good because I made a mistake when I made the zip packages and put the wrong folder in it instead of "a004_black2".

            I have tried to improve the randomization modes a bit and reuploaded my new zip packages.

            Also you can now use the randomization modes "hue, saturation, brightness", "hue", "slight variation" on whole evolution families instead of only an individual pokemon.
            You can see it as a compensation for the long wait.
            Reply With Quote
              #7    
            Old May 11th, 2015 (9:10 PM).
            Bizatin Bizatin is offline
               
              Join Date: Sep 2012
              Gender: Male
              Posts: 2
              Sorry to bother you but I just downloaded the zips and unloaded them as instructed but I can't seem to find the Manual. If i'm just missing it that's fine but I did a search as well as a manual check through and I couldn't find it.
              Reply With Quote
                #8    
              Old May 12th, 2015 (8:04 AM).
              PierrotTheMad's Avatar
              PierrotTheMad PierrotTheMad is offline
                 
                Join Date: Nov 2014
                Location: Germany
                Gender: Female
                Nature: Quiet
                Posts: 16
                Yeah, I reuploaded the tools and the manual. They are in NDS_Palette_Randomizer_4.zip.
                Reply With Quote
                  #9    
                Old May 12th, 2015 (8:14 AM).
                Bizatin Bizatin is offline
                   
                  Join Date: Sep 2012
                  Gender: Male
                  Posts: 2
                  Thank you very much.
                  Reply With Quote
                    #10    
                  Old June 4th, 2015 (2:07 PM).
                  StevenBlank93 StevenBlank93 is offline
                     
                    Join Date: Jun 2015
                    Gender: Male
                    Posts: 1
                    I get to the part where you have to rename it with BWSE but I keep getting error "DSDecmp failed to decompress the file".
                    Reply With Quote
                      #11    
                    Old June 13th, 2015 (7:24 PM).
                    Polluxcastorjgh Polluxcastorjgh is offline
                       
                      Join Date: Jun 2015
                      Gender: Male
                      Posts: 1
                      I'm having a problem trying to color-by-type a UPR randomized HG rom.
                      I extract the unpacked a/0/0/2 into a folder with Tinke, and when I look at the files, everything's like it should be. Everything's there, everything has the right names.
                      But when I run the palette randomizer, it says it can't find 2_0.bin and asks if I want it to ignore the problem or stop. If I tell it yes ignore, it never finishes. Whether I say yes or no, when I re-open the folder after running your palette utility, most of the files are renamed to different things. For instance, 2_0.bin has become 2_0.002_0.bin, which is likely why the program can't find it.

                      Do you have any idea what's going on or how to fix it?

                      I recorded a video of the problem occurring so that hopefully it can help give you a better view of the situation.
                      http://youtu.be/0ORYoBCL9VQ
                      Reply With Quote
                        #12    
                      Old June 27th, 2015 (7:18 AM). Edited June 27th, 2015 by GoGoInaro.
                      GoGoInaro GoGoInaro is offline
                         
                        Join Date: Dec 2010
                        Posts: 2
                        The Gen IV features of this aren't working for me? I've tried Soul Silver and Platinum, making sure I've followed instructions to a tee, but both times I've just gotten a square muddle of pixels.

                        Worked perfectly on Pokemon Black, however. Is there just something wrong on my end? :V
                        Reply With Quote
                          #13    
                        Old July 2nd, 2015 (7:51 PM).
                        Dassery Dassery is offline
                           
                          Join Date: Jul 2015
                          Gender: Male
                          Posts: 1
                          Hey is it a jar file? will it work on mac?
                          Reply With Quote
                            #14    
                          Old July 14th, 2015 (3:58 PM).
                          Zef's Avatar
                          Zef Zef is offline
                          zef
                             
                            Join Date: Jul 2010
                            Gender: Male
                            Posts: 173
                            this doesn't seem to work at all with any game that isn't black/white2
                            Reply With Quote
                              #15    
                            Old August 6th, 2015 (6:17 AM).
                            gamerhound1549 gamerhound1549 is offline
                               
                              Join Date: Aug 2015
                              Gender: Male
                              Posts: 2
                              has anyone figured out how to get this to work in DPPt HGSS? as still getting the square with a mash up of colours
                              Reply With Quote
                                #16    
                              Old August 11th, 2015 (10:06 AM). Edited August 11th, 2015 by PierrotTheMad.
                              PierrotTheMad's Avatar
                              PierrotTheMad PierrotTheMad is offline
                                 
                                Join Date: Nov 2014
                                Location: Germany
                                Gender: Female
                                Nature: Quiet
                                Posts: 16
                                Since a few people complained that it didn't work for them I will explain what you could try to do to get it working again.

                                I have just randomized the palettes of Platinum, HeartGold, Black and Black 2 two days ago to test something and it worked for me.
                                The Pokemon in Diamond however looked like squares out of pixels.

                                Here is what I think about this issue:
                                The program runs pretty stable but the weak points are the tons of files the program juggles with. It copies and erases many many files and I think that the ZIP packing and unpacking process can harm these files, too.

                                The folders contain extracted narc files from the ROMs and if your's are broken you could extract them yourselves.

                                I will tell you what I did in my case:
                                a004_heartgold is the folder that contains the extracted and unchanged sprite files. This is where my program takes the source files from and if these are damaged everything will turn to muk later in the process.

                                So I opened Tinke and loaded an unchanged Diamond ROM with it. Then I navigated to poketool/pokegra/pokegra and unpacked it. Then I clicked on "Extract" and extracted it into the folder where my program is currently located.

                                I erased the old a004_heartgold folder and renamed the newly extracted folder like this. I opened the BWSE program and used it to rename the files in my new folder. There will be an error message because it is only meant for gen 5 games but it doesn't matter.

                                The files need to look similar to this: file00001, otherwise there will be problems with the file order. After this I copied the folder and named the copy dest_heartgold. This is where the changed files are later stored.

                                Now you can use the program as stated in the manual.

                                It doesn't really matter which gen 4 ROM you use for extraction since their graphic folders are all the same. In Diamond and Platinum the sprite files are contained in poketool/pokegra/pokegra, in HeartGold they are in a/0/0/4. In gen 5 games they are in a/0/0/4 as well.

                                I included these folders in the ZIP packages to spare you from this extraction process but if it breaks the files you need to do it yourselves. Alternatively you could try to download the ZIP packages again.

                                I am currently working on the program again. Maybe it will get better with the next update.
                                Reply With Quote
                                  #17    
                                Old September 6th, 2015 (2:23 PM).
                                gamerhound1549 gamerhound1549 is offline
                                   
                                  Join Date: Aug 2015
                                  Gender: Male
                                  Posts: 2
                                  OK this still isn't working for me i tried it many time but on HGSS i'm still getting a square with jumbled pixels please help!
                                  Reply With Quote
                                    #18    
                                  Old October 9th, 2015 (2:34 AM).
                                  PierrotTheMad's Avatar
                                  PierrotTheMad PierrotTheMad is offline
                                     
                                    Join Date: Nov 2014
                                    Location: Germany
                                    Gender: Female
                                    Nature: Quiet
                                    Posts: 16
                                    Here is an update on the progress that I've made and I've got some good news:

                                    I have managed to improve the reading and writing process of the palette files. I have tried to randomize all NDS ROMs (including Diamond and Pearl which were glitchy before) several times and had a success rate of 100%.

                                    I have created separate folders for Diamond/Pearl files called "a004_diamond" and "dest_diamond" and have programmed a special reading and writing procedure for these games specifically.
                                    Unfortunately the program is too big now for a zip upload, therefore I will post a link to my Dropbox when I have written 15 posts and when I'm satisfied with the randomization results.

                                    There is a Palette.txt file now that contains information on the hues that are contained in every single palette. With this I am now able to randomize every hue separately as I have wanted to from the start. I have written this by hand which took me a really long time.

                                    It looks good so far for generation 5 games but I still need to adapt the palette list to generation 4 games because some Pokémon palettes differ between generations.

                                    I just wanted to let you know that this program is steadily being improved and that it is on a good way.

                                    I want to thank you all for testing and giving feedback as well.
                                    Reply With Quote
                                      #19    
                                    Old October 15th, 2015 (1:28 PM).
                                    Sanakay Sanakay is offline
                                       
                                      Join Date: Oct 2015
                                      Gender: Male
                                      Posts: 1
                                      I'm new to the Forum... But I'd really enjoy having this back on the links. The links seem empty, maybe something is wrong? Hope to hear more from it!
                                      Reply With Quote
                                        #20    
                                      Old October 31st, 2015 (4:47 AM).
                                      CosmikShadow CosmikShadow is offline
                                         
                                        Join Date: Oct 2015
                                        Posts: 2
                                        Im having the same problem as Sanakay, the links come up with a blank page, and if i try saving to dropbox it comes up as a .php file. Hope this is fixed soon, thanks.
                                        Reply With Quote
                                          #21    
                                        Old December 4th, 2015 (9:19 PM).
                                        GoGoInaro GoGoInaro is offline
                                           
                                          Join Date: Dec 2010
                                          Posts: 2
                                          Exciting! I can't wait for the update.
                                          Reply With Quote
                                            #22    
                                          Old December 21st, 2015 (3:14 AM).
                                          mercutio mercutio is offline
                                             
                                            Join Date: Dec 2015
                                            Gender: Male
                                            Posts: 1
                                            there's something wrong with the downloads, it just takes me to a link called attachment.php and dosent do anything please fix?
                                            Reply With Quote
                                              #23    
                                            Old December 26th, 2015 (9:18 AM).
                                            PierrotTheMad's Avatar
                                            PierrotTheMad PierrotTheMad is offline
                                               
                                              Join Date: Nov 2014
                                              Location: Germany
                                              Gender: Female
                                              Nature: Quiet
                                              Posts: 16
                                              I have finally uploaded the Dropbox-link to my folder.

                                              I wish you all merry Christmas, a happy new year and a lot of fun with my updated program.
                                              I think it looks pretty good now.

                                              Please continue to give me your feedback and suggestions. <3
                                              Reply With Quote
                                                #24    
                                              Old December 30th, 2015 (11:49 AM).
                                              kittikatt kittikatt is offline
                                                 
                                                Join Date: Aug 2007
                                                Gender:
                                                Posts: 3
                                                The black 2 second folder "a004_black2" doesn't open in the dropbox, even if you try to download it or browse it
                                                Reply With Quote
                                                  #25    
                                                Old January 4th, 2016 (1:21 PM).
                                                PierrotTheMad's Avatar
                                                PierrotTheMad PierrotTheMad is offline
                                                   
                                                  Join Date: Nov 2014
                                                  Location: Germany
                                                  Gender: Female
                                                  Nature: Quiet
                                                  Posts: 16
                                                  Quote:
                                                  Originally Posted by kittikatt View Post
                                                  The black 2 second folder "a004_black2" doesn't open in the dropbox, even if you try to download it or browse it
                                                  Thank you for your feedback. I have put all the data folders in a zip called "data_folders.zip". Use the option "Extract Here" when you extract it.

                                                  Downloading the randomizer should be more user friendly now.
                                                  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 3:16 PM.