Open 0-wiz-0 opened 2 weeks ago
Hey!
oto
. You can try building the project with go build -tags no_audio
, which should disable any usage of oto
If this doesn't solve the problems just let me know and I will dig deeper :)
Thanks, that helped! Now I see
# github.com/BigJk/end_of_eden/cmd/game_win
/usr/pkg/go121/pkg/tool/netbsd_amd64/link: running gcc failed: exit status 1
ld: cannot find -ldl: No such file or directory
On NetBSD (and macOS and other BSDs), dlopen()
and friends are in libc, not libdl.
I'm not sure where the -ldl
comes from, any suggestions?
(I've worked around it in the package.) Next: which files should be installed? I see
bin/definitions
bin/docs
bin/fuzzy_tester
bin/game
bin/game_ssh
bin/game_win
bin/tester
Thanks!
I'll just keep on adding stuff here, let me know if you want different tickets:
game
but it needed assets installed under a relative path. Do I understand correctly that game
needs to be run in the directory where assets
are? Is anything else needed??
room, losing my remaining two hit points. The game only noticed after the next time I took a (0 point) hit from a monster in a fight (in round three!), and then I got an unknown state error about game-over (something like that) before I got the you lost
screen.Feel free to just keep dumping stuff here 😄
game_win
building problem is because of the bundled terminal emulator that is using https://github.com/hajimehoshi/ebiten for rendering and requires cgo. Not sure how ebiten works or needs to be setup on NetBSDbin/game
(terminal version) and the bin/game_win
(windowed version with a bundled minimal terminal emulator). The other binaries are only useful for developing the game or advanced mod creators.assets
should be in the working directory of the gameTAB
and the arrow keys to navigate the cards and enemies. ENTER
to select a card/action. SPACE
to end a turn.Hm, I tried building ebiten 2.6.3 (the one that's currently used by end_of_eden) and didn't get an error. How can I find out which dependency wants to add -ldl
?
(ebiten main
doesn't work on NetBSD right now because of https://github.com/ebitengine/purego/issues/249 though.)
Ah, one more bug report for your code:
?
room but didn't lose 5HP like promised.Unknown State: RANDOM
stops already, nothing seems to work when that happens.As for terminal: I don't remember the detailed settings for my first try. Now I'm using iTerm2 on macOS, ssh to NetBSD, end_of_eden runs there. TERM
is tmux-direct
. Thanks for the tip with SPACE
, that helps. I think I'm missing some text because my terminal default is black on white. I just tried white on black and I now think that the game requires this setting - I could see all text :)
-ldl
I'm not sure from the top of my head. If you can build the terminal version (./cmd/game
) without the -ldl
problem then I can only assume that it is still a ebiten problem. Did you successfully compile and run a ebiten example?Unknown State: RANDOM
is happening if no next content could be found. This is because most of the games content is still completely missing
Hi! I'm trying to package this for pkgsrc. I have two bigger problems:
oto 0.7.1 does not support NetBSD. The current version is 3.2.0, versions from 2.0.0 do support NetBSD.
This project is dead. Its github page says:
which explains the error message quite well.