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

Linux 64bit bspc fails to create valid .aas #265

Closed
Tigger-oN opened this issue Apr 25, 2014 · 6 comments
Closed

Linux 64bit bspc fails to create valid .aas #265

Tigger-oN opened this issue Apr 25, 2014 · 6 comments
Milestone

Comments

@Tigger-oN
Copy link

The 64bit version of bspc fails to create a valid .aas file. The command appears to work but there are no error messages until launching the game.

Current solution / work around: Use the 32 bit version of bspc (requires the ability to run 32 bit programs on 64bit systems)

@TTimo
Copy link
Owner

TTimo commented Dec 25, 2015

There were some pull requests against the BSPC source for things that would clearly have broken Linux 64 bit. See https://github.com/TTimo/bspc/commits/master from today.

@TTimo
Copy link
Owner

TTimo commented Apr 24, 2016

More fixes went into latest 1.6.5 update, but probably still not 64 bit friendly.

@viciious
Copy link

viciious commented May 2, 2016

I've tested win32 and win64 versions of bspc and both produce identical .aas files for my test map. Now lin64 is another story: the produced .aas file is notably bigger in size, yet it seems to be valid. From what I can tell, gcc generates x64 fp assembly which produces wildly different results when compared to x87.

@TTimo
Copy link
Owner

TTimo commented May 7, 2016

@Tigger-oN would you mind testing the latest BSPC with @viciious 's latest fixes and report back?
I'd like to release some binaries for GtkRadiant Linux with this 1.6.5 milestone.

@Tigger-oN
Copy link
Author

Tigger-oN commented May 8, 2016

My older 32bit BSPC (Dec, 2013) makes an .aas of 1.67MB and the current 64bit BSPC .aas size (on the same .bsp) is 1.80MB. Bots do work however - yay!

Crazy thought, will the 64bit .aas work with a 32bit engine?

@TTimo
Copy link
Owner

TTimo commented May 8, 2016

Yes the AAS file produced should work with any 32/64 bit engine just the same as if it was produced by a 32 bit bspc binary. As @viciious pointed out the float point code may behave differently between 32 and 64 bit, so it doesn't compute exactly the same file and the same AAS, but it's a valid AAS nevertheless.

Thanks for checking this out. I think we can close this.

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

3 participants