GtkRadiant under Windows 7


(Wezelkrozum) #1

In Windows 7 GtkRadiant can’t create new files in your harddisk. To help GtkRadiant you need to create a .map file manually in your maps folder. This tutorial will explain to do this since there are some issues with the Security Lab program of Windows 7.

You do this by making a .txt file and open it in Notepad or you open Notepad from the application. Now you must save the the empty file in the maps folder with the name you want to use for your map and the extension .map.

If you get an error from Notepad you don’t have the rights to create the file in your harddisk you need to go throught one or both steps:

  1. Simple way
    I’m not sure this way will work for GtkRadiant but I will explain it anyway.
    Right click on Notepad and click Run As Administrator. Now you should be able to save new files in you harddisk. If you still experience problems you have to follow step 2.

  2. Advanced way
    With this step you make all programs able to edit your harddisk. There are 2 accounts in Windows 7. Your account and the administrator account. You’re account doesn’t have the full rights to edit the system. That is what we’re going to change.
    Right click on the drive where you installed Wolfenstein and GtkRadiant and select properties. Open the tab-page Security (Lab) and click Advanced (right bottom). Go to the tab-page Owner and select you Edit (left bottom). Click on your account and click on OK. Now press on every open window you just opened OK to close them.

Open GtkRadiant and open the empty map file. Create a brush and click on save (NOT save as). Now create a new map and open the .map file again. Your able to save your work again!

I used GtkRadiant 1.4 which doesn’t show me any errors now. Radiant 1.5 has some visual errors.
I hope this tutorial works for more users. I needed the second step to make GtkRadiant work so don’t hesistate to go through that step.:wink:

Greets Wezelkrozum.


(rfx) #2

Can you let me know version of Radiant your using specifically? thx

Do you have any idea what’s the problem with Windows 7 in this case?


(Wezelkrozum) #3

I use GtkRadiant 1.4 and 1.5.
1.4 shows up correctly but 1.5 has some visual errors in the menu.

The problem with windows 7 is that Radiant can’t create a new .map file. Why? I have no idea. I guess it’s something with the code.


(rfx) #4

Just to clear up why I’m asking so cryptically, I’m currently working a bit on radiant 1.6 in my spare time and if there are issues I’d like to know about them so maybe I or others can fix them.

Currently I’m aware of the following two Windows 7 issues related to 1.6 (may affect 1.4, too):

[ul]
[li]Windows 7 requires disabling of desktop composition
[/li][li]Windows 7: cannot select game engine on different
[/li][/ul]

Unfortunately I don’t have a Windows 7 system to test on (still on WXP Pro, rock solid since 9 years for me), but maybe others can bring light into that.

To properly create an issue out of that, I’d like to know where exactly the problem is. Does saving anywhere you choose (Desktop, etc.) not work? Do you get some kind of error message?

On the other hand, have you had a change to try NetRadiant? It’s tagline is:

NetRadiant is a fork of the well-known map editor for Q3 based games, GtkRadiant 1.5. The focus is put on stabilizing and bugfixing the included map compiler, q3map2, so it can become a reliable tool for map authors.

Maybe the author has integrated fixes related to that issue.


(Diego) #5

[QUOTE=wezelkrozum;207616

  1. Advanced way
    With this step you make all programs able to edit your harddisk. There are 2 accounts in Windows 7. Your account and the administrator account. You’re account doesn’t have the full rights to edit the system. That is what we’re going to change.
    Right click on the drive where you installed Wolfenstein and GtkRadiant and select properties. Open the tab-page Security (Lab) and click Advanced (right bottom). Go to the tab-page Owner and select you Edit (left bottom). Click on your account and click on OK. Now press on every open window you just opened OK to close them…[/QUOTE]

Um,

I have only 1 user account and I am the administrator. But if I look at the properties of any driver or folder, I do not get a “Secuity” tab. Only a “Sharing” tab and a few others.

Also, if Radient can’t create .map files, why does it have a problem saving to .map files that were already created in radient before I upgraded to windows 7?


(Wezelkrozum) #6

[QUOTE=Diego;207703]Um,

I have only 1 user account and I am the administrator. But if I look at the properties of any driver or folder, I do not get a “Secuity” tab. Only a “Sharing” tab and a few others.

Also, if Radient can’t create .map files, why does it have a problem saving to .map files that were already created in radient before I upgraded to windows 7?[/QUOTE]

What os did u use before?
Were u able to create a map file?
And were u able to save your map files this way? i am searching to a solution for al mappers, so i hope u can give more information?


(Diego) #7

[QUOTE=wezelkrozum;207709]What os did u use before?
Were u able to create a map file?
And were u able to save your map files this way? i am searching to a solution for al mappers, so i hope u can give more information?[/QUOTE]

I was using XP before. I was able to finally get this to work. But I didn’t have to do anything in your Option 2. So by creating an empty txt file, I was able to copy and paste my original .map into this new empty .map file created with notepad. This does let me use “Save”. But not “Save As” or “Save Selected”.

So I guess I’ll have to decide which of these I need the most. I don’t want to have to keep bouncing back between Netradient and Radient 1.4. Not to mention the fact that those entities that I had to move to make them work correctly in Netradient are now completely dorked up when I look at it in Radient 1.4.


(stealth6) #8

I say just stick to netradiant, leave the past behind and look to the future.


(jRAD) #9

Does this only happen if you’re trying to save your work to c:\Program Files? That folder is protected under Vista and 7 - it’s probably a good idea install and edit everything in a folder that doesn’t live under Program Files.


(Wezelkrozum) #10

No, you can’t save it anywhere. If GtkRadiant has to create a new .map file because it doesn’t already exist it comes with following error:

Saving map to G:/backups/Wolfenstein mapping/etmain/maps/windows7_testNo brushes selected.
Map_SaveFile: G:/backups/Wolfenstein mapping/etmain/maps/windows7_testNo brushes selected.
ERROR: couldn’t open G:/backups/Wolfenstein mapping/etmain/maps/windows7_testNo brushes selected.
for write


(rfx) #11

[QUOTE=wezelkrozum;207793]No, you can’t save it anywhere. If GtkRadiant has to create a new .map file because it doesn’t already exist it comes with following error:

Saving map to G:/backups/Wolfenstein mapping/etmain/maps/windows7_testNo brushes selected.
Map_SaveFile: G:/backups/Wolfenstein mapping/etmain/maps/windows7_testNo brushes selected.
ERROR: couldn’t open G:/backups/Wolfenstein mapping/etmain/maps/windows7_testNo brushes selected.
for write[/QUOTE]

There are two things which irritate me:

[ul]
[li]The message “No brushes selected.”, at least in version 1.6, only occurs in two placed: CSG merge and subtract operation; I wouldn’t understand why it shows up when saving a map file
[/li][li]The file path does not contain the extension. At least for 1.6, afaik 1.4 too, the extension is mandatory for the application to figure out what to do. Did the .map extension just got lost due copy/paste or maybe did you not specify it when saving a map, can you try that?
[/li][/ul]
thx


(Wezelkrozum) #12

[QUOTE=rfx;207886]There are two things which irritate me:
The file path does not contain the extension. At least for 1.6, afaik 1.4 too, the extension is mandatory for the application to figure out what to do. Did the .map extension just got lost due copy/paste or maybe did you not specify it when saving a map, can you try that?
thx[/QUOTE]

I tried, and failed. Still get the same error.


(obsidian) #13

^ This.

And I wrote this on Quake3World:

On Windows 7/Vista file saving:
I’m almost completely certain this has to do with Windows administrative security features (User Access Control) which prevents applications not running under administrative access from creating or modifying files within certain core directories like C:\Windows and C:\Program Files. That is why most applications have logs and setting files stored somewhere in C:\Users[UserName]\AppData.

In this case, if you have Quake 3 (or any other game) installed in C:\Program Files\Quake3, Windows may prevent you from creating files in that directory unless the program is elevated to run with administrative privileges, or if you have disabled administrative security (not recommended).

Personally, I have my entire development directories stored on a completely different drive, so Quake 3 is on D:\GameDev\Quake3 and I have never run into this issue since the entire D:\ drive does not have any access restrictions.


(Diego) #14

All of my data is also stored on a separate drive and I get the error with 1.4 everytime except when I created a new .map file and copied my data into the new file.


(Wezelkrozum) #15

I think Windows 7 saves the extensions in an other way than previous windows versions. Or that it saves the start and the end of a file. That could explain why it works when you copy the characters in a new map-file. :rolleyes:


(Xterm1n8or) #16

HI,

I’m currently using Windows 7 RC and GtkRadiant 1.4.

If you start a new map and start building, you cannot save, save as or save selected.
If however, you open a map (this can be just a single brush) you can then save as normal.
You still can’t save as, but all you need to do is goto the maps folder, copy and rename the file.
If you try a save as or save selected, then the save function will no longer work. You will have to re-open the map.
The only thing i can’t do, is save selected. For this i have to use 1.5, save as .map and import it in 1.4
The autosave function does work however, which puzzles me as to why a manual save will not work.


(MidGart) #17

I have the same game error. I don’t believe that there is no solution


(merlin1991) #18

call me crazy, but for me radiant can save new maps

maybe it’s because I have both radiant and w:et outside of programm files


(Wezelkrozum) #19

[QUOTE=merlin1991;235886]call me crazy, but for me radiant can save new maps

maybe it’s because I have both radiant and w:et outside of programm files[/QUOTE]

i have them to outside progfiles but i get the error


(Marinity) #20

the same thing, i got that error too