[Website] Character Display for MapleStory v134

Page 1 of 5 12345 LastLast
Results 1 to 15 of 68
  1. #1
    Hardcore Member Basis is offline
    MemberRank
    Dec 2008 Join Date
    108Posts

    [Website] Character Display for MapleStory v134

    [Website] Character Display for MapleStory v134
    I could have extracted this more neatly and efficiently I'm sure, but given my lack of programming experience, here's what I did instead:

    1. Extract PNGs from character.wz using HaRepacker
    2. Use AgentRansack to find and delete all unnecessary PNGs
    3. Extract XMLs from character.wz using HaRepacker
    4. Use a File-to-Folder Script to put all of the XMLs in their own folders
    5. Merge the PNG and XML folders
    6. Use Superb Batch Renamer to rename all XML files to index.xml
    7. Run EmptyFolderNuker to remove all empty folders
    8. Create XSLT stylesheets to convert the XMLs to TXT files that match the GD I started with (from MapleSyrup)
    9. Run the XSLT stylesheets in Kernow 1.7.2
    10. Update the scripts in the GD to display a variety of new weapons including dual bow guns
    11. Run a folder script to remove all folders that do not have PNGs in them
    12. Use AgentRansack to remove all index.xml files
    13. ZIP all files
    14. Post on Ragezone
    15. Drink Pepsi

    I couldn't find any more issues so as long as there are no major bugs mentioned here, I think this is my final GD release (at least for a while). It's working perfectly for me.

    Now I Can finally get back to my MaplePress project in the dev section. I will be using this GD in that project and may update it again before I release MaplePress.

    Here's a list of changes from my first release a few days ago:

    New Additions
    • Mercedes Ears
    • All Skins
    • info_icons folder (updated)

    Fixes
    • Dual Bow Guns Display
    • hairBelowHead coordinates
    • All NX Items

    Maintenance
    • Removed thousands of useless PNG files
    • Cleaned indexes (not perfect)

    Possible Future Updates
    • Update to latest GMS Version
    • Pet Support
    • Bug Fixes (none that I am aware of)
    • Cleaner indexes




    Download:
    Code:
    http://www.filedropper.com/gd
    Code:
    http://speedy.sh/6WBVn/GD.7z
    And of course, all I can say is thank you Holthelper.
    Last edited by Basis; 07-06-13 at 04:13 PM.


  2. #2
    very green greenelfx is offline
    True MemberRank
    Jul 2011 Join Date
    1,322Posts

    Re: [Website] Character Display for MapleStory v134

    Hm...



  3. #3
    may web.very maple.pls. iAkira is offline
    Alpha MaleRank
    Aug 2009 Join Date
    somewhere..Location
    2,379Posts

    Re: [Website] Character Display for MapleStory v134

    If it's a perfect GD image library perfectly extracted I'm willing to release my php file to show the characters, it's really efficient and complete(even with missing data like mercedes(typo? idk thejob's name) ears) .. I'll be testing it (:

    Quote Originally Posted by greenelfx View Post
    Hm...


    Hey check your msgs.

  4. #4
    Account Upgraded | Title Enabled! matthieu503 is offline
    True MemberRank
    Jul 2011 Join Date
    357Posts

    Re: [Website] Character Display for MapleStory v134

    Been looking forever on how to do this, thanks. Mind sharing your scripts?
    +1'd

  5. #5
    may web.very maple.pls. iAkira is offline
    Alpha MaleRank
    Aug 2009 Join Date
    somewhere..Location
    2,379Posts

    Re: [Website] Character Display for MapleStory v134

    Hmm... the images seem to be perfect but the index.. to make it more neater I would make it json.. I can't work with this unless I make a script which converts it for me.. sorry :/

  6. #6
    very green greenelfx is offline
    True MemberRank
    Jul 2011 Join Date
    1,322Posts

    Re: [Website] Character Display for MapleStory v134

    Quote Originally Posted by iAkira View Post
    If it's a perfect GD image library perfectly extracted I'm willing to release my php file to show the characters, it's really efficient and complete(even with missing data like mercedes(typo? idk thejob's name) ears) .. I'll be testing it (:



    Hey check your msgs.
    Yup, I checked after and it's most likely not the images, but my script.
    Great job on GD, it's a painful process!

  7. #7
    Hardcore Member Basis is offline
    MemberRank
    Dec 2008 Join Date
    108Posts

    Re: [Website] Character Display for MapleStory v134

    Yeah, I'm sorry that it's not probably compatible for everyone. I was just using what I chose. Thanks for the pat on the back though. I thought it would be a lot easier than it was. If I had realized how long it would take, I don't know if I would have done it. lol

    Also, matthieu503 asked for this so I will go ahead and share. It's my set of tools I used and I have the style sheets to convert the XML in a folder called XSLT. A lot of them are the same and I'm sure they could be streamlined to work better. I mainly just used [value-of select=""] to pull what I needed to fit the script of MapleSyrup. I adjusted them until they did the job for me.

    Code:
    http://www.filedropper.com/gdtools
    Last edited by Basis; 26-05-13 at 06:57 PM.

  8. #8
    may web.very maple.pls. iAkira is offline
    Alpha MaleRank
    Aug 2009 Join Date
    somewhere..Location
    2,379Posts

    Re: [Website] Character Display for MapleStory v134

    Well I have some free time so I decided to play with this and since the data is in txt and it's really messing, I made a script which converts the messy data to an optimized json
    (Do not use this for this release, my script faces coordination is completely different from this one):
    PHP Code:
    <?php
    // Face Data
    $id "00020006";
    $getData = @file_get_contents("Face/{$id}.img/index.txt"FILE_USE_INCLUDE_PATH);
    $result array_filter(explode(" "str_replace("\n"" "$getData)));

    // Calculations
    $x_calc = ($result[1]+$result[5])*-1;
    $y_calc = ($result[3]+$result[7])*-1;

    $arr = ['face_x' => $x_calc'face_y' => $y_calc];

    // Save to JSON
    file_put_contents($id.'.json'json_encode($arr));
    ?>
    result:
    PHP Code:
    {"face_x":-12,"face_y":5

  9. #9
    Account Upgraded | Title Enabled! matthieu503 is offline
    True MemberRank
    Jul 2011 Join Date
    357Posts

    Re: [Website] Character Display for MapleStory v134

    Quote Originally Posted by iAkira View Post
    Well I have some free time so I decided to play with this and since the data is in txt and it's really messing, I made a script which converts the messy data to an optimized json
    (Do not use this for this release, my script faces coordination is completely different from this one):
    PHP Code:
    <?php
    // Face Data
    $id "00020006";
    $getData = @file_get_contents("Face/{$id}.img/index.txt"FILE_USE_INCLUDE_PATH);
    $result array_filter(explode(" "str_replace("\n"" "$getData)));

    // Calculations
    $x_calc = ($result[1]+$result[5])*-1;
    $y_calc = ($result[3]+$result[7])*-1;

    $arr = ['face_x' => $x_calc'face_y' => $y_calc];

    // Save to JSON
    file_put_contents($id.'.json'json_encode($arr));
    ?>
    result:
    PHP Code:
    {"face_x":-12,"face_y":5
    Would that now work with your script?

  10. #10
    may web.very maple.pls. iAkira is offline
    Alpha MaleRank
    Aug 2009 Join Date
    somewhere..Location
    2,379Posts

    Re: [Website] Character Display for MapleStory v134

    Yup since my script only reads JSON and I'm using ian's old GD(v107?) to determine the coordinate and I only calculated the coordinate of the faces.

  11. #11
    Account Upgraded | Title Enabled! matthieu503 is offline
    True MemberRank
    Jul 2011 Join Date
    357Posts

    Re: [Website] Character Display for MapleStory v134

    Looking forward to your progress ^^ Will this be released or just a secret?

  12. #12
    may web.very maple.pls. iAkira is offline
    Alpha MaleRank
    Aug 2009 Join Date
    somewhere..Location
    2,379Posts

    Re: [Website] Character Display for MapleStory v134

    If I can convert everything correctly and to the previous calculation formulas Ian had then yes. :P

  13. #13
    Infraction Baɴɴed holthelper is offline
    Alpha MaleRank
    Apr 2008 Join Date
    1,765Posts

    Re: [Website] Character Display for MapleStory v134

    which version are you using???? ive updated the script to be less ugly then that
    why did god curse us with the abilities to make search engines but not give us the knowledge on how to use them?

    [PHP][MapleStory] v142 GD Character Image Display - Link
    [PHP] Image to HTML - Link

    -
    https://mapleme.me/
    The memes of the Maple community all in one place.

  14. #14
    may web.very maple.pls. iAkira is offline
    Alpha MaleRank
    Aug 2009 Join Date
    somewhere..Location
    2,379Posts

    Re: [Website] Character Display for MapleStory v134

    Faces Done.(Don't use this for your site since my coordinates formulas don't go with this release formulas..)
    Well I finished all the faces, I ran into some problems with some of the faces but I manage to get all of them (;
    PHP Code:
    <?php
    if ($handle opendir('Face')) {
        while (
    false !== ($entry readdir($handle))) {
            if (
    $entry != "." && $entry != "..") {
                
    // Collect Data
                
    $getData file_get_contents("Face/{$entry}/index.txt"FILE_USE_INCLUDE_PATH
                                     
    // Only reason why this is long because of the line breaks which messed up the array..(this is the fix to some of the faces which I had problem with :P)
                
    $result array_values(array_filter(explode(" "str_replace("\n"" "$getData)),'strlen'));
                
                
    // Calculations
                
    $x_calc = ($result[1]+$result[5])*-1;
                
    $y_calc = ($result[3]+$result[7])*-1;

                
    $arr = ['face_x' => $x_calc'face_y' => $y_calc];

                
    // Save to JSON
                
    file_put_contents("Face/{$entry}/".str_replace(".img"""$entry).".json"json_encode($arr));
            
                
    // Delete old data
                
    unlink("Face/{$entry}/index.txt");
            }
        }
        
    closedir($handle);
    }
    echo 
    "Done";
    ?>

  15. #15
    Hardcore Member Basis is offline
    MemberRank
    Dec 2008 Join Date
    108Posts

    Re: [Website] Character Display for MapleStory v134

    If anyone completes something that is better than what I came up with, but uses some of what I did, then if possible, I'd like a copy of it for my own development :)



Page 1 of 5 12345 LastLast

Advertisement