opentomb / OpenTomb

An open-source Tomb Raider 1-5 engine remake
http://opentomb.github.io/
GNU Lesser General Public License v3.0
1.38k stars 143 forks source link

Provide information for new developers/testers #383

Open stohrendorf opened 7 years ago

stohrendorf commented 7 years ago

Should contain information about how to compile from scratch on different platforms, and also a few style guidelines about code formatting, variable/type naming, etc.

Gh0stBlade commented 7 years ago

Coding style guidelines were posted by Lwmte here: https://github.com/opentomb/OpenTomb/issues/180

stohrendorf commented 7 years ago

Oh, I totally forgot about that. But it should rather be on its own document (e.g. a wiki page) than a github issue.

Legend286 commented 7 years ago

Thanks for the response @Gh0stBlade :) I'm a bit occupied myself atm but it would be rad to collaborate with someone on the renderer stuff because I'm not so familiar with opengl-centric c++ (obviously shaders are a universal thing as a TA) but it should be interesting to see exactly how much we can get out of the old art with some deferred lighting, shadowmapping, etc etc... and maybe it'll be cool for people who still use TRLE (my friend is a big TRLE map maker so part of the reason I want to undertake this kind of project is to have a bit of fun but also because it'd be cool to see what he does with it)

CDrosos commented 7 years ago

I cant understand how to run this project on windows. Tr1 does not have a data folder, i have just copy paste all the files from the game folder to the tr1/data folder music files cannot be downloaded, it says forbiten, i have extract the loading screens, i have take the data folders from tomb raider 2 and 3 and when i run opentomb i get nothing, we need better installation info, i have gog tombraider 1-3 collection

Gh0stBlade commented 7 years ago

Which version of TR1 do you have? GOG?

CDrosos commented 7 years ago

yes all are GOG

Gh0stBlade commented 7 years ago

https://github.com/opentomb/OpenTomb/issues/434

GOG has TR1 level files stored in another file which must be unpacked, the above issue linked details how to do this.

CDrosos commented 7 years ago

I have extract the .GOG file. i have put the contents of the DATA folder on open\data\tr1\data but i still get a blank screen

Gh0stBlade commented 7 years ago

Press ` to open the console window.

Type setgamef(1.0, 1) (TR1, Level1). For TR2 you'd do: setgamef(2.0, 1)

Edit: This is case sensitive btw.

CDrosos commented 7 years ago

where are my guns? 🗡 :D

Gh0stBlade commented 7 years ago

Config.lua lists all key bindings "bind(act.drawweapon, KEY_F);"

Pressing F should draw weapons.

CDrosos commented 7 years ago

im a c#,php developer, can i help somehow on this project? do you have a page for this cause?

Gh0stBlade commented 7 years ago

OpenTomb is written in C/C++ and also uses LUA scripts which can customise most of the engine/game logic.

There is no page specifically requesting developers to help. You can just fork the project, make changes and create pull requests of any bug fixes/feature enhancements you wish to add. Note: That does not mean the code will be merged, it is at discretion of the lead programmer.

rsantellan commented 7 years ago

@Gh0stBlade I looking to play TR1 and learn in the process. One thing that I can't find is the status of the project:

I take the ideas from this project: https://github.com/SFTtech/openage/blob/master/doc/status.md

vvs- commented 7 years ago

There is no official TODO document, except some development notes here: https://github.com/opentomb/OpenTomb/blob/master/TODO.md You can use these GitHub issues as a rough guidelines: https://github.com/opentomb/OpenTomb/issues?q=is%3Aopen+is%3Aissue+label%3ATodo

rsantellan commented 7 years ago

@vvs- I downloaded the code and Code Blocks IDE. Just a newbie question, after I make a change do I have to run each time the cmake . and make? Or just the make is enough? Is there a way to trigger it from the IDE? Regards.

vvs- commented 7 years ago

You don't need to run CMake each time, make will do it for you automatically. I'm not using any IDE, but as far as I know you can't use CMake project from it. You should build a Code::Blocks project using CMake first and that's the only project format that's possible for IDE to use.

stohrendorf commented 7 years ago

No, CMake can also generate project files for VS. It adds an artificial project "ZERO_CHECK", which is a dependency of all other projects and only calls CMake to update the other projects if necessary. QtCreator works better with CMake, but uses Code::Blocks project files as the backend. KDevelop has a nice CMake integration. Clion isn't that great when it comes to customizing the CMake call. You can also try to use Eclipse or Netbeans with C++ support.

vvs- commented 7 years ago

I didn't mean that CMake can't generate other types of projects. I meant that Code::Blocks can only use its own projects and isn't CMake aware.