Jump to content

[mod] C0ffee's Lazy Installer and Updater for RJW and Submods


Recommended Posts

Posted
2 hours ago, vempare said:

Yours gave me more information on where it found duplicate files and i was able to remove the offending folders. Unfortunately it still fails when it gets to zero. Looks like it attempts to download something and crashes.

EDIT: It maybe just after zero, i think i saw it complete and try to do the next process, not sure its just to fast to see.

I removed zero from the .bat file and it worked perfectly fine. It seems to be that particular git

Posted
2 hours ago, vempare said:

Yours gave me more information on where it found duplicate files and i was able to remove the offending folders. Unfortunately it still fails when it gets to zero. Looks like it attempts to download something and crashes.

EDIT: It maybe just after zero, i think i saw it complete and try to do the next process, not sure its just to fast to see.

Skomer is working on updating the function call for checking duplicate installs, but Gitgud is down right now so I can't push it

Posted

Yep, commenting out the zero lets the batch file run normally. I just moved it to the end so it is the last thing the batch does.

On the bright side in Windows 11 you can run the linux shell script, tested it with genes folder and it seems to install it correctly.

Running the batch file after the shell script does not find missing files or attempts to download anything.

Posted (edited)
On 6/8/2024 at 3:33 AM, Kerozen said:

Am I the only noob here who don't get how to link the lazy installer and github desktop together ?

 

GitGud is not GitHub, so it doesn't make it easy for you if you're not cloning a GitHub repository. While you can use GitHub Desktop with a GitGud repository, i recommend that you start with Git directly, then import the repository into GitHub Desktop after you have everything set up. You will need a GitGud (Sapphire) account, with an associated SSH key, if you plan on submitting changes.

 

Simple steps:

  1. Sign In to GitGud, or Create a Sapphire account.
  2. Generate an SSH key, and add it to your GitGud account [user settings/ssh keys]. (If you have one for GitHub, you can also re-use it.)
  3. Navigate to the repository (https://gitgud.io/c0ffeeeeeeee/c0ffees-lazy-installer-and-updater) and fork it.
  4. Open your Git Bash terminal, and navigate to where you want in clone the forked repository. Clone your fork, and enter it.
    cd /c/path/to/steamapps/common/RimWorld/Mods/
    git clone https://gitgud.io/Kerozen/c0ffees-lazy-installer-and-updater #URI_EXAMPLE_ONLY
    cd ./c0ffees-lazy-installer-and-updater

     

  5. In GitHub Desktop, go to 'File' in the toolbar and click 'Add Local Repository' (CTRL+O). Pick the path, and click 'Add repository'.
  6. Once imported, go to 'Repository' in the toolbar, click 'Repository Settings'. Click on 'Git config' on the left side of the pop-up. Here, you can decide if you want to use a global Git configuration, or a configuration local to the repository (using a GitGud specific identity)

Note: If this is the 'First Run' of GitHub Desktop, you will need to associate it with GitHub first, or click on the 'Skip this step' option, where you will be presented with what you want to use for your Name & Email. You cannot proceed with step 5 unless this is done.

 

Personally, I would recommend a different graphical interface, something built into your editor (e.g. VSCode), or learn how to use the CLI. (See the official documentation; Tower also has beginner-friendly documentation.)

Edited by XenoMorphie
  • 5 weeks later...
Posted (edited)

For anyone interested i collected the vore mods:

 

::RimVore2andAddons
CALL :GitUpdate RimVore2 https://gitlab.com/Nabber/rimvore-2.git
CALL :GitUpdate RimVore2-OverStuffed https://gitlab.com/MamaHorseteeth/rimvore-2-overstuffed.git
CALL :GitUpdate RimVore2-CarnivorousPlants https://gitlab.com/Nabber/carnivorousplants.git
CALL :GitUpdate RimVore2-Reformers https://gitlab.com/whatif12stuff/rv2reformers.gitn
CALL :GitUpdate RimVore2-Interactions https://github.com/Rutrixbat/RV2I.git
CALL :GitUpdate RimVore2-Misc https://github.com/Rutrixbat/RV2-Misc.git
CALL :GitUpdate RimVore2-AlternateTexture https://gitlab.com/Amecissist7/rimvore-product-texture.git
CALL :GitUpdate RimVore2-CumSlimes https://gitlab.com/Nabber/cumslimes.git
CALL :GitUpdate RimVore2-CumSlimesArePeopleToo https://gitlab.com/Nabber/cumslimesarepeopletoo.git
CALL :GitUpdate RimVore2-EdibleScat https://gitlab.com/misplacedtf/RimVore2scat.git
CALL :GitUpdate RimVore2-DrinkablePiss https://gitlab.com/misplacedtf/rimvore2piss.git

 

 

i dont know if Coffee wants to add them into the base download,

You can just edit the .bat with a text editor and paste them in after the last CALL line yourself.

Edited by Tidurian
  • 3 weeks later...
Posted

Love the idea of this but...
I'm just getting "Warning: .git not found for "mod name here". It might need to be deleted and reinstalled to work with Lazy Installer." after everything...

Posted
On 7/25/2024 at 7:35 PM, b00marrows said:

Love the idea of this but...
I'm just getting "Warning: .git not found for "mod name here". It might need to be deleted and reinstalled to work with Lazy Installer." after everything...

Are you using the latest Lazy Installer?

but if that doesn’t work you can try manually updating or join the discord for help.

7 hours ago, Overlord Mactire said:

do you put the whole folder in the mods section or just the bat file 

Place C0ffees-Lazy-Installer-Updater.bat in /RimWorld/mods/  folder

Posted

It doesn't work at all, I got git and put the .bat it in my mods folder and followed all the instructions and couldn't get it to work :(

I did everything to try to run it but it doesn't work.

 

I have rimworld 1.5/current version and all DLC and use macOS Sonoma

Posted
3 hours ago, llEnvy said:

It doesn't work at all, I got git and put the .bat it in my mods folder and followed all the instructions and couldn't get it to work :(

I did everything to try to run it but it doesn't work.

 

I have rimworld 1.5/current version and all DLC and use macOS Sonoma

If I am not wrong it’s a lot harder on the macOS so you might need to manually install. 

Posted
12 hours ago, llEnvy said:

It doesn't work at all, I got git and put the .bat it in my mods folder and followed all the instructions and couldn't get it to work :(

I ... use macOS Sonoma

 

Try the Linux .sh file instead. macOS doesn't support Windows NT scripts.

  • 4 weeks later...
  • 2 weeks later...
Posted (edited)

I made an updater for the updater but I noticed that it doesn't download everything now for some reason after switching off windows 10. if anyone wants the updater updater I'll leave it here. I'm bad at code though so I have no idea if it works on other pc's, or just on mine. would love to have someone else glance over it and give me some comments on it.

for it to work figuratively it should work in the same area as the other updater.

Spoiler

Like this 
image.png.206c2fa7a090de3ae50dea06575efd6b.png


Update to the updater updater, this copy isnt working, scroll down a bit more for a working copy of the updater updater, I updated it.
update update update update update, update update.

 

Edited by kronoblaster
made a working copy more recently.
Posted
On 9/4/2024 at 4:16 AM, kronoblaster said:

I made an updater for the updater but I noticed that it doesn't download everything now for some reason after switching off windows 10. if anyone wants the updater updater I'll leave it here. I'm bad at code though so I have no idea if it works on other pc's, or just on mine. would love to have someone else glance over it and give me some comments on it.

for it to work figuratively it should work in the same area as the other updater.

upon reexamination i realized the reason it wasn't working is that i cant get it to download with the crlf line ending. I'll work on that but if anyone wants to try their hand at it have at it. its just another batch file that downloads a batch file.

Posted
On 9/4/2024 at 4:16 AM, kronoblaster said:

I made an updater for the updater but I noticed that it doesn't download everything now for some reason after switching off windows 10. if anyone wants the updater updater I'll leave it here. I'm bad at code though so I have no idea if it works on other pc's, or just on mine. would love to have someone else glance over it and give me some comments on it.

for it to work figuratively it should work in the same area as the other updater.
 

  Reveal hidden contents

Like this 
image.png.206c2fa7a090de3ae50dea06575efd6b.png


 

Kronos's updater for C0ffee's updater.7z 877 B · 2 downloads

figured it out, here's a working copy of it, after it downloads it just uses a powershell command to change it to be proper, ill edit the other comment to let peeps know that copy doesnt work

Kronos's updater for C0ffee's updater.7z

  • 2 weeks later...
Posted (edited)

it is asking for being placed in rimworld/mods folder, but it is already in rimworld/mods folder.

oh ok, it wanted for m to be M in mods. 

Edited by Teber
Posted

Since a few days I've been getting

Quote

Updating rjw-brothel-colony...
Your configuration specifies to merge with the ref 'refs/heads/dev2'
from the remote, but no such ref was fetched.

Git noob here, what do I do?

 

Posted
3 hours ago, Gwaptiva said:

Since a few days I've been getting

Git noob here, what do I do?

 

it seems that that mod author has merged the branch 'dev2' into the main master file. in order to fix that in the updater all ya gotta do is switch out this bit hereimage.png.b5294ebc801e77d32d1cb6211fb8a022.png

to make it look like the rest of its friends
image.png.2c8c61417d037993819c27a3143af6e0.png

and it should work preem

Posted
10 minutes ago, kronoblaster said:

it seems that that mod author has merged the branch 'dev2' into the main master file. in order to fix that in the updater all ya gotta do is switch out this bit hereimage.png.b5294ebc801e77d32d1cb6211fb8a022.png

to make it look like the rest of its friends
image.png.2c8c61417d037993819c27a3143af6e0.png

and it should work preem

scratch that I'm technically correct but the actual answer is a bit more involved.
I'll just put this in a spoiler so peeps can go by and click on the title to get rid of it.

 

I apologize I should have researched my shitposting before i shitposted.

 

Spoiler

so basically to fix it complaining you have to navigate to the directory previously downloaded by the updater (you should most likely already have one labeled something like rjw-brothel-colony)
then you wanna open a command prompt in that directory
then you wanna do the command "git fetch --prune https://gitgud.io/CalamaBanana/rjw-brothel-colony.git" and it should figuratively fix it.

 

Posted
6 hours ago, kronoblaster said:

scratch that I'm technically correct but the actual answer is a bit more involved.
I'll just put this in a spoiler so peeps can go by and click on the title to get rid of it.

 

The prune didn't really work; tried a few other things, in the end, I just deleted the local clone of the repo, and pulled it.

From the gitgud repo it seems that "master" is now the correct branch to work with, and it seems that the updater also works with that.

 

Thanks for your troubles

Posted
On 9/22/2024 at 9:13 AM, Gwaptiva said:

 

The prune didn't really work; tried a few other things, in the end, I just deleted the local clone of the repo, and pulled it.

From the gitgud repo it seems that "master" is now the correct branch to work with, and it seems that the updater also works with that.

 

Thanks for your troubles

Hey, as long as you figured out how to fix it on your end, its all good mate 👍 sorry I wasn't as much of a help as I hoped to be

  • 3 weeks later...
Posted

Not sure if this has been posted already, but I wasn't able to find it:

 

What do I need to edit in this to make it not ask if I want to create a folder for mods that don't already have one? Either adding a "yes to all" action or just circumventing the check? 

 

I tried commenting out the Else condition starting on line 180 but that didn't help, just quit the .BAT when that would have been asked

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...