cai567890 / pcsx2

Automatically exported from code.google.com/p/pcsx2
1 stars 0 forks source link

[Request] Reconfiguration of Default Paths #1369

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When first starting the emulator by itself or using different profiles with the 
profile tool, the emulator doesn't point to relative paths. It points to a 
patch on the C drive. If you don't have the emulator in the C drive, the 
folders are still created there anyway. It gets a bit annoying at times. Can 
you please change the default paths of the emulator to the relative paths 
inside the exe's folder instead of through the C drive by default? It just 
makes it easier for any user. I know I can do it through the ini, but for the 
common person's sake; can you do it initially?

Thanks in Advance.

Original issue reported on code.google.com by shinra35...@gmail.com on 31 Dec 2012 at 3:24

GoogleCodeExporter commented 9 years ago
Microsoft encourages software to use these default folders for configuration 
files.
Not doing so brings the problem of access rights with it.
I understand that you know what you're doing and want manual control.
You can have that by creating a file called "portable.ini" in your PCSX2 
directory.
If all goes well, it should create all files in the same folder the exe is 
located in.

Original comment by ramapcsx2 on 31 Dec 2012 at 11:12

GoogleCodeExporter commented 9 years ago
I noticed that it created a path now in the d: drive where everything is by 
default. But what if I moved the whole folder again. Would I have to be greeted 
with the configuration screen all over again? Also, it still creates the C path 
for isos in the C drive even though I am in the D drive. PS2 emulator puts the 
entire path:

RunIso=C:\\Users\\Name\\Documents\\PCSX2

Wouldn't it just be easier to put:

RunIso=Games

Now I will have to go and get rid of all the folders it just created again in 
the C drive again. If not simplifying the paths that way, why not just not 
allow the emulator to make all those folders unless you actually put something 
in it? Or make an option after you select your path and it will automatically 
ask you would you like to create the path?

Original comment by shinra35...@gmail.com on 31 Dec 2012 at 2:26

GoogleCodeExporter commented 9 years ago
You're not explaining yourself very well. 
If I can't follow what exactly you're doing, I can't tell what the problem is.

Original comment by ramapcsx2 on 31 Dec 2012 at 3:50

GoogleCodeExporter commented 9 years ago
Making the portable.ini file makes all paths change to where ever the emulator 
folder is. But it still creates folders in the C: drive when looking for isos.

I gave an example of what the path name looks like in the pcsx2_ui.ini which 
was this:

RunIso=C:\\Users\\Name\\Documents\\PCSX2

It can be greatly simplified by just making it this:

RunIso=Games

Doing this will make it point to the games folder inside the pcsx2 folder 
nomatter where you put that folder and nomatter what the main folder's actual 
name is.

The emulator makes these long unnecessary file names and these folders are 
created where you do not want them to go. Everyone does not use the My 
Documents folder. I gave a few examples of what you could do with the emulator. 
One example was, when choosing your bios, save folder, plugins folder, etc, you 
could put a dialogue afterward that says, do you want to create path. 
Currently, it makes every path for you and even if you don't specify anything, 
it still creates folders in the C: drive.

These are the paths the emulator creates by default:

Bios=D:\\Users\\Name\\My 
Documents\\Games\\CONSOLE\\EMULATORS\\Playstation2\\bios
Snapshots=D:\\Users\\Name\\My 
Documents\\Games\\CONSOLE\\EMULATORS\\Playstation2\\snaps
Savestates=D:\\Users\\Name\\My 
Documents\\Games\\CONSOLE\\EMULATORS\\Playstation2\\sstates
MemoryCards=C:\\Users\\Name\\Documents\\PCSX2\\memcards
Logs=D:\\Users\\Name\\My 
Documents\\Games\\CONSOLE\\EMULATORS\\Playstation2\\logs
Langs=D:\\Users\\Name\\My 
Documents\\Games\\CONSOLE\\EMULATORS\\Playstation2\\Langs
PluginsFolder=D:\\Users\\Name\\My 
Documents\\Games\\CONSOLE\\EMULATORS\\Playstation2\\Plugins
RunIso=D:\\Users\\Name\\My 
Documents\\Games\\CONSOLE\\EMULATORS\\Playstation2\\Games\\Tekken 4
RunELF=C:\\Users\\Name\\Documents\\PCSX2

It is long, unnecessary, and creates new folders. If I decide to move my pcsx2 
folder, these folders above will be created in the above locations again which 
is unwanted and messy. I do not want anything to go in these locations if I 
don't have the emulator folder in that location. Now it creates all these 
folders in the C drive AND the D drive even before I reset up everything after 
moving.

To fix this all cleanly, everything can be simplified to the exact folder of 
where the pcsx2 files are (no matter where you move the folder) like this in 
the .ini:

Bios=bios
Snapshots=snaps
Savestates=sstates
MemoryCards=memcards
Logs=logs
Langs=Langs
PluginsFolder=Plugins
RunIso=Games
RunELF=Games

This makes it so that you don't have to reset up many paths if one decides to 
move their pcsx2 folder.

Also a problem, when doing relative paths like this, the emulator likes to redo 
your relative paths with the long paths automatically.

All in all, can you simplify the pcsx2 paths like this by default and can you 
code the emulator to not write out the whole paths automatically after one has 
taken the time to simplify the paths? The majority of any other system emulator 
already can do what I have suggested.

Original comment by shinra35...@gmail.com on 31 Dec 2012 at 4:38