Jump to content

  •  

  • iBotModz CBox


    Photo

    [Java] Multiple Bitmap Internalizer


    This topic has been archived. This means that you cannot reply to this topic.
    No replies to this topic

    #1 SmokiestGrunl

    SmokiestGrunl

      Australian Retired Staff

    • Retired Staff

    • 3,888 posts
    • Joined: 02-September 07

    Posted 22 August 2008 - 06:33 PM

    Well here is my first venture into programming. Some of you may find this useful. This program can internalize multiple bitmaps very quickly. Here is what is included in the two downloads.

    Bitmap Internalizer.zip - the executable (.jar) and the src (including BlueJ project files for those of you who use that IDE).

    BI_app.zip - this is for MAC USERS ONLY. It is just the .jar file bundled into a .app (the standard application format) so that it has an icon, can be added to the dock etc. Basically, it just feels more like a native application, but it runs exactly the same as the .jar.

    Instructions
    1.) The first time you open the app, it will prompt you for your shared maps. You should only have to do this once, unless you delete/rename/move a shared map.
    2.) Open a map. It will display all external bitmaps in the top list.
    3.) Select a bitmap that you want to internalize, and click "Add Tag" this will remove it from the top list and add it to the bottom list.
    4.) Once you have added all the tags that you want to the bottom list, click "Internalize" and it will internalize all tags that you have selected.

    Features

    * 100% proper, all LODS and everything
    * Works on all operating systems that support the Java 1.5 environment or later (sorry mac users, that means it only works on Tiger).
    * Internalize all bitmaps (I don't actually recommend you use this. It works, but I doubt you would actually need it. I just put it there for a speed test)
    * Tag searching
    * Saves shared map locations
    * Resign map



    Pictures

    Posted Image
    Posted Image

    (thats 1.188 seconds for those of you who don't know milliseconds)

    Thanks

    * A huge thanks to chiefdestroyer who taught me pretty much everything I know about working with Halo maps in Java, and who gave me a ton of source code, including the RandomAccessFileSP class used in this program.
    * Punk - beta testing and feature suggestions
    * All other testers/helpers. Thanks so much!

    Attached Files