Ludeon Forums

Ludeon Forums

  • December 05, 2020, 06:24:13 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: [Tool] cookiecutter-rimworld-mod-development : Build a Mod In 30 Seconds or Less  (Read 25794 times)

jptrrs

  • Drifter
  • **
  • Posts: 23
  • Refugee
    • View Profile

For those like me, scratching their heads after installing this cookiecutter in VS and getting only a blank window, don't despair. First, you gotta add the "Data science and analytical applications" package, back on the Visual Studio Installer (and it takes a while to download).
Now, on with the modding using the fancy tool...
Logged

redxlaser15

  • Muffalo
  • *
  • Posts: 9
  • Refugee
    • View Profile

How, just, what? I installed it and opened the zip folder and there is a whole bunch of stuff that I have no clue what to do with!
I don't understand the labelling and stuff in there, and the 'readme' is super confusing to me too.
Seriously, just, how?
Supposedly you don't need this 'visual studio' thing, but how do I ensure I'm not using it? What four options buttons are you talking about?
« Last Edit: April 11, 2019, 01:23:44 PM by redxlaser15 »
Logged

Mehni

  • Super Tester
  • Colonist
  • ***
  • Posts: 864
    • View Profile

I spent more time fighting the very peculiar environment the cookiecutter sets up than it will ever save me. In the end I found it quicker to set up a solution manually. If you set it up right once, you can even export your project as template and subsequent mods will be ready to go in a few clicks.

The wiki has very detailed instructions on how to set up a solution, and it works well. https://rimworldwiki.com/wiki/Modding_Tutorials/Setting_up_a_solution

slgray16

  • Muffalo
  • *
  • Posts: 1
  • Refugee
    • View Profile

It seems i don't have cookiecutter installed, or I am running the command in the wrong location.   

C:\>cookiecutter gh:n-fisher/cookiecutter-rimworld-mod-development

'cookiecutter' is not recognized as an internal or external command,
operable program or batch file.

The cookiecutter instuctions are just a link to a GIT solution.  How do I install it?   Does it need a path entry?
Logged

WinnieTheJinping

  • Muffalo
  • *
  • Posts: 3
  • Refugee
    • View Profile

I'm having the same problem. PIP is firing, but apparently cookiecutter is not installed anywhere. I've spent a good half hour googling a solution and have yet to find any
Edit:
1) Had to add cookiecutter to path. This was helpful: https://cookiecutter.readthedocs.io/en/latest/installation.html
2) Visual Studio 2019 had to have the FULL Python workload. IDK why, but it works and I don't want to break it.

Now I have cookiecutter. And all because I just wanted to see if i could get it up. I don't even need it HAHAHHAHA
« Last Edit: October 07, 2019, 12:09:24 PM by WinnieTheJinping »
Logged

WinnieTheJinping

  • Muffalo
  • *
  • Posts: 3
  • Refugee
    • View Profile

It seems i don't have cookiecutter installed, or I am running the command in the wrong location.   

C:\>cookiecutter gh:n-fisher/cookiecutter-rimworld-mod-development

'cookiecutter' is not recognized as an internal or external command,
operable program or batch file.

The cookiecutter instuctions are just a link to a GIT solution.  How do I install it?   Does it need a path entry?

Yeah it does
Logged

Chanka

  • Muffalo
  • *
  • Posts: 3
  • Aspiring Mod Dev
    • View Profile

For anyone using this for version 1.1, you need to change the .NET Framework version to 4.0.

This can be found in the Project Properties>Application>Target Framework.
Logged

Marvolath

  • Muffalo
  • *
  • Posts: 2
  • Refugee
    • View Profile

I'm trying to use it with Visual Studio 2019. I already have git, python and cookiecutter installer, but when I can't find the template in File>New or in the Visual Studio Installer. Any idea? 😟

I'm still able to create the mod using the console (cookiecutter gh:n-fisher/cookiecutter-rimworld-mod-development), so I'll use that meanwhile :)
Logged

LWM

  • Planetologist
  • ****
  • Posts: 1061
  • Little White Mouse
    • View Profile

.Net framework 4.7.2, surely?
Logged

Marvolath

  • Muffalo
  • *
  • Posts: 2
  • Refugee
    • View Profile

.Net 4.7.2 compatibility package was already installed, but the SDK wasn't.
I've installed the SDK but there is no change.
Logged

VoidRose

  • Muffalo
  • *
  • Posts: 12
  • Refugee
    • View Profile

Can it be use in mac?
Logged

Rexow

  • Muffalo
  • *
  • Posts: 5
  • Refugee
    • View Profile

This first line of tutorial is giberish for me:
1. cookiecutter gh:n-fisher/cookiecutter-rimworld-mod-development

I have no Cookiecutter in my VS, is it becos I didn't done whatever this thing is saying ?
Logged

superhot

  • Muffalo
  • *
  • Posts: 1
  • Refugee
    • View Profile

Hi. Is this Tool available if I use Jetbrains Rider instead of VS? Or at least with VS Code instead of Community?
Logged

LWM

  • Planetologist
  • ****
  • Posts: 1061
  • Little White Mouse
    • View Profile

The line from the tutorial `cookiecutter gh:n-fisher/cookiecutter-rimworld-mod-development` is a command-line command. You may have to install the cookiecutter tool if your system doesn't have it already. If you use the command line to create the frame for your mod, you should be able to open it in VS/VSCode/whatever.

There are a few open issues you should be aware of - you can see them on the github page.
Logged
Pages: 1 [2]