View unanswered posts | View active topics It is currently Sat Dec 27, 2025 7:10 am



Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
 New Weapon M OSX Installer 
Author Message
Chief Warrant Officer

Joined: Sat Nov 17, 2001 3:00 am
Posts: 175
Unread post New Weapon M OSX Installer
If anyone is running OSX, please give the new experimental Weapon M installer a try and let me know how it works:

http://weapon-m.herokuapp.com/download/ ... taller.dmg

This installer requires Oracle Java 1.7. If you don't have it installed, you should be able to find it here: http://www.oracle.com/technetwork/java/ ... index.html I think you should be able to install the JRE

Every time it starts, it should also try to update itself automatically, so you'll always have the latest version. Weapon M is still in the very early stages, but this way you can follow along just by running it periodically.

Also, if you run Windows or Linux and are interested in a Weapon M installer, let me know.


Sun Jan 06, 2013 3:24 pm
Profile WWW
Boo! inc.

Joined: Fri Jan 04, 2002 3:00 am
Posts: 221
Location: Canada
Unread post Re: New Weapon M OSX Installer
I tried it with 1.8.2 mountain lion. no luck. I get a black rectangle that just sits there.

oh wait. I found I had to drag the weaponm file to a place i wanted to run it from. so i threw it into applications.

i haven't found where it is putting databases yet, and what not. it doesn't seem to create those.

but i'll keep looking. but when i open weapon m. it does do its loading screen now.


Sun Jan 06, 2013 4:55 pm
Profile
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: New Weapon M OSX Installer
I will try it in the morning, I don't have a Mac at home.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Sun Jan 06, 2013 4:57 pm
Profile ICQ YIM WWW
Chief Warrant Officer

Joined: Sat Nov 17, 2001 3:00 am
Posts: 175
Unread post Re: New Weapon M OSX Installer
Tweety wrote:
oh wait. I found I had to drag the weaponm file to a place i wanted to run it from. so i threw it into applications.


Right. At the least, I'll add better error handling to indicate it needs to be coped to Applications.

Tweety wrote:
i haven't found where it is putting databases yet, and what not. it doesn't seem to create those.

but i'll keep looking. but when i open weapon m. it does do its loading screen now.


I'm not sure what you mean. The databases will be in $HOME/.weaponm/databases but it shouldn't matter where it is as long it as it consistent. Are you getting an error when you try to save a database?


Sun Jan 06, 2013 5:03 pm
Profile WWW
Boo! inc.

Joined: Fri Jan 04, 2002 3:00 am
Posts: 221
Location: Canada
Unread post Re: New Weapon M OSX Installer
this is kind of strange. i search and search for the new databases that were created, but the mac search doesn't find them.

when i go to terminal and list contents of my user directory. i don't see the .weaponm directory in which databases is kept. and a script directory i assume should be there too. now i said i didn't see it. with ls. sooo. i jsut changed directory to .weaponm and now i can see the databases directory and the contents of it.

its strange that i can't see it in finder. or terminal though. is it because it has . ?

i even searched for specific databases because i knew there were there somewhere.


Mon Jan 07, 2013 1:16 am
Profile
Chief Warrant Officer

Joined: Sat Nov 17, 2001 3:00 am
Posts: 175
Unread post Re: New Weapon M OSX Installer
Tweety wrote:
this is kind of strange. i search and search for the new databases that were created, but the mac search doesn't find them.

when i go to terminal and list contents of my user directory. i don't see the .weaponm directory in which databases is kept. and a script directory i assume should be there too. now i said i didn't see it. with ls. sooo. i jsut changed directory to .weaponm and now i can see the databases directory and the contents of it.

its strange that i can't see it in finder. or terminal though. is it because it has . ?

i even searched for specific databases because i knew there were there somewhere.


Directories in unix-like operating systems, including OSX in this case, treat directories beginning with a "." to be hidden. Windows has a similar flag, though not as often used. You can find hidden directories with "ls -a", which means "all, including hidden". I don't use the mac search, but surely there is a way to search hidden directories as well.

If it is too confusing, I can change the Weapon M home directory to be more mac-like, which would put it in $HOME/Application Support IIRC.


Mon Jan 07, 2013 1:58 am
Profile WWW
Boo! inc.

Joined: Fri Jan 04, 2002 3:00 am
Posts: 221
Location: Canada
Unread post Re: New Weapon M OSX Installer
sure. that first package you made added all the directories. its this last one that didn't put scripts or log directory. it just made the databases one.

yea i had all files shown. all hidden in finder. thats what i thought about the . directories. I even looked it up online about how to show it. none worked. i even typed a command to turn on show all files in finder at the terminal prompt.


Mon Jan 07, 2013 3:13 am
Profile
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: New Weapon M OSX Installer
Tweety wrote:
sure. that first package you made added all the directories. its this last one that didn't put scripts or log directory. it just made the databases one.

yea i had all files shown. all hidden in finder. thats what i thought about the . directories. I even looked it up online about how to show it. none worked. i even typed a command to turn on show all files in finder at the terminal prompt.


Get Text Wrangler (a free download on the App Store) it has a option to show hidden files and directories.

H

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Mon Jan 07, 2013 4:08 am
Profile WWW
Boo! inc.

Joined: Fri Jan 04, 2002 3:00 am
Posts: 221
Location: Canada
Unread post Re: New Weapon M OSX Installer
yea, i have text wrangler. its one of my favorite apps


Mon Jan 07, 2013 4:29 am
Profile
Chief Warrant Officer

Joined: Sat Nov 17, 2001 3:00 am
Posts: 175
Unread post Re: New Weapon M OSX Installer
If you are on a retina MacBook Pro, you may notice the osx installer that requires Java 7 looks like crap. Apparently this is a known issue with the Oracle version of Java that won't be fixed soon, so I created an installer for Java 6, the last version that comes with OSX. While not perfect, it looks a whole lot better...

weapon-m.herokuapp.com/download/Weapon%20M%20Java%206%20Installer.dmg


Wed Jan 09, 2013 10:26 pm
Profile WWW
Boo! inc.

Joined: Fri Jan 04, 2002 3:00 am
Posts: 221
Location: Canada
Unread post Re: New Weapon M OSX Installer
I am having a hard time getting any scripts to show up in the script menu. I navigated to .weaponm and I see the databases directory. so i figured i need to add a scripts directory. so i did and put my scripts in it. jsut as I sent you.

I reload weapon m and it can't find any of them. and shows nothing in the script menu.

I am using the auto-update version with the current mac installer. I dragged weapons.app into a directory in applications. i even tried adding a directory in there adjacent to weapons.app called scripts with the scripts inside. but nothing.


Fri Jan 11, 2013 9:29 pm
Profile
Chief Warrant Officer

Joined: Sat Nov 17, 2001 3:00 am
Posts: 175
Unread post Re: New Weapon M OSX Installer
Tweety wrote:
I am having a hard time getting any scripts to show up in the script menu. I navigated to .weaponm and I see the databases directory. so i figured i need to add a scripts directory. so i did and put my scripts in it. jsut as I sent you.

I reload weapon m and it can't find any of them. and shows nothing in the script menu.

I am using the auto-update version with the current mac installer. I dragged weapons.app into a directory in applications. i even tried adding a directory in there adjacent to weapons.app called scripts with the scripts inside. but nothing.


Scripts are located in the .weaponm/scripts directory. If it doesn't exist, you may need to create. I'll ensure it'll create that directory automatically. Also, you'll need to check or clear your preferences as any values there override the location of that directory.


Fri Jan 11, 2013 9:43 pm
Profile WWW
Boo! inc.

Joined: Fri Jan 04, 2002 3:00 am
Posts: 221
Location: Canada
Unread post Re: New Weapon M OSX Installer
it wasn't there. so i created it. but it still doesn't locate those scripts.

/Users/jamesgoudie/.weaponm/scripts
/Users/jamesgoudie/.weaponm/databases

databases has the created ones. scripts i made in

/Users/jamesgoudie/.weaponm

manually.


Fri Jan 11, 2013 10:04 pm
Profile
Chief Warrant Officer

Joined: Sat Nov 17, 2001 3:00 am
Posts: 175
Unread post Re: New Weapon M OSX Installer
Tweety wrote:
it wasn't there. so i created it. but it still doesn't locate those scripts.

/Users/jamesgoudie/.weaponm/scripts
/Users/jamesgoudie/.weaponm/databases

databases has the created ones. scripts i made in

/Users/jamesgoudie/.weaponm

manually.


Hmm...I'll bet you have the problem I have - my preferences file was referring to "./scripts", which means it'll resolve relative to the current directory. I had to edit the ~/Library/Preferences/com.apple.java.util.prefs.plist file manually to change "./scripts" to "scripts". I think there is a reason no Java app uses preferences nowadays :)

Which installer did you use? If using the Java 7 one (Weapon M Installer.dmg), then the preferences may be in a different location.


Fri Jan 11, 2013 10:36 pm
Profile WWW
Boo! inc.

Joined: Fri Jan 04, 2002 3:00 am
Posts: 221
Location: Canada
Unread post Re: New Weapon M OSX Installer
I tried out the Java 6 installer version this time


Sat Jan 12, 2013 12:56 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 17 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.