The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.


Advertise here

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #201    
Old November 16th, 2012, 05:51 PM
Platinum Lucario's Avatar
Platinum Lucario
The Legendary Master of Light!
Community Supporter
 
Join Date: Jan 2008
Location: Warrnambool, Victoria, Australia.
Age: 21
Gender: Male
Nature: Calm

Advertise here
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:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

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]
Researching the NDS ROMs...

sure does feel like a brand new adventure!

I'm really looking forward to learning how to understand what the hex values mean and how to create programs using Microsoft Visual Studio!

Always focus on the present, best thing to do! Never look back into the past and never worry about anything bad of the future!
  #202    
Old November 17th, 2012, 03:45 AM
Жека
 
Join Date: Oct 2012
Gender: Male
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, 05:30 AM
Platinum Lucario's Avatar
Platinum Lucario
The Legendary Master of Light!
Community Supporter
 
Join Date: Jan 2008
Location: Warrnambool, Victoria, Australia.
Age: 21
Gender: Male
Nature: Calm
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]
Researching the NDS ROMs...

sure does feel like a brand new adventure!

I'm really looking forward to learning how to understand what the hex values mean and how to create programs using Microsoft Visual Studio!

Always focus on the present, best thing to do! Never look back into the past and never worry about anything bad of the future!
  #204    
Old November 17th, 2012, 01:15 PM
pichu2000
Smoochum
 
Join Date: Nov 2005
Gender:
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-po...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, 03:23 PM
X-Lan
 
Join Date: May 2010
Gender: Male
Thanks Pichu! You have done a huge contribution to the community
  #206    
Old November 17th, 2012, 05:00 PM
itari's Avatar
itari
悪魔の妹
Community Supporter
 
Join Date: Mar 2010
Location: 紅魔館
Age: 17
Gender: Female
Nature: Relaxed
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.
__________________
Touhou Puppet Play: Sapphire

SubscriptAdvanced SongType Effectiveness EditorTilemap CreatorPython IPS Patcher
  #207    
Old November 17th, 2012, 07:22 PM
Platinum Lucario's Avatar
Platinum Lucario
The Legendary Master of Light!
Community Supporter
 
Join Date: Jan 2008
Location: Warrnambool, Victoria, Australia.
Age: 21
Gender: Male
Nature: Calm
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-po...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]
Researching the NDS ROMs...

sure does feel like a brand new adventure!

I'm really looking forward to learning how to understand what the hex values mean and how to create programs using Microsoft Visual Studio!

Always focus on the present, best thing to do! Never look back into the past and never worry about anything bad of the future!
  #208    
Old November 17th, 2012, 08:56 PM
Жека
 
Join Date: Oct 2012
Gender: Male
This is going to be revolutionary!
  #209    
Old December 13th, 2012, 03:25 PM
shubshub's Avatar
shubshub
Master of The Y
 
Join Date: Oct 2009
Location: Lumiose City, Kalos
Age: 18
Gender: Male
Nature: Quiet
Does anybody have a working link to this tool The Links are broken and I would really like to use this tool thanks
__________________
ShubLink has been Discontinued and will be Replaced by a new service
Friend Codes
[Pokemon Black]: 3096 8948 7035 [OT: Chris ID: 15969]
[Pokemon White 2]: 3182 4860 8214 [OT: Chris ID: 62513]
[Nintendo 3DS]: 4441 8375 5933 [Pokemon Y]

My Favorite Pokémon!
Garchomp
Powered By Kabigon! -The Website Made by me-

Coming Soon!
The Pokemon X&Y Pokemon Outpost
  #210    
Old December 13th, 2012, 03:31 PM
Pike15's Avatar
Pike15
Smoochum
 
Join Date: Apr 2012
Gender: Male
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, 04:25 PM
andibad's Avatar
andibad
Unhatched Egg
 
Join Date: Apr 2010
Location: Indonesia
Gender: Male
i don't know why...

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

=="
  #212    
Old December 13th, 2012, 04:33 PM
Pike15's Avatar
Pike15
Smoochum
 
Join Date: Apr 2012
Gender: Male
Quote:
Originally Posted by andibad View Post
i don't know why...

please download NPRE from http://code.google.com/p/nintendo-po...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, 05:03 PM
Team Fail's Avatar
Team Fail
The fine line between in|sanity
Community Supporter
 
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave
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.
__________________

Pairs:
Kevin, Echidna
Follow me on Twitter! @TeamFail
Alt 1, リザードン
Miiverse
Pokémon Hackers Online
Alt 2: Jack Cayman



[04:20.39] <@GoGo> I WILL INSERT WITH PLEASURE
[04:20.45] <@GoGo> shut it Bela

[05:41.55] <Team_Fail> Blue Spider is interesting, but #MEHMasterRace
[05:42.20] <diegoisawesome> Team_Fail: Sounds like a bunch of unmotivated people that still want to try to take over the world
  #214    
Old December 13th, 2012, 06:05 PM
VERGUNDAI's Avatar
VERGUNDAI
RomHacker, Unity 3D Maker
 
Join Date: Dec 2009
Location: Pokemon Universe :)
Age: 18
Gender: Male
Nature: Quiet
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, 03:14 AM
Pike15's Avatar
Pike15
Smoochum
 
Join Date: Apr 2012
Gender: Male
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, 08:13 PM
Kaphotics
♥ Quick Claw Guillotine ♥
 
Join Date: Apr 2011
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

Last edited by Kaphotics; December 26th, 2012 at 01:02 AM.
  #217    
Old December 25th, 2012, 06:05 AM
Cubera
Unhatched Egg
 
Join Date: May 2006
Gender:
Nature: Adamant
thank you for the script update
  #219    
Old January 7th, 2013, 09:41 PM
Link_971's Avatar
Link_971
French Rom-Hacker
 
Join Date: Jul 2006
Location: France
Age: 22
Gender: Male
Nature: Relaxed
Send a message via Windows Live Messenger to Link_971
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, 04:45 PM
VERGUNDAI's Avatar
VERGUNDAI
RomHacker, Unity 3D Maker
 
Join Date: Dec 2009
Location: Pokemon Universe :)
Age: 18
Gender: Male
Nature: Quiet
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/Publi...rar?w=c8f1fc10

Latest NPRE.exe if you guys like download without compiling! (download UPDATED)
__________________
Vergundai_ace_gailon
  #221    
Old January 10th, 2013, 05:11 AM
andibad's Avatar
andibad
Unhatched Egg
 
Join Date: Apr 2010
Location: Indonesia
Gender: Male
Quote:
Originally Posted by VERGUNDAI View Post
https://dl-web.dropbox.com/get/Publi...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, 02:00 PM
pichu2000
Smoochum
 
Join Date: Nov 2005
Gender:
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, 02:30 AM
Link_971's Avatar
Link_971
French Rom-Hacker
 
Join Date: Jul 2006
Location: France
Age: 22
Gender: Male
Nature: Relaxed
Send a message via Windows Live Messenger to Link_971
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
Smoochum
 
Join Date: Nov 2005
Gender:
Thanks for the advice Link,
can you tell me which bytes (taking an example) are corrupted?
  #225    
Old January 13th, 2013, 01:16 PM
Pike15's Avatar
Pike15
Smoochum
 
Join Date: Apr 2012
Gender: Male
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

Sponsored Links


Advertise here
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 09:02 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.