I grabbed XPAN .4 from nexus, and though it doesn't appear to be throwing any errors and it shows up in the extensions menu, there are no new sectors that I can find.
I've poked around rather a lot, both manually and with slan's cheat menu, in both an existing and a new save. No new sectors, no new gates, existing inactive gates are inactive.
On unpacking the .dat, I see there are still a bunch of CamelCase file and directory names, as well as references to them in macros.xml... In fact it looks like exactly the same layout as the unpacked version I first tried.
According to a post at the end of page 2 in the thread I linked you, names in packed mods are subject to the same case-sensitivity issues as unpacked mods.
I'll run it through some bash/sed and see if unpacking + renaming + fixing macros.xml gets it working.
---
Ed. Unpacking and renaming files/directories + changing references in macros.xml seems to do the trick. I see your sectors, and raise you my changes:
Code: Select all
Only in xpan/assets/environments/cluster: xpan_clusterxpan01_data
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN01_data
Only in xpan/assets/environments/cluster: xpan_clusterxpan01.xml
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN01.xml
Only in xpan/assets/environments/cluster: xpan_clusterxpan02_data
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN02_data
Only in xpan/assets/environments/cluster: xpan_clusterxpan02.xml
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN02.xml
Only in xpan/assets/environments/cluster: xpan_clusterxpan03_data
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN03_data
Only in xpan/assets/environments/cluster: xpan_clusterxpan03.xml
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN03.xml
Only in xpan/assets/environments/cluster: xpan_clusterxpan04_data
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN04_data
Only in xpan/assets/environments/cluster: xpan_clusterxpan04.xml
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN04.xml
Only in xpan/assets/environments/cluster: xpan_clusterxpan05_data
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN05_data
Only in xpan/assets/environments/cluster: xpan_clusterxpan05.xml
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN05.xml
Only in xpan/assets/environments/cluster: xpan_clusterxpan06_data
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN06_data
Only in xpan/assets/environments/cluster: xpan_clusterxpan06.xml
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN06.xml
Only in xpan/assets/environments/cluster: xpan_clusterxpan07_data
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN07_data
Only in xpan/assets/environments/cluster: xpan_clusterxpan07.xml
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN07.xml
Only in xpan/assets/environments/cluster: xpan_clusterxpan08_data
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN08_data
Only in xpan/assets/environments/cluster: xpan_clusterxpan08.xml
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN08.xml
Only in xpan/assets/environments/cluster: xpan_clusterxpan09_data
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN09_data
Only in xpan/assets/environments/cluster: xpan_clusterxpan09.xml
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN09.xml
Only in xpan/assets/environments/cluster: xpan_clusterxpan10_data
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN10_data
Only in xpan/assets/environments/cluster: xpan_clusterxpan10.xml
Only in xpan_orig/assets/environments/cluster: xpan_clusterXPAN10.xml
diff -rud xpan_orig/index/macros.xml xpan/index/macros.xml
--- xpan_orig/index/macros.xml 2019-08-08 22:48:58.000000000 +1200
+++ xpan/index/macros.xml 2019-08-08 22:44:42.837516669 +1200
@@ -1,23 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<index>
<!-- xpangalaxy -->
- <entry name="xpan_galaxy_macro" value="extensions\xpan\maps\XU_ep2_universe\galaxy"/>
- <entry name="xpan_cluster*" value="extensions\xpan\maps\XU_ep2_universe\xpan_clusters"/>
- <entry name="xpan_clusterxpan01_sector*" value="extensions\xpan\maps\XU_ep2_universe\xpan_sectors"/>
- <entry name="xpan_clusterxpan02_sector*" value="extensions\xpan\maps\XU_ep2_universe\xpan_sectors"/>
- <entry name="xpan_clusterxpan03_sector*" value="extensions\xpan\maps\XU_ep2_universe\xpan_sectors"/>
- <entry name="xpan_clusterxpan04_sector*" value="extensions\xpan\maps\XU_ep2_universe\xpan_sectors"/>
- <entry name="xpan_clusterxpan05_sector*" value="extensions\xpan\maps\XU_ep2_universe\xpan_sectors"/>
- <entry name="xpan_clusterxpan06_sector*" value="extensions\xpan\maps\XU_ep2_universe\xpan_sectors"/>
- <entry name="xpan_clusterxpan07_sector*" value="extensions\xpan\maps\XU_ep2_universe\xpan_sectors"/>
- <entry name="xpan_clusterxpan08_sector*" value="extensions\xpan\maps\XU_ep2_universe\xpan_sectors"/>
- <entry name="xpan_clusterxpan09_sector*" value="extensions\xpan\maps\XU_ep2_universe\xpan_sectors"/>
- <entry name="xpan_clusterxpan10_sector*" value="extensions\xpan\maps\XU_ep2_universe\xpan_sectors"/>
- <entry name="xpan_zone*" value="extensions\xpan\maps\XU_ep2_universe\xpan_zones"/>
- <entry name="xpan_shcon*" value="extensions\xpan\maps\XU_ep2_universe\xpan_zones" />
- <entry name="xpan_superhighway*" value="extensions\xpan\maps\XU_ep2_universe\xpan_sechighways"/>
- <entry name="xpan_highway*" value="extensions\xpan\maps\XU_ep2_universe\xpan_zonehighways"/>
+ <entry name="xpan_galaxy_macro" value="extensions\xpan\maps\xu_ep2_universe\galaxy"/>
+ <entry name="xpan_cluster*" value="extensions\xpan\maps\xu_ep2_universe\xpan_clusters"/>
+ <entry name="xpan_clusterxpan01_sector*" value="extensions\xpan\maps\xu_ep2_universe\xpan_sectors"/>
+ <entry name="xpan_clusterxpan02_sector*" value="extensions\xpan\maps\xu_ep2_universe\xpan_sectors"/>
+ <entry name="xpan_clusterxpan03_sector*" value="extensions\xpan\maps\xu_ep2_universe\xpan_sectors"/>
+ <entry name="xpan_clusterxpan04_sector*" value="extensions\xpan\maps\xu_ep2_universe\xpan_sectors"/>
+ <entry name="xpan_clusterxpan05_sector*" value="extensions\xpan\maps\xu_ep2_universe\xpan_sectors"/>
+ <entry name="xpan_clusterxpan06_sector*" value="extensions\xpan\maps\xu_ep2_universe\xpan_sectors"/>
+ <entry name="xpan_clusterxpan07_sector*" value="extensions\xpan\maps\xu_ep2_universe\xpan_sectors"/>
+ <entry name="xpan_clusterxpan08_sector*" value="extensions\xpan\maps\xu_ep2_universe\xpan_sectors"/>
+ <entry name="xpan_clusterxpan09_sector*" value="extensions\xpan\maps\xu_ep2_universe\xpan_sectors"/>
+ <entry name="xpan_clusterxpan10_sector*" value="extensions\xpan\maps\xu_ep2_universe\xpan_sectors"/>
+ <entry name="xpan_zone*" value="extensions\xpan\maps\xu_ep2_universe\xpan_zones"/>
+ <entry name="xpan_shcon*" value="extensions\xpan\maps\xu_ep2_universe\xpan_zones" />
+ <entry name="xpan_superhighway*" value="extensions\xpan\maps\xu_ep2_universe\xpan_sechighways"/>
+ <entry name="xpan_highway*" value="extensions\xpan\maps\xu_ep2_universe\xpan_zonehighways"/>
<entry name="tcluster_xpan01_macro" value="extensions\xpan\assets\environments\cluster\macros\tcluster_xpan01_macro"/>
<entry name="tcluster_xpan10_macro" value="extensions\xpan\assets\environments\cluster\macros\tcluster_xpan10_macro"/>
-</index>
\ No newline at end of file
+</index>
Only in xpan/maps: xu_ep2_universe
Only in xpan_orig/maps: XU_ep2_universe
Only in xpan/md: setup_xpan.xml
Only in xpan_orig/md: Setup_XPAN.xml
I don't know enough about X4 modding to tell whether these matter, but I'm still seeing a couple of xpan-related warnings in my log:
Code: Select all
Duplicate cue name ActivateGate_Wait in MD script extensions\xpan\md\setup_xpan.xml, line 52
Duplicate cue name ActivateGate_Wait in MD script extensions\xpan\md\setup_xpan.xml, line 75
Invalid yield variation in region definition 'xpan01_sector01_field' - must be a fraction between 0 and 1. Clamping to valid range.
----
Ed. But wait, there's more. On entering one of the new sectors I get this:
Code: Select all
[Mesh::Mesh] could not find a valid meshsource for mesh extensions\xpan\assets\environments\cluster\xpan_clusterxpan02_data\sphere001-lod0.xmf!
AssetManager::GetAssetIntern() invalid handle(255:16777215)
The file mentioned is indeed absent, but again I know zilch about X4 modding.
Poking it with a stick, i.e. copying:
Code: Select all
xpan/assets/environments/cluster/xpan_clusterxpan01_data/sphere001-collision.xmf
xpan/assets/environments/cluster/xpan_clusterxpan01_data/sphere001-lod0.xmf
to:
Code: Select all
xpan/assets/environments/cluster/xpan_clusterxpan02_data/
Makes the errors go away