Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run in 2023 with modern Go versions #20

Open
JaimeObregon opened this issue Nov 14, 2023 · 0 comments
Open

How to run in 2023 with modern Go versions #20

JaimeObregon opened this issue Nov 14, 2023 · 0 comments

Comments

@JaimeObregon
Copy link

JaimeObregon commented Nov 14, 2023

I was considering submitting a pull request to update the README.md, but it appears that the project has been abandoned, as recent pull requests don't seem to be getting merged.

I have no prior experience with Go, and as of November 2023, the instructions outlined in the README.md are unsuccessful on my MacBook Pro with an M2 chip. I encountered the following errors:

$ go run src/scummatlas/main/scummatlas.go -gamedir=/tmp/<GAME_FOLDER> -outputdir out
src/scummatlas/main/scummatlas.go:4:2: package fileutils is not in std (/opt/homebrew/Cellar/go/1.21.4/libexec/src/fileutils)
src/scummatlas/main/scummatlas.go:11:2: package scummatlas is not in std (/opt/homebrew/Cellar/go/1.21.4/libexec/src/scummatlas)
src/scummatlas/main/scummatlas.go:12:2: package scummatlas/condlog is not in std (/opt/homebrew/Cellar/go/1.21.4/libexec/src/scummatlas/condlog)
src/scummatlas/main/scummatlas.go:13:2: package scummatlas/templates is not in std (/opt/homebrew/Cellar/go/1.21.4/libexec/src/scummatlas/templates)

I am using Go 1.21:

$ go version
go version go1.21.4 darwin/arm64

I have been able to fix it by just running this first:

$ go env -w GO111MODULE=off

After that, scummatlas successfully ran with "The Secret of Monkey Island" downloaded from here and "Monkey Island 2: LeChuck's Revenge" from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant