wwiseutil icon indicating copy to clipboard operation
wwiseutil copied to clipboard

Build instructions?

Open enigma0Z opened this issue 2 years ago • 1 comments

I'd like to compile / run this on MacOS & Linux ... but there aren't any instructions by which to build or set up a dev environment. Adding them would be useful...

enigma0Z avatar Mar 22 '23 16:03 enigma0Z

I'm using Termux on Android.

Make sure you have Go installed on ur OS. In my case, it's: $ pkg install golang

Clone this repo: $ git clone https://github.com/hpxro7/wwiseutil.git

Navigate to the repo: $ cd wwiseutil

Initialize go.mod: $ go mod init something

Depending on which file you want to compile, for example, I want to compile the nogui version (cmd): $ cd cmd

Build main.go: $ go build main.go

You'll be asked to install some modules if they're not installed yet. For example, if you're trying to build cmd/main.go: $ go get github.com/hpxro7/wwiseutil/wwise github.com/hpxro7/wwiseutil/util github.com/hpxro7/wwiseutil/pck github.com/hpxro7/wwiseutil/bnk

Run the build again after installing modules: $ go build main.go

The output file depends on where you run go build. If you run go build inside folder wwise, then the output is inside folder wwise. in my case, the output is in the cmd folder because I run go build there.

fann22 avatar Jun 26 '24 13:06 fann22