From 9e4ab495ce97bdb068abc2487a6acaa46697836e Mon Sep 17 00:00:00 2001 From: archenovalis Date: Mon, 9 Dec 2024 00:42:14 -0700 Subject: [PATCH 1/3] enables packing ui changes separately --- Framework/File_Manager/Source_Reader_Local.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Framework/File_Manager/Source_Reader_Local.py b/Framework/File_Manager/Source_Reader_Local.py index fd7fefa..b21dfda 100644 --- a/Framework/File_Manager/Source_Reader_Local.py +++ b/Framework/File_Manager/Source_Reader_Local.py @@ -36,6 +36,9 @@ 't/', 'textures/', 'ui/', + 'addons/', + 'core/', + 'widget/', # TODO: all voice folders for different languages. 'voice-L044/', 'voice-L049/', From 6c7ab8e453960ac989b43045dfbc43ec171f6501 Mon Sep 17 00:00:00 2001 From: archenovalis Date: Tue, 25 Feb 2025 11:44:22 -0700 Subject: [PATCH 2/3] includes example .bat --- .gitignore | 4 +- Cat_Unpack-all.bat | 3 + Cat_Unpack-modding.bat | 3 + diff.bat | 2 + diffnew/wares.xml | 237 +++++++++++++++++++++++++++++++++++++++++ difforig/wares.xml | 228 +++++++++++++++++++++++++++++++++++++++ diffout/wares.xml | 20 ++++ 7 files changed, 496 insertions(+), 1 deletion(-) create mode 100644 Cat_Unpack-all.bat create mode 100644 Cat_Unpack-modding.bat create mode 100644 diff.bat create mode 100644 diffnew/wares.xml create mode 100644 difforig/wares.xml create mode 100644 diffout/wares.xml diff --git a/.gitignore b/.gitignore index fab55c3..28649b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,12 @@ +*.7z + pyinstaller_build_files/ # Ignore unzipped test copies of releases. X4_Customizer_v*/ # Ignore releases themselves. *.zip # Ignore scattered files generated for releases. -*.bat +# *.bat for_egosoft_forum.txt Default_Script.py # Ignore random screenshots taken. diff --git a/Cat_Unpack-all.bat b/Cat_Unpack-all.bat new file mode 100644 index 0000000..4eb12a8 --- /dev/null +++ b/Cat_Unpack-all.bat @@ -0,0 +1,3 @@ +@echo of +py "D:\Games\Steam\steamapps\common\X4 Foundations\X4_Customizer-1.24.12\Framework\Main.py" Cat_Unpack -argpass %* -include * +pause \ No newline at end of file diff --git a/Cat_Unpack-modding.bat b/Cat_Unpack-modding.bat new file mode 100644 index 0000000..2b4abd0 --- /dev/null +++ b/Cat_Unpack-modding.bat @@ -0,0 +1,3 @@ +@echo of +py "D:\Games\Steam\steamapps\common\X4 Foundations\X4_Customizer-1.24.12\Framework\Main.py" Cat_Unpack -argpass %* -include * -exclude *.dds *.xmf *.sig *.ani *.jcs *.ogg *.wav +pause \ No newline at end of file diff --git a/diff.bat b/diff.bat new file mode 100644 index 0000000..611685c --- /dev/null +++ b/diff.bat @@ -0,0 +1,2 @@ +py "Framework\Main.py" Generate_Diffs -argpass "difforig" "diffnew" "diffout" +pause \ No newline at end of file diff --git a/diffnew/wares.xml b/diffnew/wares.xml new file mode 100644 index 0000000..e265ab5 --- /dev/null +++ b/diffnew/wares.xml @@ -0,0 +1,237 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/difforig/wares.xml b/difforig/wares.xml new file mode 100644 index 0000000..c78e8c0 --- /dev/null +++ b/difforig/wares.xml @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/diffout/wares.xml b/diffout/wares.xml new file mode 100644 index 0000000..6faf66e --- /dev/null +++ b/diffout/wares.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + From 89380e269c3b99bf892fa1862ec101e84cc500ed Mon Sep 17 00:00:00 2001 From: archenovalis Date: Wed, 12 Mar 2025 04:37:52 -0600 Subject: [PATCH 3/3] bat file update --- Cat_Unpack-modding.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cat_Unpack-modding.bat b/Cat_Unpack-modding.bat index 2b4abd0..414063f 100644 --- a/Cat_Unpack-modding.bat +++ b/Cat_Unpack-modding.bat @@ -1,3 +1,3 @@ -@echo of -py "D:\Games\Steam\steamapps\common\X4 Foundations\X4_Customizer-1.24.12\Framework\Main.py" Cat_Unpack -argpass %* -include * -exclude *.dds *.xmf *.sig *.ani *.jcs *.ogg *.wav +@echo off +py "Framework\Main.py" Cat_Unpack -argpass %* -include * -exclude *.dds *.xmf *.sig *.ani *.jcs *.ogg *.wav *.gz *.xpm *.xsm *.xac *.f *.psb *.ogl *.h *.v *.abc *.jpg *.dtd *.pk *.comp *.vh *.fh *.tcs *.tes *.peb *.dae *.bgp *.bgf *.bsg *.amw pause \ No newline at end of file