Skip to content

Commit

Permalink
minor text edits, and renaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
PsyCommando committed Dec 27, 2014
1 parent 224c481 commit eadc913
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 10 deletions.
Binary file modified ppmdutilities.v12.suo
Binary file not shown.
21 changes: 19 additions & 2 deletions readmes/ppmd_kaoutil.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=================================================
== Baz the Poochyena's PMD:EoS/T/D - KaoUtil ==
=================================================
Version : 0.21
Version : 0.3
Released : 2014/12/05
Written by : [email protected]

Expand All @@ -21,6 +21,17 @@ Changelog:
* Added a little hack to fix commandline parameters where the user has escaped a
double quote character by appending a trailing backslash to a directory path.
It now looks for paths having a double quote at the end, and fix it automatically.
- 0.3: (2014/12/27)
* Fixed issue with images having smaller than anticipated palette resulting in a
corrupted image in-game.
* Fixed poorly explained crash upon not finding the facename and pokename files.
It now continues without naming the outputed files, just like it used to!
* Added support to import/export 4 bpp *.bmp, and raw 4bpp tiled pixels + RIFF *.pal
color palette. Simply add the switch "-bmp" or "-raw" at the command line for exporting
in that format. During import, the format is automatically detected, and its even possible
to mix png, bmp, and raw images together in the same folders !
* Re-organized most of the code repository, and folder structure, to make it hopefully
easier to copy and work with!

----------------------------------------------------------------------------------------------------
License info:
Expand All @@ -29,7 +40,7 @@ My code and tools are basically public domain / CC0.
Free to re-use in any ways you may want to!
No crappyrights, all wrongs reversed! :3

Not including any libraries I'm using that have their own licenses of course!!
This is not including any libraries I'm using that have their own licenses of course!!
The license for each of these libraries is indicated in their respective header files,
and they're all isolated in the "libraries" subfolder !

Expand Down Expand Up @@ -69,6 +80,12 @@ It will also accept 8 bpp PNG images, as long as they got 16 colors, any colors
ignored.
The default image resolution is the same the game uses, 40 x 40.

*NEW* The images can now also be 4 bpp bitmaps. Its even possible to work with the raw 4bpp tiled pixels
+RIFF palette! Just add "-bmp" or "-raw" to the parameters while extracting, and the program
will output to the specified format. Import of either of those 3 formats is automatic,
and its possible to mix format together. Putting both png and bmp images in the same folder
won't cause any issues whatsoever!

As mentioned above you can modify the "pokenames.txt" and "facenames.txt" files to change the name
that will be appended to the index/slot number for all pokemon, and for all portraits for each
pokemon! The list are very simple, the line number, counting the first line as line 0, is the
Expand Down
18 changes: 12 additions & 6 deletions vcprojects/ppmd_kaoutil.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,14 @@
<AdditionalDependencies>libpng16.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Lib>
<PostBuildEvent>
<Command>copy "$(SolutionDir)resources\facenames.txt" "$(SolutionDir)bin\facenames.txt"
copy "$(SolutionDir)resources\pokenames.txt" "$(SolutionDir)bin\pokenames.txt"
<Command>copy "$(SolutionDir)resources\facenames.txt" "$(OutDir)facenames.txt"
copy "$(SolutionDir)resources\pokenames.txt" "$(OutDir)pokenames.txt"

copy "$(SolutionDir)resources\facenames.txt" "$(SolutionDir)workdir\facenames.txt"
copy "$(SolutionDir)resources\pokenames.txt" "$(SolutionDir)workdir\pokenames.txt"</Command>
copy "$(SolutionDir)resources\pokenames.txt" "$(SolutionDir)workdir\pokenames.txt"

copy "$(SolutionDir)readmes\$(ProjectName).txt" "$(OutDir)$(ProjectName).txt"
copy "$(SolutionDir)readmes\license.txt" "$(OutDir)license.txt"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand All @@ -352,11 +355,14 @@ copy "$(SolutionDir)resources\pokenames.txt" "$(SolutionDir)workdir\pokenames.tx
<AdditionalDependencies>libpng16.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Lib>
<PostBuildEvent>
<Command>copy "$(SolutionDir)resources\facenames.txt" "$(SolutionDir)bin\facenames.txt"
copy "$(SolutionDir)resources\pokenames.txt" "$(SolutionDir)bin\pokenames.txt"
<Command>copy "$(SolutionDir)resources\facenames.txt" "$(OutDir)facenames.txt"
copy "$(SolutionDir)resources\pokenames.txt" "$(OutDir)pokenames.txt"

copy "$(SolutionDir)resources\facenames.txt" "$(SolutionDir)workdir\facenames.txt"
copy "$(SolutionDir)resources\pokenames.txt" "$(SolutionDir)workdir\pokenames.txt"</Command>
copy "$(SolutionDir)resources\pokenames.txt" "$(SolutionDir)workdir\pokenames.txt"

copy "$(SolutionDir)readmes\$(ProjectName).txt" "$(OutDir)$(ProjectName).txt"
copy "$(SolutionDir)readmes\license.txt" "$(OutDir)license.txt"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Expand Down
4 changes: 2 additions & 2 deletions vcprojects/shared_build_settings.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<OutDir>$(SolutionDir)bin\$(ProjectName)\</OutDir>
<TargetName>$(ProjectName)d</TargetName>
<IncludePath>$(SolutionDir)src;$(SolutionDir)lib\EasyBMP;$(SolutionDir)lib\lpng;$(SolutionDir)lib\png++;$(SolutionDir)lib\poco\Foundation\include;$(IncludePath)</IncludePath>
<LibraryPath>$(SolutionDir)lib_debug;$(LibraryPath)</LibraryPath>
Expand All @@ -18,7 +18,7 @@
<IncludePath>$(SolutionDir)src;$(SolutionDir)lib\EasyBMP;$(SolutionDir)lib\lpng;$(SolutionDir)lib\png++;$(SolutionDir)lib\poco\Foundation\include;$(IncludePath)</IncludePath>
<SourcePath>$(SolutionDir)src;$(SolutionDir)lib\EasyBMP;$(SolutionDir)lib\lpng;$(SolutionDir)lib\png++;$(SolutionDir)lib\poco\Foundation\src;$(SourcePath)</SourcePath>
<LibraryPath>$(SolutionDir)lib_release;$(LibraryPath)</LibraryPath>
<OutDir>$(SolutionDir)bin\</OutDir>
<OutDir>$(SolutionDir)bin\$(ProjectName)\</OutDir>
</PropertyGroup>
<PropertyGroup>
<IntDir>$(Configuration)_$(ProjectName)\</IntDir>
Expand Down

0 comments on commit eadc913

Please sign in to comment.