GtkRadiant icon indicating copy to clipboard operation
GtkRadiant copied to clipboard

Setup 32/64 q3map2 by default according to hardware on Windows

Open TTimo opened this issue 12 years ago • 10 comments

Right now we're setting x64 q3map2 by default. 32 bit users will have to go in prefs and modify it. Would be nicer to detect if the Windows OS platform is 64 bit and set the default accordingly.

TTimo avatar Jun 16 '13 22:06 TTimo

...or they can buy a new computer. :)

0bsidian avatar Jun 17 '13 15:06 0bsidian

I cant run any executable from GtkRadiant-1.6.4-20130615.zip on 32 bit winxp (as well, as other guy on same os) Says 'not 32 bit executable' Fixed issue with missing dll (msvcr110), but still..

Garux avatar Jun 17 '13 22:06 Garux

If you are having a problem with q3map2, then make sure you restart radiant after selecting 32 bit q3map2, and post a console log of a compilation attempt.

Please make a seperate bug report if you can't run GtkRadiant 1.6.4 at all on Windows XP. I googled around and I don't find anything that would suggest that our binaries wouldn't work on Windows XP. The official documentation from Microsoft seems to say that it would work fine: http://www.microsoft.com/visualstudio/eng/products/compatibility

TTimo avatar Jun 17 '13 23:06 TTimo

Removed milestone. Leaving this in as a "would be nice".

TTimo avatar Aug 10 '13 04:08 TTimo

With the upgrade to 2017 I've configured the projects to use the XP compatible toolset. So it may actually work again on 32 bit XP. I have absolutely no plans to test anything on an actual 32 bit XP box though.

TTimo avatar Jan 27 '18 20:01 TTimo

On Windows we could do this: https://stackoverflow.com/questions/2140619/correct-way-to-check-if-windows-is-64-bit-or-not-on-runtime-c

TTimo avatar Jan 27 '18 20:01 TTimo

@TTimo i'v tried recent build @ xp box this:

Copy D:/Program Files/GtkRadiant-20180122/installs/Q3Pack/install//missionpack/textures/base_wall2/techfloor_kc_blue.tga -> N:\q2\4/missionpack/textures/base_wall2/techfloor_kc_blue.tga Writing game file: D:/Program Files/GtkRadiant-20180122/games/q3.game Scanning for game description files: D:/Program Files/GtkRadiant-20180122/games D:/Program Files/GtkRadiant-20180122/games/q3.game XML parser failed on 'D:/Program Files/GtkRadiant-20180122/games/q3.game' mGameCombo == NULL No games setup, aborting

GetLastError: ?????? ?????? ?? ????????.

An unrecoverable error has occured. Would you like to edit Preferences before exiting Radiant?

GtkRadiant-20180122\games\q3.game:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<game
  name="Quake III Arena and mods"
  enginepath_win32="N:\q2\4"
  gametools_win32="D:/Program Files/GtkRadiant-20180122/installs/Q3Pack/game"
  prefix=".q3a"
  basegame="baseq3"
/>

Garux avatar Jan 31 '18 12:01 Garux

@Garux can you create a new issue? this is about another topic.

Pan7 avatar Jan 31 '18 14:01 Pan7

@Pan7 okay

Garux avatar Jan 31 '18 14:01 Garux

Is this actually supposed to work? I have never heard of anyone who's radiant would default to using 64-bit q3map2. Even when checking the "Use 64-bit q3map2" in options and creating a new profile, the build menu presets still point to 32-bit q3map2.

Aciz avatar Jan 31 '18 15:01 Aciz