Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttribSys: RandomTrafficColours is improperly handled #54

Open
burninrubber0 opened this issue Sep 25, 2024 · 0 comments
Open

AttribSys: RandomTrafficColours is improperly handled #54

burninrubber0 opened this issue Sep 25, 2024 · 0 comments
Labels
wontfix This will not be worked on

Comments

@burninrubber0
Copy link
Owner

Currently, there are limitations to what can be done with traffic colors. These are:

  • The color allocation amount Alloc must be kept the same. Even if Bundle Manager can read files with a different allocation amount, the game can't handle it.
  • The number of colors Num_RandomTrafficColours can be decreased so long as the allocation amount remains the same, but can't be increased unless it's below the allocation amount for some reason.

The problem boils down to the AttribSys editor introduced in #16 being written for too specific a target—it edits the values in a vehicle file and nothing more; the vault is not treated as the database it is. The end result is that any change to the file structure (say, adding a color or two) causes said file to become unusable, even if the bin data is perfectly valid, because none of the associated references in the vault have been updated.

The only reasonable solution to this is a complete rewrite of the AttribSys editor using something like VaultLib, though that particular library would have to be fixed as it doesn't currently work correctly with Paradise vaults. Hacked solutions specific to the colors issue are technically possible but not even close to being worthwhile.

Realistically, I don't expect to resolve this issue. It's more likely that BM's editor will be rendered obsolete by another tool.

@burninrubber0 burninrubber0 added the wontfix This will not be worked on label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant