Large save files fail to load with “This save looks damaged or incomplete”

Open
#52 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
data

Research direction

The error comes from the todos.fm directory handling: game_db.dat is rejected as larger than the per-frame cap. Find where that cap is enforced and where the 'damaged or incomplete' message is raised, then run fmsave validate on a large save to reproduce. Done means large saves parse or fail with a specific size-limit message, with a test covering an oversized entry.

Written by the indexing model from the issue text.

Description

bug
No save files or real data
What went wrong

Hi! When I try to open a large FM27 save in fmsave, I get this error:
This save looks damaged or incomplete. Try a fresh copy of the save file.

The save opens normally in Football Manager. Could this be a file-size limitation or a parsing issue with larger saves?

What logs or diagnostic information would help investigate this?

Save File: (link removed, see comment below)

What you expected

I expected fmsave to open and parse the save successfully, as it loads normally in Football Manager, or provide a specific error explaining any unsupported format or file-size limitation.

fmsave version

0.9.0

Python version

Python 3.11.9

Operating system

Windows 11

FM26 build

26227640

fmsave validate output
fmsave: error: todos.fm: directory entry game_db.dat is larger than the per-frame cap
Dominant language
Python
Stars
28
Forks
8
Avg merge
42m
Merged PRs (30d)
33

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rhiever/fmsave

All issues in rhiever/fmsave

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.