TTimo / GtkRadiant

The open source, cross platform level editor for idtech games
http://icculus.org/gtkradiant/
Other
582 stars 152 forks source link

Changing Mapping Mode in Project Settings does not change the mode - GTK 1.6.5 mapping for Jedi Knight Jedi Academy #509

Open JonathanBesse opened 7 years ago

JonathanBesse commented 7 years ago

I'm trying to map for Jedi Knight Jedi Academy (JKA) using GTK version 1.6.5. In the Project Settings, there is an option for Mapping Mode, with the two options being Single Player and Multi Player. GTK by default is set to Single Player, and despite switching the option to Multi Player and clicking save, nothing happens. Checking the Project Settings again shows that the Mapping Mode either switched back to Single Player, or never changed in the first place.

projectsettings

This is what the Project Settings window looks like by default, option This is the two options that come up.

TTimo commented 7 years ago

This game is not supported by 1.6 - see http://icculus.org/gtkradiant/developers.html#gamepacks for more details. You may have better luck working with an older release.

(That being said, of course if someone with basic technical and programming abilities wants to port over the old game packs so Jedi Knight is indeed supported in the new 1.6, we'll be happy to provide support)

ensiform commented 7 years ago

Erm, yes it already is. And why are you cutting support for games anyway?

http://icculus.org/gtkradiant/developers.html#gamepacks

Star Wars Jedi Knight: Jedi Academy mrwonko, Obsidian

@JonathanBesse restart the editor to have mapping mode change.

TTimo commented 7 years ago

@ensiform the mission statement explains why we only support a subset of the full list that used to be supported. It essentially comes down to having dedicated maintainers who do have the game installed and know how to work with it.

ensiform commented 7 years ago

It is already supported and still works, I'm using it from the gamepack repo right now, and is in fact in the list you pointed out.

TTimo commented 7 years ago

Oh snap you're right, I was confused between the two tables, the one with our supported games and the one with the legacy supported games ;-)

Sorry, about that, carry on!

JonathanBesse commented 7 years ago

I'll try a restart, thanks for the quick reply! EDIT: Restarting the editor had no effect. I've also tried running in admin mode as well. I'm on Windows 10, are there any known issues with Microsoft's latest pile of sludge?

JonathanBesse commented 7 years ago

I have no idea what went wrong, I have no idea why this works. I followed the instructions here to compile the source myself, and it works perfectly. The Mapping Mode changes, no restart necessary. It appears my issue was the result of gremlins, or perhaps I angered the software gods. Regardless, it is working now. I'm not much of a coder, but if I can figure out why one worked and the other didn't I'll say something.

Thank you once again for your rapid responses!

Pan7 commented 7 years ago

This is related https://github.com/TTimo/GtkRadiant/issues/134

JonathanBesse commented 7 years ago

Ok, after setting up JKA as the target game in GTK, in the initial start of the program, all SP and MP specific entities are available through the editor. The Mapping Mode is still set to SP, and cannot be changed to MP.

On the second run of GTK, the MP specific entities are no longer in the entity list, and the Mapping Mode still can't be changed.

The folder GTK is in is NOT read only, and according to the log GTK is successfully writing to the global and ja pref files each time the Mapping Mode is changed. Running GTK normally or as Administrator has no effect.

I guess the next thing I'll try is manually editing the JA pref file, and see if that does anything. (If I can find the flag for mapping mode.) It seems I prematurely closed this issue, it is now reopened. Oops.

JonathanBesse commented 7 years ago

On the assumption that some other poor soul will also be afflicted by this, this is my workaround until someone far smarter than me figures out how to fix the bug.

Open GTK, then Edit->Preferences. Click 'Clean'. After GTK closes, go to the folder GTK lives in, there should be a folder there called 'installs'. In the installs folder, click JAPack -> install -> base -> scripts In the scripts folder, there are two .def files, mp_entities.def and sp_entities.def. Switch the names around, mp becomes sp and sp becomes mp. Run GTK, enjoy your MP entities despite the Mapping Mode not working.

Pan7 commented 6 years ago

Is this problem solved with the latest version?