farmisen / iphonefrotz

Automatically exported from code.google.com/p/iphonefrotz
Other
0 stars 0 forks source link

Some game files get intermittently corrupted during FTP transfer (e.g Starcross.z5) #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Starcross.z5

What is the expected output or behavior?  What do you see instead?

I expect to play the game since it is in z5 format, yet I get "Frotz
doesn't understand the format of the file"

What version of Frotz are you using?
1.2

What version of iPhone/iPod Touch OS? 
iPhone 2.0.2

Please provide any additional information below.

This same file works in Zoom.app but not in frotz. I would be happy to
share the .z5 file assuming you don't already have it(I suppose you would
have to delete the shared file after testing is complete)

Original issue reported on code.google.com by saptarsh...@gmail.com on 16 Jun 2009 at 2:34

GoogleCodeExporter commented 9 years ago
In the past, this sort of reported problem has always been due to corruption 
during file transfer with a web 
server.
The only games I know if in Z-machine format which do not work correctly are 
the Scott Adams games (which 
have trouble with save games), and the Z6 games with graphics which aren't yet 
supported.
Please email your Starcross game file to ifrotz@gmail.com.
I already have a copy of the file, but it may be a different release version.

Original comment by spath...@gmail.com on 16 Jun 2009 at 5:58

GoogleCodeExporter commented 9 years ago
You aren't, by chance, transferring games to the phone using Fetch for Mac?

Original comment by spath...@gmail.com on 16 Jun 2009 at 6:08

GoogleCodeExporter commented 9 years ago
I used Cyberduck to transfer the file via FTP.

P.S (Digression) Where in the source is the code for the FTP server?

Original comment by saptarsh...@gmail.com on 16 Jun 2009 at 6:11

GoogleCodeExporter commented 9 years ago
Well, that's strange.  If I upload that file using Cyberduck, it winds up 
corrupt (slightly truncated) on the 
phone.

But if you then transfer the file again (and tell Cyberduck to overwrite the 
file) it transfers correctly.
Not sure what's going on with that.  But at least that's a workaround for you 
while I look into it.

OK, it's not just w/Cyberduck, and seems to be an intermittent failure; it 
sometimes truncates that file from 
83792 bytes to 83282 bytes, and sometimes transfers correctly.

For now, just try again, and it should work after a couple of tries.

Original comment by spath...@gmail.com on 16 Jun 2009 at 6:49

GoogleCodeExporter commented 9 years ago
Thank you for the quick fix. Starcross is the first Infocom game I played 
(almost 17
years back)

Thanks
Saptarshi

Original comment by saptarsh...@gmail.com on 16 Jun 2009 at 6:52

GoogleCodeExporter commented 9 years ago
Regarding source, I haven't uploaded it in a while because of concerns about 
Apple's NDA, but it looks like things 
are kosher now.  You're the first person to actually ask about it.  As soon as 
I get what I'm working on in a stable 
state, I'll put it up. 

Original comment by spath...@gmail.com on 16 Jun 2009 at 6:54

GoogleCodeExporter commented 9 years ago

Original comment by spath...@gmail.com on 16 Jun 2009 at 7:23

GoogleCodeExporter commented 9 years ago
I have the same problem with Starcross from the Lost Treasures of Infocom. Let 
me know if another copy of the 
file would be useful (you may already have this one).

Original comment by brunch...@gmail.com on 21 Jun 2009 at 9:58

GoogleCodeExporter commented 9 years ago
Thank you for the offer. I managed to find a substitute.

Original comment by saptarsh...@gmail.com on 22 Jun 2009 at 1:16

GoogleCodeExporter commented 9 years ago
I am experiencing the same issue with about a half dozen of my infocom z5 
files.  I transferred them 
using Firefox's FireFTP extension on a PPC mac running Leopard. It seems to be 
fairly random.

Original comment by Fangor...@gmail.com on 8 Sep 2009 at 4:29

GoogleCodeExporter commented 9 years ago
It is actually pretty random; it's based on the timing of FTP packets on the 
network, not the contents of the file 
itself, so just try again until it works correctly, which you can tell by 
checking the file size.

The issue is fixed in 1.3, waiting on Apple's approval.

Original comment by spath...@gmail.com on 8 Sep 2009 at 4:36

GoogleCodeExporter commented 9 years ago
Will it still be possible to upload files via FTP on 1.3?

Original comment by michel.v...@gmail.com on 18 Sep 2009 at 4:30

GoogleCodeExporter commented 9 years ago
If 1.3 as currently submitted gets approved, yes.

Original comment by spath...@gmail.com on 18 Sep 2009 at 4:53

GoogleCodeExporter commented 9 years ago
Fixed in 1.3.

Original comment by spath...@gmail.com on 19 Sep 2009 at 3:26