Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

For me the convert.bat is broken due a missing directory change before calling the Python script. Windows cannot find the script due current working directory for a drag&drop operation is always the source directory of the dragged file.

it worked on my machine and the two testers (who didn’t even have python installed to begin with). Do you have python installed so it can be called from any directory in windows?

(2 edits)

I commented the the first line of the batch to show the error:  9:32:44,74 C:\projekte\sega development\midinotes > python midi2dmf.py -v "C:\projekte\sega development\midinotes\OVER.MID" "C:\projekte\sega development\midinotes\OVER.dmf"

python: can't open file 'C:\\projekte\\sega development\\midinotes\\midi2dmf.py': [Errno 2] No such file or directory

The call is not executed  in the correct directory. This isn't an issue of the python installation, it is wrong assumption what is the current working directory.

(1 edit)

You're totally correct. Without being told (the directions don't say) the testers always put their test MIDIs in the root folder. I did too. I have updated the convert.bat to work regardless of where the MIDI is. Thanks for bringing this to my attention.  Sorry about that.