Coder Social home page Coder Social logo

aviutl-repotemplate's Introduction

AviUtl-repoTemplate

AviUtl 用のスクリプト/プラグインのリポジトリテンプレート。

a repository template of AviUtl script or plugins.

概要

このリポジトリテンプレートは、AviUtlのスクリプトファイルの特性を反映するために、.gitattributesに改行コードや言語について指定がされています。 また、vscodeでいい感じに開発できるような設定ファイルを導入しています。

使い方

  1. Use this templateよりリポジトリをテンプレートとして利用。
  2. IDEなどで該当リポジトリのフォルダを開く(vscode推奨)
  3. src/内の必要なスクリプトを残し、スクリプトファイル内の表記に従いスクリプトを書く。

スクリプトをどうやって書けばいいか分からない

AviUtlのスクリプトの作り方が分からない場合は、以下のドキュメントを参考にしてみてください。

ライセンス

当テンプレートリポジトリで作られるAviUtlスクリプトは、LPGLに従うように事前に書き込みがされています。

aviutl-repotemplate's People

Contributors

aodaruma avatar

Stargazers

 avatar

Watchers

 avatar

aviutl-repotemplate's Issues

スクリプトのマルチバイト文字が差分で化ける

Describe the bug
スクリプトファイル中のマルチバイト文字が化けるというかエンコードされて表示されてしまい見づらいです。

To Reproduce
Steps to reproduce the behavior:

> git clone https://github.com/Aodaruma/AviUtl-repoTemplate.git
> cd AviUtl-repoTemplate
> git diff 7341339^..7341339
diff --git a/src/template.anm b/src/template.anm
new file mode 100644
index 0000000..d48c7a3
--- /dev/null
+++ b/src/template.anm
@@ -0,0 +1,60 @@
+--[[
+# <93><FA><96>{<8C><EA> ########################################
+<82><B1><82>̃t<83>@<83>C<83><8B><82>́AAviUtl<82><CC>anm<81>i<83>A<83>j<83><81><81>[<83>V<83><87><83><93><81>j<83>X<83>N<83><8A><83>v<83>g<82>̐<97><8C>`<82>ł<B7><81>B
+<82><B1><82>̃t<83>@<83>C<83><8B><82><F0><83>e<83><93><83>v<83><8C><81>[<83>g<82>Ƃ<B5><82>āA<82><A0><82>Ȃ<BD><93>Ǝ<A9><82>̃X<83>N<83><8A><83>v<83>g<82><F0><8D>쐬<82><B7><82>邱<82>Ƃ<AA><82>ł<AB><82>܂<B7><81>B
+AviUtl<82>̃X<83>N<83><8A><83>v<83>g<82>̍<EC><82><E8><95>□□□□□<82><A9><82><E7><82>Ȃ<A2><8F>ꍇ<82>́A<88>ȉ<BA><82>̃h<83>L<83><85><83><81><83><93><83>g<82><F0><8E>Q<8D>l<82>ɂ<B5><82>Ă݂Ă<AD><82><BE><82><B3><82><A2><81>B
+- AviUtl scrapbox: https://scrapbox.io/aviutl/
+    - https://scrapbox.io/aviutl/<83>X<83>N<83><8A><83>v<83>g<8A>J<94><AD><82><F0><8E>n<82>߂<E9><82>ɂ<CD>%EF%BC%9F
+    - https://scrapbox.io/aviutl/<83>X<83>N<83><8A><83>v<83>g<83>t<83>@<83>C<83><8B>_<83>t<83>H<81>[<83>}<83>b<83>g
+- Lua 5.1 <83><8A><83>t<83>@<83><8C><83><93><83>X<83>}<83>j<83><85><83>A<83><8B>: http://milkpot.sakura.ne.jp/lua/lua51_manual_ja.html
+    - <8C>□□□□̃h<83>L<83><85><83><81><83><93><83>g<82><E0><97><98><97>p<82>ł<AB><82>܂<B7>(<89>p<8C><EA>): http://www.lua.org/manual/5.1/manual.html
+

Expected behavior
マルチバイト文字の差分も素直に見れること。

Screenshots
vscodeだと以下の様に表示されます。
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Git for Windows 2.39.1
  • Visual Studio Code 1.75.0

Additional context
.gitattributesdiff=sjis とするより working-tree-encoding=cp932 とする方がいいかもしれません。

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.