Skip to content

Devo's Map Doctor 3.0.12

Latest

Choose a tag to compare

@devoltzz devoltzz released this 04 Dec 22:32

Added

  • Translation log. The Translation page now shows, while it runs, what is being translated, how fast (pieces per second, now and on average) and how long is left. Ctrl+L opens a log of every job of the session anywhere in the window, with the time each one took, and the last translation is also written next to the map as <map>_translation_log.txt. The command line prints the same summary at the end of a translation.
  • Port of maps made for the Korean TMO launcher. The port answers the launcher the way it would (logged in, the server time). A map that saves only on the launcher's server keeps that save on this PC, in the map's save folder. A map that already runs on Reforged gets only this, and the rest of it stays byte for byte. The command line takes --no-tmo and --tmo-save=local|server.
  • Port of the old KK platform maps with the map hidden after the MPQ (the "KK virtual MPQ", like an old 羁绊1). Before, Port refused them as encrypted. The diagnosis now says that the MPQ holds only the platform's loader and the map is stored after it (issue #133).
  • KK platform maps in the CAME container (issue #133, and the map of #126/#128):
    • Fix map now opens the models and textures the platform wraps in JRP1 envelopes. The key is in the platform files the map carries, so the fixed map shows its art outside the platform. Before, they stayed sealed and the game showed green and missing textures.
    • The map's Lua game in the platform's EHTA package is opened too: Fix map writes its modules as readable .lua files under ehta\ in the map, and extract --source writes them as a folder. One build of the platform engine is read; a map with another build says so, and the rest of it is still fixed.
    • A new Fix map option, Keep the platform data (off by default): the fixed copy also keeps the platform loader and its encrypted container, so it still starts on the KK platform. It is about twice as big. The command line takes --keep-platform-data.
  • extract --source for maps with packed Lua modules (the xmload maps): the compiled Lua 5.3 modules come out as readable Lua text (issue #122).

Improved

  • xmload maps (issue #122):
    • The author's online services that a map calls are now answered on the player's PC, with the rules read from the map's own code. Rewards, the bag, pets, forging and check-in work again, and their data is kept in the map's local save.
    • XMGetDamageAbility now gives the attack ability on a normal attack. Before, it gave 0.
    • Port now keeps the map's own art that sits on game paths, and still removes the old client's copies.
  • Open in World Editor, GUI triggers: more lines come back as GUI instead of Custom script. This covers 9-character rawcodes (a skin with its model) in Lua maps, and map functions with no parameter called from trigger actions, which come back as "Run Trigger".
  • Fix map and Open in World Editor: a real file that has no name in the map now takes its name from the shared name list, when the list has exactly one match and it is not a decoy. The shared name list has 93 new names.
  • Models with more than 256 vertex groups:
    • In the 2.0.4 output they are now split into parts the format can hold, and keep their HD materials. Before, they fell back to the classic format.
    • The 3.0 output is now checked by a strict reader too.
    • The classic output of ladder and bridge models no longer loses a chunk.
  • Open in World Editor: screen texts that an optimizer left in string variables with short names now come back as plain text where the script uses them, so they read in the editor (issue #133, a Dota AI map). Nothing there was encrypted.
  • Port to an older version (1.24 to 1.28):
    • A map made on Reforged now appears in the map list of the older game. Its file was copied as it was, without the map header the classic game needs to list a map (issues #149 and #150).
    • Port says when the file name is too long for the map list of the older game, and when the map ends the game at the start with too few human players (a check of the map itself, which Port keeps).
    • The map size notes now say that 8 MB and 128 MB are the limits of the unpatched game: the patches and loaders many players use raise them.
  • The progress bar estimate now uses what the opened map contains, so it is closer to the real time. The Triggers tab is faster on big maps.
  • The site uses much less memory on big maps. Port and Player guide of a 465 MB map now fit, and the page asks before a big job only when the map really needs it.
  • The shared name list has the names of the 我在峡谷打僵尸 map from issue #133.
  • The screen texts in all 16 languages were reviewed, and wrong or untranslated lines were fixed.

Fixed

  • A port layer function (DzSetUnitAbilityButtonPos) could create its data table on one machine only, which can desync a multiplayer game. It is now created at map load on every machine.

Known limits

  • Nothing in this release was tested in the game.
  • extract --source does not write the table of the map's own natives in the released program: that table needs a CPU emulator that is not bundled. The README says why.