[Release] Harepacker resurrected

Page 1 of 10 123456789 ... LastLast
Results 1 to 15 of 144
  1. #1
    Hardcore Member LastBattle is offline
    MemberRank
    Aug 2009 Join Date
    102Posts

    [Release] Harepacker resurrected

    [Release] Harepacker resurrected
    Hey all! I've had this for quite a while.
    Perhaps this might be useful for you, or not. There's quite a handful of features and fixes that I've included over time.

    Source code is included. Feel free to raise any issues, or pull request.
    or fork it too.



    Github:
    https://github.com/lastbattle/Harepacker-resurrected

    Releases:
    https://github.com/lastbattle/Harepa...ected/releases

    New Features
    • Create, open and save Data.wz hotfix file
    • Display WzUOLProperty as image
    • Fixed issues copy and pasting .img between different Wz encryptions
    • Fixed an issue with deleting multiple Wz TreeNodes via ContextMenu
    • Opening new .png WzImageProperty format in modern MapleStory wz files (v160++) and many other fixes!
    • Copy pasting of Wz images between different process
    Last edited by LastBattle; 11-10-20 at 03:51 PM.


  2. #2
    Master of lurking Kimberly is offline
    ModeratorRank
    Jul 2012 Join Date
    The NetherlandsLocation
    1,016Posts

    Re: [Release] Harepacker resurrected

    >Feel free to raise any issues.

    Sure :D

    Display WzUOLProperty as image
    This seem not working well. Here's an image of it in action.



    Will edit over time if I find other issues stated in the release notes. Are you interested in hearing of harepacker bugs that are not fixed yet, or are you no longer developing it?

  3. #3
    Hardcore Member LastBattle is offline
    MemberRank
    Aug 2009 Join Date
    102Posts

    Re: [Release] Harepacker resurrected

    Quote Originally Posted by Kimberly View Post
    >Feel free to raise any issues.

    Sure :D



    This seem not working well. Here's an image of it in action.



    Will edit over time if I find other issues stated in the release notes. Are you interested in hearing of harepacker bugs that are not fixed yet, or are you no longer developing it?
    Yes, do let me know and I will fix it.

  4. #4
    Master of lurking Kimberly is offline
    ModeratorRank
    Jul 2012 Join Date
    The NetherlandsLocation
    1,016Posts

    Re: [Release] Harepacker resurrected

    Quote Originally Posted by LastBattle View Post
    Yes, do let me know and I will fix it.
    Alright.

    One bug that is in harepacker and still in your program is that copying MP3's don't work.

    Example, if I want to implement a region that isn't in GMS I can easily copy paste everything, except for the mob sounds. As far as I am aware the only method to these currently are manually (unless you copy the whole .img, but then you overwrite your own edits...)

    ~Demonstration~

    Copy pasting just a MP3 file which breaks it:
    https://kimberly.s-ul.eu/vxElNa12

    Copy pasting a whole node which breaks it as well:
    https://kimberly.s-ul.eu/NNy0n2Q6

    Thanks in advance!

  5. #5
    Hardcore Member LastBattle is offline
    MemberRank
    Aug 2009 Join Date
    102Posts

    Re: [Release] Harepacker resurrected

    Quote Originally Posted by Kimberly View Post
    Alright.

    One bug that is in harepacker and still in your program is that copying MP3's don't work.

    Example, if I want to implement a region that isn't in GMS I can easily copy paste everything, except for the mob sounds. As far as I am aware the only method to these currently are manually (unless you copy the whole .img, but then you overwrite your own edits...)

    ~Demonstration~

    Copy pasting just a MP3 file which breaks it:
    https://kimberly.s-ul.eu/vxElNa12

    Copy pasting a whole node which breaks it as well:
    https://kimberly.s-ul.eu/NNy0n2Q6

    Thanks in advance!
    https://github.com/eaxvac/Harepacker...leases/tag/1.1
    https://github.com/eaxvac/Harepacker...f3d535780fafee

    there

  6. #6
    Member chbe8041 is offline
    MemberRank
    Jan 2013 Join Date
    koreaLocation
    77Posts

    Re: [Release] Harepacker resurrected

    nice :)

  7. #7
    Member Arnah is offline
    MemberRank
    Mar 2016 Join Date
    87Posts

    Re: [Release] Harepacker resurrected

    Looks interesting. Definitely props for volunteering on fixing this horrible codebase.

    Don't know if you're interested in fixing this and releasing to public but a major issue for awhile with harepacker was the png saving never saved back to it's proper format. For a lot of images this made the wz end up being massive and take way more memory when loading the game than it normally would.

    The issue is located here, where you can see maplelib forces the format to 2 and saves.

    This is already a pretty publicly know issue now imo(Eric released a bunch of info related to this in another thread and until that post I knew a very low amount of people who fixed it themselves)
    Last edited by Arnah; 03-06-18 at 10:23 AM.
    Don't use Vertisy

    I made phoenix :smile:

  8. #8
    Master of lurking Kimberly is offline
    ModeratorRank
    Jul 2012 Join Date
    The NetherlandsLocation
    1,016Posts

    Re: [Release] Harepacker resurrected

    Thanks so much! This is a huge QOL change.

    Quote Originally Posted by Arnah View Post
    Looks interesting. Definitely props for volunteering on fixing this horrible codebase.

    Don't know if you're interested in fixing this and releasing to public but a major issue for awhile with harepacker was the png saving never saved back to it's proper format. For a lot of images this made the wz end up being massive and take way more memory when loading the game than it normally would.

    The issue is located here, where you can see maplelib forces the format to 2 and saves.

    This is already a pretty publicly know issue now imo(Eric released a bunch of issue related to this in another thread and until that post I knew a very low amount of people who fixed it themselves)
    Oh, yes. I think one of the people I know once talked about it long ago:


  9. #9
    Registered Sandwich is offline
    MemberRank
    Aug 2012 Join Date
    The NetherlandsLocation
    11Posts

    Re: [Release] Harepacker resurrected

    Thanks for the work you've done so far!

    Whenever I try to automatically export, it's looking for a folder called "WzSaved", which doesn't exist and isn't automatically created, so then HaRepacker crashes entirely.

    The error:
    '

    My settings:

  10. #10
    Hardcore Member LastBattle is offline
    MemberRank
    Aug 2009 Join Date
    102Posts

    Re: [Release] Harepacker resurrected

    Quote Originally Posted by Sandwich View Post
    Thanks for the work you've done so far!

    Whenever I try to automatically export, it's looking for a folder called "WzSaved", which doesn't exist and isn't automatically created, so then HaRepacker crashes entirely.

    The error:
    '

    My settings:
    All fixed.

    https://github.com/eaxvac/Harepacker...leases/tag/1.2

    -Fixed ArrayIndexOutOfBoundsException for DXT5 PNG decoding
    -Fixed FileNotFoundException while exporting individual XML img to private server format
    -Show error message if WZ/XML export path is not specified
    -Fixed issues exporting selection of WzFile in DataTree to XML
    - - - Updated - - -

    Quote Originally Posted by Arnah View Post
    Looks interesting. Definitely props for volunteering on fixing this horrible codebase.

    Don't know if you're interested in fixing this and releasing to public but a major issue for awhile with harepacker was the png saving never saved back to it's proper format. For a lot of images this made the wz end up being massive and take way more memory when loading the game than it normally would.

    The issue is located here, where you can see maplelib forces the format to 2 and saves.

    This is already a pretty publicly know issue now imo(Eric released a bunch of info related to this in another thread and until that post I knew a very low amount of people who fixed it themselves)
    I'll look into that. Mind pointing me to the release Eric made? That'll save me time too instead of writing my own

  11. #11
    Ultimate Member Pipotron is offline
    MemberRank
    Sep 2017 Join Date
    PastalandLocation
    155Posts

    Re: [Release] Harepacker resurrected

    I believe the post Arnah is referring to is this one, unless there's a more detailed one around.

  12. #12
    Hardcore Member LastBattle is offline
    MemberRank
    Aug 2009 Join Date
    102Posts

    Re: [Release] Harepacker resurrected

    1.3 now available.
    https://github.com/eaxvac/Harepacker...leases/tag/1.3



    Viewing & updating WzCanvasImage with '_inlink' property. (for modern maplestory, ver 150++)

  13. #13
    Hardcore Member LastBattle is offline
    MemberRank
    Aug 2009 Join Date
    102Posts

    Re: [Release] Harepacker resurrected

    ver 1.5:
    https://github.com/eaxvac/Harepacker...leases/tag/1.5


    This release should fix issues with memory leaks in the MapleStory client after saving with Harepacker. (Ref: http://forum.ragezone.com/f566/clien...onsive-1146934 )
    -WzPngProperty - PNG format 1 is now supported <3
    -Fixed an issue with WzPngProperty -- saving 4 more bytes per ARGB
    -Fixed an issue extracting .XMLWZ in some WZ versions
    -Partial Localization support for Korean & Japanese
    -Load/Update/Save WzCanvasProperty with '_outlink' path


    - - - Updated - - -

    1.6 now available.
    https://github.com/eaxvac/Harepacker...leases/tag/1.6

    Enjoy importing GIF straight into multiple WzCanvasProperty automatically

    Last edited by LastBattle; 07-06-18 at 07:18 PM.

  14. #14
    Hardcore Member Umbreon is offline
    MemberRank
    Apr 2012 Join Date
    100Posts

    Re: [Release] Harepacker resurrected

    I started working on some of HaRepacker's issues a few months back and intended to release but never finished. Here's an enum of the pixel formats used, if that interests you at all. Not the biggest help but I don't have as much time as I'd like to contribute.

    Code:
     enum NPixFormat
        {
            UNKNOWN = 0x0,
            A4R4G4B4 = 0x1,
            A8R8G8B8 = 0x2,
            A8R8G8B8_T = 0x3,//unsure
            R5G6B5 = 0x201,
            R5G6B5_T = 0x205,//unsure
            DXT3 = 0x402,
            DXT5 = 0x802
        }
    Properly handling the compression should go a long way for client issues, glad to see someone publicly working on improving the HaSuite again after all this time.

  15. #15
    Moderator Eric is online now
    ModeratorRank
    Jan 2010 Join Date
    DEV CityLocation
    3,185Posts

    Re: [Release] Harepacker resurrected

    aw my orion data tool isn't so special anymore :(

    Definitely a +1 on fixing the saving issue that I had pointed out! That'll greatly decrease the overall size of lower version servers' wz, and it'll also make their clients use less memory when accessing and loading all of the images.

    Rendering the inlink/outlink/source images I had always found to be a nice touch (always hated having to browse and find the source image), and importing GIFs was always a helpful feature for my staff as well. Another thing that they had commonly found useful that you could add was being able to select multiple png's at once and have the tool append "0", "1", etc like you did with the gifs (rather than manually having to add and name dozens of properties). It would also allow you to add int and vector properties that would be added to all of the selected images (to speed up the process for origins, delays, and other default nodes). If you're interested in adding more features, my favorite tools in ODT I had gotten from WzRepacker, which was 1) the benefit of "Select Duplicates" to remove all the duplicate nodes I had (since if you just blindly copy over things from one wz to another, you'll get a lot of dupes) - from there, you can simply just click delete property to remove them all. and 2) my favorite side-by-side view and comparison. being able to highlight and select all the new nodes from a newer version file was bless. always used that when grabbing newer version content, just opened a JMS file on the right, let the repacker select the new nodes that were added, and copied them into my wz.



Page 1 of 10 123456789 ... LastLast

Advertisement