farmisen / iphonefrotz

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

If there are two games with the same filename, iFrotz gets confused #209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add two games with the same filename.

What is the expected output or behavior?  What do you see instead?
I would expect two separate entries for each game. Instead, the entry for the 
first game is duplicated - although each entry still links to the correct game, 
they are both identified exactly the same way. This applies for filename 
regardless of extension; it confused "alien.blb" and "alien.z5".

What version of Frotz are you using?
1.6

What device model are you using (e.g., iPhone 4S, iPhone 3GS, iPad 4, iPod
Touch 4th gen.)
iPod Touch

What version of iOS?  4.2.1, 5.1, etc.)
6.0.1

Original issue reported on code.google.com by ilprimoc...@gmail.com on 12 Feb 2013 at 10:31

GoogleCodeExporter commented 9 years ago
Just a quick follow-up - this sounds minor, I'm sure, but I've been renaming 
files a lot more often than you'd think. "Dinner with Andre" and "Dinosaur 
Dinnertime" got confused; also several games named simply "escape.***", there 
were three or four of those; and in cases where there was a glulx AND a 
ZMachine version available ("Balances" and "Beyond" immediately spring to 
mind), same name but different extension, I had to rename those as well.

Just letting you know that this has a few more practical implications than it 
might appear. You'd think "how likely is it that two games have the same 
filename?" The answer is, "way more likely than you'd think."

Original comment by ilprimoc...@gmail.com on 10 Mar 2013 at 4:20

GoogleCodeExporter commented 9 years ago
This is pretty unfortunate.  I can pretty easily make it include the extension 
as part of the lookup, which will solve part of the problem, but using the 
filename as the primary key on which other metadata is looked up is pretty 
fundamental to the way Frotz is designed, so I'm not sure I can make it work 
when different games have completely identical filenames including extension 
without a lot of refactoring.

Original comment by spath...@gmail.com on 10 Mar 2013 at 8:08

GoogleCodeExporter commented 9 years ago
Understandable. Well, if it includes the extensions, that'll go a BIG way 
towards alleviating the issue.

Original comment by ilprimoc...@gmail.com on 10 Mar 2013 at 10:14