Commit Graph
26 Commits
Author SHA1 Message Date
bdot89andClaude Opus 5.5 e4f369dddf DMorph 2.6.0: race morphs keep your own race rules, size shows and is shared
- DmorphHelper v3 hooks the game's model builder: during a race morph
  your model is built as the morph's race, but the game keeps your own
  race the rest of the time, so you understand your own languages (no
  garbled chat), and see your own flight paths and spells.
- Size now changes the model you see, not only the camera: the game
  draws the model at its own copy of the size, which DmorphHelper now
  sets too (found in WoW.exe at 0x614640).
- Sizes are shared with other DMorph users (a size token in the look
  and a small size message); older versions ignore it.
- The Setup check asks players with DmorphHelper v2 to run the installer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 14:12:04 +01:00
bdot89andClaude Opus 5.5 53f783c53b DMorph 2.5.1: languages and flight paths
- Chat language: the game lists and speaks the languages of the race it
  thinks you are, so a Gnome morph still tried Common. Your own languages
  are now read while your own race shows (at the start of each session)
  and remembered; chat uses them. A Horde character morphed into a Goblin
  speaks Orcish, which it knows.
- Mount skins: a flight path's bird no longer gets your skin (it stayed
  on after landing and the game thought you were still mounted, so no
  spells). The skin only goes on with your mount's own buff, and comes off
  whenever the game takes or gives back control (put on again a moment
  later if you still ride).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 12:33:07 +01:00
bdot89andClaude Opus 5.5 4ec170ee93 DMorph 2.5.0: size slider (DmorphHelper v2)
- DmorphHelper v2 adds DmorphHelper_GetScale / SetScale: your size in
  the world (the game's own scale field, what Enlarge spells change),
  0.1 to 10. Rebuilt with MinGW (winlibs gcc 16.2, i686, msvcrt).
- A Size slider on the dressing room's name plate (25% to 300%,
  right-click for your own size) and .scale 0.5 / .scale 200% / .scale 0;
  a watcher keeps the size when the server sends the real one again,
  and Reset everything takes it off. Works on any morph.
- The Setup check flags DmorphHelper v1 so players run the installer
  again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 12:26:15 +01:00
bdot89andClaude Opus 5.5 9da302c6dc DMorph 2.4.0: Ashes of Al'ar and other mounts, flight paths and spellbook with race morphs
- Mounts: Ashes of Al'ar (display 18179, the phoenix model) is listed
  under its name and as a mount, with 66 more rideable models from later
  expansions that weren't tagged: winged and celestial horses, Northrend
  drakes, victorious steed, armoured raptor, lava and fel horses, the
  Dalaran horse, nether rays, taxi wyverns and hippogryphs, the ghost
  gryphon and the riding turtle (build_models.ps1, data rebuilt from the
  game files).
- Race morphs: while the flight map or the spellbook is open, your own
  race is back (the game hides the other faction's flight paths and
  re-sorts spells by race); the morph returns when it closes. The picked
  face, skin and hair wait meanwhile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 12:19:12 +01:00
bdot89andClaude Opus 5.5 542ed70066 DMorph 2.3.1: double-click installer for DmorphHelper
- "Install DmorphHelper.bat" / "Remove DmorphHelper.bat" in the addon
  folder (an addon can't put files in the game folder itself): finds the
  game folder (the one with WoW.exe), copies the DLL only when it changed,
  unblocks it, and adds it to dlls.txt after VanillaHelpers.dll.
- The installer stops when this game is running, and says plainly what's
  wrong instead of a PowerShell error.
- In game, the Setup check and messages point to the .bat, and flag a
  DmorphHelper in the game folder older than the one DMorph comes with.
- README and project page: install steps with the .bat, and run it again
  after updating.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 12:07:04 +01:00
bdot89andClaude Opus 5.5 e0c4b82bef DMorph 2.3.0: Setup check that says how to fix VanillaHelpers
- A Setup button in the window's footer: green "Setup OK" when
  morphing works, red "Setup: fix me" when it doesn't. It opens a check
  of VanillaHelpers and the optional DmorphHelper, ClassicAPI and
  SuperWoW, each with what to do; it opens by itself when morphing
  can't work. /dmorph check prints the same.
- The missing-VanillaHelpers message now says which case it is: an old
  version (before 1.1.0), or not running at all, and whether any client
  mod runs (if none do, the game wasn't started from OctoLauncher).
- README and project page: start the game from OctoLauncher, and what to
  do when VanillaHelpers isn't running.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 11:32:25 +01:00
bdot89andClaude Opus 5.5 3bad6c76f3 DMorph 2.2.2: share only with DMorph users in range
- Changes go out only while a DMorph user is within follow range
  (CheckInteractDistance 4, about 28 yards) or in your group.
- Only nearby players you target or mouse over (and group members) are
  asked whether they have DMorph; not your target's target or party
  targets. Questions at most every 10 s.
- A player who doesn't answer is remembered as having no DMorph for a
  day, across sessions (DmorphOctoAccount.noDmorph), also when someone
  else asked on the channel.
- Returning DMorph users are rechecked after 2 minutes, not 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 11:27:14 +01:00
bdot89andClaude Opus 5.5 c493f5afb7 DMorph 2.2.1: chat in a language you know after a race morph
A race morph also changes your race in VanillaHelpers, so the game's
default chat language followed it (an Undead as a Human tried Common:
"You don't know that language"). Spoken chat now goes out in a
language the character knows: the one asked for, else the default,
else Orcish / Common by faction, else the first known. Emotes untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 11:15:56 +01:00
Claude a8e6c34273 DMorph 2.2.0: zoom on your character, item type filters, one glow
From the user's in-game report: two glows don't show at once, the
Races rows do change their own character.

- The second-glow experiment (2.1.0) is gone: the game draws one
  enchant glow per weapon.
- Zoom: the mouse wheel over your character, or the new + / - buttons,
  bring it closer (heading for the face); right-drag moves it; Reset
  view shows all of it again. The zoom stays when the look changes.
- Item types: every item knows whether it's cloth, leather, mail or
  plate, or what kind of weapon it is (Data/ItemTypes.lua, from the
  1.12.1 database and Turtle WoW's via ShellLab; the item cache adds
  OctoWoW's). The Items tab has Type, Quality and Source buttons that
  work together: every epic cloth helmet, every rare plate pair of legs.
  The Sets tab has the same three; a set's type is its main armour.
- Developers' test items ("1000 Test dagger 60 blue") are left out.
- Neater lists: one row of filters, a track behind each scroll bar,
  menus with room for every weapon type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nTJ1LNa66vwpT5UiEtvM8
2026-10-11 09:36:17 +00:00
Claude fa5a1b178d DMorph 2.1.0: a second weapon glow (experiment)
A weapon has two enchant places: the permanent one and the temporary
one (poisons, oils, shaman weapons). The Glows tab can now put a second
glow in the temporary place: "Picking: 2nd glow" switches what a click
picks, and the second glow is starred in the list. Whether the 1.12
client draws both glows at once is untested; if it doesn't, only one
shows. No glow / My own glow on the first glow clear both. Outfits keep
the second glow, and .glow takes it as a third word.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nTJ1LNa66vwpT5UiEtvM8
2026-10-11 09:16:55 +00:00
Claude 5b16a23f24 DMorph 2.0.3: keep looks that only lack an extra layer
The game's look table lists some extra layers that were never made
(many beards name an upper layer that isn't in the files), and the
game just skips them. The tool left those whole looks out: 738 on the
user's PC. Now a look is left out only if it has no texture at all, or
it's a skin colour without its body texture. The tool says which
features lost looks and how many were kept without an extra layer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nTJ1LNa66vwpT5UiEtvM8
2026-10-11 09:13:40 +00:00
Claude 8fffd0c6d3 DMorph 2.0.2: game files named with "/" are found too
The game reads "/" and "\" in file names as the same, but the tools'
MPQ lookup didn't, so a texture or model named with forward slashes
counted as missing. That may be part of the 738 skin, face and hair
choices the first real run left out; the tool now names a few of the
missing textures so the rest can be checked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nTJ1LNa66vwpT5UiEtvM8
2026-10-11 09:08:17 +00:00
Claude 04e362dc1d DMorph 2.0.1: read the game's glow and look tables, mounts by spell name
The first run on the real client found no glows and no skin/hair
choices: the column checks were too strict. An enchant that points at a
glow the client doesn't have, or hair rows that share one texture, made
them give up. Now the known 1.12 layouts are tried first and checked
loosely, then the later layout, then detection. If a table still can't
be read, the tool prints a short report to send in.

Mounts: the rider point rule switches itself off on the real client
(humanoids carry their shield on the same point), so shop mounts such
as the spectral tigers could be missed. build_models.ps1 now also reads
the game's mount spells (Spell.dbc, shop mounts included): a model
named like a mount spell that has a rider point is a mount.

The fake game reproduces both failures and checks the fixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nTJ1LNa66vwpT5UiEtvM8
2026-10-11 09:03:28 +00:00
Claude bff37f399f DMorph 2.0.0: weapon glows and real skin, face and hair (DmorphHelper)
VanillaHelpers can't change a weapon's enchant glow or your own skin,
face and hair, so DMorph now ships a small optional DLL for that.

- helper/DmorphHelper.dll (C, MinGW, MinHook): adds DmorphHelper_Get/
  SetItemEnchants and DmorphHelper_Get/SetLook. It uses VanillaHelpers'
  own game addresses and only switches on when it finds VanillaHelpers'
  hooks at two of them; otherwise it does nothing.
- tools/install_helper.ps1 puts it in the game folder and dlls.txt
  (after VanillaHelpers.dll, with a backup); -Remove takes it out.
- tools/build_options.ps1 (run by update_from_game.ps1) reads every
  enchant glow and every skin colour, face, hair style, hair colour and
  facial hair from the game's own tables into Data/Glows.lua and
  Data/CharOptions.lua, checking the columns and the files first.
- New Glows tab: pick main hand, off hand or ranged, search, click a
  glow; No glow / My own glow. Also .glow (.enchant).
- Races: with the helper, the first five rows change your model's real
  skin, face and hair one at a time, with your gear showing. A row whose
  value doesn't go with another moves that one to the closest value and
  says so. Each race keeps its own picked look; NPC looks stay as a row.
- Picked glows and looks are put back within a second after the server
  resends the real ones, survive /reload, and are saved in outfits.
- Tests: a fake DmorphHelper and the fake game's tables (344 checks).

Not tried in game yet: the helper has only been built and checked here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nTJ1LNa66vwpT5UiEtvM8
2026-10-11 08:52:15 +00:00
Claude 98db5f7d14 DMorph 1.9.1: find every mount model, shop mounts included
From the user's screenshot of the Octo Shop: the Spectral Tigers and
spectral horses were in the model list but not tagged as mounts, because
only model file names like "Riding..." counted.

tools/build_models.ps1 now tags as mounts:
- known mounts: NPC riders, the 1.12.1 mount spells, and models whose
  file or any skin is named like a mount;
- every other skin of a known mount's model;
- every creature model with the rider's attachment point (point 0),
  read from the M2 files. That rule only counts if it holds for most
  known mount models and not for most creature models; otherwise it
  warns and steps aside. It prints example names of what it adds.

MpqDbc.cs gains Mpq.ReadRange (decompress only the sectors needed) and
GameFiles.MountPoint. tests/make_game_fixture.py covers both outcomes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nTJ1LNa66vwpT5UiEtvM8
2026-10-11 08:18:37 +00:00
Claude 9fe34f1d02 DMorph 1.9.0: every boss and mount, Races rows that always move, game-file check
From the user's report on 1.8.0 (Races refusing clicks, models that don't
show, wanting every boss and mount):

- Races: < > now always moves its row to the next value the race's NPCs
  have, in the NPC look that keeps the most of the other rows (skin, hair
  style, hair colour, face, facial hair, then outfit). The status line
  names the face and hair rows that had to change. NPC looks are unique
  combinations: measured over all races, only ~4% of clicks can keep
  every other row, whatever the priorities.
- Bosses and mounts from the 1.12.1 world database (Data/ClassicTags.lua,
  by tools/build_data.py): dungeon bosses the database ranks as plain
  elites (boss immunity or big health, spawned once or twice), every
  mount spell's creature and NPC riders. Bosses 174 -> 564.
- tools/update_from_game.ps1 checks every model and item against the
  game's own files and writes Data/HiddenModels.lua and HiddenItems.lua,
  which the addon leaves out: displays not in the client, missing,
  unloadable or empty model files, missing skins, items with nothing to
  draw. Each check switches itself off if it would flag over a quarter of
  what it looks at. MpqDbc.cs gains ReadStart, TryStr and GameFiles.
- tests/make_game_fixture.py builds a fake game folder; both PowerShell
  scripts were run on it (and on its mostly-broken variant) with
  PowerShell 7. 292 Lua checks pass under Lua 5.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nTJ1LNa66vwpT5UiEtvM8
2026-10-11 08:01:45 +00:00
bdot89andClaude Opus 5.5 b475d865d1 DMorph 1.8.0: quiet morph sharing
- Group, raid, battleground and guild mates get hidden addon messages;
  only players outside those hear the channel, now "DmorphShare" (with a
  password). Every channel message and notice is filtered out of the chat
  windows, and 1.7's "DmorphOcto" channel is left.
- Changes go out once they stand still for 1 s (at most 3 s late), as one
  message, and only to DMorph users around you or who asked about you.
- Mounting and dismounting is a tiny "M" message that always goes first.
- Looks are base 36 and remembered per realm for two weeks: known players
  show at once and are asked with a fingerprint, answered by a fingerprint
  when nothing changed. Duplicate channel questions are dropped.
- Outgoing messages are paced (0.6 s channel, 0.2 s hidden); .share shows
  how many went out. New protocol DMO2: 1.7 and 1.8 don't see each other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LYRNpwDuww8EG5hoZQYyo6
2026-10-10 23:57:20 +00:00
bdot89andClaude Opus 5.5 11b3a8d4de DMorph 1.7.1: steadier, faster morph sharing
- Mount skins: the mount watcher now tells listeners when a skin goes on
  or changes, so the mount message goes out at once (it waited for some
  other change before, so other users only sometimes saw mounts).
- Players who leave sight and come back are rebuilt by the game without
  their morph: the share scan now runs every 0.2 s, marks anyone not seen
  as away (UnitIsVisible too) and puts their whole look back on at once.
- Faster: changes go out after 0.5 s (mount changes at once), questions
  every 3 s, the channel is joined 3 s after login; target of target and
  party targets are used as tokens too; old looks are refreshed.
- .share says whether SuperWoW GUIDs work as tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 23:57:38 +01:00
bdot89andClaude Opus 5.5 2b941c8399 DMorph 1.7.0: DMorph users see each other's morphs
- Share.lua: each client sends its look (model, item morphs, mount skin
  while riding) over a hidden "DmorphOcto" channel and addon messages in
  groups, asks new friendly faces for theirs, and morphs those players on
  its own screen through VanillaHelpers (target, mouseover, party, raid,
  or SuperWoW GUIDs). Mount skins only through steady tokens.
- Sharing menu in the window and .share on/off, .share others on/off.
- Only display IDs the client has are accepted from others.
- README: fix the garbled arrows from 1.6.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 23:44:31 +01:00
bdot89andClaude Opus 5.5 1d9bae5c5a DMorph 1.6.0: Races arrows change only their row, Mounts tab shows your skin
- Races: < > only accept NPC looks that keep the other four features (same
  outfit preferred); otherwise nothing changes and the status line says why.
  Rows show "n of m" choices and go grey when there is no other.
- Looks.lua gains an outfit number per look.
- Mounts: a Your skin box with a turning preview, the current skin ticked
  and gold in the list and scrolled into view, up/down arrows for the
  previous/next model, and a clearer riding line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 23:25:47 +01:00
bdot89andClaude Opus 5.5 152ab3883d DMorph 1.5.0: Mounts tab, one Races tab, slot-by-slot NPC looks
- Mounts tab: give your mount any model as a skin, for all your mounts or
  one you've ridden. The skin is only on while you ride: the addon sees your
  mount's buff come and go, so mounting and dismounting work as usual
  (before, the override kept you on a mount on foot).
- Races and Creator are one tab: a portrait keeps your own face (gear
  shows); the < > rows step one feature at a time through the game's NPC
  looks, changing at most what no NPC has with your other choices, and the
  status line says what else changed. My own look goes back.
- The Models tab's mount switch is gone; mount favourites come from the
  Mounts tab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 23:11:43 +01:00
bdot89andClaude Opus 5.5 df146f8c9a DMorph 1.4.0: favourites
- Right-click (or Shift-right-click) any model in the Models tab, grid or
  list, to star it; with "Morph: mount" on it's starred as a mount. Stars
  show on the tiles and rows, the tooltip says how to take them off.
- New Favourites tab: every starred model and mount, shared by all your
  characters. Click to wear (model or mount), right-click to unstar, hover
  for a 3D preview; filter models / mounts, search, sort A-Z or by ID.
- The Creator can star the look you wear.
- Tabs use the smaller font so seven fit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 22:57:03 +01:00
bdot89andClaude Opus 5.5 2eba80de76 DMorph 1.3.0: creator, sets, mount morphs, every item, filters
- Character creator tab: pick a race, then step through every skin colour,
  face, hair style, hair colour and facial hair the game's NPCs have
  (Data/Looks.lua, 8,068 looks), or roll the dice.
- Sets tab: the client's 352 item sets, worn in one click.
- Items: Turtle WoW's and OctoWoW's weapons and armour join the 1.12 lists
  (12,000+ items: Tower of Karazhan, tier variants, Warglaives...). Items no
  list knows are looked up in game in the background (ClassicAPI) and saved.
- Filters everywhere: bosses, rare creatures and mounts for models; source
  and quality (Rare, Epic, Legendary...) for items and sets; A-Z or ID sort.
- Mount morphs (VanillaHelpers SetUnitMountDisplayID), .mount command.
- Models OctoWoW added carry their Turtle WoW creature names.
- Texture mix-ups from fast clicking: clicks wait 0.35 s for the game to
  rebuild your character, the preview never reloads a model that is still
  loading, and previews clear the old model first.
- The window resizes from its corner grip and remembers its size.
- tools/build_items.ps1 and tools/data (Turtle WoW data from ShellLab).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 22:51:15 +01:00
bdot89andClaude Opus 5.5 8596891ddc DMorph 1.2.0: every client model, 3D previews, no white flash
- Data/Models.lua (new, tools/build_models.ps1): every display ID in the
  client's CreatureDisplayInfo.dbc that Creatures.lua doesn't name, 4,059
  more models (2,894 added by OctoWoW), named after their model files.
  25 IDs whose model file is missing are left out.
- Models tab: grid of 3D previews (ClassicAPI Model:SetDisplayInfo), eight
  to a page, or a list with a hover preview; filter for creatures, other
  models and OctoWoW's additions.
- No white flash: models load below an opaque layer and are raised once
  loaded; the character preview swaps two PlayerModels instead of
  reloading the visible one.
- New look: solid window, race dress-up backdrops behind the character,
  name plate, styled tabs, race portraits on the Races tab.
- tools/run_tests.ps1 + tools/LuaHost run the tests on Windows without Lua.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 21:39:43 +01:00
Claude 9678e13c99 Add a morph window with model browser, items, races and wardrobe
Replace typing chat codes with a window (/dmorph, a minimap button or a
key binding):

- A live preview of your character, turned by dragging, with the 14
  morphable slots around it: left-click browses items for the slot,
  right-click puts your own gear back, morphed slots glow.
- Models tab: search 12,000+ named creature models by name or ID, click
  to become one, or step through any display ID with < and >.
- Races tab: every race as male or female, plus swap gender.
- Items tab: every visible weapon and armour piece per slot, coloured by
  quality and searchable, or any item ID.
- Wardrobe tab: save the current look as a named outfit, shared by all
  characters; select and load or delete it. Outfits and the current look
  survive /reload and logins. Also as .outfit chat commands.

The catalogue (Data/) is generated from the cmangos classic-db 1.12.1
world database by tools/build_data.py and parsed on first use. The core
now exposes one set of functions that both the chat commands and the
window call. tests/mock_wow.lua is a strict 1.12 UI mock that rejects
methods, templates and fonts the client doesn't have; the suite now
covers the window, wardrobe and catalogue (105 checks under Lua 5.0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nTJ1LNa66vwpT5UiEtvM8
2026-10-10 17:34:29 +00:00
Claude 9239a03c7e Add DMorph-style morph commands for the OctoWoW 1.12 client
DMorph is a DLL built for WotLK 3.3.5a (build 12340) with that client's
addresses hardcoded, so it can't run on OctoWoW's 1.12.1 client. This adds
a 1.12 addon that brings back DMorph's chat commands (.morph, .race,
.gender, .item, plus .demorph in place of the F5/F10 resets) on top of
VanillaHelpers' morph API, which OctoLauncher already ships.

Morphs are saved per character and re-applied after /reload and loading
screens. .scale is intercepted but unsupported, since VanillaHelpers has
no scale API. tests/run_tests.lua exercises the addon under Lua 5.0
against a mock client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nTJ1LNa66vwpT5UiEtvM8
2026-10-10 14:11:58 +00:00