Open shinra-electric opened 1 year ago
Update: I noticed that the missing dataset/units.json
file was in the Stargus source directory, so I copied all of the source files into the Stargus.app bundle and ran it again.
It ran, but it did not seem to run completely. Even though I used the -v command, it didn't convert any videos. Startool Output 2.txt
I launched Stargus using the command line, and it fails saying that there are missing items, including the ogg files. Stargus Output.txt
Update 2: It turns out I was using the -v arg in the wrong place.
using the command ./startool -v /source_dir /destination_dir
got it working. However, the music files were not converted, and Stargus will still crash saying that it is missing music/title.ogg
. There was no music folder extracted...
Startool Output 3.txt
The sound parameter was documented wrong. You've to run startool with --sound or -s to extract the audio. I pushed the help change to my feature branch. I'll merge it with the next feature change to the official repo. But it the parameter works, it's just the wrong help.
Thanks for the tip! Using ./startool -v -s /source_dir /destination_dir
did extract the music and sound files! I can get a little bit further now.
However, Stargus still won't launch at all when opening the app bundle, and crashes when trying to load the menu when run through terminal. There is no error printed in the terminal output (except for the few missing Lua files that are the same as in the previous output above). Here is the system crash report in case it might help at all...
Here are the steps I took in getting this far, just for anyone else following along:
stargus/build/src/
to the root of the stargus folder./startool -v -s /source_dir /destination_dir
where source is the stargus folder and the destination directory is ~/Library/Application Support/Stratagus/data.Stargus
cd Stargus.app/Contents/MacOS/
I'm trying to extract the Starcraft game data on Mac, but Startool is not working.
First I pointed it to a PC install (I have a Wine install), where StarDat.mpq and BrooDat.mpq are present. Neither files are shown as detected. Then Startool will segfault.
Then I tried again but this time with INSTALL.EXE present. It is detected, but then it will fail with a file not found error:
libc++abi: terminating due to uncaught exception of type FileNotFoundException: File not found: 'dataset/units.json'.
Here is the terminal log: Startool Output.txt