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

TrollandToad.com
Closed Thread
 
Thread Tools
  #201    
Old November 16th, 2012 (5:51 PM).
Platinum Lucario's Avatar
Platinum Lucario Platinum Lucario is offline
The Legendary Master of Light!
  • Crystal Tier
 
Join Date: Jan 2008
Location: Warrnambool, Victoria, Australia.
Gender: Male
Nature: Calm
Posts: 1,563
In some of the scripts in Black 2/White 2, such as script 1 and 3... it will come up with an error like this:
Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   at System.IO.BinaryReader.ReadUInt16()
   at PG4Map.Formats.Scripts.readScriptsOffset(BinaryReader reader, List`1 scriptList, List`1 scriptOffList)
   at PG4Map.Formats.Scripts.loadScript(Stream actualNode)
   at PG4Map.Formats.Scripts.listScript_SelectedIndexChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   at System.Windows.Forms.ComboBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Pokémon DS Map Viewer
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///I:/Emulation/ROM%20Hacking/Nintendo%20Systems/Handheld/Nintendo%20DS/Tools/Nintendo%20Pok%E9mon%20ROM%20Editor/Beta4.1/NPRE%204.1.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.278 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.282 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.296 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:



When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
And there is something that I would like to suggest. Using MKDS Course Modifier's NSBMD viewer on the editor would be a better idea, 'cause it shows the textures correctly and their transparency as well as showing all of the camera rather than the side of it, so you can see the models much more aligned, where as in PG4Map... the camera viewing angle is only showing part of it, not all of it.
__________________
[Platinum Lucario's Signature]
If you need to disable my signature, please give me some advice on how to improve the CSS-DIV code. Thanks!
Signature Status: Strikes: 1/3 | Infractions: 0/3
It's time to change the future...
to a positive direction!

Let's prevent things from getting bad!

I'm a ROM and ISO Researcher
Current Project: Researching Pokémon Mystery Dungeon Adventure Squad games (WiiWare)

Relevant Advertising!

  #202    
Old November 17th, 2012 (3:45 AM).
Жека Жека is offline
     
    Join Date: Oct 2012
    Gender: Male
    Posts: 30
    Quote:
    Originally Posted by PokémonShinySilver View Post
    Oh wait! An even better idea! How about we can have the option to change the script style layout? So we can then change between the different views. 'Cause some people would surely like to see the offsets for the scripts and where they are and all that. And there are some people that'd like a programming style environment.
    That's what I was getting at but no one likes to listen to a guy that can't even type :D
      #203    
    Old November 17th, 2012 (5:30 AM).
    Platinum Lucario's Avatar
    Platinum Lucario Platinum Lucario is offline
    The Legendary Master of Light!
    • Crystal Tier
     
    Join Date: Jan 2008
    Location: Warrnambool, Victoria, Australia.
    Gender: Male
    Nature: Calm
    Posts: 1,563
    I was thinking... it would be excellent if NPRE was open source, then things could be improved and we could all help fix any bugs in the program. 'Cause after all... if one person doesn't have much time working on a tool... then there's not much of a choice. lol

    There's either:
    1. Work on it yourself and we all wait a year or two for next version.
    2. Make it open source so that it can speed up development of the tool and fix any bugs in the program.
    3. Focus more on developing NPRE than important stuff (not recommended).
    __________________
    [Platinum Lucario's Signature]
    If you need to disable my signature, please give me some advice on how to improve the CSS-DIV code. Thanks!
    Signature Status: Strikes: 1/3 | Infractions: 0/3
    It's time to change the future...
    to a positive direction!

    Let's prevent things from getting bad!

    I'm a ROM and ISO Researcher
    Current Project: Researching Pokémon Mystery Dungeon Adventure Squad games (WiiWare)
      #204    
    Old November 17th, 2012 (1:15 PM).
    pichu2000 pichu2000 is offline
       
      Join Date: Nov 2005
      Gender:
      Posts: 153
      After a lot time of thinking on it, I decide to make NPRE open source.
      You can reach it at:
      http://code.google.com/p/nintendo-pokemon-rom-editor/source/browse/

      I hope this can improve the developing of the program, becuase I'll very busy this year.
      I know, some parts of the code are very strange, and they need revision, but we can do it, together.

      Stay tuned!
        #205    
      Old November 17th, 2012 (3:23 PM).
      X-Lan X-Lan is offline
         
        Join Date: May 2010
        Gender: Male
        Posts: 10
        Thanks Pichu! You have done a huge contribution to the community
          #206    
        Old November 17th, 2012 (5:00 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
        That was wonderful idea, Pichu!
        I'm sure that this will really allow this program to move forward, because it shows a lot of promise.
        __________________
        What are you so afraid of?
          #207    
        Old November 17th, 2012 (7:22 PM).
        Platinum Lucario's Avatar
        Platinum Lucario Platinum Lucario is offline
        The Legendary Master of Light!
        • Crystal Tier
         
        Join Date: Jan 2008
        Location: Warrnambool, Victoria, Australia.
        Gender: Male
        Nature: Calm
        Posts: 1,563
        Quote:
        Originally Posted by pichu2000 View Post
        After a lot time of thinking on it, I decide to make NPRE open source.
        You can reach it at:
        http://code.google.com/p/nintendo-pokemon-rom-editor/source/browse/

        I hope this can improve the developing of the program, becuase I'll very busy this year.
        I know, some parts of the code are very strange, and they need revision, but we can do it, together.

        Stay tuned!
        Yay! Thank you so much! ^^

        This should speed up the development of NPRE and be able to fix any bugs in the program. And indeed this will improve the developing of the program, anyone will be able to contribute to the program. :)
        __________________
        [Platinum Lucario's Signature]
        If you need to disable my signature, please give me some advice on how to improve the CSS-DIV code. Thanks!
        Signature Status: Strikes: 1/3 | Infractions: 0/3
        It's time to change the future...
        to a positive direction!

        Let's prevent things from getting bad!

        I'm a ROM and ISO Researcher
        Current Project: Researching Pokémon Mystery Dungeon Adventure Squad games (WiiWare)
          #208    
        Old November 17th, 2012 (8:56 PM).
        Жека Жека is offline
           
          Join Date: Oct 2012
          Gender: Male
          Posts: 30
          This is going to be revolutionary!
            #209    
          Old December 13th, 2012 (3:25 PM).
          Shubshub's Avatar
          Shubshub Shubshub is offline
          Master of The Y
             
            Join Date: Oct 2009
            Location: Lumiose City, Kalos
            Age: 21
            Gender: Male
            Nature: Quiet
            Posts: 419
            Does anybody have a working link to this tool The Links are broken and I would really like to use this tool thanks
            __________________
            [Nintendo 3DS]: 4441 8375 5933 [Pokemon Y]

            My Favorite Pokémon!
            Garchomp
            Powered By Kabigon! -The Website Made by me-
              #210    
            Old December 13th, 2012 (3:31 PM).
            Pike15's Avatar
            Pike15 Pike15 is offline
               
              Join Date: Apr 2012
              Gender: Male
              Posts: 168
              Quote:
              Originally Posted by shubshub View Post
              Does anybody have a working link to this tool The Links are broken and I would really like to use this tool thanks
              Same here i would really like a download for this tool
              __________________
              This signature has been disabled.
              Exceeding 350px height limit
              Please review and fix the issues by reading the signature rules.

              You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

              Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
                #211    
              Old December 13th, 2012 (4:25 PM).
              andibad's Avatar
              andibad andibad is offline
                 
                Join Date: Apr 2010
                Location: Indonesia
                Gender: Male
                Posts: 33
                i don't know why...

                please download NPRE from http://code.google.com/p/nintendo-pokemon-rom-editor/source/browse/

                =="
                  #212    
                Old December 13th, 2012 (4:33 PM).
                Pike15's Avatar
                Pike15 Pike15 is offline
                   
                  Join Date: Apr 2012
                  Gender: Male
                  Posts: 168
                  Quote:
                  Originally Posted by andibad View Post
                  i don't know why...

                  please download NPRE from http://code.google.com/p/nintendo-pokemon-rom-editor/source/browse/

                  =="
                  i dont found any download link there??
                  __________________
                  This signature has been disabled.
                  Exceeding 350px height limit
                  Please review and fix the issues by reading the signature rules.

                  You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

                  Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
                    #213    
                  Old December 13th, 2012 (5:03 PM).
                  Incineroar's Avatar
                  Incineroar Incineroar is offline
                  the spirit of the fighter
                  • Moderator
                  • Platinum Tier
                  • Developer
                   
                  Join Date: May 2009
                  Location: Iki Town
                  Age: 22
                  Gender: Male
                  Nature: Brave
                  Posts: 13,555
                  Quote:
                  Originally Posted by Pike15 View Post
                  i dont found any download link there??
                  It's the source code. You won't find an .exe there unless you download the entire source and compile it yourself.
                  __________________
                    #214    
                  Old December 13th, 2012 (6:05 PM).
                  VERGUNDAI's Avatar
                  VERGUNDAI VERGUNDAI is offline
                  RomHacker, Unity 3D Maker
                     
                    Join Date: Dec 2009
                    Location: Pokemon Universe :)
                    Age: 21
                    Gender: Male
                    Nature: Quiet
                    Posts: 109
                    Quote:
                    Originally Posted by Pike15 View Post
                    i dont found any download link there??
                    Here you go, download if you dont feel like compiling yourself, this took me a long time to find so enjoy!
                    Just extract NPRE....I've setup the textures and made a folder already.

                    https://dl.dropbox.com/u/97136646/NPRE.rar
                    __________________
                    Vergundai_ace_gailon
                      #215    
                    Old December 14th, 2012 (3:14 AM).
                    Pike15's Avatar
                    Pike15 Pike15 is offline
                       
                      Join Date: Apr 2012
                      Gender: Male
                      Posts: 168
                      Quote:
                      Originally Posted by VERGUNDAI View Post
                      Here you go, download if you dont feel like compiling yourself, this took me a long time to find so enjoy!
                      Just extract NPRE....I've setup the textures and made a folder already.

                      https://dl.dropbox.com/u/97136646/NPRE.rar
                      thx dude you´re the best.
                      __________________
                      This signature has been disabled.
                      Exceeding 350px height limit
                      Please review and fix the issues by reading the signature rules.

                      You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

                      Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
                        #216    
                      Old December 18th, 2012 (8:13 PM). Edited December 26th, 2012 by Kaphotics.
                      Kaphotics Kaphotics is offline
                      ♥ Quick Claw Guillotine ♥
                         
                        Join Date: Apr 2011
                        Posts: 22
                        While procrastinating for studying finals, I made updates to the BW2 script parsing.

                        BW's commands got overwritten so just select BW when loading a BW2 script narc. I added ~500+ commands to the code and it currently does pretty well at interpreting most scripts.

                        dl.dropbox.com/u/12206225/NPRE-1226.zip

                        I included the source I compiled from if one wants to make further edits/compare.

                        edit 12/25/12: updated again with even more commands. still identifying each function & documenting each parameter
                        edit 12/26/12: up to 603 individual commands added
                          #217    
                        Old December 25th, 2012 (6:05 AM).
                        Cubera Cubera is offline
                           
                          Join Date: May 2006
                          Gender:
                          Nature: Adamant
                          Posts: 12
                          thank you for the script update
                            #218    
                          Old December 31st, 2012 (3:04 AM).
                          805587804 805587804 is offline
                             
                            Join Date: Dec 2010
                            Posts: 57
                            http://dl.dropbox.com/u/12206225/NPRE-1226.zip
                              #219    
                            Old January 7th, 2013 (9:41 PM).
                            Link_971's Avatar
                            Link_971 Link_971 is offline
                            French Rom-Hacker
                               
                              Join Date: Jul 2006
                              Location: France
                              Age: 25
                              Gender: Male
                              Nature: Relaxed
                              Posts: 212
                              I will like to improve this tool and integrate the DSMGE's interface into it (or equivalent).
                              Now that Spiky is the best editor, i think it's time to have a simplified manual texture editor.
                              __________________

                                #220    
                              Old January 9th, 2013 (4:45 PM).
                              VERGUNDAI's Avatar
                              VERGUNDAI VERGUNDAI is offline
                              RomHacker, Unity 3D Maker
                                 
                                Join Date: Dec 2009
                                Location: Pokemon Universe :)
                                Age: 21
                                Gender: Male
                                Nature: Quiet
                                Posts: 109
                                Quote:
                                Originally Posted by Link_971 View Post
                                I will like to improve this tool and integrate the DSMGE's interface into it (or equivalent).
                                Now that Spiky is the best editor, i think it's time to have a simplified manual texture editor.
                                https://dl-web.dropbox.com/get/Public/NPRE.rar?w=c8f1fc10

                                Latest NPRE.exe if you guys like download without compiling! (download UPDATED)
                                __________________
                                Vergundai_ace_gailon
                                  #221    
                                Old January 10th, 2013 (5:11 AM).
                                andibad's Avatar
                                andibad andibad is offline
                                   
                                  Join Date: Apr 2010
                                  Location: Indonesia
                                  Gender: Male
                                  Posts: 33
                                  Quote:
                                  Originally Posted by VERGUNDAI View Post
                                  https://dl-web.dropbox.com/get/Public/NPRE.rar?w=c8f1fc10

                                  Latest NPRE.exe if you guys like download without compiling! (download UPDATED)
                                  btw in google code, is have compile one? o.o , compile one is on bin folder ... here

                                  just download that folder using ripping download tools.

                                  btw is no have any update, last update is on november 2012 o.o.
                                    #222    
                                  Old January 12th, 2013 (2:00 PM).
                                  pichu2000 pichu2000 is offline
                                     
                                    Join Date: Nov 2005
                                    Gender:
                                    Posts: 153
                                    Hi guys,
                                    sorry for the lack of updates, but I'm very busy during this period. I'm returning working on Script: so I added Kaphotics discoveries regarding BW (thanks Kaphotics), and I finished almost all DPP command definition (not meaning, only definition). It's not much but it's the maximum that I can do for now.
                                    Stay tuned!
                                      #223    
                                    Old January 13th, 2013 (2:30 AM).
                                    Link_971's Avatar
                                    Link_971 Link_971 is offline
                                    French Rom-Hacker
                                       
                                      Join Date: Jul 2006
                                      Location: France
                                      Age: 25
                                      Gender: Male
                                      Nature: Relaxed
                                      Posts: 212
                                      Hi pichu, just a little thing without relation with scripts ; the saving part for polygons is a little corrupted.

                                      I have checked all bytes and it seems that NPRE modifies a few bytes in the NSBMD file, only for the selected polygon. Also, Spiky's tool does not have the same format for NSBMD files, maybe because his tool uses a specific compression format.

                                      I'm not sure if these particularities works on an real DS, so that's why i give my recommandations
                                      __________________

                                        #224    
                                      Old January 13th, 2013 (12:51 PM).
                                      pichu2000 pichu2000 is offline
                                         
                                        Join Date: Nov 2005
                                        Gender:
                                        Posts: 153
                                        Thanks for the advice Link,
                                        can you tell me which bytes (taking an example) are corrupted?
                                          #225    
                                        Old January 13th, 2013 (1:16 PM).
                                        Pike15's Avatar
                                        Pike15 Pike15 is offline
                                           
                                          Join Date: Apr 2012
                                          Gender: Male
                                          Posts: 168
                                          Yo pichu. Are you able to edit bw2 maps in this tool??
                                          __________________
                                          This signature has been disabled.
                                          Exceeding 350px height limit
                                          Please review and fix the issues by reading the signature rules.

                                          You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

                                          Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
                                          Closed Thread

                                          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 4:06 AM.