COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > NINJAM Discussion > NINJAM User Discussion

Reply
 
Thread Tools Display Modes
Old 05-13-2019, 10:17 PM   #1
Daraloha
Human being with feelings
 
Join Date: May 2019
Location: Clifton, New Jersey
Posts: 1
Default I need Terminal help with Ninjam server

I've been messing about with Ninjam client and it's fun and interesting, and I'd like to try running a Ninjam server of my own for online music collaboration.

Trouble is, I can't get it to run.

The only help i can find is the Ninjam server set-up guide.

I've attached the example.cfg file which comes with the server software.

The problem is that I don't know how to edit the example.cfg file correctly, and the guide isn't much use.

The only thing I need to edit is the SetPID part, although I'm not sure about the LogFile, the guide makes no mention of it.

I've tried it all ways I can think of and alway wind up with the error:

"[config] error opening configfile 'ninjamserver.cfg'
Error loading config file!"

ninjamserver.cfg is what I saved the edited example.cfg.txt file as.

Anyone care to have a bash?
https://diceus.com/bespoke-software-...disadvantages/

Last edited by Daraloha; 05-19-2019 at 11:16 PM.
Daraloha is offline   Reply With Quote
Old 07-03-2019, 09:50 PM   #2
hppy420
Human being with feelings
 
Join Date: May 2012
Location: Portland oregon
Posts: 17
Default

Hey there and good evening from over here.
I've got a copy of the example.cfg file open right now. so here what I did and didn't edit.
Entries are one line each and some you may not need.
I'm running linux, so if you're running windows or mac that may be different.
First the port. This should be one of the following.
2049 2050, 2051, or 2052.
I chose 2050.
MaxUsers 10
Mine is set to 8.
MaxChannels has two settings, one for normal and another for anonymous users.
I set both to 2 because really, if ya want a bunch of channels, just hook up a stereo mixer into the left and right channel of your inputs.
ServerLicense is what displays the licence agreement file clients see when connecting.
AnonymousUsers no
Well, I've set mine to yes in case any of my friends want to log on without a password, no means that only people with a username and password can log in.
The next line determines whether anonymous users can chat.I don't mess with anything much until the user password permision sets.
Those should be self explanitory, and anything that has an '#' in front of it is either a comment or an option that you're not using.
The last four things to edit are:
DefaultTopic "damn ninjam is cool!"
Or whatever you want your users to see.
DefaultBpm 120
No quotes needed. and the following is similar.
DefaultBpi 8
first is beats per minute I think, and the next one is beats per interval.
I don't use the line with the
SessionArchive . 15
because I don't log the sessions on my server.
The last lines are only for windows users so I don't touch those.
I've not edited mine for a long time now, so I don't remember if you have to do it as root, but I'm pretty sure you do.
So in linux I just do the following from the directory where the binary is for my own convenience.
./ninjamsrv server.cfg
Hope that helps a bit.
Take care... Cheereo!
hppy420 is offline   Reply With Quote
Old 11-08-2021, 04:40 AM   #3
aidn1956
Human being with feelings
 
Join Date: Nov 2021
Posts: 1
Default

Have you spelled the config file name correctly?

I downloaded the ninjam files form github.

I set up the configuration file but when

I am trying to launch the server inside the terminal but it tells me

"Bad CPU type in executable". I am on Mojave 10.14.6.

I also tried to compile from source but i cannot open the xcode project. (xcode Version 11.3.1)

Any suggestions? Also I decide to outsource the development or customization of software to https://innovecs.com/software-develo...ing-in-israel/
aidn1956 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.