Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92259 - Blobwars > 1.03 creates invalid pak files on big endian arches
Summary: Blobwars > 1.03 creates invalid pak files on big endian arches
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-11 08:58 UTC by Joe Jezak (RETIRED)
Modified: 2005-05-11 12:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for the problem. Already sent upstream. (be_pak.diff,851 bytes, patch)
2005-05-11 08:59 UTC, Joe Jezak (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Jezak (RETIRED) gentoo-dev 2005-05-11 08:58:10 UTC
Since blobwars 1.03, the pak file creation is broken.  It creates the actual file fine, but when adding on the # of files and position variables to the end of the file it neglects to swap them on big endian systems.  This causes the values to be read incorrectly when running the game.
Comment 1 Joe Jezak (RETIRED) gentoo-dev 2005-05-11 08:59:24 UTC
Created attachment 58670 [details, diff]
Patch for the problem.  Already sent upstream.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-05-11 10:46:50 UTC
I say go ahead and commit it...
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-05-11 11:27:24 UTC
yep. go for it josejx
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2005-05-11 12:31:35 UTC
Fixed in cvs.