Page 1 of 1

Where's the source?

Posted: 2020-11-21 06:00
by gettingbored
Where is the source code for PR:BF2?


I've been playing PR:BF2 off-and-on for the last 11 years and I've heard or seen any mentions of the details of the source code. (I found the public github, but there's no PR:BF2 source.)

Given that this is a non-commercial community project, I'm really surprised that we don't have public hosting of the source such that people can mod and suggest changes/improvements to the game/client/server. What's the thinking on gatekeeping the source?

I've been working as a developer for the last ~6 years so I'd be curious to see what I could help contribute.

Does anyone know:
- where are the source/assets are hosted?
- what tooling is used for version control?
- how are code changes reviewed?
- how are bugs + progress tracking handled?
- what does the dev tooling look like?
- how much automated test coverage is there?

Re: Where's the source?

Posted: 2020-11-21 10:52
by AlonTavor
gettingbored wrote:
Does anyone know:
- where are the source/assets are hosted?
- what tooling is used for version control?
- how are code changes reviewed?
- how are bugs + progress tracking handled?
- what does the dev tooling look like?
- how much automated test coverage is there?
The only code we do is Bf2 "script" configurations, C# for launcher, and python for server side macro logic. The engine is closed source and we do not have its source code, relying on assembly/hooks for some things.
You can view the bf2 configurations in the content/.zip files.
Python is not public and the launcher will never be.

We use a combination of gitlab and SVN, tracking tasks on redmine. The gitlab has some public stuff, most of which are deprecated
https://gitlab.com/realitymod

We have some minimal automated testing/generation for the bf2 script in launcher. If you are interested in taking on the task of a BF2 python "host" module simulation, that would be much needed.


We're looking for python and c++ reverse engineering, apply as tester if interested and start playing with it from there.

Re: Where's the source?

Posted: 2020-12-23 03:05
by chinvaldes
Thanks, I give it a go to figure it out.