Author Topic: Recorded .fr files a little too big  (Read 424 times)

Offline player987386

  • New Member
  • *
  • Posts: 5
  • Karma: +0/-0
Recorded .fr files a little too big
« on: June 19, 2025, 07:46:47 PM »
Hi! As always, thank you for FBN!  :smilie:

Been doing some gameplay recordings in .fr using the last nightly build and noticed the recording files are a lot bigger than the ones from my "main" FBN build (circa 2023).

Example:
. old FBN record, around 30kb
. last nighty build, around 2400kb

Is it expected? Is there some recording system changes during this time? Not a problem though the recordings work perfectly, just a matter of  curiosity.

Offline dink

  • Administrator
  • *****
  • Posts: 5331
  • Karma: +522/-1
  • pie? I nearly bought one!
Re: Recorded .fr files a little too big
« Reply #1 on: June 19, 2025, 08:13:44 PM »
Hi,
The main difference is, I removed the compression from the input recordings and state (incl. nvram).

There's a few benefits to this, for example:
makes it easier for external tools to edit the data, for speedrun-stuff
it's much faster without the compression
It's also more reliable, as zlib likes to overinflate if the data changes in the most tiny amount.

best regards,
- dink

Offline player987386

  • New Member
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Recorded .fr files a little too big
« Reply #2 on: June 20, 2025, 12:49:10 AM »
Hi dink! Thanks for the thorough explanation.  :biggrin: