Go Back   Project64 Forums > General Discussion > Site News

Reply
 
Thread Tools Display Modes
  #1  
Old 26th November 2008, 08:10 AM
zilmar zilmar is offline
Core Team
Alpha Tester
Project Supporter
Administrator
 
Join Date: Jun 2005
Posts: 988
Default Where should saves go?

When we started Project64 the operating system generally used was Windows98. We designed Project64 so that it would work in a self contained folder. We still use this design now; everything works from that one directory without needing an install. This also works great if you want to put the emulator onto a memory stick and run it from there...
With the current design of Windows (2000, XP, Vista onwards) being for multiple users and security around which users can modify files, this design of PJ64 does cause some problems. One of the problems is that limited users are not allowed to modify files in the Program Files directory. And if one user modifies settings, then this affects other users on the same system that also use this program.
Vista gets around this issues by virtual mapping writes to the program files directory, to the user directory.
So where should saves, settings, etc be stored in PJ64 v1.7 - user directory, application directory? Should we determine by the location of the .exe? Should it work differently on different OS's etc... ?? Your thoughts please.

Last edited by Smiff_; 26th November 2008 at 02:34 PM.
Reply With Quote
  #2  
Old 26th November 2008, 08:35 AM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,260
Default

What's the point of complicating it?

If you installed Project64 you may not necessarily have full control over the subject, but can you think of reasons why someone is damned to using a limited account on their own PC? A kid and his Russian father got nothing to do with this--it's a matter of permission then.

There are other possibilities, but I'm convinced the vast majority don't need to worry about this 'issue' for a reason. Naturally complex software expects admin credentials but to make an exception with something gaming-related?
Reply With Quote
  #3  
Old 26th November 2008, 02:14 PM
[lexx] [lexx] is offline
Junior Member
 
Join Date: Nov 2008
Posts: 1
Default

There should be an option in preferences for setting this explicitly.

The app should check if there's settings.ini in the same dir, if not - check for in current user's 'application data' folder. The rest of settings/saves should be in that dir. If there isn't one, use defaults.

Also there's a good practice to check if you have a write permission to the settings/saves every time you start the app. If not, copy all read-only data to 'application data' and work with it separately with no further access to original files.
Reply With Quote
  #4  
Old 26th November 2008, 02:31 PM
Smiff_ Smiff_ is offline
Core Team
Alpha Tester
Project Supporter
Administrator
 
Join Date: Aug 2005
Location: NZ/UK/PJ
Posts: 500
Default

[just seeing if i can correct a typo on news page by editing the post in the forum, or if its copied to the forum database so both need edits]
ok they are separate so i've cleaned up some grammar/typos on the news page now zilmar

i won't state my opinions on this until more people have had a chance to post theirs..
__________________
L8rz,
Smiff (PJ64 team )
--
Main test PC: Athlon dual core 1.25-2.5Ghz (variable), 2GB RAM, GF8800GS driver 175.19, 1680x1050, External Audio, XP SP2.

Last edited by Smiff_; 26th November 2008 at 10:19 PM.
Reply With Quote
  #5  
Old 26th November 2008, 08:38 PM
Mystery's Avatar
Mystery Mystery is offline
Junior Member (who pretended to be Smiff)
 
Join Date: Nov 2008
Location: Under your bed!
Posts: 17
Default

The saves section should be an easy shortcut whereby it then pauses the game and prompts you for saved game name (automatically filling it in with the game title for those who just want to add extra in the end, or those who don't care what to call it). The default saved games location should be in the "Game Saves" folder, separating it from the other saved files...

eg:

Game Saves
Image Capture Saves
Controller Configurations
etc
(They dont necessarily need those names)
__________________
I have had to change my name due to Identity Theft. I have been real bad! Next week I'm going to get a slap in the face by Smiff. Then by Zilmar, Jabo and Gent to follow. Iconoclast doesn't matter and WTF is a clast? I suffer from %$#@! whereby I cannot think inelegantly causing a most foul and deffinite demise!
Reply With Quote
  #6  
Old 26th November 2008, 09:21 PM
LazerTag LazerTag is offline
Project Supporter
Junior Member
 
Join Date: Jan 2007
Posts: 4
Default

Though I used to be quite against it I must say I really enjoy applications and games that retain settings and files in the "My Documents" folder in Windows.

I switched some time back to partitioning my system with an OS partition and then apps/games/emu. As such I generally make sure to backup my OS partition since it takes the longest to get everything back in order from disaster. And of course having it all right there already makes it that much easier. While I don't backup the main programs anymore as reinstalling a game or app is nothing if you have the documents, saves, or settings already.

So I would vote to make it the "My Documents" location with a "My Project64" folder and default named directory structure, a default named directory structure with the EXE, or finally give the user the ability to change it where they would like manually.
Reply With Quote
  #7  
Old 15th November 2009, 05:39 AM
sh6dowflameX sh6dowflameX is offline
Junior Member
 
Join Date: Nov 2009
Posts: 7
Default

Project64 should keep the saves in just a folder in Project64.
For example:
C:/Desktop/Project64_1.7_BETA1.0/SAVES

The saves should be just like the N64 saves. You open Mario64, you get Mario64 save file.
Nintendo used that. Stop trying to be better than Nintendo.
Reply With Quote
  #8  
Old 16th November 2009, 09:40 AM
Emmett's Avatar
Emmett Emmett is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Aug 2009
Location: Fayetteville AR
Posts: 129
Default

Hmm.... This is a good question. My vote goes towards in the PJ64 folder since I run PJ64 in Wine. But this has already been suggested by other posters, so I'm just upping the request count lol.
__________________
A real man is one who takes care of his horse and his dog, even when they are well past use. -Unknown
Reply With Quote
  #9  
Old 21st November 2009, 08:44 AM
guest86's Avatar
guest86 guest86 is offline
Junior Member
 
Join Date: Oct 2008
Location: US, Windows 7/XP fans
Posts: 9
Wink

Quote:
Originally Posted by sh6dowflameX View Post
Project64 should keep the saves in just a folder in Project64.
For example:
C:/Desktop/Project64_1.7_BETA1.0/SAVES

The saves should be just like the N64 saves. You open Mario64, you get Mario64 save file.
Nintendo used that. Stop trying to be better than Nintendo.
I suggest use this way unlike SNES emulator did!

Windows 98, ME, NT, 2000, XP, 2003 Server, Vista, 2008 Server, 7, 8, and last Windows 9 should support Project 64.

I skip Vista and 7 because not fix problems on old PC games. I stick XP forever until Windows 8 or 9 fix a lot of problems go away unlike XP. I will suffer for a longest time to pick right on stable operating system like XP.


Reply With Quote
  #10  
Old 22nd November 2009, 10:56 PM
Lebon14 Lebon14 is offline
Project Supporter
Junior Member
 
Join Date: Dec 2008
Posts: 6
Default

Quote:
Originally Posted by guest86 View Post
[b]I skip Vista and 7 because not fix problems on old PC games. I stick XP forever until Windows 8 or 9 fix a lot of problems go away unlike XP. I will suffer for a longest time to pick right on stable operating system like XP.


Oh and one day, Windows won't activate after a reformat. You call Microsoft and they will answer you that WinXP is not a supported OS anymore.

Way to go!

Funny how Project64 1.6 works fine on Vista & Win7 with full FPS (I have a Core 2 Duo 2.4GHz, 2GB of RAM & nVidia GeForce 8500GT). All my plugins works.

Btw, don't blame Microsoft for breaking old games. You have to blame the programmers of the game. Also, you can dual-boot with Win7 : that means you have two OS. Also, Win8 & 9 aren't gonna fix things as far as I know because there are rumors that says that Win8 will be 64-bits only. So, if your games are 16-bits, they're not gonna work anymore.

Last thing : XP NEEDS TO DIE IN A FIRE. I'm a proud user of Windows Vista & Windows 7.
----
To the main subject : Anywhere in the User folder. Best would be in PJ's folder but if I install myself PJ in Program Files, the saves should go in the User folder somewhere.
__________________
Rig :
Core 2 Duo E6600 2.4GHz
2 GB of Kingston DDR2 667MHz RAM
nVidia GeForce 8500GT 512MB
3x 7200RPM Hard drives (1x 200GB, 1x250GB (USB), 1x 500GB)

Proud user of a French Windows Vista Home Premium
Proud user against OC'ing of hardware!
Reply With Quote
Reply

Tags
features
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.