22 Commits

Author SHA1 Message Date
Kareem Horstink 1c6848bb9e ci: add architecture suffix to binary names 2026-07-01 08:27:11 +00:00
Kareem Horstink ad7860161a chore: explicitly set Core project as Library output type 2026-07-01 08:17:32 +00:00
Kareem Horstink fa679e441e ci: add rolling draft release workflow 2026-07-01 08:07:35 +00:00
Kareem Horstink 8bd53587d1 add publish scripts (PowerShell + bash) for single-command cross-platform builds 2026-07-01 06:05:16 +00:00
Imrayya 817b476c5f Update known issues in README
Remove mention of Plex Transcoder subtitle issues.
2026-06-26 00:32:35 +07:00
Imrayya 02176d0d7e Revise instructions in README
Updated CLI and GUI publishing instructions for self-contained builds on various platforms
Updated the CLI and GUI usage guide
2026-06-26 00:28:03 +07:00
Kareem Horstink 1c5d2e3934 fix: wire up Convert button Click handler (was never attached) v0.14.1 2026-06-25 17:04:40 +00:00
Kareem Horstink 9b7b8df874 fix: wire up GUI browse buttons, make text boxes editable, pause CLI on error, register codepage provider
GUI:
- Attach Click event handlers to browse input/output buttons (were defined but never wired up)
- Remove ReadOnly=true from input/output text boxes so users can type or copy paths

CLI:
- Make Cli.Run return bool to signal errors
- Only pause with Console.ReadLine() when an error occurs (not on success)
- Fix default case to return true

Core:
- Add System.Text.Encoding.CodePages package for CP1252 SRT file support
- Call Encoding.RegisterProvider(CodePagesEncodingProvider.Instance) before reading files
v0.14
2026-06-25 16:46:05 +00:00
Imrayya 40ce11d068 feat: modernize to .NET 8, split into Core/Cli/Gui (#3)
* feat: modernize to .NET 8, split into Core/Cli/Gui projects

Core: shared converter library (cross-platform)

Cli: console app with CLI args (cross-platform)

Gui: WinForms app (Windows only, uses Core library)

- Split into 3 projects sharing ConvertSRTto3DASS.Core

- Rewrite SrtConverter with clean public API

- Add CLI entry point with stdlib argument parsing

- Redesign GUI with GroupBox layout, flat buttons, modern fonts

- Update README with publish commands

* feat: add drag-and-drop to GUI

* refactor: rename GUI controls to proper PascalCase identifiers

---------

Co-authored-by: imrayya <imrayya@users.noreply.github.com>
2026-06-24 18:02:05 +07:00
imrayya 743900f2f7 chore: update to .NET 4.8, clean ownership, rewrite README
- Target .NET Framework 4.8 (both projects + App.config)
- Remove Stanley Black & Decker references, set ownership to imrayya
- Update copyright year to 2021-2026
- Remove stale project properties (SignAssembly, RepositoryType, etc.)
- Rewrite README: professional docs, usage guide, features, contributors, disclaimer
- Update LICENSE year range
2026-06-24 09:41:44 +00:00
Imrayya fb75071c44 Merge pull request #2 from kaiju466/feature/kaiju466/add-cli-options-and-3d-mode
feat: add CLI options and support SBS/OU/Anaglyph + experimental GUI
v0.13.0
2026-06-24 14:46:32 +07:00
Emrick, Joshua 580c0a534d Merge branch 'feature/kaiju466/add-cli-options-and-3d-mode' of https://github.com/kaiju466/SRTto3Dsubtitles into feature/kaiju466/add-cli-options-and-3d-mode 2026-06-15 10:00:27 -04:00
kaiju466 ea0574ffb2 Update README.md 2026-06-15 09:56:57 -04:00
Emrick, Joshua 5e4e907a2c Add resolution-aware subtitle scaling and configurable layout defaults
- replace fixed RG subtitle bottom positioning with resolution-scaled Y offset
- add centralized ScaleX, ScaleY, and ScaleFont helpers
- scale RG horizontal eye offset based on output width
- scale font size, SBS margins, and OU margins based on output/base resolution
- change default baseline behavior from legacy 384x288 to tunable base resolution
- add BaseResX/BaseResY options with 1280x720 defaults
- add CLI options for:
  - --baseresx
  - --baseresy
  - --bottomoffset
  - --sbssidemargin
  - --outopmargin
  - --verticalmargin
- replace remaining layout magic numbers with configurable options:
  - BottomOffset
  - SbsSideMargin
  - OuTopMargin
  - VerticalMargin
  - FontSize
  - OffsetX
- preserve original numeric defaults for layout settings when not specified (based off of my personal experiences and preferences.
- update WinForms designer to expose new converter settings
- update WinForms code-behind to pass new options to Converter.Main
- prefill GUI controls with converter-aligned default values
- improve mode-based UI enable/disable behavior for SBS, OU, and RG settings
- prepare shared-defaults approach via ConverterDefaults for keeping GUI and converter defaults in sync
2026-06-15 09:50:26 -04:00
Emrick, Joshua 470e23291f feat: add red-green 3D mode and Windows Forms GUI
- add rg (red-green) anaglyph subtitle mode with configurable horizontal offset
- extend CLI mode handling to support sbs, ou, and rg
- add offsetx option for anaglyph subtitle positioning
- add Windows Forms GUI project for configuring and running conversions
- add file pickers for input/output paths in the GUI
- add GUI controls for mode, resolution, font size, and offset
- add status output and mode-aware UI behavior in the GUI
- update mode selection handling to support user-friendly display labels
2026-06-09 11:16:53 -04:00
Emrick, Joshua 327bc071aa feat: add CLI options and support SBS/OU 3D subtitle modes
- add named CLI arguments for mode, resolution, font size, and output path
- support stereo modes: sbs (side-by-side) and ou (over-under)
- write output .ass files next to the input file by default
- add console logging, usage help, and argument validation
- update ASS style generation for SBS and OU layouts
- rename OU styles to Top and Bottom
- fix HTML font color conversion to proper ASS color ordering
- refactor runtime settings into an Options class

Side Note: As a hearing impared person, I love this project and am glad it exists and I dont have to start from scratch.
2026-06-09 09:34:24 -04:00
Imrayya 9d51c5f554 Merge pull request #1 from fabio-noga/utf8
Add UTF-8 support and small fix
2025-10-19 13:16:15 +02:00
Fábio Nogueira b3f9bfb074 Fix dialog line when it's a number & Fix new line
Fix dialog line when the dialog is just a number | Fix new line in dialog that happens on the same line
2025-10-16 18:51:28 +01:00
Fábio Nogueira 28f9e4f8f9 Add UTF-8 support and small fix
that j==1 comes from an issue found while using this where a subtitle would be just a number (for example "2025") and it would pass the int.TryParse(line, out int k) check. With j==1 it always knows that it should be a timestamp
2025-10-13 20:31:58 +01:00
Imrayya 4ef16453c2 Updated Readme
Spell check some stuff too
v0.11-alpha
2021-03-23 17:51:11 +01:00
Imrayya d32816489c Added translation of .srt formatting
Add support to translate bold, italic, underlining and font color (font color may be wrong, I have yet to test it extensively)
2021-03-23 17:50:09 +01:00
Imrayya 0efbecc80a Initial commit v0.1-alpha 2021-03-17 11:58:53 +01:00