Git Product home page Git Product logo

aviutl_psdtoolkit's Introduction

PSDToolKit

PSDToolKit は AviUtl の拡張編集プラグイン上で PSD ファイルを扱えるようにするためのツールキットです。

動作には 64bit 版の Windows 7 以降が、快適な動作には十分な CPU 速度とメモリが必要です。
動作確認は AviUtl version 1.10 / 拡張編集 version 0.92 で行っています。

更新履歴は CHANGELOG を参照してください。

https://github.com/oov/aviutl_psdtoolkit/blob/master/CHANGELOG.md

注意事項

PSDToolKit は無保証で提供されます。
PSDToolKit を使用したこと及び使用しなかったことによるいかなる損害について、開発者は責任を負いません。

これに同意できない場合、あなたは PSDToolKit を使用することができません。

ダウンロード

https://github.com/oov/aviutl_psdtoolkit/releases

使い方

ダウンロードしたファイルに同梱されている PSDToolKit説明書.html を参照してください。

また、初心者向けの使い方紹介動画が以下にあります。

https://www.nicovideo.jp/watch/sm32904901

説明書内の「チュートリアル」ではこれよりも更に詳しく書いてあるので、困ったときは参照してみてください。

バイナリのビルドについて

MSYS2 + CLANG32/CLANG64 上で開発し、リリース用ファイルは GitHub Actions にて自動生成しています。
ビルド方法や必要になるパッケージなどは GitHub Actions の設定ファイル を参照してください。

Contributors

  • mikan-megane

Credits

PSDToolKit is made possible by the following open source softwares.

The MIT License
The MIT License (MIT)

Copyright © 2013-2019 Martin Mitáš

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the “Software”),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
The MIT License
The MIT License

Copyright (c) 1999-2012 Kenkun

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Apache License Version 2.0
                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
The MIT License
The MIT License (MIT)

Copyright (c) 2023 oov

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NOTICE: This program used a modified version of hashmap.c.

The MIT License
The MIT License (MIT)

Copyright (c) 2020 Joshua J Baker

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The 2-Clause BSD License
Copyright (C) 2012-2021 the json-parser authors  All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

NOTICE: This program used a modified version of TinyCThread.

The zlib/libpng License
Copyright (c) 2012 Marcus Geelnard
              2013-2016 Evan Nemerson

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

    1. The origin of this software must not be misrepresented; you must not
    claim that you wrote the original software. If you use this software
    in a product, an acknowledgment in the product documentation would be
    appreciated but is not required.

    2. Altered source versions must be plainly marked as such, and must not be
    misrepresented as being the original software.

    3. This notice may not be removed or altered from any source
    distribution.

https://golang.org/
https://golang.org/x/image/draw
https://golang.org/x/text/encoding

The 3-Clause BSD License
Copyright (c) 2009 The Go Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

   * Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
   * Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
   * Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The MIT License
The MIT License (MIT)

Copyright (c) 2014 Eric Woroshow

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The 3-Clause BSD License
Copyright (c) 2012 The glfw3-go Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

   * Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
   * Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
   * Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The MIT License
The MIT License (MIT)
Copyright © 2016-2017 Maxim Kupriianov <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
The 2-Clause BSD License
Copyright (c) 2015, Dave Cheney <[email protected]>
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SIL OPEN FONT LICENSE Version 1.1
In the Font Awesome Free download, the SIL OFL license applies to all icons
packaged as web and desktop font files.

Copyright (c) 2023 Fonticons, Inc. (https://fontawesome.com)
with Reserved Font Name: "Font Awesome".

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL

SIL OPEN FONT LICENSE
Version 1.1 - 26 February 2007

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting — in part or in whole — any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Takuya OOURA License
Copyright(C) 1996-2001 Takuya OOURA

You may use, copy, modify this code for any purpose and without fee.
You may distribute this ORIGINAL package.
The MIT License
The MIT License (MIT)

Copyright (c) 2014 Grigory Dryapak

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License
The MIT License (MIT)

Copyright (c) [2014] [the_platinum_searcher]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License
Copyright (c) 2020 rxi

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License
Copyright (C) 1994-2003 Tecgraf, PUC-Rio.  All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SIL OPEN FONT LICENSE Version 1.1
SIL Open Font License 1.1

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL

SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007

PREAMBLE

The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS

"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS

Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION

This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER

THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

aviutl_psdtoolkit's People

Contributors

dependabot[bot] avatar oov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aviutl_psdtoolkit's Issues

口パク準備や多目的スライダーがある場所の指定方法を変える

<?mpslider=3?> を手で書かせるのは親切ではないので、数字だけを書き換えればいいように改善したい。

PSD を読み込んだオブジェクトのテキスト入力欄に予め

<?
lipsync = 0 -- 口パク準備
mpslider = 0 -- 多目的スライダー
?>

というのを入れておくことで、入力のハードルを下げたい。

  • PSD ファイルをドロップした時の初期テキストを変更
  • 新規PSDToolKitオブジェクトの初期テキストを変更
  • グローバル変数 lipsync が代入されている時は口パク準備オブジェクトを取得しておく
  • 「口パク 開閉のみ」の「口パク準備」プロパティを削除
  • 「口パク あいうえお」の「口パク準備」プロパティを削除
  • マニュアル内の「口パク 開閉のみ」スクリプト用フォームから「口パク準備」プロパティを削除
  • マニュアル内の「口パク あいうえお」スクリプト用フォームから「口パク準備」プロパティを削除
  • マニュアル内の「口パク あいうえお」スクリプト例の「口パク準備」取得方法を変更
  • 口パク準備の使い方解説を改定
  • PSD ファイルを読み込んだ時のプロパティ解説を改定

Extram.dll を使ってみる

依存が増えるのは良くないが、現状は AviUtl 側に PSD ファイルのキャッシュを保持しているのでこれを Extram.dll 側に移動させたらパフォーマンスがどうなるかテストする。

口パク、目パチを Lua 上で function にまとめる

anm から1行で呼べる状態まで簡略化する

簡略化できたら、拡張編集側のスライダーの値のひとつとして扱えるレベルまで整理して、
プリセットパターンに対して簡単に割り当てできる状態に持ち込む

GUI が不特定のタイミングでクラッシュする

自分の環境で発生するケースに関しては大体潰したけど、
それでもまだ起こることがあるらしい。

操作性の改善に手を入れる前にこの辺の問題を根底から片付けてしまいたいところ。

画像が上手く出ない

GUI 上では PSD ファイルの読み込みに成功しているため、ファイル側には問題がない。
Lua 側から画像データをリクエストすると、何らかの理由で失敗しスクリプトの実行が中断されているように伺える。
開発環境上ではうまく動いているように見えるので、全ての環境で問題が起きるわけではないようだ。

原因はわからないが Lua → PSDToolKit.dll → PSDToolKit.exe → PSDToolKit.dll → Lua の経路の途中で上手く行かないように思われる。

複雑な構造の pfv ファイルを読ませた時、ブラウザ版と挙動が違う

階層構造が深い pfv ファイルを読み込んでいる時、
レイヤーの表示/非表示が正しく適用されないケースがある。

ブラウザ版での動作は問題なく、PSDToolKit 側の挙動がおかしい。
レイヤーの表示状態を復元する時に、正しく親階層の表示/非表示が復元できないケースがあるように見える。

設定値の変数名を整理する

次の v0.2 β 版のリリース前に設定周りを整理する

  • default.lua の変更
  • wav.lua の変更
  • setting.md の追従
  • 環境設定ダイアログの追従

お気に入りの名前が長すぎて登録できない

特にダメ文字を含む場合に Base64 エンコードしていることにより長さが膨らみ設定が保存されなくなっている。
UTF-8 + Base64 なので Shift_JIS に比べると概ね 3/2 * 4/3 ぐらいに膨らむのでかなり厳しいようだ。
お気に入りの名前に依存すると挙動が安定しない気配がするのでやっぱり諦めるべきだろうか…。

取りあえず Shift_JIS で表現できない文字とダメ文字だけをエスケープするアプローチを考える。

複数キャラでの利便性の改善/レイヤー選択のリセット回避

多分大まかにまとめると現在コンボボックスで表示している「最近使ったPSDファイルのリスト」の使い勝手がよくない、という話だと思われる。

この辺は仕組みの都合上 AviUtl や拡張編集との完全な連動が難しいのが予めわかっており、まずは最低限使えるレベルを目指していたために使いやすさの面までは考慮できていなかったので、改善案を検討してみる。

改善案

変更規模が小さくないため v0.2 系としてのリリースにすべきと思われる。
実装する場合はベータ版の公開は無用な混乱を避けるためこれらを全て実装してからにしたい。

  • インターフェイスをコンボボックスではなくタブに変更
    切り替えを少ないクリック数で行えるように、また閉じる操作も手動で行えるように
  • ドロップして開いた画像に対する GC を廃止
    閉じる操作を行えるようにすれば廃止しても困らないはず
    ただしレイヤーでのキャッシュに対しては依然として必要なのでそこは残す
  • 左右反転と上下反転を「⇄」「⇅」に変更、送るボタンの幅を縮小
    PSDTool との一貫性の確保とタブ表示用のスペース確保のため
  • プロジェクト保存時に読み込んでいる画像とレイヤーの表示状態を保持し、読み込み時に復元
    PSDToolKit.auf から PSDToolKit.dll に直接保存用のデータを問い合わせる流れを追加する
  • アイテムリストにはドロップした画像以外は現れないようにする
    プロジェクトファイルとの連動が正しく行えるようになったら出さなくても困らないはず
    特定のシーンで便利なこともあるが、説明の時点で面倒な機能は要らない可能性も高い
  • TL への PSD ドロップにも対応するために psd.lua から PSDToolKit.dll を呼ぶ
  • 同じPSDファイルを複数個開いている時にシンプルビューの選択状態も個別管理
  • お気に入りの開閉状態を個別管理
  • レイヤーサムネイルの無駄な作り直しを抑制

PSDToolKit.auf がプラグインとして認識されない

  • lua.pas で lua51.dll の場所を動的に検索するようにしないと、exedit.auf 自体を Plugins ディレクトリなどに配置している場合 DLL を見つけ出せずにコケる。

一番致命的なのは多分これ。

PSD ファイルオブジェクトのテキストオブジェクトを何とかする

テキストオブジェクトには使わないプロパティがたくさんあるので、可能であれば使いたくない。
ただしタイムラインにファイル名が表示されないのも避けたいので、タイムラインに名前が表示できて、かつパフォーマンスが落ちない方法が欲しい。

現状の案は *.psd 用のダミーの spi を作って、画像オブジェクトの下にスクリプト制御を入れる方法。
ダミーの 1x1 画像を返すのと obj.mes で無駄なスペースを吐くのとどちらが軽いのかがポイントになると思われる。

v0.2 での両立もできなくはないけど、着手するのは v0.3 系列の予定。

口パク準備のパラメーターを移動

口パク準備 のデータとして本質的に重要なのは波形だけで、これさえ確保しておけば他の処理は別の場所で行うこともできる。

そう考えると 口パク準備 に存在するパラメーターは全部削除してしまい、使う側で後続の処理を行う方が汎用性が高くなるように思える。

更にこのアプローチで行くと 口パク準備 設定上書き のオブジェクトが必要なくなり、必要な場所でスライダーを実際に変えるだけ、という使い方にできる。

これは破壊的な変更になるのでやるとしても v0.3 系以降。

字幕の描画が遅いのを何とかする

拡張編集のテキスト出力は静的な文章表示とは相性が悪く、毎フレームレンダリングされるために文字数が多いとかフォントサイズが大きい場合にはかなり重くなる。

静的な内容に対してはキャッシュが有効なはずなので、テキストオブジェクトでキャッシュ機構を実現できないか検討する。
オプション設定だけで実現できそうなら字幕表示の機能を拡張するか、あるいは字幕表示(軽量版)を新設する。
1文字ずつ分解してのエフェクトは諦める。

これは互換性が維持できそうではあるが、v0.3 系での着手の予定。

口パク準備、字幕準備、多目的スライダーの統合

音声と合わせてレイヤーを4本占拠しているのを、最終的には音声+準備の2本まで減らしたい。
超えるべきハードルがいくつかある。

  • obj.getaudio 依存をやめる
    • これが原因で削除後のファイルロック、再生速度変更に非対応、オブジェクトの配置区間の制限などの課題が生まれているので、自前で管理することによりかなり大きな範囲の問題を排除できるはず
      FFT が必要になるので自前で用意したもののパフォーマンスが悪いようなら採用できない
    • ハンドルを保持する同じような機構は設けるが、5秒ぐらい obj.getaudio が呼ばれなかったらロックは開放していいはずなのでそういう実装にする
    • AviUtl 本体にある avi_file_open を使う
  • 口パク準備のパラメーターを増やす
    • 開始マージン(口パク準備のオフセットを再現するため)
    • 終了マージン(多目的スライダーや字幕準備より口パク準備が短い状況を再現するため)
    • 再生位置(音声の再生位置と合致させるため)
    • 再生速度(音声の再生速度と合致させるため)
    • ローカット、ハイカット、しきい値、感度、開始マージン、終了マージン、再生位置、再生速度のうち、どれをスライダー置くのかも再検討
  • 字幕準備のパラメーターを増やす
    • 開始マージン
    • 終了マージン

マージン系は一度設定したら細かく変えない前提でいくと、スライダーじゃなくてもいいかも。
多目的スライダーだけガッツリ引き伸ばして複数の音声を跨ぐ使い方ができなくなるので、個人的にはこれが一番問題。

ドキュメントを書く

v0.2beta から GitHub の Wiki を使ってドキュメントを整備していく。
以下の目次は暫定的なものだが、概ねこれに沿った形で進めていきたい。

  • PSDToolKit とは
  • インストール方法
    • 設定のカスタマイズについて
  • 基本的な使い方
    • PSD ファイルの基本
      • PSD ファイルの読み込み
      • レイヤー構成の変更
      • オブジェクト描画について
    • PSDTool のお気に入りを使用する
      • PSDTool とお気に入りについて
      • シンプルビューの作り方とお気に入りのエクスポート
      • お気に入りを持つ PSD ファイルの読み込み
      • 目パチ(瞬き)の設定
      • シンプルビューのスライダーを AviUtl 用にエクスポート
        • 複数のスライダーに割り当てるには
        • スライダーへの瞬き(目パチ)の割り当て
    • 音声と口パクと字幕
      • 口パク準備
      • 口パク(リップシンク)の設定
      • 字幕準備
      • 字幕表示用オブジェクト
      • 音量調整とチャンネルストリップ
        • 音声ファイル側では音量調整しない理由

PSD ファイルオブジェクトで AviUtl のエイリアス機能を使えるようにして欲しい

エイリアスとして保存しておいた PSD ファイルオブジェクトを使えるようにしてほしい。

現状でもエイリアスに保存されたファイルを配置すること自体は可能だが、v0.2 系から PSD ファイルを正確に扱うようになり、タイムラインに配置された野良 PSD ファイルだと PSDToolKit ウィンドウに追加されない仕様に変わっているため、エイリアスで配置するとそこからの表情変更が難しい。

音声は分割できるのに、口パクは途中から再生できない

AviUtl 側が持つ obj.getaudio がオブジェクトの現在の時間に依存したデータしか取得できないため、問題の解決には手数が必要になっている。
また、この問題を克服できたとしても、右クリックメニューの「分割」を使った時に後半のデータに正しい分割地点の情報が入らないので「できなくはないが、利便性はいまひとつ」という壁は越えられなさそうではある。
(分割を使う度に音声側の「再生位置」などの数値をコピペすることになる)

仕組み的には PSDToolKit.dll に「指定した時間から1フレームの時間分、周波数の範囲を BPF で絞った音量データを取得する」という Wave ファイルを読み込む命令を用意すれば対応できそう。
BPF の実装は既にあるし Wave ファイル読み込みだけならそんなに難しくはない。
(もし「口パク準備」という今回の仕様に特化しないのであれば、obj.getaudio で使える形式全てに対応する方が利便性は高そう)

ただ、そもそも論として AviUtl は仕様的に音声編集環境として使うことはあまり重視されておらず、別ソフトで音声を刻んだりした方が効率もずっといいしエフェクトも掛けたい放題なので、作業コストの割にメリットはそんなに高くなさそうかな、といったところ。

口パク周りの改善

作りかけのまま完成に至っていないものを実際にリリースするのかどうかハッキリさせる。

口パクの閉じを常時適用しないようにする?

喋ってない時に閉じが適用されると結果的に表情変更が適用できないように見えるので、バグっぽく見える。

チェックボックスで喋ってない時に適用するかどうかを決められるようにすべき?

文字化け

-チャンネルストリップの設定画面
-スライダーのエクスポート

SetMultiByteConversionCodePage(CP_UTF8) の追加によって発生中。
CP_UTF8 じゃないときちんと Unicode のデータが保持できない可能性があるのでこの変更自体は間違いではないが、既存のコードで WideString で処理していなかった部分が事故ってるので修正が必要。

ごちゃまぜドロップス外部連携 API からのドロップに対応する

現状は *.wav のドロップ時に Shift キーを押さないといけないが、外部連携 API 経由の場合はそうもいかないので、新しいオプションを追加する。

  • 同じファイル名の *.wav*.txt がドロップされた時
  • 1フレーム目に音声とテキストが配置された *.exo ファイルがドロップされた時

すべて初期設定で有効にする。

type 上書きへの対策

同等機能を PSDToolKit 側で用意して、上書きされていても問題なく動くよう対策する。
type を一番最初の時点でバックアップするアプローチだと実行順序の問題で上手くいかないこともあるので、DLL 内部に同等機能、あるいは簡略版を用意する。

製作途中での PSD/PFV ファイルの変更に弱い

現在の実装では faview のコピペに関しては "F.XXXXXXXX" という文字列を渡す形になっているが、現状の仕組みでは途中でPSDファイルのレイヤー構造や順番が変更された場合に表示が破綻してしまう。
直接表示状態を渡すのではなく、シンプルビューの「どの項目」の「何」を選んでるかを指定する形にすれば、PSDやPFVに変更があっても同じ名前のものが存在すれば表示状態を復元できるようになる。
また、この機構を流用してプロジェクト全体に対する保存/読み込みを実装すべきと思われる。
以前の機構も廃止する必要はないので互換性のために残す。

ただし「送る」ボタンを使用した場合はレイヤーのすべての表示状態を指定する必要があるため、AviUtl 側の255文字制限との兼ね合いもあり現状の仕様は仕方がないと思われる。

  • レイヤー名ベースの serializer
  • レイヤー名ベースの deserializer
  • お気に入り登録名ベースの serializer
  • お気に入り登録名ベースの deserializer
  • シンプルビューでのコピー時に新形式でコピー

目パチ、口パクの設定ダイアログへの割り当て機能

PSDToolKit 側の設定コピーボタンを押したとき、もし拡張編集側で設定ダイアログを開いているならクリップボードへのコピーの代わりにコピー対象になる項目リストをポップアップメニューで出し、選ばれた項目に直接入力する

ラジオボタンの入れ子の挙動

GUI でレイヤーツリーをクリックした時は親階層のレイヤー切り替えも合わせて行っているが、アニメーション効果でレイヤー名を指定した時は該当のレイヤーの切り替えのみにとどまっており、ラジオボタンが入れ子になっている時などに、期待した挙動と異なってしまっている。

使う側はマウスでクリックした時と同等の振る舞いを望んでいるはずなので、切り替え時の挙動を改善する。

アップデートの度に Lua に書いた設定がリセットされるのを改善したい

設定を書くべき箇所が分散しているという別の問題も併発しているので、そこも含めて解決したい。

  1. script\PSDToolKit\setting.lua をユーザーの手で作ることで設定が読み込まれる仕組みを作る
  2. デフォルト設定の全てを記述した script\PSDToolKit\setting-default.lua を配布ファイルに含める
  3. プログラムからは setting-default.lua を読んだあとに setting.lua で上書きして使う

setting.luasetting-default.lua をコピーして作るのではなく、setting.lua-template のような、ほぼ空のファイルをリネームして作るようなやり方にする。

こうすることでユーザーがどの設定をカスタマイズしているのかを一目瞭然にし、例えば新規に設定項目が追加されて「どれが追加されたかわからない」という状況になっても、全設定のコピーのやり直しをしなくて済む構造にしたい。

  • setting-default.lua を作成
  • setting.lua-template を作成
  • 設定を読み込んで処理をするように変更
  • 設定の使い方を説明するページを作成

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.