Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Game crashes shortly after loading saved game (Mac OS 10.4.11 PPC) #127

Closed
wzdev-ci opened this issue Oct 24, 2008 · 8 comments
Closed

Game crashes shortly after loading saved game (Mac OS 10.4.11 PPC) #127

wzdev-ci opened this issue Oct 24, 2008 · 8 comments

Comments

@wzdev-ci
Copy link
Contributor

keyword_crash_saved_game_load resolution_fixed type_bug | by anonymous


From the third or fouth level in the campaign, after saving and
loading the saved game, game crashes after seconds till minutes.
(Simply turns off without any notification).
Thanks a lot for this great game! Looking forward to integrated videos!!


Issue migrated from trac:127 at 2022-04-15 17:46:15 -0700

@wzdev-ci
Copy link
Contributor Author

anonymous commented


PS: This error also occured in the last stable version..

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Nov 1, 2008

Buginator commented


Do you have any crash dumps, or any errors/warning messages?

We don't really have a active mac developer, so we can't troubleshoot this ourselves.

@wzdev-ci
Copy link
Contributor Author

demonburrito@... commented


I'm running on a ppc g5, and I got it to work with a nasty hack in move.c. I replaced the assert with a condition that sets the direction difference to 0 when it's out of bounds. Probably a little too dirty for a real patch, but it seems to point to the problem.

Somewhere in game.c, a droid's direction is being mis-cast (big endian problem?), apparently. I'm a little confused by all the different save file formats, but I suppose I could track it down with a little time, unless (hopefully) this makes sense to someone who has been working on it. If you're that someone and you know exactly what it is, I'd be happy to test.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 4, 2008

Giel changed blocking which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Giel changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

Giel changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Giel commented


(In [6512]) * Do not perform endian swapping twice when loading, as it'll undo the first swap

  • Make saving and loading of move controls symmetric

This should fix #96, #127 and #177

@wzdev-ci
Copy link
Contributor Author

Giel commented


(In [6513]) Merged revision [6512] into the 2.1 branch via svnmerge from trunk

........
[6512] | muggenhor | 2008-12-28 15:31:54 +0100 (zo, 28 dec 2008) | 5 lines

  • Do not perform endian swapping twice when loading, as it'll undo the first swap
  • Make saving and loading of move controls symmetric

This should fix #96, #127 and #177
........

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant