Medo42/Gmk-Splitter — Issue #2: Unknown primary resource group "Timelines"
Author: YellowAfterlife
Created: 2011-11-25 06:05:32+00:00
State: open

In some cases the following error occurs while decomposing a GMK:

```java
Exception in thread "main" java.io.IOException: Unknown primary resource group "Timelines"
at com.ganggarrison.gmdec.ResourceWriter.writeChildTree(ResourceWriter.java:76)
at com.ganggarrison.gmdec.ResourceWriter.writeTree(ResourceWriter.java:44)
at com.ganggarrison.gmdec.GmkSplitter.decompose(GmkSplitter.java:101)
at com.ganggarrison.gmdec.GmkSplitter.main(GmkSplitter.java:59)
```

To mention, GMKs that are causing error dont necessarily have any timelines.

Of other things, I've made this .bat script to simplify decomposition to dragging needed gmk upon .bat:

```bat
@echo off
echo Source: %1
echo Destination: "%~nx1.data"
gmksplit %1 "%~nx1.data"
pause
```

If a sample GMK is needed, send me a PM.