Releases: OpenLoco/ObjectEditor
ObjectEditor 3.9.0
What's Changed
- Fixed a couple of issues with async tasks making the UI unusable/incorrect, by @LeftofZen in 793c456
- Added a
Delete
button to local object views, allowing them to be deleted from disk. Note: there is no confirmation dialogue box for this! I'll add one in future, but you've been warned! Requested by Discord user EmperorDarthSidious. By @LeftofZen in 70e81c5 - Allow saving objects as
Vanilla
. This technically shouldn't be allowed but it works around an annoying DAT requirement where dependent objects need checksums if linking to a custom object, which proliferates duplicate objects like the TRACKST.dat issue. You'll need to toggle this on in the settings first though. I'm sorry in advance @duncanspumpkin. By @LeftofZen in #142 - Fix multiple issues with vehicle sounds not saving correctly. This was only possible by Discord user BigSauce reporting these and debugging with me - thanks!
Viewmodels
As mentioned in https://github.com/OpenLoco/ObjectEditor/releases/tag/3.8.0, Viewmodels are how the UI interacts with the actual data for DAT objects. Long story short - I've implemented the last of the necessary ones! This means all object types should be able to have all fields edited! In this release the specific viewmodels added were:
- Track and TrainStation: 97860ca
- Region: 758a43e
- StreetLight, TrainSignal: 65e2798
- Climate: 1effec1
- Steam, Road, RoadStation: d722ffc
Full Changelog: 3.8.1...3..9.0
Future
I figured a "what's in the pipeline" section could be interesting to a few people, so here are the things that have all been worked on recently but are not yet complete - may or may not make it into the next release:
Better dependent object support:
- Copying lists of dependent objects between regions/scenarios/saves, and populating them from a folder of objects (#145, #146)
- Show better info for them in UI (#140)
- Better search/edit/find (#146
Object service
- Full scenario support (upload/download) (#111)
- Allow editing of data in the service (so people can start updating tags, adding metadata, etc)
- To facilitate this, adding 'user accounts' so people can 'register' as authors/editors. We don't want any old person to be able to edit this data
Misc
- Object encoding - currently the editor only saves objects in "no encoding" format, which makes them bigger in filesize and also not binary-equal with the original object, so it is very hard to write unit tests to check if the load/save works correctly. Adding in the encoding methods and g1 encoding will mean the editor can save objects as binary-equal to vanilla ones, making testing easier and file size smaller.
ObjectEditor 3.9.0 (beta2)
3.9.0-beta2 tag 3.9.0-beta2
ObjectEditor 3.9.0 (beta1)
Doing a quick release for BigSauce to test making bridges
Object Editor 3.8.1
What's Changed
Another release of shame. Lots of bug fixes in this one:
- Make the "Download" folder browser in the settings use a folder browser, not a file browser, by @LeftofZen in b604ff2
- Add ability to view/edit ProducedQuantity property on Building objects, by @LeftofZen in d07fa6c
- There exist a few annoying binding issues in Building and Airport objects, and these needed more manual adjustments to make them work as expected, by @LeftofZen in a261766
- Now that some objects have editable lists (even though the size may be fixed), a condition for the UI to work for this is the object type must have a default constructor. Some of these didn't exist, so I've added the missing ones for Building/Industry/Airport, which should prevent crashes here, by @LeftofZen in 1e8882e
Full Changelog: 3.8.0...3.8.1
Object Editor 3.8.0
What's Changed
UI
- Added a dialog window to view and edit program settings. This lets you edit the program settings in-editor rather than manually in the text file like previous. Accessible from the menu
Settings -> Edit settings
. Done by @LeftofZen in #134 - Added a "Download new version" button to take you straight to this page when new versions are released. Of course, the button won't be visible until the next release since its visibility is conditional on there being a newer release. Done by @LeftofZen in #135
- Not UI specifically, but now when viewing objects from the object service in the
Online
tab, these objects will automatically save to your download folder, and they'll be the original DAT file, not the uncompressed version you get from the "Download" button. They will have randomly assigned names though (to avoid the duplicate DAT name issue), so be warned. Done by @LeftofZen in 8e18cf0
Viewmodels
A "viewmodel" is how the UI interacts with the actual data in the object editor. Currently all objects except Vehicle and TownNames use an auto-generated one, which works for basic properties but it doesn't work for complex properties and arrays/lists/collections.
Adding handcrafted viewmodels means we can specify exactly how the UI should look for every part of any object, and this means support for all those previously uneditable array properties. Airport, Industry and Building objects are 3 of the most complex objects, and all got dedicated viewmodels!
Please note though, some of these objects, especially Airport, contain a lot of data and can load slowly in the UI when you click on one to preview. It should only take 5-10 seconds, but it is slower than previous versions.
- Add Airport viewmodel, by @LeftofZen in #128
- Add Industry viewmodel, by @LeftofZen in #129
- Add Building viewmodel, by @LeftofZen in #130
Bug fixes
- Fix bug where final image with DuplicatePrevious went out of bounds by @LeftofZen in #132
- Fix a crash when there are non-object-dat files in the folder you give it to index, by @LeftofZen in 9bcc8ba
Object Service
You can now query for a list of scenarios at /scenarios/list
. Note there are no custom scenarios, only a few vanilla ones. This part of the service needs more work, but lots of progress has been made already! Downloading of them will come next as well.
- Add scenario tables and list route, by @LeftofZen in #127
Full Changelog: 3.7.0...3.8.0
ObjectEditor 3.7.0
What's Changed
- Add music UI, loading/saving/importing/exporting features, by @LeftofZen in #125
- Add better error message for failed client uploads, by @LeftofZen in 839e6ef
- Fix vehicle designed year being set to the obsolete year, by @LeftofZen in 29d4b0f
Full Changelog: 3.6.0...3.7.0
Object Editor 3.6.0
What's Changed
- Scenario/savegame/landscape data visualisation by @LeftofZen in #121
- Updates to TownNames object, and viewmodel cleanup by @LeftofZen in #123
- Add source game for openloco, improve logging, fix crash by @LeftofZen in #124
- Small UI reshuffle in object viewmodel, placeholders for future content in menu, by @LeftofZen in b0a3bfd
- Fix bug meaning only 'Custom' could be written as the SourceGame type in S5Header by @LeftofZen in 166b38f
- Don't crash if an object fails to load partially or entirely from online by @LeftofZen in a0405c7
Note, the scenario/savegame/landscape viewer is view-only at the moment. Clicking save does nothing as I haven't yet implemented this functionality. Coming whenever I add it!
Full Changelog: 3.5.0...3.6.0
Object Editor 3.5.0
What's Changed
-
Add palette swatch info (no user-facing changes) by @LeftofZen in #108
-
Add object sources for steam/gog and openloco by @LeftofZen in #107
-
Show origin and bounding box on images (p1) by @LeftofZen in #117
-
Show origin and bounding box on images (p2) by @LeftofZen in #119
-
Copy back UI changes to vehicle object by @LeftofZen in #120
-
Add scenario route (Object Service) by @LeftofZen in #114
-
Implement scenario list (Object Service) by @LeftofZen in #116
Full Changelog: 3.4.1...3.5.0
Object Editor 3.4.1
What's Changed
- Allow constructing new array elements in vehicle object properties by @LeftofZen in ed6fae3, 20a5c2e
- Allow arbitrary images to be imported to a vehicle by @LeftofZen in 74cc120
- Vehicle property name updates by @LeftofZen in 2ebde21
- Show vehicle animation headers in the UI by @LeftofZen in 39113a3
Note: if you are reading this message, the live object service is not currently updated with these changes, so expect the "Online" tab in the editor to not function/not download anything. I will remove this message when the object service is updated. If you really want to download objects, use version 3.3.0.
Full Changelog: 3.3.4...3.4.1
Object Editor 3.4.0
What's Changed
- Recognise the steam/gog file variants in the object service (previously it thought gog files were custom) by @LeftofZen in #103
- Other miscellaneous object service improvements by @LeftofZen in #103
- Add ability to save modified G1.dat by @LeftofZen in #105
- Improve string table view model by @LeftofZen in #105
- Implement string table saving (broken since Avalonia rewrite) by @LeftofZen in #105
- Bug fixes that meant BGR images could not be saved by @LeftofZen in #105
- Full vehicle object editing by @LeftofZen in #105
Note: if you are reading this message, the live object service is not currently updated with these changes, so expect the "Online" tab in the editor to not function/not download anything. I will remove this message when the object service is updated. If you really want to download objects, use version 3.3.0.
Full Changelog: 3.3.0...3.4.0