Post Reply 
 
Thread Rating:
  • 4 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guide:- Compiling PPSSPP on Windows for Dummies (updated for MSVC 2013)
02-10-2014, 09:56 PM (This post was last modified: 02-10-2014 10:03 PM by solarmystic.)
Post: #91
RE: Guide:- Compiling PPSSPP on Windows for Dummies (updated for MSVC 2013)
(02-10-2014 07:33 PM)Oblivion Wrote:  @solarmystic
I want to revert changes made by this commit (merge) (causes Dissidia 012 and some other games' speed to drop 30%) and this commit (merge) (causes Dissidia 012 to have a red tint on cutscenes with a light background) and keep everything else intact. Is that possible with git or will I have to make the changes myself?

It is possible to do so.

The proscribed command for those two cases (assuming you're up to date using a git pull and you have NO current modifications to your working ppsspp directory that contains all the source files) would be:-

Code:
git revert --no-edit 2f7243b 09f1c79 60cf5df b48de95 c6dc6b4 9cfb864

Each set of numbers represents the first 7 digits of the SHA-1 commit id for each commit that you wish to revert. Note that we're not reverting the commits that merge them to master, but we're reverting the ones added in by the original authors of the commits themselves.

The commit by Bigpet which introduced the red tint on cutscenes is originally

Code:
2f7243b

There are 5 seperate commits by [Unknown] that make up his pull request which got merged to master and they are

Code:
09f1c79 60cf5df b48de95 c6dc6b4 9cfb864

You can get those details on the "Files" tab of the original pull request for each commit.

If you ever decide to change your mind on the revert and restore the original master back to the way it was, the command as always, is,

Code:
git reset --hard <current master commit id>

since a revert in itself is considered an additional commit that you're pushing to your own repository. Thus resetting the tree would be the easiest way to go back to the original path.

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
02-18-2014, 08:30 PM (This post was last modified: 02-18-2014 08:46 PM by Oblivion.)
Post: #92
RE: Guide:- Compiling PPSSPP on Windows for Dummies (updated for MSVC 2013)
@solarmystic
Thank you. I didn't have time to reply last week.

Initially, I tried to revert the merge. That did not work out well. I had to choose a parent but I did not know which one to choose.

The command to revert the commit is correct but I had to make a modification to your command pertaining to the order of the commits (SHA-1 hashes) shown in your command.

Your command:

(02-10-2014 09:56 PM)solarmystic Wrote:  
Code:
git revert --no-edit 2f7243b 09f1c79 60cf5df b48de95 c6dc6b4 9cfb864

When I enter this command in the terminal, I received an "error: could not revert b48de95...duplicate framebuffers textured onto themselves."

I decided to restore to the original master and reverse the order of the commits ((SHA-1 hashes) by [Unknown]) shown in your command. This modification allow Git Bash to revert the commits successfully.

Code:
git revert --no-edit 2f7243b 9cfb864 c6dc6b4 b48de95 60cf5df 09f1c79


Also, I ran into a problem with running this command. (Unfortunately, reinstalling git does not fix the problem) Other commands work fine except for this one:
Code:
git submodule update --init
The command occasionally hangs or freezes the Git Bash terminal so I had to follow FAQ Q7 for the other half of the submodules.

(08-01-2013 05:57 PM)solarmystic Wrote:  7. I've a totally offline PC but have access to another PC with Internet that I can use to get the source files. How do I compile PPSSPP on my system?
(question courtesy of arg274 and answer credited to Daxtsu)

Refer to this post for the answer.

(08-13-2013 12:54 PM)daxtsu Wrote:  If you want to do an offline build, you're better off downloading the latest master zip file, followed by native, ffmpeg, and lang, then extracting those latter 3 in the master's native, ffmpeg and lang folders, then compiling. You can skip lang and ffmpeg most of the time if you already have them; they're not updated often..

Not much point going through the whole git thing if you can't update to begin with.

Also, adjust your expectations accordingly, since without the fine control with individual commits offered by git bash that requires an online connection, you'll have redownload the bulk files everyday from your PC with the Internet connection. I highly recommend that you actually use the PC with the persistent Internet connection to compile PPSSPP.

For this part you should also include the dx9sdk (minidx9) submodule if you do not want to run into an error while compiling under MSVC 2013.
Find all posts by this user
Quote this message in a reply
02-18-2014, 10:18 PM (This post was last modified: 02-18-2014 10:26 PM by solarmystic.)
Post: #93
RE: Guide:- Compiling PPSSPP on Windows for Dummies (updated for MSVC 2013)
@Oblivion

Thanks for the feedback, I was wondering whether or not it worked on your end.

And thanks for the last bit about the dx9sdk submodule too, that portion of the FAQ was written long before that submodule became a mandatory requirement.

It's rather odd that the "git submodule update --init" line would freeze the terminal like that. It sometimes takes quite a while for the program to enumerate all of the files to determine which ones to update, especially if there's been a major submodule update recently (e.g. the FFMPEG one), but it should not ever completely freeze it. That's abnormal, and it hasn't ever happened to me before.

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
05-20-2014, 04:41 AM
Post: #94
RE: Guide:- Compiling PPSSPP on Windows for Dummies (updated for MSVC 2013)
@solarmystic

It's not needed anymore to download DX SDK
https://github.com/hrydgard/minidx9

needed files are included their Wink

Read last five comments from here
https://github.com/hrydgard/ppsspp/issues/4268

Phone: Nokia 701 FP2
Intel Core i5-3337U | 4GB RAM | 2GB AMD Radeon HD 8730M | Windows 8.1 x64
Find all posts by this user
Quote this message in a reply
05-20-2014, 07:42 PM (This post was last modified: 05-20-2014 07:49 PM by solarmystic.)
Post: #95
RE: Guide:- Compiling PPSSPP on Windows for Dummies (updated for MSVC 2013)
(05-20-2014 04:41 AM)bhavin192 Wrote:  @solarmystic

It's not needed anymore to download DX SDK
https://github.com/hrydgard/minidx9

needed files are included their Wink

Read last five comments from here
https://github.com/hrydgard/ppsspp/issues/4268

I thought that (minidx9) only applied to the release builds. I was under the impression that debug builds still required the DX SDK to be built and debugged in the compiler.

I just uninstalled the DX SDK and the debug build still compiled successfully and entered debugging mode with no issues.

I have removed that requirement now, thanks for the correction.

Updated guide to remove DX SDK prerequisite. PPSSPP compiling (for both Release and Debug builds) only requires MSVC 2013 and a form of git. Users can safely uninstall the SDK from their systems if they've got no other applications that require it to gain some HDD space.

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
05-21-2014, 03:00 AM (This post was last modified: 05-21-2014 03:00 AM by TheDax.)
Post: #96
RE: Guide:- Compiling PPSSPP on Windows for Dummies (updated for MSVC 2013)
That submodule was mostly included for the buildbot, to be fair. I wouldn't necessarily count on it being there forever, though I can't speak for Henrik or Orphis. But for now, yeah, the DX SDK isn't needed.

3.8ghz i7 5930K, 16GB DDR4 RAM, 4GB Nvidia GTX 970, Asus X99 PRO, Windows 7 (SP1) x64
How to ask useful questions: http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
Find all posts by this user
Quote this message in a reply
11-20-2014, 08:57 AM
Post: #97
RE: Guide:- Compiling PPSSPP on Windows for Dummies (updated for MSVC 2013)
plz help how to change may ppsspp version to level99procrastinator build on github i tried each commit thats hes the author but always fatal: not repository etc...i really want that fix on psp2..plz someone help me...or you can send me a compile ppsspp with that fix...i hope you can help me on this T_T
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: