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

Reply
 
Thread Tools
  #26    
Old February 26th, 2013 (8:48 PM).
boomerlok boomerlok is offline
     
    Join Date: Dec 2010
    Gender: Male
    Posts: 13
    Hi, I like your tutorial but I have a problem, whenever I try to add in the sprites with APSE, I can get it in, but when I hit write to rom I get this:
    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.

    Arithmetic operation resulted in an overflow.

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.OverflowException: Arithmetic operation resulted in an overflow.
    at Sprite_Editor.RomFunctions.ConvertStringToByteArray(String& str)
    at Sprite_Editor.SpriteData.GetCompressedData(Int32 species)
    at Sprite_Editor.Form1.WriteToROMButton_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(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: 2.0.0.0
    Win32 Version: 2.0.50727.4234 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Advanced Pokémon Sprite Editor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Patrick/Desktop/Advanced%20Series/Advanced%20Pok%E9mon%20Sprite%20Editor.exe
    ----------------------------------------
    Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4235 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4236 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4235 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------
    System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.1 built by: SP
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.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.

    I have the latest microsoft.net framework and I am running windows vista, anyone know what is going on?
    I have tried this with both Emerald and Firered and it doesn't work.
    Reply With Quote

    Relevant Advertising!

      #27    
    Old March 2nd, 2013 (9:24 AM).
    ChronasDaKid's Avatar
    ChronasDaKid ChronasDaKid is offline
    Enraged Trainer
       
      Join Date: Mar 2013
      Age: 20
      Gender: Male
      Nature: Brave
      Posts: 8
      What about when adding shiny pokemon because when I try to add shiny pokemon the palette get's messed up.
      Reply With Quote
        #28    
      Old June 18th, 2013 (7:41 AM).
      Rebounder86's Avatar
      Rebounder86 Rebounder86 is offline
         
        Join Date: Jun 2013
        Gender: Male
        Posts: 7
        Quote:
        Originally Posted by boomerlok View Post
        Hi, I like your tutorial but I have a problem, whenever I try to add in the sprites with APSE, I can get it in, but when I hit write to rom I get this:
        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.

        Arithmetic operation resulted in an overflow.

        See the end of this message for details on invoking
        just-in-time (JIT) debugging instead of this dialog box.

        ************** Exception Text **************
        System.OverflowException: Arithmetic operation resulted in an overflow.
        at Sprite_Editor.RomFunctions.ConvertStringToByteArray(String& str)
        at Sprite_Editor.SpriteData.GetCompressedData(Int32 species)
        at Sprite_Editor.Form1.WriteToROMButton_Click(Object sender, EventArgs e)
        at System.Windows.Forms.Control.OnClick(EventArgs e)
        at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
        at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
        at System.Windows.Forms.Control.WndProc(Message& m)
        at System.Windows.Forms.ButtonBase.WndProc(Message& m)
        at System.Windows.Forms.Button.WndProc(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: 2.0.0.0
        Win32 Version: 2.0.50727.4234 (VistaSP2GDR.050727-4200)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
        ----------------------------------------
        Advanced Pokémon Sprite Editor
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Users/Patrick/Desktop/Advanced%20Series/Advanced%20Pok%E9mon%20Sprite%20Editor.exe
        ----------------------------------------
        Microsoft.VisualBasic
        Assembly Version: 8.0.0.0
        Win32 Version: 8.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
        ----------------------------------------
        System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4235 (VistaSP2GDR.050727-4200)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
        ----------------------------------------
        System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4236 (VistaSP2GDR.050727-4200)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
        ----------------------------------------
        System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4235 (VistaSP2GDR.050727-4200)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
        ----------------------------------------
        System.Runtime.Remoting
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
        ----------------------------------------
        System.Core
        Assembly Version: 3.5.0.0
        Win32 Version: 3.5.30729.1 built by: SP
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.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.

        I have the latest microsoft.net framework and I am running windows vista, anyone know what is going on?
        I have tried this with both Emerald and Firered and it doesn't work.
        I'm having the exact same problem. How do we solve this?
        Reply With Quote
          #29    
        Old June 18th, 2013 (8:34 PM).
        supersoursky's Avatar
        supersoursky supersoursky is offline
        Co-Leader of Dark Illusion
           
          Join Date: Dec 2012
          Location: Philippines
          Age: 17
          Gender: Male
          Nature: Lax
          Posts: 42
          thanks men!, but do you know any tools that can help me
          resize my sprites faster like a program?
          Reply With Quote
            #30    
          Old June 25th, 2013 (8:37 AM).
          supersoursky's Avatar
          supersoursky supersoursky is offline
          Co-Leader of Dark Illusion
             
            Join Date: Dec 2012
            Location: Philippines
            Age: 17
            Gender: Male
            Nature: Lax
            Posts: 42
            Quote:
            Originally Posted by LucarioLove55 View Post
            can you do this with Platinum too? not just diamond and pearl?
            yes im pretty sure you can....
            __________________
            Co-leader of the hack Dark Illusion
            Graphic monsta of the hack Dark Illusion
            Misc. Editor of the hack Dark Illusion


            Hacks im currently working on :
            Pokemon Dark Illusion
            Pokemon Dark Illusion
            HTML code:
            Quote:
            <a href="http://imgur.com/gf90Jh7"><img src="http://i.imgur.com/gf90Jh7.png" title="Hosted by imgur.com"/></a>
            Supports are appreciated
            Reply With Quote
              #31    
            Old June 25th, 2013 (9:25 AM).
            JCInnes's Avatar
            JCInnes JCInnes is offline
               
              Join Date: Jun 2013
              Gender: Male
              Posts: 5
              Thank you, that was great help!
              Reply With Quote
                #32    
              Old June 26th, 2013 (9:02 AM).
              mitchellz14z mitchellz14z is offline
                 
                Join Date: Jun 2013
                Gender: Male
                Posts: 15
                nice tutorial, i'm gonna try inserting the dp pokemon sprites in firered
                Reply With Quote
                Reply
                Quick Reply

                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 1:53 AM.