soopercool101 / BrawlCrate

BrawlBox/BrawlTools Fork, Wii File Editor
https://discord.gg/s7c8763
GNU Lesser General Public License v3.0
150 stars 39 forks source link

<null> items added to end of carc file on save #105

Open Elip100 opened 3 months ago

Elip100 commented 3 months ago

Describe the bug When trying to save certain .carc files, BrawlCrate will add around 30 <null> items to the end. This only happens with certain files, and BrawlBox has the same issue.

To Reproduce Steps to reproduce the behavior:

  1. Download the Wii Sports game files
  2. Edit files/US/RPCommon/local.carc
  3. Save it
  4. Re-open it

Expected behavior Not adding <null> to the end

Screenshots image

Desktop (please complete the following information):

Please attach any relevant files (if they do not have copyrighted content) you were working on. If the file is from a retail game, please instead name the game and the path to the file in the game's filesystem.

Wii Sports/files/US/RPCommon/local.carc among other files