Move the game texts out of the source into openbmh.dat
The numbers of the Diamond 3.7 executable and of Football Limited stay built in, the game texts go into data/openbmh.dat, which the release ships next to the programs (found in OPENBMH_DAT, the game folder, the program folder, the current folder). Without the file those texts are empty. A replay of a recorded session gives the same output as with the real BMH.exe when the file is there, and differs only in the seven text lines when it is missing. week_check no longer counts its probe re-rating of the team as draws of the port (the apparent deviation from minute 10 of the DOSBox recording was this measuring error). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
524b9e4158
commit
9e593f921f
16 files changed
+2015
-1753
No files matched your search
@@ -271,7 +271,10 @@ bool replay_matchday(GameState& b, std::vector<MatchGroup>& groups, GameRandom&
|
||||
MatchEngine trial{sc, gc, gg, wr, engine.referees};
|
||||
trial.month = engine.month;
|
||||
MinuteReport tr;
|
||||
trial.rerate_team(team, tr);
|
||||
{
|
||||
NoHook no_hook; // (the trial draws on copies: they must not count as draws of the port)
|
||||
trial.rerate_team(team, tr);
|
||||
}
|
||||
const bool hit = !tr.unsupported && gg.seed() == int32_t(std::stoll(field(after.line, "game_seed"))) &&
|
||||
wr.seed() == uint32_t(std::stoull(field(after.line, "rand_seed")));
|
||||
if (!hit) continue;
|
||||
|
||||
Reference in new issue
Block a user