Portable mode: standard install can now be converted to portable.

Note: All files outside of pcsx2.exe folder (e.g. snapshots, memcards, bios, saved states, etc at "my documents" folder) are NOT copied automatically to the pcsx2 relative folders. So, if converting from standard install to portable and you want to keep those files, you have to copy them manually.

Bottom line: if portable mode is preferred/required, it's best to start in portable. This way no files are ever written outside of pcsx2.exe main folder (at least, that's how it should work).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4489 96395faa-99c1-11dd-bbfe-3dabce05a288
linux compilation fix


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4490 96395faa-99c1-11dd-bbfe-3dabce05a288
Recent Iso list: 1. Iso that don't exist are grayed out at the menu. 2. in portable mode, Iso files are saved as relative if they're inside pcsx2 folder, or in parallel to it.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4491 96395faa-99c1-11dd-bbfe-3dabce05a288
linux compilation fix


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4492 96395faa-99c1-11dd-bbfe-3dabce05a288
GSdx: only minor changes

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4494 96395faa-99c1-11dd-bbfe-3dabce05a288
GSdx: I always forgot to comment this out

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4495 96395faa-99c1-11dd-bbfe-3dabce05a288
First time wizard (both portable and install modes):
1. Create inis and bios folder before then can be accessed (e.g. configure plugins, open the bios folder via "open in explorer").
2. Small fix for the "open in explorer" error dialog if a folder doesn't exist (path text was sometimes cut off)
3. Default base directory (AppRoot() - used for plugins/themes/langs) is now the pcsx2.exe folder and not CWD (probably only affects developers, but still nicer).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4496 96395faa-99c1-11dd-bbfe-3dabce05a288
GSdx: Added CRC hackfix for Tenchu games and Sly Cooper 2/3. Changed Sonic Unleashed's hack so it works for all stages (at least all the ones I tried :p) and added the PAL version to it.
GameDB: Updates...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4497 96395faa-99c1-11dd-bbfe-3dabce05a288
GSdx: Replaced a few divs with something more obscure in DrawTriangle, it shares necessary calculations with the triangle setup for tile based rasterization (http://drdobbs.com/article/print?articleId=217200602). AVX already has half the floating point capacity of larrabee, but I'm still thinking how to do this efficiently. We could take advantage of the block organized GS memory at last.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4498 96395faa-99c1-11dd-bbfe-3dabce05a288
Minor fix for managed Vsync.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4499 96395faa-99c1-11dd-bbfe-3dabce05a288
SPU2-X:
Tweaks to async mixing, making the buffer stay closer to 50% filled and also making it more effective on sharp FPS drops.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4500 96395faa-99c1-11dd-bbfe-3dabce05a288
GSdx: small mipmapping optimization, half fps maybe, it wasn't done right on my first attempt.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4501 96395faa-99c1-11dd-bbfe-3dabce05a288
GSdx: Got the Sly 2/3 hackfixes right.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4502 96395faa-99c1-11dd-bbfe-3dabce05a288
Another bunch of installer fixes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4503 96395faa-99c1-11dd-bbfe-3dabce05a288
GSdx: finally, some use for hsubps (SSE3).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4504 96395faa-99c1-11dd-bbfe-3dabce05a288
GSdx: 5-10% speedup in multi-threaded mode, replaced that modulo operator with a lookup table.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4505 96395faa-99c1-11dd-bbfe-3dabce05a288
Suppress expected error during first time wizard when a plugin does not implement optional API functions.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4506 96395faa-99c1-11dd-bbfe-3dabce05a288
Portable mode: now allows fully custom folders, but still allows relocation of pcsx2 folder without breaking (install mode unmodified).

Details:
The major differences between install and portable modes should now be:
1. Portable mode doesn't use the registry at all.
2. Portable mode uses the folders inside pcsx2 folder as default (install mode has some default at "my documents").
3. Portable mode tries to save relative paths at the ini file where possible*.

Specifically, portable mode now allows to select custom folders for plugins, bios, etc via the standard UI, which allows using several portable pcsx2 folder sharing the same resources (bios, iso, memcards, etc).

* Relative paths where possible = the following sequence (thanks to pseudonym for the brilliant idea):
1. If the file/folder is inside pcsx2 folder, it's saved as completely relative (to pcsx2.exe)
2. Else, if the file/folder is at the same drive as pcsx2.exe, it's saved as absolute path without the drive letter (e.g. /ISO/...)
3. Else, saved as absolute path, including the drive letter (for linux, without drive letter naturally).

This allows to create a removable drive with (one or more) pcsx2 folder on it, configure all the files/folders to point to the same drive (ISOs, save states, etc), and then take this drive, plug it into another computer (where it will be assigned with a different drive letter), and everything will continue working.

Please test it if you can. Bugs here can be inconvenient...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4507 96395faa-99c1-11dd-bbfe-3dabce05a288
Made the uninstaller nicer / removed some unused stuff.
The uninstaller now removes all PCSX2 paths info, so that a reinstall works as expected.
It also offers to remove plugin configuration files and user created files separately.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4508 96395faa-99c1-11dd-bbfe-3dabce05a288
i18n: add some missing strings. Remove SetDiagMsg one.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4509 96395faa-99c1-11dd-bbfe-3dabce05a288