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

Non-default path to game folder. ( Cannot find cfg folder ) #16

Open
ghost opened this issue Jan 18, 2018 · 2 comments
Open

Non-default path to game folder. ( Cannot find cfg folder ) #16

ghost opened this issue Jan 18, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 18, 2018

Hi again.
I have installed Tf2 to my second hdd ( D:\ ) and ofc installed all my games too it.
SourceRadio - provided this input; -g tf2 -f D:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2 ) - does not detect a tf2 install.
How am I meant to provide the -f param?

@ghost ghost closed this as completed Jan 18, 2018
@ghost
Copy link
Author

ghost commented Jan 18, 2018

Forget this issue existed. I was meant to wrap the directory in quotes. >.>

@ghost
Copy link
Author

ghost commented Jan 18, 2018

Alrighty.
Sorry for opening and closing shit so fast, but after wrapping the path in quotes ( and added a \ at the end of the directory ), SourceRadio spits out an error saying that it couldn't find the cfg folder at path
"D:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\"cfg\.
Which, is pretty funny, how the heck did that even happen?
I thought I needed to escape the \'s but nope, still happens.
Escaping the "'s produces this: "D:\Programcfg\.. Which is even funnier lol.

Full output;

D:\Program Files (x86)\SourceRadio>java -jar SourceRadio.jar -g tf2 -f "D:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\"

**** SourceRadio v2017.02.03 ****

java.io.IOException: Error: Failed to find the path to the game's cfg directory.
        at com.joelchristophel.sourceradio.Game.getCfgPath(Game.java:108)
        at com.joelchristophel.sourceradio.ScriptWriter.writeScripts(ScriptWriter.java:39)
        at com.joelchristophel.sourceradio.Playlist.initialize(Playlist.java:172)
        at com.joelchristophel.sourceradio.Playlist.<init>(Playlist.java:158)
        at com.joelchristophel.sourceradio.Playlist.getInstance(Playlist.java:139)
        at com.joelchristophel.sourceradio.Playlist.main(Playlist.java:97)
Caused by: java.io.IOException: Error: The game's expected cfg directory doesn't exist: D:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2"cfg\.
        at com.joelchristophel.sourceradio.Game.getCfgPath(Game.java:104)
        ... 5 more
Error: Could not find a Team Fortress 2 installation.

@ghost ghost reopened this Jan 18, 2018
@ghost ghost changed the title Non-default path to game folder. Non-default path to game folder. ( Cannot find cfg folder ) Jan 18, 2018
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

0 participants