Is there any way to force the default client to use HTTPS so that I can export and import my map data? I've tried copying the custom JVM args Purus gives when you click "Use HTTPS for resfiles (amber maps)" like this:

But I simply get this error:

loftar wrote:The specific problem you're having is that you're trying to pass the resource-URL argument to the launcher, rather than the client itself. If you want to change the launch parameters, I'd recommend downloading the actual launch file, modify it, and run the launcher on that modified file. Note, however, that it is the haven.mapbase property that you'll want to change for this, rather than the resource URL.
TheRussianB wrote:How would I specify the modified hafen.hl file as a command line argument?
loftar wrote:Simply specify it with an argument, eg. java -jar autohaven.jar my-hafen.hl
TheRussianB wrote:I was trying that but was getting this exception. This occurred with both a modified and unmodified version of hafen.hl.
require 1.0
validate tls-cert:key:rsa:99118FA7C13D9686021FFDB74F8FFE77CA5EB7D356A8D31BB907A31AFAE04D46
class-path https://game.havenandhearth.com/java/hafen.jar
class-path https://game.havenandhearth.com/java/hafen-res.jar
class-path https://game.havenandhearth.com/java/builtin-res.jar
main-class haven.MainFrame
include https://game.havenandhearth.com/java/jogl2/jogl.hl
title "Haven & Hearth"
splash-image splash.gif
heap-size 1024
property haven.errorurl http://game.havenandhearth.com/java/error
property haven.defserv game.havenandhearth.com
property haven.resurl https://game.havenandhearth.com/res/
property haven.screenurl http://game.havenandhearth.com/mt/ss
property haven.cachebase http://game.havenandhearth.com/render/
property haven.mapbase http://game.havenandhearth.com/java/
property haven.fullscreen off
loftar wrote:Hmm, right, the launch file uses relative URLs. You probably need to manually "absolutify" them. It should probably be something like this:
TheRussianB wrote:Would the URLs in jogl.hl also have to be absolutified?
loftar wrote:I don't think so. As long as it's loaded from that URL, it should work correctly.