proxima5 icon indicating copy to clipboard operation
proxima5 copied to clipboard

Windows fail

Open techtonik opened this issue 10 years ago • 6 comments

I am still trying to find a demo that showcases how tcell works. go get ... worked to produce the proxima5 binary, but it fails on Windows with Failed to initialize game: Cannot find data (did you run rebuild.sh?). Is it possible to get rid of .sh scripts and make this step a part of get process?

techtonik avatar Nov 18 '15 08:11 techtonik

Missing commands:

go build mkassets.go spritedata.go leveldata.go properties.go
mkassets -type level l-level1.yml 
mkassets.exe -type sprite s-alien1.yml s-blastwave.yml s-bullet.yml s-cavern1.yml s-complete.yml s-exhaust.yml s-explosion.yml s-gameover.yml s-gantry.yml s-hfence.yml s-pad.yml s-press.yml s-ship.yml s-smexplosion.yml s-thrust.yml s-tinyexplosion.yml
go build .

techtonik avatar Nov 18 '15 08:11 techtonik

Yes, probably this should be done via go generate. I used bash on Windows to build this -- from the git installation actually. :-)

gdamore avatar Nov 18 '15 14:11 gdamore

I am using ssh on windoze through git installation, but using bash.. that's hackish! =)

techtonik avatar Nov 19 '15 13:11 techtonik

I'm not really a Windows developer. Windows got support for all this stuff mostly as a side effort. I really don't like the legacy cmd stuff.

I can do the go generate thing and commit the generated go files if that will help.

gdamore avatar Nov 19 '15 16:11 gdamore

If the commands above can be executed during standard go build process with go tools - that will be fine.

techtonik avatar Nov 20 '15 00:11 techtonik

You have to do go run... Because it cannot find things in . on non-Windows platforms.

Sent from my iPhone

On Nov 19, 2015, at 4:04 PM, anatoly techtonik [email protected] wrote:

If the commands above can be executed during standard go process with go tools - that will be fine.

— Reply to this email directly or view it on GitHub.

gdamore avatar Nov 20 '15 00:11 gdamore