Jump to content

  •  

  • iBotModz CBox


    Photo

    H2 Prog:Menu Menu Menu


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

    #1 iBotPeaches

    iBotPeaches

      General Grade 6

    • Owner

    • 6,570 posts
    • Joined: 29-July 07

    Posted 24 June 2009 - 02:08 PM

    File Name: Menu Menu Menu
    File Submitter:
    File Submitted: 11 Sep 2008
    File Updated: 31 Oct 2011
    File Category: H2 Modding Programs
    Author: Prey
    Version: 1.5 Update 5

    Menu Menu Menu
    By: Prey

    Thanks Goes Out To: My Beta Testers. Shade45 for doing the 'extras' menu first and me only being able to follow by studying his output maps ..the Ch2r Source for having such a great bitmap library, and finally Talin for inadvertly leading me to previewing P8 bumps correctly

    Posted Image

    Relink BITM -->
    Posted Image

    Hopefully you will find the app self-explanatory enough, there are a few things i would like to quickly go over though:

    Bitmap Relinker
    Every map slot holds an Ident which points to a bitmap tag, it is this bitmap tag that is the map slots preview image. The Bitmap Relinker will simply let you change the Bitmap the map slot is linked to.

    Create New Raw For Bitmap
    Every bitmap tag is linked to raw within the map, the raw is where the actual image is stored. All of the map slots in the mainmenu that are null, may have different bitmap tags, but those tags are all linked to the same raw. So change one and they all change. This function will generate new raw for the selected slot so it has its own individual image Posted Image

    Export/Import
    While the Ch2r Source does have a great bitmap library, it comes with many flaws in the extract/inject region. So i fiddled and twiddled with it for a little while until i got most of it working Posted Image , here is a quick table which lists what extracts properly:
    Posted Image
    The empty cells mean i couldnt test for one reason or another, buts its probably safe to say that they dont extract proper either..

    Duplicate/Delete

    Allows you to add or take away map slots! Woo! Sadly it doesnt work though, ugh crap right? Not my fault though, the app dups/dels perfectly fine, but the default.xbe holds it back and makes you freeze at 100%.. oh well, ill leave the option their incase anyone ever finds a fix... With Update5 these options have been hidden as it has been figured out how to add more slots, and it had nothing to do with the xbe...thus my code is what's wrong. Oh well that's work for another day ;>

    Save All
    Once the app has listed the SP Map slots, they are all stored in memory. Meaning you can edit everything about every listed slot before finally clicking the Save All button. The only way you will lose your changes, is if you dont save and click to view the MP Maps. Whenever you switch between SP and MP slots, the app clears its memory and loads the new slots. Just so you know.

    Net Framework 2.0

    ..is needed, you can get it HERE.

    On Closing...
    Hope you enjoy the application, or at least find use for it Posted Image


    Update1: (1.0) 'Create New Raw For Bitmap' option added.
    Update2: (1.0) Small bug fix and unnoticeable improvement.
    Update3: (1.0) Small bug fix.
    Update4: (1.0) Can now Import smaller images, rest of original image is nulled out.
    Update5: (1.1)
      • Status label at the bottom will now tell you if selected slot's raw is being used by another slot.
      • Major bug with raw adding and bitmap injecting fixed.
      • Overall coding improved.

    Click here to download this file