Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
631 changes: 354 additions & 277 deletions D2ExcelPlus.dproj

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions D2ExcelPlus.dproj.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<BorlandProject/>
Binary file added D2ExcelPlus.identcache
Binary file not shown.
Binary file modified D2ExcelPlus.res
Binary file not shown.
115 changes: 59 additions & 56 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,59 @@
# D2Excel Plus 0.92
(C) 2019 Cjreek

An editor to edit Diablo 2 (LoD + Resurrected) textfiles.

[Download Latest Version](https://github.com/Cjreek/D2ExcelPlus/releases/tag/D2EP092)

### Features:
- Open a whole folder (workspace) with all your .txt files for easy access
- Drag&Drop files into the program to load them
- Edit multiple files at once (tabbed layout)
- Undo/Redo
- Multiselect/Multiedit
- Search functionality
- Fix the first X columns to keep track of the current row when scrolling to the right
- Alternating row colors for readability
- delete/append/insert and copy rows
- Handy shortcuts for editing:

| Shortcut | Functionality |
| ----- | ---- |
| Escape | Cancel changes while editing a cell |
| Delete | Empty cell |
| Ctrl + Delete | Delete selected row |
| Ctrl + + | Increment cell value by 1 |
| Ctrl + - | Decrement cell value by 1 |
| Ctrl + C | Copy cell contents to clipboard |
| Ctrl + X | Copy cell contents to clipboard and empty selected cell (cut) |
| Ctrl + V | Paste clipboard to selected cell |
| Ctrl + Z | Undo |
| Ctrl + Y | Redo |
| Shift + Mousewheel | Scroll horizontally |

### Files
D2Excel Plus saves some settings in the following files:
```sh
%appdata%\D2ExcelPlus\settings.ini
```
%appdata% (usually) refers to the following path:
```sh
C:\Users\<Username>\AppData\Roaming
```

### Changes
##### 0.92
* [FIX] Fixed overwriting too many cells when pasting (i.e. 2 cells where copied, 3 where pasted)
* [FIX] Fixed not being able to open multiple files with the same file name
* [FIX] Locking/unlocking columns now preserves the selection and cursor position instead of jumping to the top left
##### 0.91
* [FEATURE] Added undo/redo functionality
* [FEATURE] Added multiselect of cells supporting copy&paste and other operations on cells
* [FIX] Fixed a bug causing files to be saved in an invalid way, causing the game to crash - resaving with the current version should fix those files.
##### 0.9a
* [FIX] Grid contents now update continuously while scrolling
##### 0.9
* Initial Release
# D2ExcelPlus - Personal Fork

Original project: **D2Excel Plus 0.92** by **Cjreek**

This repository is a personal fork of Cjreek's D2ExcelPlus project.
It has been modified for my own workflow and usability preferences, while keeping the original project structure and purpose.

## Credits and Copyright

- Original project and original code: **Cjreek**
- This repository is a **fork / modified version** for personal use
- Copyright for the original project remains with **Cjreek**
- Please refer to the original LICENSE file for the base project's license terms

## About This Fork

This fork keeps D2ExcelPlus as a Diablo 2 text file editor, but includes several UI / workflow changes and quality-of-life improvements.

### Fork-specific changes

- Added zoom inout function with realtime ui scailing
- Added toggle lock row/columns
- Added or expanded context-menu operations for rows and columns

=======
- Added resize-related utilities such as **Resize To Fit this columns**
- Added fill utilities such as **Fill Cells** and **Increment Fill**
- Added math operations for selected cells:
- Multiply
- Divide
- Add
- Subtract
- Improved handling for larger files during zooming / redraw
- Added convenience shortcuts for faster table editing

## Shortcuts

| Shortcut | Function |
| --- | --- |
| Escape | Cancel changes while editing a cell |
| Delete | Empty selected cell(s) |
| Ctrl + Delete | Delete selected row |
| Ctrl + C | Copy |
| Ctrl + X | Cut |
| Ctrl + V | Paste |
| Ctrl + Z | Undo |
| Ctrl + Y | Redo |
| Shift + Mousewheel | Scroll horizontally |
| Ctrl + + | Zoom in |
| Ctrl + - | Zoom out |
| Ctrl + 0 | Reset zoom |
| Ctrl + R | Resize To Fit This Column |
| Ctrl + H | Hide Workspace toggle |
| Ctrl + W | Close window |

## Notes
I don't know anything about programming, and since I changed this for personal use, there might be many errors.
=======

14 changes: 12 additions & 2 deletions uMain.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ object ExcelPlusMainForm: TExcelPlusMainForm
Font.Name = 'Tahoma'
Font.Style = []
Menu = mmMain
OldCreateOrder = False
ShowHint = True
OnClose = FormClose
OnCloseQuery = FormCloseQuery
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object spSplitter: TSplitter
Left = 200
Expand All @@ -34,6 +32,7 @@ object ExcelPlusMainForm: TExcelPlusMainForm
Align = alLeft
BevelOuter = bvNone
TabOrder = 0
ExplicitHeight = 486
object tvWorkspace: TTreeView
AlignWithMargins = True
Left = 3
Expand All @@ -49,6 +48,7 @@ object ExcelPlusMainForm: TExcelPlusMainForm
TabOrder = 0
OnCollapsing = tvWorkspaceCollapsing
OnDblClick = tvWorkspaceDblClick
ExplicitHeight = 480
end
end
object pcFiles: TPageControl
Expand All @@ -70,6 +70,8 @@ object ExcelPlusMainForm: TExcelPlusMainForm
OnContextPopup = pcFilesContextPopup
OnMouseLeave = pcFilesMouseLeave
OnMouseMove = pcFilesMouseMove
ExplicitWidth = 627
ExplicitHeight = 484
end
object Panel1: TPanel
Left = 0
Expand All @@ -78,6 +80,7 @@ object ExcelPlusMainForm: TExcelPlusMainForm
Height = 45
Align = alTop
TabOrder = 2
ExplicitWidth = 832
object sbRedo: TSpeedButton
AlignWithMargins = True
Left = 310
Expand Down Expand Up @@ -2418,6 +2421,13 @@ object ExcelPlusMainForm: TExcelPlusMainForm
Caption = 'Close all'
OnClick = miCloseAllFilesClick
end
object miWorkspaceSeparator: TMenuItem
Caption = '-'
end
object miToggleWorkspaceMenu: TMenuItem
Caption = 'Hide Workspace'
OnClick = miToggleWorkspaceClick
end
end
object odFolder: TFileOpenDialog
FavoriteLinks = <>
Expand Down
Loading