Forums » MacOS X

Does /Load work for Mac OSX>

Nov 18, 2004 banister_murray link
Greetings fellow Mac gamers,

There is an excellent beginners tutorial regarding Alias and Binding Here: http://www.spookydistance.com/cgi-bin/public-wiki.pl?Vendetta_Online_Customization

I am especially enthusiastic about the potential of using a seperate text file to contain and arrange all of my personalized Bindings...

The problem is that it requires one to use the /Load command to load a text file, supposedly in the "installation Folder". (This technique apparently works great under the Windows Version.)

Well on the mac version, Vendetta is a Package that can be saved anywhere on the mac hard drive. I have tried to copy the myconfig.txt file in the same folder as the vendetta package... AND I have tried to copy the file in every directory within the Vendetta Package...

Whenever I type /Load myconfig.txt in game... Apparently nothing happens. (the file contains a one line Echo command.) If it worked it should execute the Echo command...

So... where is the default directory for the /LOAD command in the Mac version?

Thanks,
Phlip_Phase
Nov 19, 2004 raybondo link
It should be put in the VendettaOnline.app bundle.
Or you can prepend ../ in front of your file name and put the file in the same folder VendettaOnline is in.

/load ../myconfig.txt

I haven't tested this but the filename may need to be surrounded by quotes if you do that.

/load "../myconfig.txt"
Nov 19, 2004 banister_murray link
Howdy Raybondo,

Thank you for responding...

I'm still having trouble making this work.

I've tried several things; placed the myconfig.txt file in the same folder as VendettaOnline

Selected VendettaOnline and opened by "Show Package Contents" and tried placing the text file in every directory in there...

Selected the vendettaclient app within the VendettaOnline package and opened it by "Show Package Contents" and tried placing the text file in every directory in there too...

I still get no response at all when I type: /load myconfig.txt in game...
I also tried several variations of /load ../myconfig.txt with a different amount of dots ..... and "quotes" and no quotes... Still, nothing? not even an error message?

The myconfig.txt file I'm using has only this one line of text:

echo "Custom configuration loaded."

Shouldn't I see that echo text if the file loaded properly?

Do you have any other ideas on what I might be doing wrong?

Thanks
Banister
Nov 19, 2004 TheMiller link
One thing that threw me off: This message will display in the chat window, which won't be shown while the console is open. So if you're using the console window to run the /load command, close it afterwards and check the chat window. Or, try issuing the command directly in a chat input area -- I think that will work.
Nov 20, 2004 banister_murray link
Thanks for the advice...

I tried /Load in the chat areas (General & Mission) still nothing...
Also tried in console...

And tried in chats in station; (General, Mission, Bar) still nothing... :-(

If for some reason the Mac version of the game cannot execute the /Load command does that constitute a Bug?
Nov 22, 2004 Ben Shaw link
i got a feeling you have to provide a full and direct path right from ur hd. for example i made a couple of .oggs for the game b4 we had all the funky music and i couldnt figue out how to get them to play. by placing them in my top level of the directory (Macintosh HD) i could load them like this */playmusic "/Ambience.ogg"* (remove the stars) apply this to your attempt and see what happens
Nov 22, 2004 RelayeR link
You are copying the file and pasting it into the Vendetta folder, correct?
(You can't drag & drop into a package in OS X)

If so, the "/load ../myconfig.txt" [without quotes] should work. (you can also try "/load ~/myconfig.txt" [without quotes])
Nov 23, 2004 banister_murray link
Thanks To everyone who posted help..

I have figured out something interesting...

I was Wrong in thinking that the /Load command wasn't working. With your help I now can type...

/Load /myconfig.txt

...into any chat prompt and the Aliases and Binds load and work just fine. (As long at the file is in the Vendetta Package)

This was apparently working all along...
However: I am not seeing anything Echo !?!?!

As I mentioned in an earlier post I have a line in myconfig.txt like this...

Echo "Custom configuration loaded."

Shouldn't this display text in game?
Where would I look to see this being displayed in game?
Does the Echo command work from an external file on Mac?
(it works in game using /echo "test test")

Thanks in advance,
Banister
Nov 23, 2004 raybondo link
I just tried echo "hi there" in a sample and it worked fine.
echo outputs to the general chat.
Try doing the /load before logging in.
Nov 23, 2004 banister_murray link
I've got to be doing something wrong...

I know my external file loads properly, I can observe that my Aliases and Binds do not work before I load, and then they work after I load. (of course only when launched with a fresh wgaf.cfg file :)

The last line in my text file is:
/echo "Custom configuration loaded."

However I'm still not seeing that echo... I'm typing /Load /myconfig.txt into the general chat window while I'm still in the station as soon as I've logged in.

Am I doing something wrong?

And I'm confused... How could I "/Load before logging in" ?

Thanks
Nov 23, 2004 roguelazer link
There shouldn't be a / in commands used in files.. The last kine should read thusly:

echo "Custom configuration loaded."
Nov 23, 2004 raybondo link
Yeah, that too.

Use the console by pressing ` and then type /load filename
press ` again to close the console.
Nov 29, 2004 banister_murray link
Hello again all,

I believe I have discovered an odd behavior with loading script files...

The last line in my script was indeed correct without the / as Roguelazer pointed out. (I did miss-Type it in my earlier post)..

However, I did not have a line return at the end of the last line.

I discovered this by trying to execute multiple Echo commands from a seperate text file. I was seeing every line echo properly Except The Last Line !?!?!

I then discovered that by placing a line return at the end of the last line (effectively having the last line of my text file being a blank line), All of the echo commands worked properly.

Does anyone else notice this?

Thanks (everyone) for your help,
Banister
Nov 29, 2004 raybondo link
Ah heh. interesting. I'll check that out.
Dec 01, 2004 raybondo link
/load fails to execute the last line if it does not have a carriage return.
I fixed it for the next patch.
Dec 01, 2004 roguelazer link
You stole that "feature" from gcc!