ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.comDotEmu  Rules - Search - Register - Login curved edge
Folder Forum Index > iPhone Port > F5, saving, and the 1.4.0 devbuild
F5, saving, and the 1.4.0 devbuild
  Author    Thread Reply to topic
Dd_8630



Joined: 30 Sep 2011
Posts: 7
F5, saving, and the 1.4.0 devbuild 

Hey everyone. I heard about this program when I saw someone playing Lands of Lore - Throne of Chaos, and instantly worked on getting it on my iPad. I dug out my old CD and have got it working, including the smooth sounds of Patrick Stewert. Kudos to the developers!

The problem I'm having is saving the game - until I can do that, there's not much point starting to play. Using the in-game menu, I can try to save, but no file is actually created that I can see.

Some people have mentioned accessing the main menu using F5, which on the iPhone (and, presumably, iPad) is accessed by holding down one finger and swiping down with a second finger. This may or may not let me save, but when I do that gesture, absolutely nothing happens. I can't seem to access the menu when playing a game. Is this common to the iPad, the 1.4.0 dev build, Lands of Lore, or what?

Another problem I have is that ScummVM doesn't save game settings, so each time I have to find the game's folder etc, which is a bit of a pain.

So, I've set up folder permissions so everything can be written (777, mobile owner, etc), and everything works, except a) F5 menu gesture, and b) in-game save function, and c) remembering games.

Can anyone help? Again, awesome app, just a few problems.

 Reply with quote  
Post Fri Sep 30, 2011 1:07 pm 
 View user's profile Send private message
Dd_8630



Joined: 30 Sep 2011
Posts: 7
 

No one?

Sad

 Reply with quote  
Post Fri Oct 07, 2011 2:47 pm 
 View user's profile Send private message
md5
ScummVM Developer


Joined: 03 Nov 2005
Posts: 2065
Location: Athens, Greece
 

Hi there Smile

Port-specific questions are usually answered by the respective port maintainer. But in this case... have you set the save path properly inside the ScummVM options menu?

 Reply with quote  
Post Fri Oct 07, 2011 8:25 pm 
 View user's profile Send private message
Dd_8630



Joined: 30 Sep 2011
Posts: 7
 

Yep. The game is in private/var/mobile/ScummVM/Lands of Lore - Throne of Chaos/DATA, and I've tried both leaving the save path to 'default' (which should make the game save in DATA, I think), and to mobile/ScummVM/Saves. In both cases, I go to the in-game menu, save the game, and then go back to the in-game load menu - to see "There are no save games to load." Sad


If I could go back to the main ScummVM menu, maybe I could save the game then. But there's the whole 'can't use the F5 gesture' problem too :p

 Reply with quote  
Post Fri Oct 07, 2011 8:55 pm 
 View user's profile Send private message
tsoliman
ScummVM Developer


Joined: 19 Jan 2011
Posts: 300
Location: Waukesha, WI
 

What about other games, is this specific to LoL?

(I am not a maintainer of the iphone port)

 Reply with quote  
Post Fri Oct 07, 2011 10:11 pm 
 View user's profile Send private message Send e-mail
Dd_8630



Joined: 30 Sep 2011
Posts: 7
 

I tried Sam & Max Hit the Road, and it works wonderfully - and I can even use the F5 gesture!

Sadly, saving the game (specifically, choosing state '1', calling it DD1, and tapping 'save') says "Failed to save to state blahblah".

So, maybe the problem is more about making save files than anything else.

Is there any way to double-check that the particular folder (mobile/ScummVM/Sam and Max Hit the Road, or mobile/ScummVM/Saves) have been set up so as to allow ScummVM to make saves? I think] I've done it right, but you never know.

EDIT: I went to another part of the forum and found these command lines to try:
chown mobile -R /var/mobile/Library/ScummVM
chmod 777 /var/mobile/Library/ScummVM
chmod 777 /var/mobile/Library/ScummVM/Preferences

To no success Sad

EDIT2: Interestingly, when I tap 'options' and go to 'paths' and choose 'mobile/ScummVM/Save' as the save path, it says "The chosen directory cannot be written to. Please select another one." This doesn't appear when I choose a save path when first loading up the game. All the permissions are set, so why would this be coming up?

 Reply with quote  
Post Sat Oct 08, 2011 11:05 am 
 View user's profile Send private message
tsoliman
ScummVM Developer


Joined: 19 Jan 2011
Posts: 300
Location: Waukesha, WI
 

This advice is based on general unix knowledge so it may not help.

chmod 777 more or less means allow this directory to be read/written/entered by everyone.

I am assuming you tried to chmod 777 the save directory?
chmod 777 /var/mobile/Library/ScummVM/Save

I am assuming parent directories are also set to be "entered" by everyone.

chmod ugo+x /var
chmod ugo+x /var/mobile
chmod ugo+x /var/mobile/Library
chmod ugo+x /var/mobile/Library/ScummVM
chmod ugo+x /var/mobile/Library/ScummVM/Save

If all this doesn't help. Post the output of the following (via pastebin.com or similar):

whoami
groups
ls -lR /var/mobile/Library/ScummVM

 Reply with quote  
Post Sat Oct 08, 2011 4:31 pm 
 View user's profile Send private message Send e-mail
Dd_8630



Joined: 30 Sep 2011
Posts: 7
 

I did those three commands (if it helps, I'm using WinSP, and I typed it into the little box in the lower-left, and it brings up something that looks like the command prompt (cmd.exe)), and got this:

/private/var/mobile/ScummVM$ whoami
root
/private/var/mobile/ScummVM$ groups
wheel daemon kmem sys tty operator procview procmod staff certusers admin
/private/var/mobile/ScummVM$ ls -IR /var/mobile/ScummVM
Lands Of Lore The Throne Of Chaos (1993)(Avalon Interactive)
Lands of Lore - Throne of Chaos
Monkey 1
Monkey Island 2
Preferences
Sam and Max Hit the Road
Savegames
Saves
legend_of_kyrandia_dos

I changed the last command a bit as my ScummVM folder is in /mobile/, not /mobile/Library/.

I've also used iFile to look at the permissions, and it says everything's mobile and readable etc by everyone, and it did it all hierarchically, which I think has applied the same settings to the top ScummVM folder and all the files and folders therein.

EDIT: Whoops, I did the last command wrong... When I did it properly, I got a long list of basically every file and folder in /ScummVM/. I won't post it here (unless you really want it!), but it's all along the lines of:

-rwxrwxrwx 1 mobile mobile 122924 Sep 30 11:11 CAVE1.PAK

After the 'mobile mobile', the details change. The beginning '-rwxrwxrwx' is sometimes 'drwxrwxrwx', and the uppermost folders look like this:

/private/var/mobile/ScummVM$ ls -lR /var/mobile/ScummVM
/var/mobile/ScummVM:
total 4
drwxrwxrwx 2 mobile mobile 1190 Sep 30 11:56 Lands Of Lore The Throne Of Chaos (1993)(Avalon Interactive)
drwxrwxrwx 3 mobile mobile 102 Sep 30 11:21 Lands of Lore - Throne of Chaos
drwxrwxrwx 2 mobile mobile 374 Oct 2 16:50 Monkey 1
drwxrwxrwx 2 mobile mobile 306 Oct 8 11:52 Monkey Island 2
-rwxrwxrwx 1 mobile mobile 337 Sep 25 21:11 Preferences
drwxrwxrwx 2 mobile mobile 816 Oct 8 11:58 Sam and Max Hit the Road
drwxrwxrwx 2 mobile mobile 68 Sep 25 19:48 Savegames
drwxrwxrwx 2 mobile mobile 68 Sep 30 12:51 Saves
drwxrwxrwx 2 mobile mobile 7990 Sep 25 21:10 legend_of_kyrandia_dos

Hope that helps!

 Reply with quote  
Post Mon Oct 10, 2011 5:34 pm 
 View user's profile Send private message
tsoliman
ScummVM Developer


Joined: 19 Jan 2011
Posts: 300
Location: Waukesha, WI
 

ok so it looks like your problem might be a spelling mistake:
mobile/ScummVM/Save doesn't exist in mobile/ScummVM
but Savegames and Saves do exist and seem to have the correct permissions.

Post the contents of both those directories and their permissions ("ls -laR" both of them)

This time please use a website like pastebin or attach the output as a text file if it is longer than 10 lines.

quote:
Originally posted by tsoliman
(via pastebin.com or similar)

 Reply with quote  
Post Mon Oct 10, 2011 11:25 pm 
 View user's profile Send private message Send e-mail
Dd_8630



Joined: 30 Sep 2011
Posts: 7
 

I got this:

/private/var/mobile$ ls -laR /var/mobile/ScummVM/Savegames/
/var/mobile/ScummVM/Savegames/:
total 0
drwxrwxrwx 2 mobile mobile 68 Sep 25 19:48 .
drwxrwxrwx 10 mobile mobile 374 Oct 8 12:16 ..
/private/var/mobile$ ls -laR /var/mobile/ScummVM/Saves/
/var/mobile/ScummVM/Saves/:
total 0
drwxrwxrwx 2 mobile mobile 68 Sep 30 12:51 .
drwxrwxrwx 10 mobile mobile 374 Oct 8 12:16 ..

Hope it helps.

 Reply with quote  
Post Tue Oct 11, 2011 3:04 pm 
 View user's profile Send private message
Dd_8630



Joined: 30 Sep 2011
Posts: 7
 

*shameless bump*

Very Happy

 Reply with quote  
Post Wed Oct 26, 2011 12:00 am 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge