Closed marad closed 7 years ago
There is a project in modules/steam-files that downloads the client with steamcmd and packages client.jar and common.jar.
The project reads build.properties from that folder with those keys: steamcmd=Path to steamcmd steamuser=Steam user steampasswd=Password for the user
When you've created build.properties run mvn install to download the files and install them to your local maven repository.
When steamcmd logs in the login data from the Steam client becomes invalid and you must logoff and logon witht he steam client to be able to play steam games again.
So if I understand correctly this missing dependency is just client.jar
and common.jar
. The same files that are installed on my disk with the game?
They are repackaged to one JAR file and installed in local maven repository as org.gotti.wurmunlimited:common-client
, correct?
I wonder if I can just do this myself from files that I already have on my machine.
Basicly yes but it's actually each jar as an individual package.
https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
Those two commands should install the files. The version number is the current build id.
mvn install:install-file -Dfile=
I'm browsing the source of steam-files. Looks like it just installs common.jar as client-common
and client.jar as client
artifacts in local repository.
I use Clojure and leiningen as a build tool so with localrepo plugin for lein this is quite simple:
lein localrepo install client.jar org.gotti.wurmunlimited/client 0.1
lein localrepo install common.jar org.gotti.wurmunlimited/common-client 0.1
This would install the files so that they can be used.
EDIT: yeah, that's basically the same what you've written :)
It would be really helpfull to have some kind of manual for bootstraping a mod.
Looks like this resolved my problems and created simple WU mod using your tools :)
@ago1024 I've created this: https://github.com/marad/wurm-clojure-repl Thanks for the help!
Hi! I wanted to create a mod using your client mod launcher but unfortunately I cannot get the dependencies straight.
Tried adding dependency to your
[org.gotti.wurmunlimited/client-modlauncher "0.4"]
but this gives me an error:I've got the same error when I've tried to download and build your LiveHudMap mod. Looks like you are missing some library version in public repository.