CORDIAL MINUET ENSEMBLE

??????

You are not logged in.

#1 2015-03-05 21:45:33

chequers
Member
Registered: 2015-03-05
Posts: 4

Proxy support

Any plans to support proxied connections to the game server, however clunkily? Even being able to change the central server IP to localhost:1234 would suffice for my own needs.

Offline

#2 2015-03-05 23:07:19

jasonrohrer
Administrator
Registered: 2014-11-20
Posts: 802

Re: Proxy support

Actually, support is there, just not documented.  I just added this to the Readme:

If your network requires that you use a proxy server to connect to the web,
edit settings/webProxy.ini and insert your proxy's address and port in the 
address:port format.  Here's an example:

197.211.197.70:3128

You will need to create webProxy.ini yourself in this version.  The next release will ship with a blank file in place for webProxy.ini

Be careful when making the file that the extension is set correctly.  Sometimes Windows will add a hidden .txt to the end of your file name.

Offline

#3 2015-03-05 23:40:47

chequers
Member
Registered: 2015-03-05
Posts: 4

Re: Proxy support

Thanks, it works for me. On OSX this requires editing a file within the application itself -- which is a little obtuse for non-technical people, and I guess breaks on every update.

Offline

#4 2015-03-06 00:37:03

jasonrohrer
Administrator
Registered: 2014-11-20
Posts: 802

Re: Proxy support

Wait, what?

How can you edit the file within CM?

On OSX, I just edit settings .ini files with TextEdit.  Though I'm not sure if I've ever created an ini file from scratch through TextEdit... hmm...


Oh, jeeze... are you on an OSX that is sandboxing the app?  Are you editing the settings file INSIDE the app bundle somehow?  Please explain.  I've been trying to deal with the sandboxing stuff for a while now...


Your custom webProxy.ini file WILL be replaced on the next update with a blank one.

However, after that, the updates won't touch it.

However, if you skip an update, you'll end up pulling an EVERYTHING update instead of an incremental one, and that will replace all your settings again.

Admittedly, the update code isn't very smart about files the user has edited from their default settings.  Hmm...

There are some cases where I want to FORCE change an existing settings file with an update, though, so I think it's okay to bring users back to default settings, just in case.

Offline

#5 2015-03-06 08:04:03

..
Member
Registered: 2014-11-21
Posts: 259

Re: Proxy support

I assume chequers means editing the file within the .app bundle. Is the app meant to copy all its settings files out of the app bundle for easier editing?

Offline

#6 2015-03-06 19:25:26

jasonrohrer
Administrator
Registered: 2014-11-20
Posts: 802

Re: Proxy support

No... all files should start outside the app bundle.  There's nothing in the bundle but the EXE and icon resource.

Macs have gotten weird recently, though...

Offline

#7 2015-03-10 01:07:10

chequers
Member
Registered: 2015-03-05
Posts: 4

Re: Proxy support

I'm not totally sure what you're asking @jason, but there's more than two files in your application:
$ find /Applications/CordialMinuet_v15 -type f | wc -l
     202
$ find /Applications/CordialMinuet_v15 -type f -name webProxy.ini
/Applications/CordialMinuet_v15/settings/webProxy.ini

I'm running 10.9, which is latest - 1. I can provide more info if you'd like.

Offline

#8 2015-03-10 01:36:37

jasonrohrer
Administrator
Registered: 2014-11-20
Posts: 802

Re: Proxy support

Oh, yeah, the SDL library (with tons of files) is also in the bundle.  Forgot about that!

On OSX this requires editing a file within the application itself

I'm trying to figure out what you mean by this.  Can't you just edit the settings files with TextEdit?

Offline

#9 2015-03-10 02:16:00

chequers
Member
Registered: 2015-03-05
Posts: 4

Re: Proxy support

Oh! You're installing a real directory into Applications, which contains /settings and a separate CORDIALMINUET_v15.app. So yes, anyone could browse and edit this file without using a Terminal.

(I was starting CM via spotlight so never noticed this.)

(Of course, installing a folder into Applications is not the usual practice for OSX, but it works!)

Offline

#10 2015-03-10 18:27:10

jasonrohrer
Administrator
Registered: 2014-11-20
Posts: 802

Re: Proxy support

Well, there's no installer... but yeah, the DMG does tell you to drag it into Applications...  I usually put it somewhere else.

Offline

Board footer

Powered by FluxBB