Skip to content

Commit

Permalink
Merge branch 'readme' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWillard committed Aug 6, 2020
2 parents bf8ad3f + 7693855 commit 60e925c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 4 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<p align="center">
<img src="./AdlerPS.png">
</p>

# Gruppe Adler PAA Photoshop Plugin

PaaPhotoshopPlugin is a Photoshop File Format Plugin for opening and saving PAA images in Photoshop. For more information on the PAA file format check out the [public PAA file format specification](https://community.bistudio.com/wiki/PAA_File_Format).

# Installation

## Windows
- 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.
- `Save`, `Save As` menu commands can be used to write `*.paa` files.

# Limitations
- 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 60e925c

Please sign in to comment.