pcsx2/common/include
avihal@gmail.com 9c234de3ec 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
2011-03-29 17:41:11 +00:00
..
Utilities Portable mode: now allows fully custom folders, but still allows relocation of pcsx2 folder without breaking (install mode unmodified). 2011-03-29 17:41:11 +00:00
api Removed all trailing whitespace in *.c *.cpp *.h because it irritates me. 2010-04-25 00:31:27 +00:00
wx User Interface: 2009-10-16 03:58:29 +00:00
x86emitter - more project cleanups and small code changes, also added the psx emu interface again 2011-02-12 21:45:16 +00:00
PS2Edefs.h Undo some changes that shouldn't have been commited. 2011-01-15 23:55:38 +00:00
PS2Eext.h Various changes to avoid using deprecated Gtk+ code. Gtk+ 3.0 is slated to remove most of the currently deprecated calls... 2010-12-24 23:58:56 +00:00
PS2Etypes.h Copyright 2010 : PCSX2 and plugins! (notable exception: didn't update copyright info in any Gabest plugins) 2010-05-03 14:08:02 +00:00
Pcsx2Api.h Spu2null, padnull, gsnull, CDVDnull, onepad, spu2x: 2010-08-06 11:43:21 +00:00
Pcsx2Defs.h GSdx: A start at a configuration dialog for Linux. 2011-02-20 01:57:43 +00:00
Pcsx2Types.h Made some minor tweaks to SIF to test some theories and fix some broken-looking code -- please report any regressions. Also commented some of SIF and IPU stuff. :) 2010-09-20 12:47:17 +00:00
PluginCallbacks.h Completed support for various MemoryCard sizes (16, 32, 64 megs cards). 2010-05-26 19:45:33 +00:00
afxresmw.h Copyright 2010 : PCSX2 and plugins! (notable exception: didn't update copyright info in any Gabest plugins) 2010-05-03 14:08:02 +00:00
intrin_x86.h - more project cleanups and small code changes, also added the psx emu interface again 2011-02-12 21:45:16 +00:00