Skip to content

Commit

Permalink
readme and config
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWillard committed Aug 6, 2020
1 parent 2043c81 commit 7693855
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ PaaPhotoshopPlugin is a Photoshop File Format Plugin for opening and saving PAA
# Installation

## Windows
Move the `PaaFormat.8bi` into `<Photoshop Installation Directory>\Plug-ins\`.
- Download the latest `PaaFormat.8bi` from https://github.com/gruppe-adler/PaaPhotoshopPlugin/releases.
- Move the `PaaFormat.8bi` into `<Photoshop Installation Directory>\Plug-ins\`.

<!---
## MacOS
Move the `PaaFormat.plugin` into `Applications/Adobe Photoshop/Plug-ins/`.
--->

# Features
- `Open`, `Open As` menu commands can be used to read `*.paa` files.
Expand All @@ -22,3 +25,15 @@ Move the `PaaFormat.plugin` into `Applications/Adobe Photoshop/Plug-ins/`.
- As per the PAA file format specification only images where the height and width is a power of 2 (`2^n`) are supported.
- Only the "RGB Color" image mode is currently support.
- Only the DXT1/DXT5 PAA Formats are currently supported.

# Dependencies
* [Adobe Photoshop SDK](https://console.adobe.io/downloads/ps)
* [grad_aff](https://github.com/gruppe-adler/grad_aff/tree/dev)

# Building
- Download and unpack the latest [Adobe Photoshop SDK](https://console.adobe.io/downloads/ps)
- `git clone` this repository into `adobe_photoshop_sdk_[version]/pluginsdk/samplecode/format`
- Build and install [grad_aff](https://github.com/gruppe-adler/grad_aff)
- Set the environment variables `GRAD_AFF` and `GRAD_AFF_DEBUG` to the directory where you installed grad_aff
- Set the environment variable `PS_DIR` to your Adobe Photoshop installation directory
- Open the `PaaFormat.sln` with Microsoft Visual Studio 2019 or later and build the solution
8 changes: 4 additions & 4 deletions win/PaaFormat.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@
<TargetMachine>MachineX64</TargetMachine>
</Link>
<PostBuildEvent>
<Command>copy /Y "$(OutDir)$(ProjectName).8bi" "$(PS_DIR)\Plug-ins\File Formats\$(ProjectName).8bi"
copy /Y "$(OutDir)$(ProjectName).pdb" "$(PS_DIR)\Plug-ins\File Formats\$(ProjectName).pdb"
copy /Y "$(OutDir)$(ProjectName).bsc" "$(PS_DIR)\Plug-ins\File Formats\$(ProjectName).bsc"</Command>
<Command>copy /Y "$(OutDir)$(ProjectName).8bi" "$(PS_DIR)\Plug-ins\$(ProjectName).8bi"
copy /Y "$(OutDir)$(ProjectName).pdb" "$(PS_DIR)\Plug-ins\$(ProjectName).pdb"
copy /Y "$(OutDir)$(ProjectName).bsc" "$(PS_DIR)\Plug-ins\$(ProjectName).bsc"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
Expand Down Expand Up @@ -306,7 +306,7 @@ copy /Y "$(OutDir)$(ProjectName).bsc" "$(PS_DIR)\Plug-ins\File Formats\$(Project
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</Link>
<PostBuildEvent>
<Command>copy /Y "$(OutDir)$(ProjectName).8bi" "$(PS_DIR)\Plug-ins\File Formats\$(ProjectName).8bi"</Command>
<Command>copy /Y "$(OutDir)$(ProjectName).8bi" "$(PS_DIR)\Plug-ins\$(ProjectName).8bi"</Command>
</PostBuildEvent>
<ProjectReference>
<UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
Expand Down

0 comments on commit 7693855

Please sign in to comment.