Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Script to automate the download of white-rabbit's Co-op Dwarfmode  (Read 1456 times)

flbr

  • Bay Watcher
    • View Profile

Updated to DFPlex v0.2.1

I've been working on a small script to automate white-rabbit's awesome plugin to allow multiplayer DF, and though I posted a link to my script in the comments I've been advised to consolidate the info for it.

Here's white-rabbit's post
And here is the download for my script (for windows 10, x64 bit)

To use it just drop it into the place where you want it to download df and run it, but make sure not to have
  • df_47_04_win.zip
  • dfhack-0.47.04-r1-Windows-64.zip
  • dfplex-v0.2-Windows64.zip
  • df\
  • dfplex-v0.2-Windows64\
in the same directory.

Run the script, and when it asks for your graphics and color choice just type in the name of the graphics/color you want.
Then you should be good to go!

Spoiler: Dependencies (click to show/hide)

« Last Edit: May 31, 2020, 08:38:29 pm by flbr »
Logged
flbr was
hit by the what the fuck-truck
It was very effective!

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Script to automate the download of white-rabbit's Co-op Dwarfmode
« Reply #1 on: April 28, 2020, 10:40:51 pm »

I probably should've mentioned earlier that the file deletion in your script didn't work for me. Empty folders from the dfterm expand-archive remained. Announcements.txt.txt didn't replace announcements.txt. Not sure if it was a permissions issue or what.

For Windows 7/8 users, you'll need to update Powershell to 5.1: https://www.microsoft.com/en-us/download/details.aspx?id=54616
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. Was this inevitable (Y/y)?

flbr

  • Bay Watcher
    • View Profile
Re: Script to automate the download of white-rabbit's Co-op Dwarfmode
« Reply #2 on: April 30, 2020, 11:53:11 am »

The announcements problem should be fixed (just a typo on my part) and I'll continue to try and figure out that deleting problem
Logged
flbr was
hit by the what the fuck-truck
It was very effective!

flbr

  • Bay Watcher
    • View Profile
Re: Script to automate the download of white-rabbit's Co-op Dwarfmode
« Reply #3 on: May 05, 2020, 05:29:18 pm »

Aw yeah, now you can select your desired graphics and color set in the command line  8)
Logged
flbr was
hit by the what the fuck-truck
It was very effective!

white-rabbit

  • Bay Watcher
    • View Profile
Re: Script to automate the download of white-rabbit's Co-op Dwarfmode
« Reply #4 on: May 06, 2020, 01:30:56 pm »

Aw yeah, now you can select your desired graphics and color set in the command line  8)

ooooh, very cool.  8)
Logged

flabort

  • Bay Watcher
  • Still a demilich
    • View Profile
Re: Script to automate the download of white-rabbit's Co-op Dwarfmode
« Reply #5 on: May 18, 2020, 08:17:27 pm »

New version of patch, ready to update script?
Logged
The Cyan Menace

Went away for a while, came back, went away for a while, and back for now.

flbr

  • Bay Watcher
    • View Profile
Re: Script to automate the download of white-rabbit's Co-op Dwarfmode
« Reply #6 on: May 23, 2020, 06:38:49 pm »

Updated! I keep getting a `Connection error`, but I'm not sure if that's just me, so let me know how it's working for you
« Last Edit: May 23, 2020, 06:56:36 pm by flbr »
Logged
flbr was
hit by the what the fuck-truck
It was very effective!

troycall

  • Escaped Lunatic
    • View Profile
Re: Script to automate the download of white-rabbit's Co-op Dwarfmode
« Reply #7 on: May 27, 2020, 12:33:41 am »

I also get "connection error", I'm hosting on Windows 10 x64.

I used firefox and it worked for localhost/lan, I also used google chrome which worked for none of them, and I used edge which worked for lan/localhost
But over the internet it doesn't work, even though like I said I forwarded the ports, the page loads but it says "connecting" then just says retry.

After further investigation, it seems the windows build never "attaches" to the port 1234, even if you change that port to any other port, it never attaches to that specific port, by attach I mean it never "Listens" to that port.

Note that i port forwarded and everything correctly, and I double checked so it's not a firewall or port forward issue, the issue is for Windows, the application never attaches to the secondary port, which by default is 1234. the [STATICPORT] attaches correctly though, which is port 8000 by default.

Logged

troycall

  • Escaped Lunatic
    • View Profile
Re: Script to automate the download of white-rabbit's Co-op Dwarfmode
« Reply #8 on: May 28, 2020, 02:44:51 am »

fibr mind updating this to the latest DFPlex version? would be awesome if you can.
Logged

flbr

  • Bay Watcher
    • View Profile
Re: Script to automate the download of white-rabbit's Co-op Dwarfmode
« Reply #9 on: May 31, 2020, 08:34:25 pm »

Should be good to go!
« Last Edit: June 17, 2020, 11:52:03 pm by flbr »
Logged
flbr was
hit by the what the fuck-truck
It was very effective!