4 Commits
Author SHA1 Message Date
SatyandClaude Opus 5.5 692ebcc4f6 fmodex: verify.py suspect triage against 12340
790 fmodex suspects triaged in three rounds against the 12340 asm and
Hex-Rays; verdicts in re/data/fmod_triage_verdicts.tsv, summary in
re/notes/304_fmod_offsets.md.

- 73 fixes to 12340 behaviour: ASfxDsp (0x500), DSPITEcho (0x140),
  DSPConnectionI (0xF0), CodecMIDIChannel (0x2AC), CodecVAG (0x278),
  CodecASF and OutputTimer layouts; DSPI::execute overload order;
  32-bit SoundI::getBytesFromSamples; 4.30 leftovers removed in MPEG,
  music codecs, outputs, codecs and DSP; ASYNC_STACKSIZE 32 KB.
- 693 codegen-only suspects stamped `// VERIFY: <hash> manual`, plus
  new auto stamps for passes.
- Open: CodecMIDI layout, FLAC/Ogg library context, synthC asm,
  VST/Winamp hookups in createDSP, updateSyncPoints signedness.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-26 06:41:54 +02:00
SatyandClaude Opus 5.5 fe133bbc9f fmodex: port core to 4.09 / 12340 behaviour and layout
Port the FMOD Ex core from the 4.30 source to the 4.09.07 behaviour and
layout of 12340, function by function against the binary.

- Plugins, files and DSP: PluginFactory index API, File, DSPNet, the DSP
  units (resampler, wavetable, codec, soundcard, filter), DSPI mix API.
- Sounds: SoundI, Sample/SampleSoftware, Stream, sync points.
- Channels: ChannelReal (37-slot vtable), ChannelSoftware, ChannelStream,
  ChannelEmulated, ChannelRealManual3D, ChannelI (stopEx with 7 bools),
  ChannelGroupI, SoundGroupI, SpeakerLevelsPool.
- System: all 72 SystemI functions of 12340, the System wrappers, and
  the unused 4.09 API on the public signatures.
- Async, memory (LocalMemoryCounter), thread, geometry.
- Outputs: DirectSound, OpenAL, WinMM, WASAPI (timer based), ASIO,
  polled and software; single-device recording.
- Codecs: FSB, MPEG memory block, IT/XM/S3M/MOD/MIDI.
- fmod.hpp: Channel::getFadeVolume (0x8D0F60, used by the client).

fmod_build.sh: 0 errors. Layout: all rows match 12340 except CodecMIDI,
CodecFLAC, CodecOggVorbis and CodecVAG. Not yet run through verify.py.
Notes: re/notes/304_fmod_offsets.md.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-26 03:54:45 +02:00
SatyandClaude Opus 5.5 73d08005cb fmodex: OFFSET annotations for 1828 12340 functions
1829 // OFFSET lines (1830 addresses; Codec::Codec is emitted twice) in 199
files. Matched by qualified name against the IDB (binana/Mac names), plus
59 manual resolutions (overloads, #if variants, duplicate statics).
227 of 230 functions that reference a __FILE__ string agree with the file.
Note: this tree is FMOD Ex 4.30.04 relabeled 4.09.07; 12340 is 4.09.07.
See re/notes/304_fmod_offsets.md. No code changes.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-26 00:34:50 +02:00
SatyandClaude Opus 5.5 ea3c081245 fmodex: FMOD Ex 4.09.07 sources (E:\Github\fmodex)
Unmodified copy of fmodex/fmod (lib/, src/, win32/) plus LICENSE.TXT and
revision.txt, at the original location Engine/Source/SoundEngine/fmodex
(12340/Mac 13682 paths). 12340's exact FMOD version is unknown; version
differences are expected. Not built yet.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 23:44:43 +02:00