riperiperi / FreeSO

Re-implementation of The Sims Online.
http://freeso.org
Mozilla Public License 2.0
817 stars 95 forks source link

Hex Editing for Primitives with Unknown Operands #130

Closed dotequals closed 5 years ago

dotequals commented 5 years ago

image

This adds the ability to just edit the hex values of any primitives that don't have overrides.

Currently it doesn't pad zeros, but maybe it should.

dotequals commented 5 years ago

Validation doesn't seem to always work properly. Creating a new Inventory Operation and setting Argument 1 to abcdef crashes and sets the value to 8000 instead of back to 0.

riperiperi commented 5 years ago

I guess I can look into validation (surely winforms should handle this), but this is definitely better than nothing. LGTM.