Skip to content

DS Map Studio 2.2 + all features of my fork - #9

Open
AdAstra-LD wants to merge 106 commits into
Trifindo:masterfrom
AdAstra-LD:master
Open

DS Map Studio 2.2 + all features of my fork #9
AdAstra-LD wants to merge 106 commits into
Trifindo:masterfrom
AdAstra-LD:master

Conversation

@AdAstra-LD

@AdAstra-LD AdAstra-LD commented Jun 23, 2021

Copy link
Copy Markdown
  • New: 'PDMSAP Split' --> allows splitting a big PDSMAP into smaller PDSMAPs, one per Area (also changed data structure of Area indices to TreeSet, in order to automatically sort them).

  • New: 'Export groups' --> export multiple map models as one.

  • New: Button to view every export group of the current PDSMAP, listing the location of each map in each group.
    (((TODO: The export group center should be unique for each export group, which... is something I haven't implemented yet.)))

  • New: More user control over RGB settings for lights L0, L1, L2 and L3 [Tileset Editor].

  • New: Added tile Z offset [Tileset Editor].

  • New: "Duplicate Plate" button in the BDHC and BDHCAM editors.

  • New: two buttons that start the full map conversion chain. OBJ -> IMD -> NSBMD -> NSBTX, for either "all maps" or for the "active map" only.

  • New: option in the OBJ Export dialog that enables exporting maps both separately and joined.

  • New: rudimentary animated status bar that tells you when the GUI is busy opening/saving a map or splitting the PDSMAP into areas.

  • New: the status bar now also tells you the ID of the tile you selected and its model name.

  • New: keyboard shortcuts for the layer selector. Clicking the mouse wheel switches from single-layer mode to 'all layers except the selected one'. Pressing the backslash '' key enables all layers.

  • Changed: added an extra mapping layer.

  • Changed: different default settings of NSBMD and IMD export dialogs

  • Changed: saving and opening a map uses a separate thread

  • Changed: bigger "Import Map" Dialog

AdAstra-LD and others added 30 commits December 31, 2020 04:03
- Added an extra mapping layer
- Added two new buttons that start the full map conversion chain. OBJ -> IMD -> NSBMD -> NSBTX, for either "all maps" or for the "active map" only.
- New option in the OBJ Export dialog, that enables exporting maps both separately and joined
- New shortcuts for the layer selector. Clicking the mouse wheel switches from single layer to 'all layers but the selected one'. Pressing the backslash '\' key enables all layers.
- Added export groups, a new feature that allows to export multiple maps as one. You will find a new button to view every export group of your PDSMAP, listing the location of each map in each group.
- Added the 'split map' feature, which allows to split a big PDSMAP into smaller PDSMAPs per Area.
- Added an animated status bar that tells you when the GUI is busy opening/saving a map or splitting the PDSMAP into areas.
- The status bar now also tells you the ID of the tile you selected and its model name
- New "Duplicate Plate" button in the BDHCAM editor
- Fixed background image staying on screen even in the 3D view and not scaling properly (thanks to Trifindo)
- Changed default settings of NSBMD and IMD export dialogs
- Changed data structure of Area indices to TreeSet, in order to automatically sort them
- Saving and opening a map starts a new Thread
- Bigger "Import Map" Dialog
- Fixed AdAstra BW2 Tileset
also new Platinum Tileset 7 by Jiboule
- Fixed minor grammar mistake [Splitted -> Split]
- Inverted if logic in BdhcamCameraDisplay class
- fixed "startsWith" check on exportgroupCenterTag in MapMatrix class
- BDHC plates can be duplicated
- BDHC plates now appear slightly above the ground in the 3D Display
Set minimum screen size
- Added RGB settings for Diffuse, Ambient, Specular and Emission lights [L0, L1, L2, L3]
- Added a couple helper methods to TilesetIO class
- Renamed imd\notes\Material class to 'ImdMaterial'
- Minor refactor for the sake of clarity °°
Trinsic64 and others added 30 commits July 18, 2026 00:17
Update Jogamp to recent version
Pointed linux install script at adastra version 2.2.2
 - minor thing still to fix
The 2.2.2 release zip has no top-level folder, so extract into a
versioned directory explicitly. Fixes the icon and Exec paths left
pointing at the old 2.2 directory after #6, and derives all paths
from a single VERSION variable.
Fix IndexOutOfBounds exception when importing certain OBJs
Follow-up to #7

The bounds guard silently dropped face groups when
material indices exceed the parsed face arrays. Print a diagnostic
so models importing with missing geometry leave a trail.
FlatLaf 3.7.2 + Update File Browser Dialog
…tion (#10)

Resolved conflicts keeping FlatLaf 3.7.2 and SystemFileChooser from the
native file dialog rework (#9), and the fileTree libs dependency.
Converted the incoming tile metadata dialogs in MapProjectActions from
JFileChooser to SystemFileChooser to compile against the post-#9 API.
Remove the miglayout jars from libs (Maven Central supplies 5.0; the
javadoc and sources copies were even bundled into the fat jar) and the
unused flatDir repository.
Deliberate changes on top of the merged toolset:
- Layer up/down buttons move from the tools toolbar to the bottom of
  the layer selector.
- Move Camera, Zoom Camera and Fit Camera join the View group next to
  the view toggles.
- In the 2D map view, Shift+drag now starts a rectangle selection from
  any tool (additive, like the rectangle select tool). Camera pan and
  wheel zoom move from Shift to Ctrl; the selection tools keep Ctrl
  for add/remove, so Ctrl pans only outside them.
Middle click in the Draw and Clear tools now flood fills only inside
the active selection, using the selection mask as the fill boundary;
clicking an unselected cell does nothing. The undo state is only
pushed when a fill actually happens.
The collision defaults panels in the tileset editor and tile list
showed generic "Layer 0/1" headers; use the same per-game layer names
as the collisions editor (Type/Collision for DPPt and HGSS, the
terrain/height/flags set for BW), via a shared lookup in
CollisionTypes.
- Dragging from any multi selected tile now drags the whole group and
  drops it in tileset index order (reuses the editor-mode group drop;
  dropping on All Tiles unsorts the group). A plain click on a selected
  tile still clears the selection, on release.
- Shift + drag draws a rubber band that selects the tiles it touches;
  Shift + click selects the range from the current tile to the click.
- The drag ghost shows an xN badge while moving a group.
- In the 2D map view, holding Shift hides the cursor tile preview to
  signal that a selection, not a draw, is in progress.
Opening or creating a map now deselects immediately: the map view
selection (including any pending paste or floating move) and the tile
list multi selection both reference the outgoing map and tileset, so
they are released before the new project loads.
…racking

- New AreaSelectionPanel: rendered map matrix with area color overlays,
  auto-fit scaling, Ctrl+wheel zoom at cursor, middle-button panning and
  click-to-toggle areas
- Export NSBTX and Split PDSMAP by Area now use the visual area picker
- NSBMD-style progress dialog for the PDSMAP area split with per-area
  status, counts and error details
- Deduplicate the four export dialogs into shared AreaExportDialog and
  FileConversionDialog bases plus a FolderPickerPanel widget; remove the
  stale FormDesigner .jfd files of the now hand-written dialogs
- Fill in and correct DP/Pt and HGSS terrain type labels; label the
  HGSS collision byte's footstep sound materials
- Rename the BW/B2W2 collision editor layers to match the actual data
  layout (slope normal, height index, behavior, flags, diagonal) and
  label the behavior values and flag bit combinations
- Mark values with no known effect as Unused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants