othyn / bulk-bwav-to-wav-converter

A project that aims to convert BWAV to WAV files in bulk/batch
MIT License
2 stars 5 forks source link

Script not working on Windows #1

Open othyn opened 1 year ago

othyn commented 1 year ago

Description

[mirror of a conversation taken via email, redacted to preserve privacy of the sender]

I am trying to follow the instructions with the bulk-bwav-to-wav-converter. So I am trying to compile the bstrm converter but I am having trouble compiling it. I am getting a syntax error, treating it as a linker script, and an error message saying "ID returned 1 exit status" So I did download the 2.70 one that was already compiled. Then I put the .bwav file inside the "in" folder. But for the "make convert" there isn't anything I can't find in the source code with a file like that so I can't convert any .bwav files at all. I do have a g++ installed as it says in the requirements and I am running Windows 10. I am not entirely sure if I am misunderstanding something or missing something.

Version

Latest

Steps to Reproduce

As described.

Screenshots

No response

Device

Windows

Operating System

Windows

Additional Context

No response

othyn commented 1 year ago

I assume you're using WSL (Windows Subsystem for Linux) if you're running this on Windows? If not, the scripts aren't designed to run on Windows, at the moment its only Linux/macOS as the underlying leg work is all done via Bash scripts, the makefile is just a wrapper around it for easy calling. If you install or use WSL though (which is just installing a Linux kernel and exposing it to Windows within your existing Windows installation), it should be usable on Windows, as long as you have a Bash shell accessible.

Make is an OS level tool built into Linux (Unix) and macOS (BSD), in which executes Makefile's (you'll find one at the root of the repo), which are designed simply to execute a repeat set of instructions. They're common in C and C derrivative projects to build them, or just as an easy replacement to bash scripts for project orchestration.

Searching around on StackOverflow, here are some posts that should point you in the right direction on running this on Windows:

https://stackoverflow.com/a/54133058/4494375

As mentioned before, you will have to run the scripts via WSL on Windows otherwise they won't work, and it appears WSL has the 'make' tool pre-installed, which would make sense given its built into *unix flavours anyway.