Looking for a good Endian converter
Moderators: adeyke, VampD3, eriqchang, Angelus3K
-
- Knight Status
- Posts: 384
- Joined: Sat May 08, 2004 5:55 am
- Location: deadfall beneath Ooga Booga
Looking for a good Endian converter
This is so I can convert my QFGV saved games from Mac(Big Endian), to PC(Little Endian).
-
- Defense Minister Status
- Posts: 736
- Joined: Tue Sep 17, 2002 2:54 pm
- Location: Kolding, Denmark
- Contact:
It's not quite that simple. Endianness merely describes which byte goes first, but without knowledge of the "field sizes" used, it's not possible to flip them around (you can't tell 2 2-byte fields apart from a 4-byte field, or even 4 single bytes - so you don't know how to change it).
Have you tried using them as-is? There's a (small) chance they used an endian-neutral format (assuming the format is similar in the first place).
Have you tried using them as-is? There's a (small) chance they used an endian-neutral format (assuming the format is similar in the first place).
-
- Knight Status
- Posts: 384
- Joined: Sat May 08, 2004 5:55 am
- Location: deadfall beneath Ooga Booga
They don't.
Why would I be asking this if they did?
Here are some saves at the beginning of the Mac and Windows versions:
http://www.mediafire.com/?02jn9tykyd2
Why would I be asking this if they did?
Here are some saves at the beginning of the Mac and Windows versions:
http://www.mediafire.com/?02jn9tykyd2
-
- Defense Minister Status
- Posts: 736
- Joined: Tue Sep 17, 2002 2:54 pm
- Location: Kolding, Denmark
- Contact:
I've made it a habit to make sure users have tried the most obvious ways first. You'd be surprised at some of the things I've experienced without doing this.Boogeyman wrote:They don't.
Why would I be asking this if they did?
I took a quick look, and if these two are saved in similar situations (scene, character stats and name, etc.), then it doesn't seem to be enough to just ensure endianess - there seems to be way too many differences for that to be the case. It might be necessary to reverse-engineer the format to get anything transferred.