farmisen / iphonefrotz

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

Superglus games crash due to 1-,2-byte locals and null memory access #246

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Implement a workaround for these issues for Superglus games work.

What version of Frotz are you using?
1.7

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

What version of iOS?  6.1, 7.0, etc.)
7.1

Original issue reported on code.google.com by spath...@gmail.com on 4 Sep 2014 at 10:23

GoogleCodeExporter commented 9 years ago
Fixed in r240.

Original comment by spath...@gmail.com on 4 Sep 2014 at 10:29

GoogleCodeExporter commented 9 years ago
You are awesome.

Original comment by ilprimoc...@gmail.com on 5 Sep 2014 at 10:19

GoogleCodeExporter commented 9 years ago
I can confirm a lot of games stopped crashing - though a few now are unstable 
at the beginning; they might crash when you first start typing. If they don't, 
they'll be stable for the remainder of the session.

But currently in some Superglus games (I think it's Superglus) saving the game 
got broken - the game just isn't saved, though Frotz goes through the motions. 
Games in which this happens are mentioned in the "big list" (which gets smaller 
with every update).

Original comment by ilprimoc...@gmail.com on 10 Sep 2014 at 9:35

GoogleCodeExporter commented 9 years ago
Since there are still problems with 1-, 2-byte locals, I've fixed this a 
different way.
Frotz now uses glulxe instead of git as the interpreter if it detects a game 
file that was not compiled with Inform, meaning SuperGLUS and variants.
This correctly handles this, and fixes the issue with save not working, and 
probably other latent issues (at the expense of performance, since glulxe is 
slower than git).

r363.

Original comment by spath...@gmail.com on 19 Sep 2014 at 2:36

GoogleCodeExporter commented 9 years ago
Fixed in App Store released version 1.7.1.

Original comment by spath...@gmail.com on 20 Oct 2014 at 4:54