Skip to content

Releases: KillBait/AutoDrive_Course_Editor

AutoDriveEditor v1.1.0

25 Dec 13:09

Choose a tag to compare

Update to v1.1.0

  1. This update contains a huge amount of code changes, Some new bugs may appear.
  2. This version has a total UI overhaul in all area's. Any feedback is appreciated.

Added

  • Added Theme support. (48 Themes included by default)
    • User generated themes are supported.
  • Added customizable keybind support.
    • Added additional 25 keybinds.
  • Added movement widget
  • Added the ability to get map images direct from a maps zip file.
    • It will try to extract both the map/heightmap images from the maps zip file
    • A preview window will show the converted images for confirmation by user.
    • It will autodetect the appropriate folder name to save the files to.

Changes

  • Added basic log viewer, will get updates in future versions.
  • Added basic render manager to fix the remaining draw order issue's.
  • Complete UI overhaul
    • All custom UI elements support theme preferences.
    • Moved some menu options to button dropdown panels.
    • Re-arranged remaining menu items to a more logical order.
    • Replaced all icons with new SVG format variants.
    • Text panel at bottom of window can now be toggled on/off. ( off by default )
    • Moved all configuration buttons to be above map panel.
    • Swapped lower right Autosave + Map Info panels for buttons
    • Changed side panel buttons to a floating toolbar over the displayed map.
    • Each group of side panel buttons can be expanded/collapsed to save space
    • Editor preferences UI has been redone completely.
    • Renamed "Node Colours" tab in config to "Colours" and added more options.
    • Replaced ColorPicker from previous versions with my own implementation.
    • Added default curve type and priority to Curves preferences tab.
    • Added movement widget configuration screen with many configurable options.
    • Added Theme configuration screen.
    • Added Keybind configuration screen.
  • MapPanel code
    • Small reduction in memory usage of MapPanel.
    • Modified the background image drawing to use sub-pixel rendering.
    • No more jerky image movement while moving around the map.!
    • Fixed precision issue's that caused the grid to not align with the map image.
    • Fixed grid aligning issues with odd numbered snapping values.
  • Image Importing
    • Modified the DDSReader code to drastically reduce memory usage.
    • Swapped buffering of DDS image in memory to chunk loading.
    • NOTE: Slightly increases conversion times, but the trade-off is acceptable.
    • Tested multiple decode of upto 8192x8192 DDS Files with Xmx memory set at 1024MB.
    • Previous versions failed 100% of the time with XmX memory set at 1024MB.
    • Should no longer see the DDS Decode OutOfMemory error, Please report if you do.
    • Added progress bar to the DDS conversion, avoids the editor looking like it's frozen.
  • Node Height Calculation
    • Updated node height calculation from terrain, general improvement in accuracy.
    • Drastically reduces the chances of nodes being under the terrain, but
    • the trade-off is that they can be slightly higher than previous versions
  • Undo/Redo
    • Completely re-done the underlying code for undo/redo.
    • Any critical changes to a node network is now handled by only the SnapShot class.
    • Hopefully this kills the long-standing/hard to track down network corruption bug.
  • Curve changes.
    • Complete re-write of all curve code, added functionality, removed duplicate code.
    • Added CurveManager class to maintain all curve creation/removal.
    • Added preliminary support for registering other curve types.
    • No release ready examples, one development type is included.
    • Added a flip path direction button to curvePanel.
    • It will swap the start/end/control points to maintain the curve shape.
    • Combined all the current Bézier curve types into a single button.
    • You can now adjust the number of control points while previewing the curve.
    • Many curves can be active at the same time.
    • Curve panel will auto adjust to the currently selected curve
    • On curve commit, any existing nodes that overlap the preview nodes
    • will be used instead on generating new ones.
    • If multiple curves in progress, any curve can be cancelled/commited by
    • selecting any of the curves control nodes and pressing commit/cancel in
    • the CurvePanel
    • First control node will be automatically selected on new curve creation.
    • When adding a new control node, it will be automatically selected.
    • Last selected control node is remembered on button selection/deselection.
  • LinearLine Changes
    • LinearLine type can be changed while in progress using the assign shortcut key.
    • Linearline end points will now snap to any existing points close to it.
  • Added visual indicator to alignment buttons to show align axis
  • Added a confirm dialog to menu item "Clear List", avoids accidental deletions.
  • Updated Log4J to version 2.25.3
  • Removed all dependencies for ColorPicker.

Fixes

  • Fixed multi select edge case with curve control nodes.
  • Fixed in progress curves persisting after loading a different config.
  • Fixed create end node of linear lines not working.
  • Fixed decimal issues with PropertyChangeNumberFilter.
  • Fixed none fatal NullPointerException in EventTriggerNumberFilter.
  • Fixed incorrect search time being calculated for KDTree search.
  • Fixed many small rendering issues.

Localization

  • Added a lot of new strings to support the updated UI.
  • Removed a lot of unnecessary/redundant entry's.

AutoDriveEditor v1.0.9

05 Jan 12:52
89d9a17

Choose a tag to compare

Update to V1.0.9

Fixes

  • Fixed FS25 config crash when reading Parking Spots ( FS25 changed how vehicle ID's are stored in vehicles.xml )

NOTE:

  • No source code update has been pushed to master branch to avoid merge conflicts with the next release, it will be
    a major overhaul of the editor user interface. ( can supply changed files for v1.0.9 on request )

AutoDriveEditor v1.0.8

24 Jul 09:57

Choose a tag to compare

Update to V1.0.8

Fixes
- Editor not applying correct default window height when no config found.
- 'Display HeightMap' not working after heightmap import.
- 'Save Imported Image' not working.

AutoDriveEditor v1.0.7

25 Dec 18:03
12288da

Choose a tag to compare

Update to v1.0.7

Added

  • Added Freeform selection
      Right click on the selection button in "edit" Panel to toggle between regular
      and freeform, any other function that allows multi selection will use whatever
      selection method you set.
  • Added Ability to hide selected nodes/connections.
    • Added "Show/Hide" buttons in toolbar, hides user selected nodes/connections.
    • Added Transparency slider to Config, select how hidden they are ( 0 - 100% )
    • Added select/ignore hidden nodes/connection button (right click to toggle)
      • NOTE: This setting also effects the functionality of almost all
        of the 'Nodes' panel buttons, If something is not selecting, check this setting first
  • Added a Flip Connections button
    • Allows you to swap the direction of any connection, also supports multi-select
  • Added support for displaying and properly maintaining parking spots @rhaetional
    • IMPORTANT... only works for standard configs (not routeManager configs)
    • If a vehicles.xml is in the same folder as the config, it will read all the
      parking spot from each vehicle and visually display them.
      When saving a config, the vehicles.xml will be updated to reflect any
      changes to the node/marker order.
      For more info, see the issue section on GitHub (issue #30)
  • Added Menu option to move out-of-bounds nodes back into editable area @rhaetional
  • Added a recent files menu, stores the 10 previously loaded configs.
  • Added the currently used Autosave settings to the info panel.
  • Added help menu item containing a link for help on creating map images for the editor.
  • Added a 'Display' menu to allow turning off parking/marker icons and marker names.
  • Added safeguards against network corruption
    • As i have no re-producible cases, i have target the obvious places
    • A dialog will appear if triggered, please consider reporting if found
    • Safeguards should trigger before anything incorrect is committed

Changed

  • Grid size/max zoom settings are saved to/restored from the editors config for known maps.
  • MapPanel rendering improvements.
    • Configs with large amount of nodes will see the most speed increase.
    • Changed the way nodes are rendered to significantly reduce the z fighting
    • when nodes are close together and drawn connections overlap.
  • Added timers to node size buttons, can now single click or click + hold to adjust size.
  • Arrow pointers scale down when the distance between nodes cannot support their full size.
  • Replaced the overlapping nodes search function with a more optimised KDTree version.
    • Removes a possible Concurrency Exception when nodes are moved while scan in progress.
    • Previous versions used a brute force method, the number of searches was the total
      number of nodes squared, the performance hit was fine for a low quantity
      of nodes, but, on a large number of nodes it was astronomical.

      Old search function performance

      - 5000 node config, number of searches was 250,000 (5000²)
      - 70,000 node config, the number of searches was 4,900,000,000 (70,000²)

      Nearly 5 billion searches for a 70,000 node search!, this is why it took so long
      on large node configs, the search function had to be threaded otherwise the editor
      would be frozen until the search was finished, that could be 30+ seconds.

      Old vs New search times

      - Small config with 5,000 nodes (200ms old version, 17ms new version)
      - Large config with 70,000 nodes (42sec old version, 0.6sec new version)

  • Adjusted zoom in/out scaling, getting to max zoom requires much less wheel scrolling.
  • FileChoosers used for loading anything are now Read-Only to avoid accidental renaming.
  • Moved "Rotate nodes" button to the "Nodes" Panel.
  • Added keyboard shortcut for moving nodes ( 'M' toggles move on/off ).
  • Changed selection preview of to reflect node and connection type changes
  • Updated Log4J to v2.20.0

Fixed

  • Fixed the long-standing OutOfBounds exception on restoring nodes
      Finally found a re-producible case by sheer luck during testing before release
      May help with the rare cases on config corruption
  • Fixed a macOS file separator issue in RoutesXML @rhaetional
  • Fixed 'out of bounds error' calculating heightmap position on high map scales.
  • Fixed edge case where the displayed map image could be moved beyond the edge of mapPanel.
  • Fixed mismatched map image/displayed node network scale when editor window is resized.
  • Fixed edge case for config corruption in LinearLine undo/redo.
  • Fixed known map/node size not being applied when loading a routes XML.
  • Fixed unable to zoom in/out due to setting max zoom to less than current.
  • Fixed changing autosave max interval not enabling apply buttons.
  • Fixed changing autosave interval not applying the new value correctly.
  • Fixed missing overlap check with add node undo/redo.
  • Fixed possible config corruption when deleting a node that overlapped other nodes.
  • Fixed short linear lines not setting start node flag properly to subprio node.
  • Many other small fixes i forgot to document

    Happy Holidays 2023 / New Year 2024

AutoDriveEditor v1.0.6

15 Mar 05:05

Choose a tag to compare

Update to V1.0.6

Added
- Preview while multi selecting, can see what nodes are selected while dragging the mouse

Fixed
- Fixed inverted selection on grid snapping button.
- Fixed Cut/Copy/Paste not working due to non updated menu items.
- Fixed Cut/Copy/Paste buttons deselecting the current button.
- Fixed Rotation centre offset changing/control node jumping on Undo/Redo.
- Fixed crash due to missing entries in key (EditorConfig.xml)

Localization
- Removed redundant entries
- Added new entries

AutoDriveEditor v1.0.5

11 Mar 15:04

Choose a tag to compare

Update to V1.0.5

Added

  • Rotation button added to sidebar, replaces the temporary menu based solution.
    • Node selection works like the other buttons, click drag the diamond node to rotate.
    • Right-click the rotation icon to set the number of degree snapping.
  • Grid option buttons added to sidebar, replaces the menu solution
    • Grid on/off button for displaying the grid, right click to open grid settings.
    • Grid snapping on/off button, can be right-clicked to toggle subdivision snapping.
    • Keyboard shortcuts remain the same, G (Grid On/Off), S (Snapping On/Off), D (SubDivision On/Off).
  • Added config option to lock the toolbar ( no more accidental moving )
  • Added version history window.

Changes
- Adjusted the location priority when trying to load a mapImage or heightMap.
- Removed the now redundant rotation menu.
- Removed the now redundant grid menu.
- Adjusted how a configs XML is parsed to create the node network, resulting in
a massive loading performance increase for networks with large amounts of nodes
and lots of incoming/outgoing connections.

  e.g a test config i have with 75,797 nodes ( ~170,000 incoming/outgoing connections )
      v1.04 - 89.2 seconds to create the node network,
      v1.05 - 1.4 seconds to create the same node network!!

Fixed
- Added a missing class file i forgot to commit. ( EventTriggerNumberFilter.java )
- Fixed Copy/Paste copying control nodes by accident.
- Fixed 'Show Heightmap' menu not switching back to map image if using the default image.
- Fixed Crash on startup if no EditorConfig.xml was found.
- Fixed failing to load a Routes XML due to a parsing error.
- Fixed node focus keybinding 'F' working inconsistently.
- Fixed edge case where linear lines created an end node by mistake,

Localization
- Removed redundant entries
- Added new entries

AutoDriveEditor v1.0.4

25 Nov 15:25

Choose a tag to compare

Update to v1.0.4

Added

  • Colour tab added to config menu, changing the colours of nodes/connections is now possible.
  • Added functionality to Linear lines
    • (Configurable) Can now automatically create an end node if you do not select one.

Changes

  • Major rework of the GUI code
    • Moved the GUI button functionality out of main code and into their own classes, fixes a
    • multitude of odd behaviours with buttons and mouse clicks.
  • (Configurable) Connection arrows can now be drawn as solid or just lines.
  • Added keyboard shortcut "F", will centre selected node in viewport.
  • Added Linear Line Tab to config window
    • Added Toggle option for connections having solid arrows. (on by default)
    • Added Toggle to create end node if none selected.
    • Moved Linear Line Spacing option from general tab to Linear Line Tab.
  • Changed how known maps are stored in Editor.xml, old configs will be updated on next save
  • Updated default en_US locale file
  • Updated Log4j to v2.19.0

Bug fixes

  • Editor will no longer crash if a missing locale string is found, will show an error in log file.
  • Fixed continuous zoom in/zoom out causing the actual zoom levels to drift over time.
  • Fixed Linear Line preview not showing correctly if subprio was selected.
  • Fixed linear line end position not updating on zoom in/out
  • Fixed node locations having excessive decimal places ( now limited to three, same as AutoDrive )
  • Fixed multiple curve GUI issues.
  • Fixed in-progress curve draw order issue's.
  • Fixed curve control point visibility.
  • Fixed edge case with movement scaler not applying to curves control nodes.
  • Fixed issue where certain types of connections were being rendered as Dual connections in error.
  • Fixed inconsistent interpolation nodes Y values on new linear lines.
  • Fixed overlap warnings and number of overlap nodes not updating properly
  • Fixed various potential null pointer exceptions.

AutoDriveEditor v1.0.3

19 Jun 17:57

Choose a tag to compare

Update to v1.0.3

Bug Fixes

  • Fixed downloading of map images and heightmaps from GitHub repository

AutoDriveEditor v1.0.2

19 Jun 12:26

Choose a tag to compare

Update to v1.0.2

Changes

  • Reworked version update window, it now displays the updates release notes.
    • It is active, but you won't see it until the next update is released.

Bug fixes

  • Fixed importing DDS files not working.

AutoDriveEditor v1.0.1

08 Jun 13:04

Choose a tag to compare

Update to v1.0.1

Bug fixes

  • Fixed "Save Successful" dialog appearing for autosave and merge backups.
  • Fixed autosave and merge nodes switching the active config to the backup.
  • Fixed Editor titlebar not showing the map name after certain operations.