Giter Site home page Giter Site logo

Outdated dependencies about end_of_eden HOT 6 OPEN

0-wiz-0 avatar 0-wiz-0 commented on August 16, 2024 1
Outdated dependencies

from end_of_eden.

Comments (6)

BigJk avatar BigJk commented on August 16, 2024

Hey!

  • I just committed a version bump that should fix the crypto problem
  • Regarding 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 :)

from end_of_eden.

0-wiz-0 avatar 0-wiz-0 commented on August 16, 2024

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!

from end_of_eden.

0-wiz-0 avatar 0-wiz-0 commented on August 16, 2024

I'll just keep on adding stuff here, let me know if you want different tickets:

  • I ran 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?
  • after nearly losing against two cleaning bots, I picked up a new card in a ? 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.
  • something's not completely right with my terminal settings, I often don't see what I have selected (except when there are bigger changes like when the card "pops up". I also don't know how to select targets or end turns without the mouse.

from end_of_eden.

BigJk avatar BigJk commented on August 16, 2024

Feel free to just keep dumping stuff here 😄

  • The 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 NetBSD
  • You probably want to distribute the bin/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.
  • Yep atm assets should be in the working directory of the game
  • The game is still very experimental and more a POC what could be done in the terminal, so there are probably a whole bunch of errors like that at the moment. I will keep investigate that one further when I find the time 👍
  • Hm... What terminal are you using? You should be able to use TAB and the arrow keys to navigate the cards and enemies. ENTER to select a card/action. SPACE to end a turn.

from end_of_eden.

0-wiz-0 avatar 0-wiz-0 commented on August 16, 2024

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 ebitengine/purego#249 though.)
Ah, one more bug report for your code:

  • I used Knockout on a Cleaning Bot that was already in its Block phase, but it still had 2 block in the current and next round.
  • I used the 'Upgrade a card' action in a ? room but didn't lose 5HP like promised.
  • I had a couple 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 :)

from end_of_eden.

BigJk avatar BigJk commented on August 16, 2024
  • Regarding -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?
  • I found the problem with the missing damage. Thanks :)
  • Unknown State: RANDOM is happening if no next content could be found. This is because most of the games content is still completely missing
  • Regarding the terminal. I probably need to force the white on black from the games side but it would take a while to go through all the printing and set everything to white. I will put it on my bucketlist though

from end_of_eden.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.