Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CRITICAL] File::items() - wrong file size #485

Open
tlosm opened this issue Jul 1, 2016 · 12 comments
Open

[CRITICAL] File::items() - wrong file size #485

tlosm opened this issue Jul 1, 2016 · 12 comments

Comments

@tlosm
Copy link

tlosm commented Jul 1, 2016

when i try to run it i have this ...
log attached
fallen.txt

@isage
Copy link
Contributor

isage commented Jul 2, 2016 via email

@tlosm
Copy link
Author

tlosm commented Jul 2, 2016

hi isage ,
make it run from /.local/share/falltergeist too but i have the same error

@isage
Copy link
Contributor

isage commented Jul 2, 2016

Oh, wait, this actually happens when you have corrupted .dat file.
What version are you using? Can you provide md5sum of master.dat and critter.dat?

@tlosm
Copy link
Author

tlosm commented Jul 2, 2016

i have the same issue freom gog and old osx version.
from gog version
this is the critter.dat 9b16e92ac88d168e81126b72e6f9ab3c
master.dat 5acf4f9a8bb017af0f7b35c7f920a48b

@tlosm
Copy link
Author

tlosm commented Jul 2, 2016

this is the osx version
critter.dat 5eca6b64c02894cd80e67a5a38af9fa6
master.dat b1d16ac9345694aaf28426ee2b5cb304
on osx version there is a patch000.dat too ask if you need

@isage
Copy link
Contributor

isage commented Jul 2, 2016

Well, GOG version looks fine.
I don't know then, can't reproduce.
What platform/hardware this on?

@tlosm
Copy link
Author

tlosm commented Jul 2, 2016

Big Endian, freescale P5020 e5500
os ubuntu mate 16.10

@isage
Copy link
Contributor

isage commented Jul 2, 2016 via email

@tlosm
Copy link
Author

tlosm commented Jul 2, 2016

isage, you can use qemu-system-ppc it will be fast like an g3 700 mhz but good for testing purpose

@tlosm
Copy link
Author

tlosm commented Jul 2, 2016

or another way can be disable the crc control on big endian

@isage
Copy link
Contributor

isage commented Jul 3, 2016

Well, i've spent all weekend trying to install and boot ubuntu in qemu-system-ppc, but to no avail.
Even if i did succeeded, i'm pretty sure i won't be able to launch falltergeist there due to graphics hardware requirements.
I'll leave this bug open, so maybe someone will try and fix it.
(also, it's not about crc-control. all fallout files are little-endian, so when reading int16 or int32 from it data needs to be reversed. There's already code for that it Dat/Item.cpp, and it needs to be implemented for Dat/File too, and maybe some other places)

@tlosm
Copy link
Author

tlosm commented Jul 4, 2016

Hi Isage,
thanks for checking . Probably big endian will need an extra patched fallout2.dat that i have on the OsX PPc version ?

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

No branches or pull requests

2 participants