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

Add a 64 bit release line on Windows #116

Closed
TTimo opened this issue Sep 9, 2012 · 18 comments
Closed

Add a 64 bit release line on Windows #116

TTimo opened this issue Sep 9, 2012 · 18 comments

Comments

@TTimo
Copy link
Owner

TTimo commented Sep 9, 2012

We may not need the editor itself in 64 bit, but we need for the tools (q3map2, lighting stage in particular).

If we restrict the transition to 64 bit to just what we need, shouldn't be too much of a hassle. There has been a 64 bit Linux version for a while now.

@TTimo
Copy link
Owner Author

TTimo commented May 24, 2013

Except we need x64 versions of all the dependent libraries, xml, png, jpeg, glib .. even for compiling just q3map2 ..

@jdolan
Copy link
Collaborator

jdolan commented May 24, 2013

Are the GtkRadiant builds done natively or xc?

We're cross-compiling Quake2World for 64bit Windows here: http://ci.quake2world.net

@TTimo
Copy link
Owner Author

TTimo commented May 24, 2013

Native compile .. there's a lot of dependencies .. all of the gtk+ stuff, png, jpg, xml etc.
Trying to support Windows binaries through cross compile doesn't sound viable.

We've been using a pre-configured EC2 system to spit out Windows builds in the past, but I'm also looking at updating that.

@jdolan
Copy link
Collaborator

jdolan commented May 24, 2013

Q2W requires glib2, but mingw packages for it were readily available. I think the only thing we had to crutch up ourselves for XC was PHYSFS. Obviously not as deep a stack as Radiant, but ..just a thought..

Jay

@TTimo
Copy link
Owner Author

TTimo commented May 28, 2013

Decent progress on this. Grabbed x64 binaries for the latest gtk+, upgraded to a new jpeg9 with x64 binaries, now looking at a newer libxml2 with x64 binaries.

@TTimo
Copy link
Owner Author

TTimo commented May 30, 2013

Experimental x64 windows binary of q3map2:
https://dl.dropboxusercontent.com/u/1529870/q3map2-x64-20130530.zip

Overall it looks like a full x64 GtkRadiant build would be possible. But mostly we're interested by just the compiler being 64 bit.

@TTimo
Copy link
Owner Author

TTimo commented Jun 7, 2013

The Windows x64 binary of q3map2 compiles q3dm7sample successfully.
The projects have been updated so the binary goes to install/x64/q3map2.exe along with the dependent x64 DLLs.

The integration is still a problem though. The easiest is probably to add a set of BSP options on the Windows version that point to the x64 version. The problem is that Linux doesn't care, since it's a full x64 and not a 32 bit editor + 64 bit q3map2 binary.

image

@TTimo
Copy link
Owner Author

TTimo commented Jun 8, 2013

Obsidian recommended that we add a preference flag to select x64 q3map2 vs 32 bit q3map2. Changing the setting would require the project file to be regenerated, but that sounds like a good solution. Better than duplicating all the BSP command lists only for Windows.

The updated libraries are working well, putting together a new set of dependencies for GtkRadiant now, then will merge the MSVC2012 branch back to master.

@TTimo
Copy link
Owner Author

TTimo commented Jun 15, 2013

Next build will default to q3map2.exe x64 for Q3 and QL. Still have to do the preferences thing.

@TTimo
Copy link
Owner Author

TTimo commented Jun 15, 2013

Scratch that, I had time to work in the preferences toggle thing. Closing this!
http://gtkradiant.s3-website-us-east-1.amazonaws.com/GtkRadiant-1.6.4-20130615.zip

@TTimo TTimo closed this as completed Jun 15, 2013
@0bsidian
Copy link

Nice work! 64-bit option seems to be enabled by default (I'm guessing it autodetects). <3

@TTimo
Copy link
Owner Author

TTimo commented Jun 16, 2013

Nah actually it's just on by default. Autodetection would be nice I suppose. We'll have to document clearly to 32 bit users otherwise .. I'd be surprised if there are that many?

@mrwonko
Copy link
Contributor

mrwonko commented Jun 16, 2013

I'd be surprised if there are that many?

Actually chances are many of those still sticking to idTech 3 are on old hardware, right? Well, no way to know for sure, short of adding a hardware survey to radiant. 😄

@Acrobatc101
Copy link

Will this thing work for jk2\jk3 as well?

@0bsidian
Copy link

0bsidian commented Jul 6, 2013

Yes. It works for any game that Q3Map2 supports.

@Acrobatc101
Copy link

I'm testing this for jk2\jka.

When I double click the q3map2 icon it says "missing MSVCR220.dll" and won't start. any ideas?

@Mateos81
Copy link
Contributor

Mateos81 commented Jul 8, 2013

You need to install Visual C++ Redist x86 and x64:
http://www.microsoft.com/en-gb/download/details.aspx?id=30679

@0bsidian
Copy link

0bsidian commented Jul 8, 2013

Also, you can't just double-click on the Q3Map2 icon, it's a command-line program. You need to pass it parameters via GtkRadiant's build menu or with a batch file.

nyov pushed a commit to xonotic/netradiant that referenced this issue Apr 29, 2018
plugins/iqmmodel: apply textures on surfaces

Closes TTimo#116

See merge request xonotic/netradiant!84
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

6 participants