Page 1 of 1

how to make contribution

PostPosted: Saturday, 15th February 2020, 16:12
by petercordia
I'd be interested in implementing some of the features discussed on the forum, if/when I have the time

But I don't really know how to

I have used git a few years back, have a little programming experience (in Python & C), and I'm using a linux machine.
Can anyone tell me how to download & modify the code, compile & make a test version, and make pull request, or direct me to some how-to guides?

Thanks!

Re: how to make contribution

PostPosted: Saturday, 15th February 2020, 19:38
by chequers

Re: how to make contribution

PostPosted: Tuesday, 18th February 2020, 17:32
by damerell
More basically, "git clone https://github.com/crawl/crawl/", "cd crawl/crawl-ref", and read INSTALL.txt - don't overthink it, you don't need to do much besides install the submodules or the equivalent packages from your Linux distro, then run "make".

Re: how to make contribution

PostPosted: Wednesday, 26th February 2020, 16:23
by petercordia
I managed to download and compile, with the only error messages being

  Code:
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: iCCP: known incorrect sRGB profile


but I can't figure out how to play my local version.

Also, if I want to make a pull request later, is there anything I should (avoid) do(ing) before I start changing any code?

Re: how to make contribution

PostPosted: Monday, 15th June 2020, 05:56
by damerell
petercordia wrote:I managed to download and compile, with the only error messages being

  Code:
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: iCCP: known incorrect sRGB profile


but I can't figure out how to play my local version.


Do
  Code:
./crawl
in the directory where you built it.