Where start from?
|
11-25-2017, 03:44 PM
(This post was last modified: 11-25-2017 03:45 PM by GuilhermeGS2.)
Post: #1
|
|||
|
|||
Where start from?
Hey guys! I recently learned the basics of progamming, and I wish to become a great programmer like you PPSSPP devs, I really appreciate your work guys. Well, I'm insterested in understanding how PPSSPP works, I do not know how PSP works and don't know much about C/C++, so maybe I will not understand everything, but I'd like to understand the basic to get more knowledge in programming, maybe I might even help with something soon when I get more experient.
I took a look arround the codes, and I got lost, too many variables that I don't know where they came from. So, where should I start? What's the main thing in the emulator? I think would be better if I had the codes of first PPSSPP version to undestand how it began, but I guess it's now available anymore (it has been 5 years). Thank you for the great job guys. Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636) PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro |
|||
11-26-2017, 05:11 AM
Post: #2
|
|||
|
|||
RE: Where start from?
The nice thing about GitHub is it actually keeps track of the code from the beginning. You can browse the first committed code here:
https://github.com/hrydgard/ppsspp/tree/...003507be50 On any file you can also select "Blame" to see where different parts come from, and the commits usually say why, for example: https://github.com/hrydgard/ppsspp/blame...o.cpp#L831 Which shows a message explaining some of the code on that line: https://github.com/hrydgard/ppsspp/commi...830bd47ad9 It's often useful to search all the code for a variable name and look at blame to better understand what it is, if it's not making sense. There's several main components, but it depends on what you want to start understanding first. For example, graphics are a pretty major part of PPSSPP, you could look at GPUCommon.cpp. This code is run whenever the game sends a "list", which runs a list of "operations": https://github.com/hrydgard/ppsspp/blob/...n.cpp#L841 The operations either do things (like drawing a triangle) or remember things (like which way the camera's pointing.) You can also see this in the GE debugger. This would be a good place to start. -[Unknown] |
|||
11-26-2017, 01:31 PM
Post: #3
|
|||
|
|||
RE: Where start from?
Thank you, I'll take a look later with more attention!
Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636) PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro |
|||
« Next Oldest | Next Newest »
|