User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: SetDMapEnhancedMusic resets dmap subscreen to Active Subscreen (Triforce)

  1. #1
    I shall exalt myself over all Armagedddon Games bigjoe's Avatar
    Join Date
    Apr 2000
    Age
    39
    Posts
    5,620
    Mentioned
    87 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,572
    Level
    24
    vBActivity - Bars
    Lv. Percent
    93.39%

    Sick Bug SetDMapEnhancedMusic resets dmap subscreen to Active Subscreen (Triforce)

    When using SetDMapEnhancedMusic, the subscreen for the dmap gets reset to Active Subscreen (Triforce). 4matsy brought this to my attention when playing this quest, which allows you to select which set of dungeon music you would like to use.


  2. #2
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,432
    Level
    24
    vBActivity - Bars
    Lv. Percent
    69.93%
    Well, shoot. SetDmapEnhancedMusic() writes 255-character filenames, but DMaps only have room for 55 characters... It's not only overwriting the subscreens, but almost 200 disabled items, as well.

    I don't think there's any way to work work around it, generally. If you only use one subscreen in the quest, deleting all the others should work. If you only set the music for DMaps using the same active and passive subscreens, putting those first in the list should work. For any cases other than those, it's just going to have to be fixed.

  3. #3
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,958
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.12%
    @Saffith : Why not spare a byte there (or ideally 16 bits) and just store a dmap_music_id, which simply maps to an actual string. If GetDmapEnhancedMusic() is needed we can simply look it up from a global music string map.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  4. #4
    I shall exalt myself over all Armagedddon Games bigjoe's Avatar
    Join Date
    Apr 2000
    Age
    39
    Posts
    5,620
    Mentioned
    87 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,572
    Level
    24
    vBActivity - Bars
    Lv. Percent
    93.39%
    Perhaps the basis of the next update to ZC would be better and more complete support for DMap Editing? A Copy Paste function similar to what is in the enemy and item editors would make doing what you suggest a lot easier.


  5. #5
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    @Gleeok : Bingo, now we're talking. As we know, ZC can only play music files found in the root folder and quest folder. These would serve of as the folders to pull the strings from for the music map. Hell then one could take advantage of a map's sort function and give them IDs like we do for midis. It would be an overhaul. But would be a nicer interface I think.

    Thoughts?

  6. #6
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,958
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.12%
    Added copy/paste for dmaps...but I don't know if it works or not since I can't test it. According to my calculations there is an 0.0000000017% chance of it reversing time flow and destroying the universe at the speed of light.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  7. #7
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    I tested it out in the future using my time machine and it worked just fine. Good work Gleeok the universe has been spared, this time.

  8. #8
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    Just curious but do we have any confirmation that this has been fixed yet?

  9. #9
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,432
    Level
    24
    vBActivity - Bars
    Lv. Percent
    69.93%
    This has finally been fixed.

  10. #10
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    Party at @Saffith place everybody. Man this must of been pretty hard to fix. :O

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social