31
Mac / PPC 2.3.1 almost ready!
« on: August 10, 2011, 03:35:19 pm »
Good news everybody!
I have resolved the save game issue on 2.3.1 with PPC.
It does seem to be an endian problem. The cp_save.c code has some methods
in it that converts via a function called "LittleLong" which does a byte swap.
Taking out these entries and assigning the variables without byteswapping now
allows the save/load of the slot data to both get a name and a time stamp.
I can do a patch if requested..... ..the change was literally a no brainer.
I seem to recall doing the same thing in 2.3.0 but it didn't work, so the code must have
changed somehow...
When I work out why the intro prints out "intro_ sentence1" and so on intead of the actual text,
I will bundle up the PPC binaries required into a standalone app that should work on at least
PPC machines with an NVIDIA card.
Then I will have a go at 2.4......
I have resolved the save game issue on 2.3.1 with PPC.
It does seem to be an endian problem. The cp_save.c code has some methods
in it that converts via a function called "LittleLong" which does a byte swap.
Taking out these entries and assigning the variables without byteswapping now
allows the save/load of the slot data to both get a name and a time stamp.
I can do a patch if requested..... ..the change was literally a no brainer.
I seem to recall doing the same thing in 2.3.0 but it didn't work, so the code must have
changed somehow...
When I work out why the intro prints out "intro_ sentence1" and so on intead of the actual text,
I will bundle up the PPC binaries required into a standalone app that should work on at least
PPC machines with an NVIDIA card.
Then I will have a go at 2.4......