Wystan Posted March 16, 2015 Posted March 16, 2015 Is there a way to change the default config of the OpenJK?
Xycaleth Posted March 16, 2015 Posted March 16, 2015 I don't understand the question. What do you mean by "changing the default config"? Nothing has changed in OpenJK with regards to how you change settings. Do you mean how to change the settings that a fresh/brand new OpenJK build comes with?
Wystan Posted March 16, 2015 Author Posted March 16, 2015 Yes, and openjk sp customization. Where the config is put in documents/my games/openjk. I can no longer put my config to my mod folder so it would work.
Raz0r Posted March 16, 2015 Posted March 16, 2015 It will load it from both directories, with priority given to the "homepath" aka fs_homepath cvarThis means you can set the homepath to GameData (i.e. run with +set fs_homepath ".") to preserve the original behaviour of JA.Why can't you put a config in the mod folder? Are you talking about releasing a mod with a config that is automatically executed?It's not really a safe/suggested way to name it the same as the default config - I would recommend naming it something else, putting it in a PK3, and having your shortcut execute that config on startup. I think you're just misunderstanding the point of a "base" directory and a "homepath" directory, i.e. full multi-user support as it was on Linux/Mac before OpenJK.The base path should not be user-writeable, it should only contain the base assets/PK3s, it should be read-only.The homepath should be a user-writeable directory where configs and related data (demos, screenshots, etc) are stored. You can also put mods there if you wish.
Wystan Posted March 16, 2015 Author Posted March 16, 2015 Can i make some sort of bat file? Right?[openjkexe] +set fs_homepath base No, this is wrong. How is right?
Raz0r Posted March 17, 2015 Posted March 17, 2015 openjk.x86.exe +set fs_homepath "." "." means "current directory" i.e. GameData. Assets are loaded from [fs_homepath|fs_basepath]/fs_game i.e. "GameData/base" then "C:/Users/name/Documents/My Games/OpenJK/base"
Wystan Posted March 17, 2015 Author Posted March 17, 2015 It crushes But thatnks for trying to help me
ensiform Posted March 18, 2015 Posted March 18, 2015 I still don't see why you need it in your basepath's mod folder? Its going to be in the mod folder regardless. Just under My Games\OpenJK\YOURMOD
Wystan Posted March 18, 2015 Author Posted March 18, 2015 I need to make the game use the config i made. Of course i can put it there but i have no idea how to make an installer that installs config into such directory. *Crashes.
Stoiss Posted March 18, 2015 Posted March 18, 2015 then take that edit text you have in you config at put it in to the openjk.cfg in My Games/OpenJK/MODNAME, it should work fine with that. i have done it a mil times without problems
Wystan Posted March 18, 2015 Author Posted March 18, 2015 yes, i know i know but it's not for me it's for the oter players. I must tell them to rename and put config into my games/openjk)) No, that's not serious.
Raz0r Posted March 18, 2015 Posted March 18, 2015 If it crashes, then it's unrelated. It's an issue with a mod you have.
Wystan Posted March 18, 2015 Author Posted March 18, 2015 without mods it still crashes it always crashes with any folder. except when fs_homepath is not set.
Xycaleth Posted March 18, 2015 Posted March 18, 2015 Can you describe how it crashes? Do you see anything before it crashes? Do you get to the main menu? OpenJK is still in active development so if you mention it to us then it will[/i] get fixed. Having to do something to avoid a fix doesn't help the rest of us.
Wystan Posted March 18, 2015 Author Posted March 18, 2015 Firstly, it's sp customization exe. Secondly no main menu and no error message. It crashes on console.
Xycaleth Posted March 18, 2015 Posted March 18, 2015 There isn't a console anymore (I assume when you say console you mean the little window with text that pops up before the main window appears). What do you mean by SP customization exe? Are you using a modded SP exe? Or are you using extra mods with the SP exe? There's a known issue which is currently unfixable with the base JKA SP dll which makes it incompatible with OpenJK SP. The solution to this is to copy OpenJK/jagamex86.dll into your base/ folder.
Wystan Posted March 18, 2015 Author Posted March 18, 2015 This, i have a premission to use it.http://jkhub.org/topic/2480-sp-customisation-stuff/
ensiform Posted March 19, 2015 Posted March 19, 2015 Pretty good chance that red isn't keeping that up to date. And, you could ship with an autoexec_sp.cfg in the basepath folder rather than a forced main config because most people probably wouldn't like a forced config in general.
Futuza Posted March 19, 2015 Posted March 19, 2015 It may be easier to provide us with a video showing us what's happening @@Wystan...I hate to say it, but the language barrier might be getting in the way.
Wystan Posted March 19, 2015 Author Posted March 19, 2015 Wow autoexec_sp.cfg is working, that's the solution
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now