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

More options for lower end gfx #11

Open
sc0ttj opened this issue Jan 22, 2022 · 1 comment
Open

More options for lower end gfx #11

sc0ttj opened this issue Jan 22, 2022 · 1 comment

Comments

@sc0ttj
Copy link

sc0ttj commented Jan 22, 2022

It would be nice to have additional graphics settings in the in-game menus, or at compile time.

I've compiled GameplayFootball on a Focal Fossa based distro (Puppy Linux "FossaPup")... compiled on an Lenovo Thinkpad x220i, which, like many laptops, only has integrated graphics card, (in this case OpenGL 3.0, apparently).

I can still run the game however, using the following command:

MESA_GL_VERSION_OVERRIDE=3.3 ./gameplayfootball

Performance is not great, so I tried hacking at the source code to add a few changes:

  • added 640x480 (fullscreen) to the in-game menu
  • commented out some specular rendering stuff
  • used the precalculated kernel32 stuff
  • tried to comment out shadow rendering stuff

It was all very hacky, and I've no idea what I'm doing, but I did get better slightly performance - although not much difference, obviously.

It would be nice to have good performance on lower end machines... There is https://github.com/bkaradzic/bgfx, which supports all kinds of backends, and might make it easier to port to Android etc, but it may not be worth the effort to integrate it into this project (not at all trivial, I'm sure).

Maybe easier - it would be nice to able to disable various gfx features at build time:

  • it lowers the (hardware) barriers for development, and for running it obvs
  • it widens its use cases (physics sim, AI testing, diagramming, rendering to video, etc)
  • more flexibilty and (properly documented) build-time options are usually a good thing
  • it may therefore encourage more people to get involved in development

(having worked with some people at BBC Sport a few times, I think they (for example) would be more interested in this for AI and motion capture type stuff, rather than "games").

Anyway, just a suggestion, close this issue if it's of no interest to you.

Thanks.

@DoomDivine
Copy link

It would be nice to have additional graphics settings in the in-game menus, or at compile time.

I've compiled GameplayFootball on a Focal Fossa based distro (Puppy Linux "FossaPup")... compiled on an Lenovo Thinkpad x220i, which, like many laptops, only has integrated graphics card, (in this case OpenGL 3.0, apparently).

I can still run the game however, using the following command:

MESA_GL_VERSION_OVERRIDE=3.3 ./gameplayfootball

Performance is not great, so I tried hacking at the source code to add a few changes:

* added 640x480 (fullscreen) to the in-game menu

* commented out some specular rendering stuff

* used the precalculated kernel32 stuff

* tried to comment out shadow rendering stuff

It was all very hacky, and I've no idea what I'm doing, but I did get better slightly performance - although not much difference, obviously.

It would be nice to have good performance on lower end machines... There is https://github.com/bkaradzic/bgfx, which supports all kinds of backends, and might make it easier to port to Android etc, but it may not be worth the effort to integrate it into this project (not at all trivial, I'm sure).

Maybe easier - it would be nice to able to disable various gfx features at build time:

* it lowers the (hardware) barriers for development, and for running it obvs

* it widens its use cases (physics sim, AI testing, diagramming, rendering to video, etc)

* more flexibilty and (properly documented) build-time options are usually a good thing

* it may therefore encourage more people to get involved in development

(having worked with some people at BBC Sport a few times, I think they (for example) would be more interested in this for AI and motion capture type stuff, rather than "games").

Anyway, just a suggestion, close this issue if it's of no interest to you.

Thanks.

Hey there, i had a doubt regarding this game:

So, if i want to create a player, for example a football player with an overall rating of 999 or 1 million ovr, such that he scores from goal to goal and cannot be tackled and is incredibly fast, how would i do that in the game's sources code? How to change the player overall in the game's source code? Please tell me how do i do this, because this has always been my dream modification in a football game, sadly fifa does not allow me to make 1 million ovr players, but i hope this game allows me? Please help me out?

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

2 participants