Jump to content

Lazy Installer and Updater for RJW and Submods


c0ffeeeee

Recommended Posts

Posted

Yes, and it also sends your data to the NSA, because they didn't feel they quite collected enough information about you yet. /s

Posted
16 hours ago, Mitokandria said:

Odd question. Does this .bat file transmit any data or ping anything outside of the localhost? Please don't shoot me for asking. >.<

It just clones each repository with git, pretty much the same as downloading from the website only faster.

Posted
1 hour ago, c0ffeeeee said:

It just clones each repository with git, pretty much the same as downloading from the website only faster.

 

That's a no, right? Cool. Thank you. Just got enough mods on my computer sending usage statistics without a notice. -_- Just like to know beforehand.

 

:) I've got waaaay too big a mod list to manage all of the rjw mods. Thank you for making this!

Posted

I'm getting the error: "SSL Certificate expired" for most, but not all, of the mods on both the .bat file and the python implementation. Is that happening to anyone else, is there anything I can do to fix it?

Posted

Thanks for making this script; these types of tools are appreciated.  I've been meaning to play again, but tracking down all the updates manually is such a pain, and this solves it.

Posted (edited)

noticed when checking for updates today animations keeps asking me to identify who I am instead of updating.

 

Edit: This seems to have been a error updating the old file, removing the old animations allowed a update, and this no longer popped up.

Edited by zarri
Situation change.
Posted
On 10/4/2021 at 10:27 PM, interrobang said:

I'm getting the error: "SSL Certificate expired" for most, but not all, of the mods on both the .bat file and the python implementation. Is that happening to anyone else, is there anything I can do to fix it?

 

I was getting the same issue, you need to turn off SSL verify from git (open cmd.exe and run the below)

git config --global http.sslverify "false"

Posted (edited)

coffee, could you perhaps clarify the note on this one?

 

::CALL :GitUpdate betterrjw https://gitgud.io/EaglePhntm/betterrjw.git 
::only install RJW or BetterRJW, not both

 

Looking at BetterRJW, it depends on RJW and just patches it.  Why are you saying only one or the other? Were you mixing BetterRJW up with SafeJobWorld, possibly?

Edited by NextToNothing
Posted
5 hours ago, NextToNothing said:

coffee, could you perhaps clarify the note on this one?

 

::CALL :GitUpdate betterrjw https://gitgud.io/EaglePhntm/betterrjw.git 
::only install RJW or BetterRJW, not both

 

Looking at BetterRJW, it depends on RJW and just patches it.  Why are you saying only one or the other? Were you mixing BetterRJW up with SafeJobWorld, possibly?

huh, I thought it was a replacer. I can fix it.

  • 2 weeks later...
Posted
On 10/5/2021 at 4:29 AM, besina said:

This is an awesome idea!  Anyone feel like being my hero and doing one for mac?

The Python one I made should work on mac, you just have to download and install Git and Python 3, so test to see if it does work and if it doesn't tell me and I'll work on fixing it in my spare time, I'm also working on an updated version of my Python one to make it better, like making it not have to be placed in the RimWorld mods folder, so any fixes will most likely be released with the next version of my Python script.
NOTE: I don't own a mac so I would have to set up a macOS VM to test and fix it.

  • 2 weeks later...
Posted
On 9/30/2021 at 10:01 AM, Techno665 said:

NOTE: I was using Pastebin for testing the online version, however they have been unreliable in the past, so can someone please recommend something else, probably one of the different Git sites unless someone knows something better.

ZeroBin.net ?

Posted

Amazing help, thanks.

Two questions.

One, on startup, I get:
 

Quote

.git not found, would you like to delete 'IAMSURE/n'.  

  
Is that WAD?

Two, I have a separate install that's on 1.2 which is what I want to update. Will it check for 1.2 compatibility for mods? Will it update to my steam directory, or the backup directory I've put the .bat in?

Posted

Error in static constructor of RJWSexperience.Ideology.First: System.TypeInitializationException: The type initializer for 'RJWSexperience.Ideology.First' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void RJWSexperience.Ideology.RJW_Patch_DetermineSexScores::Postfix(Verse.Pawn pawn, Verse.Pawn partner, System.Boolean rape, System.Boolean whoring, Verse.Pawn receiving, System.Collections.Generic.List`1<System.Single> __result)
  at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <c38a8c3281a047488dac8c9d063b7abb>:0 
  at HarmonyLib.PatchClassProcessor.Patch () [0x00057] in <c38a8c3281a047488dac8c9d063b7abb>:0 
   --- End of inner exception stack trace ---
  at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00127] in <c38a8c3281a047488dac8c9d063b7abb>:0 
  at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <c38a8c3281a047488dac8c9d063b7abb>:0 
  at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <c38a8c3281a047488dac8c9d063b7abb>:0 
  at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <c38a8c3281a047488dac8c9d063b7abb>:0 
  at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <c38a8c3281a047488dac8c9d063b7abb>:0 
  at RJWSexperience.Ideology.First..cctor () [0x0000f] in <b48a4a1eddb24508a977800149f01093>:0 
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
  at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Verse.StaticConstructorOnStartupUtility.CallAll () [0x0001a] in <e13bd2f1929544099ed2b58e66ece833>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_3 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()


Anyone code-smart that can work out what I did wrong with this installer? Thanks.

Posted (edited)
14 hours ago, Nunyabinnes said:

Anyone code-smart that can work out what I did wrong with this installer? Thanks.

I would say it's wrong to use it without thinking ?

 

To fix:

Delete RJW

Download old version of RJW

because git doesn't care

 

Edited by nugerumon
  • 5 weeks later...
Posted

All it did was deleting the files it asked to update, saying:  'git' is not recognized as an internal or external command,
operable program or batch file. Lovely. probably my bad though. ¯\_(ツ)_/¯

Posted

I've installed Git but when executing the batchfile I get this error:

Quote

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

What am I doing wrong?

Posted
Quote

 

I've installed Git but when executing the batchfile I get this error:

Quote

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

What am I doing wrong?

 

Nvm, restarting Windows solved the issue.

  • 2 weeks later...
  • 2 weeks later...
Posted (edited)
On 10/1/2021 at 1:01 AM, Techno665 said:

 

 

I did a thing, specifically I made one of these using Python, mainly because I was board.

 


I just want to confirm, in case everyone hasn't already figured it out, that this Python version seems to work in OS X.

I did have to install Homebrew and reinstall python3 via Homebrew so that the necessary libraries would be present (particularly "requests" is not included in the default OS X install of Python 3 and neither are the tools to pip3 install it. Pip is there but the packages and tools normally found in python-dev are missing, so install fails.)

To reinstall Python 3 after installing Homebrew (the instructions for which are on the top page of the Homebrew website - it's a single terminal command and then a short wait.)

 

Then:
 

brew reinstall python3



Then running the script from the command line as normal works without error (so far).

It would be nice if someone updated the Repos.txt file to reflect the latest status of RJW and associated mods (as of Jan 2022).

So anyway the script is currently running without error from the Mods directory inside the RimWorldMac.app package.

Edited by kurikinton
Added a note on how to reinstall python 3 via homebrew.
Posted

Thank you so much for putting this together! A small, simple but brilliant script for all our updating needs.

 

I'd like to vouch for the addition of rimnude-unofficial and oty-nude-unofficial. They constantly get updates and there's a big community behind it. I've added them for myself and they seem to work perfectly.

 

CALL :GitUpdate rimnude-unofficial https://gitgud.io/Tory/rimnude-unofficial.git
CALL :GitUpdate oty-nude-unofficial https://gitgud.io/Tory/oty-nude-unofficial.git

 

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...