RequireVersions "1.9.32.0", "0.1.6.9", "", "295.5" ; Skyrim version, SKSE version, (no SKGE), Wrye Bash version

DeSelectAll
SelectSubPackage "00 Main"


If CompareGameVersion("1.9.32.0") == 0
Else
  Cancel "ECE does not support your version of TESV.exe. Please use 1.9.32"
EndIf


SelectOne "Select installation options for ECE", \
    "|English", "English.", "", \
    "日本語", "追加スライダー名、種族名、このインストーラーパッケージが日本語になります。", "", \
    "Deutsch", "This means German, English translates to Englisch", "", \
    "French", "French.", ""
 
 Case "English"
	SelectOne "Select installation options for ECE", \
	    "|Full Package", "It available all the features. Adds some new sliders, head parts, one race, and more natural makeup colors.", "", \
	    "No Addtional Race", "No added ygNord race.", "", \
	    "Incompatible Package", "It cannot be used the other features e.g. adds eyebrows, alternatively it does not conflict with mod which edit race record (such as SkyRe Race).", ""

	  Case "Full Package"
	      SelectSubPackage "01 ECE"
	      SelectSubPackage "02 YgNord"

	      If DataFileExists("Unofficial Skyrim Patch.esp")
	        SelectSubPackage "Option - Racial Compatibility improved USKP patch"
	      EndIf
	      Break

	  Case "No Addtional Race"
	      SelectSubPackage "01 ECE"
	      Break
	EndSelect

	SelectOne "Skeletons", \
	    "|Vanilla/CBBE/UNP", "For Vanilla(also CBBE UNP without BBP)", "", \
	    "CHSBHC/BBP", "For CHSBHC/BBP.", "", \
	    "RealsticRagdolls Normal", "For RealsticRagdolls Normal.", "", \
	    "RealsticRagdolls Medium", "For RealsticRagdolls Medium.", "", \
	    "RealsticRagdolls Reduce", "For RealsticRagdolls Reduce.", "", \
	    "None", "Nothing to change.", ""

	  Case "Vanilla/CBBE/UNP"
	      SelectSubPackage "Option - Skeleton Vanilla(CBBE UNP with No BBP)"
	      Break

	  Case "CHSBHC-BBP"
	      SelectSubPackage "Option - Skeleton CHSBHC-BBP"
	      Break

	  Case "RealsticRagdolls Normal"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Normal"
	      Break

	  Case "RealsticRagdolls Medium"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Medium"
	      Break

	  Case "RealsticRagdolls Reduce"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Reduce"
	      Break

	EndSelect


	SelectMany "Modify the configuration file.", \
	          "No Cheeks Fix", "Disable modify to rounded cheeks for human female. Not change any thing.", "EnhancedCharacterEdit\Fomod\NoCheeksFix.jpg", \
	          "No Vampire Cheeks", "No sunken cheeks when player is vampire.", "EnhancedCharacterEdit\Fomod\NoVampireCheeks.jpg", \
	          "Hi-Res UVMap", " It can be use high-resolution UV map in vertex edit. Required SKSE. And you must add these lines to your SKSE.ini:\n [Display]\n iTintTextureResolution=2048", "", \
	          "Sliders Tweak", "Choose Sliders move and steps.", ""

	        Case "No Cheeks Fix"
	            SelectSubPackage "Option - No Cheeks Fix"
	            Break

	        Case "No Vampire Cheeks"
	            SelectSubPackage "Option - No Vampire Cheeks"
	            Break

		Case "Hi-Res UVMap"
	            SelectSubPackage "Option - Hi-Res UVMap"
	            Break

	        Case "Sliders Tweak"
	            SelectOne "Choose a options.", \
	                "|SliderMax 2x", "This option slider move 2.0x.", "", \
	                "SliderMax and Step 2x", "This option slider move and step 2.0x.", ""
	              Case "SliderMax 2x"
	                  SelectSubPackage "Option - More SliderMax x2"
	                  Break
	              Case "SliderMax and Step 2x"
	                  SelectSubPackage "Option - More SliderMax and Step x2"
	                  Break
	            EndSelect
	            Break
	EndSelect
	Break

 Case "French"
	SelectSubPackage "Language French"

	SelectOne "Select installation options for ECE", \
	    "|Full Package", "It available all the features. Adds some new sliders, head parts, one race, and more natural makeup colors.", "", \
	    "No Addtional Race", "No added ygNord race.", "", \
	    "Incompatible Package", "It cannot be used the other features e.g. adds eyebrows, alternatively it does not conflict with mod which edit race record (such as SkyRe Race).", ""

	  Case "Full Package"
	      SelectSubPackage "01 ECE"
	      SelectSubPackage "02 YgNord"
	      SelectSubPackage "Language French YG"

	      If DataFileExists("Unofficial Skyrim Patch.esp")
	        SelectSubPackage "Option - Racial Compatibility improved USKP patch"
	      EndIf
	      Break

	  Case "No Addtional Race"
	      SelectSubPackage "01 ECE"
	      SelectSubPackage "Language French ECE"
	      Break
	EndSelect

	SelectOne "Skeletons", \
	    "|Vanilla/CBBE/UNP", "For Vanilla(also CBBE UNP without BBP)", "", \
	    "CHSBHC/BBP", "For CHSBHC/BBP.", "", \
	    "RealsticRagdolls Normal", "For RealsticRagdolls Normal.", "", \
	    "RealsticRagdolls Medium", "For RealsticRagdolls Medium.", "", \
	    "RealsticRagdolls Reduce", "For RealsticRagdolls Reduce.", "", \
	    "None", "Nothing to change.", ""

	  Case "Vanilla/CBBE/UNP"
	      SelectSubPackage "Option - Skeleton Vanilla(CBBE UNP with No BBP)"
	      Break

	  Case "CHSBHC-BBP"
	      SelectSubPackage "Option - Skeleton CHSBHC-BBP"
	      Break

	  Case "RealsticRagdolls Normal"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Normal"
	      Break

	  Case "RealsticRagdolls Medium"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Medium"
	      Break

	  Case "RealsticRagdolls Reduce"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Reduce"
	      Break

	EndSelect


	SelectMany "Modify the configuration file.", \
	          "No Cheeks Fix", "Disable modify to rounded cheeks for human female. Not change any thing.", "EnhancedCharacterEdit\Fomod\NoCheeksFix.jpg", \
	          "No Vampire Cheeks", "No sunken cheeks when player is vampire.", "EnhancedCharacterEdit\Fomod\NoVampireCheeks.jpg", \
	          "Hi-Res UVMap", " It can be use high-resolution UV map in vertex edit. Required SKSE. And you must add these lines to your SKSE.ini:\n [Display]\n iTintTextureResolution=2048", "", \
	          "Sliders Tweak", "Choose Sliders move and steps.", ""

	        Case "No Cheeks Fix"
	            SelectSubPackage "Option - No Cheeks Fix"
	            Break

	        Case "No Vampire Cheeks"
	            SelectSubPackage "Option - No Vampire Cheeks"
	            Break

		Case "Hi-Res UVMap"
	            SelectSubPackage "Option - Hi-Res UVMap"
	            Break

	        Case "Sliders Tweak"
	            SelectOne "Choose a options.", \
	                "|SliderMax 2x", "This option slider move 2.0x.", "", \
	                "SliderMax and Step 2x", "This option slider move and step 2.0x.", ""
	              Case "SliderMax 2x"
	                  SelectSubPackage "Option - More SliderMax x2"
	                  Break
	              Case "SliderMax and Step 2x"
	                  SelectSubPackage "Option - More SliderMax and Step x2"
	                  Break
	            EndSelect
	            Break
	EndSelect
	Break


 Case "日本語"
	SelectSubPackage "Language Japanese"

	SelectOne "基本パッケージ選択", \
	    "|フルパッケージ", "すべての機能が使えます。追加スライダー、追加パーツ、追加種族、自然な化粧・肌・髪の色のプリセット等。", "", \
	    "追加種族ygNordなしパッケージ", "新規種族のygNord(若いノルド)を追加しません。", "", \
	    "種族弄るmodと競合しにくいパッケージ", "ygNordの追加なし、化粧・肌・髪の色のプリセットなし、眉パーツの追加なし。代わりに種族を直接弄る(SkyRe Raceなど)modと上書き競合しにくいです。", ""

	  Case "フルパッケージ"
	      SelectSubPackage "01 ECE"
	      SelectSubPackage "02 YgNord"
	      SelectSubPackage "Language Japanese YG"

	      If DataFileExists("Unofficial Skyrim Patch.esp")
	        SelectSubPackage "Option - Racial Compatibility improved USKP patch"
	      EndIf
	      Break

	  Case "追加種族ygNordなしパッケージ"
	      SelectSubPackage "01 ECE"
	      SelectSubPackage "Language Japanese ECE"
	      Break
	EndSelect

      SelectOne "日本語フォント設定の変更。名前スライダーで日本語入力を受け付けるために必要です。", \
          "|なし", "特に変更なし。日本語名入力を使わない場合はこれを選びます。", "", \
          "日本語入力可能", "名前の日本語入力を受け付ける（注意：日本語名が直接名前欄に書ける訳ではありません。名前スライダーに登録した名前だけが使えます。）ために必要です。フォント設定ファイルを上書きするので独自にフォント設定してる場合はなしを選んで、Readmeを読んで自分で編集してください", ""
        Case "日本語入力可能"
            SelectSubPackage "Option - Japanese fontconfig"
            Break
      EndSelect

	SelectOne "カスタムスケルトンの導入。どれかひとつ選んでください。", \
	    "|Vanilla/CBBE/UNP", "首の長さ、ウエストの太さスライダーで必要です。お使いのスケルトンに合わせて選んでください。XP32 Skeletonはデフォルトで対応してるのでNone選んでください。\n バニラ,CBBE,UNP,など標準スケルトンの場合はこれを選びます。", "", \
	    "CHSBHC/BBP", "For CHSBHCまたはBBPのスケルトンはこれを選んでください。", "", \
	    "RealsticRagdolls Normal", "RealsticRagdolls Normalのスケルトン", "", \
	    "RealsticRagdolls Medium", "RealsticRagdolls Mediumのスケルトン", "", \
	    "RealsticRagdolls Reduce", "RealsticRagdolls Reduceのスケルトン", "", \
	    "None", "特に変更なし。", ""

	  Case "Vanilla/CBBE/UNP"
	      SelectSubPackage "Option - Skeleton Vanilla(CBBE UNP with No BBP)"
	      Break

	  Case "CHSBHC-BBP"
	      SelectSubPackage "Option - Skeleton CHSBHC-BBP"
	      Break

	  Case "RealsticRagdolls Normal"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Normal"
	      Break

	  Case "RealsticRagdolls Medium"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Medium"
	      Break

	  Case "RealsticRagdolls Reduce"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Reduce"
	      Break

	EndSelect

	SelectMany "オプション。複数選択可。", \
	          "頬こけ改善の無効", "女性キャラの頬こけの改善を無効にします。", "EnhancedCharacterEdit\Fomod\NoCheeksFix.jpg", \
	          "ヴァンパイアの頬こけ無効", "プレイヤーのヴァンパイア時のキャラクターの頬こけをなくします。", "EnhancedCharacterEdit\Fomod\NoVampireCheeks.jpg", \
	          "高解像度UVMap", " 頂点編集時のUVマップを高解像度にします。要SKSE. Data\SKSE\SKSE.iniファイルに以下のように書き加える必要があります。\n [Display]\n iTintTextureResolution=2048", "", \
	          "スライダー可動域の設定", "スライダーの可動域を設定します.", ""

	        Case "頬こけ改善の無効"
	            SelectSubPackage "Option - No Cheeks Fix"
	            Break

	        Case "ヴァンパイアの頬こけ無効"
	            SelectSubPackage "Option - No Vampire Cheeks"
	            Break

		Case "高解像度UVMap"
	            SelectSubPackage "Option - Hi-Res UVMap"
	            Break

	        Case "スライダー可動域の設定"
	            SelectOne "スライダー可動域の設定。どちらかを選んでください。", \
	                "|SliderMax 2x", "スライダーの最大可動域を2倍にします。", "", \
	                "SliderMax and Step 2x", "スライダーの最大可動域を2倍にして、さらに2倍細かく動かせます。", ""
	              Case "SliderMax 2x"
	                  SelectSubPackage "Option - More SliderMax x2"
	                  Break
	              Case "SliderMax and Step 2x"
	                  SelectSubPackage "Option - More SliderMax and Step x2"
	                  Break
	            EndSelect
	            Break
	EndSelect
	Break

 Case "Deutsch"

	SelectSubPackage "Language German"

	SelectOne "Installationsoptionen fur ECE auswahlen", \
		"|Vollstandiges Paket", "Beinhaltet alle Features. Fugt einige neue Regler, Kopfe, eine Rasse und naturlichere Makeup-Farben hinzu.", "", \
		"Keine zusatzliche Rasse", "Die zusatzliche Rasse YgNord wird nicht hinzugefugt.", "", \
		"Kompatibilitatspaket", "Einge Features, wie z.B. die zusatzlichen Augenbrauen, werden nicht installiert. Dafur wird die Kompatibilitat gewahrleistet mit Mods, die Anderungen an den Rassen vornehmen (wie z.B. SkyRe Race).", ""

	  Case "Vollstandiges Paket"
	      SelectSubPackage "01 ECE"
	      SelectSubPackage "02 YgNord"
	      SelectSubPackage "Language German YG"

	      If DataFileExists("Unofficial Skyrim Patch.esp")
	        SelectSubPackage "Option - Racial Compatibility improved USKP patch"
	      EndIf
	      Break

	  Case "Keine zusatzliche Rasse"
	      SelectSubPackage "01 ECE"
	      SelectSubPackage "Language German ECE"
	      Break
	EndSelect

	SelectOne "Skeletons", \
	    "|Vanilla/CBBE/UNP", "Fur das Vanilla Skelett, CBBE und UNP jeweils ohne BBP.", "", \
	    "CHSBHC-BBP", "Skelett CHSBHC-BBP.", "", \
	    "RealsticRagdolls Realistic", "Skelett RealsticRagdolls Realistic.", "", \
	    "RealsticRagdolls Medium", "Skelett RealsticRagdolls Medium.", "", \
	    "RealsticRagdolls Reduced", "Skelett RealsticRagdolls Reduced.", "", \
	    "Keins", "Keine Veranderung durchfuhren. Hals- und Taillenregler sind nicht verfugbar.", ""

	  Case "Vanilla/CBBE/UNP"
	      SelectSubPackage "Option - Skeleton Vanilla(CBBE UNP with No BBP)"
	      Break

	  Case "CHSBHC-BBP"
	      SelectSubPackage "Option - Skeleton CHSBHC-BBP"
	      Break

	  Case "RealsticRagdolls Realistic"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Normal"
	      Break

	  Case "RealsticRagdolls Medium"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Medium"
	      Break

	  Case "RealsticRagdolls Reduced"
	      SelectSubPackage "Option - Skeleton RealsticRagdolls Reduce"
	      Break
	EndSelect

	SelectMany "Optionen.", \
	          "Wangen Fix deaktivieren", "Nicht verandern zu runderen Wangen fur menschliche Frauen.", "EnhancedCharacterEdit\Fomod\NoCheeksFix.jpg", \
	          "Vampirwangen deaktivieren", "Die Wangen eines Vampirs sind nicht mehr eingefallen.", "EnhancedCharacterEdit\Fomod\NoVampireCheeks.jpg", \
	          "Hi-Res UV Map", "Im Vertix Editor kann eine hochauflosende UV map vervendet werden. Benotigt SKSE und SKSE.ini muss im Bereich [Display] die Zeile iTintTextureResolution=2048 enthalten.", "", \
	          "Regler-Erweiterung", "Reglerbreite und Schrittweite verandern.", ""

	        Case "Wangen Fix deaktivieren"
	            SelectSubPackage "Option - No Cheeks Fix"
	            Break

	        Case "Vampirwangen deaktivieren"
	            SelectSubPackage "Option - No Vampire Cheeks"
	            Break

		Case "Hi-Res UV Map"
	            SelectSubPackage "Option - Hi-Res UVMap"
	            Break

	        Case "Regler-Erweiterung"
	            SelectOne "Option auswahlen.", \
	                "|Regler 2x", "Regler sind doppelt so breit wie im Original.", "", \
	                "Regler 2x and doppelte Genauigkeit", "Regler sind doppelt so breit wie im Original und es gibt doppelt so viele Schritte zwischen min und max.", ""
	              Case "Regler 2x"
	                  SelectSubPackage "Option - More SliderMax x2"
	                  Break
	              Case "Regler 2x and doppelte Genauigkeit"
	                  SelectSubPackage "Option - More SliderMax and Step x2"
	                  Break
	            EndSelect
	            Break
	EndSelect
	Break

EndSelect

