RimWorld

RimWorld

Split Genepack
120 Comments
Mace Jan 9 @ 7:13pm 
I also agree with Xeohul's idea! Only one gene can be selected, which is reasonable. It is not necessary to completely change the entire mod, but rather to make it an option for players to choose from.
Xeohul Nov 13, 2024 @ 4:37pm 
Would love to see a balance option that if you split the gene packs you can only choose one of them and the other will be destroyed. In my opinion, this fits right with the vanilla premise "you can, but it will cost".
Crazy Cat Gentleman Jul 26, 2024 @ 4:06am 
add me to those who think lifters shouldn't be able to split genepacks. seems like it should be an intellectual task, not a hauling task.
LowFPSman Jun 18, 2024 @ 3:41am 
Any mods that will reduce or remove some genes appearing in gene packs, cause I'm sick of gene packs with just hair and skin color, or tails and ears. When I look for gene packs I usually look for something useful. Yeah, sometimes I'm ok with some cosmetic stuff. But I see this cosmetic stuff as often as I see genes that makes difference.
Latex Santa May 12, 2024 @ 11:57pm 
@OMGSplat
So brilliant and simple, it SHOULD have been in base game.
Francis Fortier May 12, 2024 @ 8:41pm 
Same as @usagicore but glitched I suppose as it contains no genes ?
usagicore May 12, 2024 @ 1:06pm 
Just got 'Genepack single' from drop pod
Slash May 4, 2024 @ 3:57pm 
The perfect mod for people that want deathless without having to have pig ears as well.
Stage Feb 18, 2024 @ 6:36am 
Hi!
Great work with this mod! Something like this should be in vanilla tbh...
Do you think you could "balance" it a bit, e.g. needing a high intellectual skill and a gene assembler for the splitting operation (as an option, not required)?
Mox Dec 5, 2023 @ 6:21pm 
Amazing work, thank you.
Mikey Nov 18, 2023 @ 12:32pm 
Ty to both OMGSplat & cat2002. You're the real ones.
cat2002 Oct 18, 2023 @ 8:01pm 
No problem, I'm no stranger to modding and figured I'd give it a poke.
OMGSplat  [author] Oct 18, 2023 @ 7:54pm 
Big shout-out to cat2002!

New version uploaded. Splitting packs will now default to using the standard rimworld Genepack item.

If you miss the smaller art I added an option to continue splitting the bigger packs into the smaller GenepackSingle packs. They still have their existing issues with stacking and not being able to sell/organize them when they're in storage but the option is still there.

Existing split mini-packs will remain as is.
OMGSplat  [author] Oct 18, 2023 @ 7:51pm 
That worked perfectly!

Previously I was trying to create the new genepacks, manually empty their genelist before replacing with the itemized split list from the first pack.

Even after making a mod or two I'm still a newbie to all this.
cat2002 Oct 18, 2023 @ 7:41pm 
Note that this is the same method that gene extractors use to create gene packs, so it should work.
OMGSplat  [author] Oct 18, 2023 @ 7:13pm 
Thanks! I'll take a look.
cat2002 Oct 18, 2023 @ 3:31pm 
Genepack genepack = (Genepack)ThingMaker.MakeThing(ThingDefOf.Genepack, null);
genepack.Initialize(new List<GeneDef>{myGeneSet[i]});
GenPlace.TryPlaceThing(genepack, pawn.Position, pawn.Map, ThingPlaceMode.Near, null, null, default);
cat2002 Oct 18, 2023 @ 3:25pm 
Hey, if you're interested I think I figured out how to make it use vanilla genepacks without the described issue.
MakBash Oct 16, 2023 @ 6:09am 
Mod works fine so far, but I cannot sell any splitted genebanks
OMGSplat  [author] Oct 13, 2023 @ 10:26pm 
Added an FAQ section to the description for these frequently asked questions.
PanicOregon281 Oct 13, 2023 @ 6:30pm 
is it possible to make this use normal gene packs locally?
OMGSplat  [author] Sep 30, 2023 @ 9:12pm 
Did you check the incompatibilities listed and existing posts below?

If you have a stacking mod it can cause problems. You may have to add the GenepackSingle to the blacklist of items that can't stack. For example, if you have ogrestacks you'll have to add it to the overrides.xml yourself manually. It's not something that I can fix on my side.
Endorsi Sep 30, 2023 @ 8:34pm 
Can confirm this is also happening to me, first gene only multiplied by how many are in the initial pack.
NoTricqq Sep 28, 2023 @ 10:09am 
I have the same problem as @japrice.
japrice Aug 12, 2023 @ 1:10am 
Hello i do not know if this issue has already been raised : On my save when you slot a genepack, it makes 3 gene packs of the 1 st gene in the pack. And the others disapear.
OMGSplat  [author] Jul 10, 2023 @ 7:19pm 
If it's anything like the "Genepacks to load" function on the genebanks, it's probably a hard coded function in the game that only ever looks for "Genepack" by ID directly and would require remaking large chunks of code for genebanks to fix it. I've never been enthusiastic enough to do that.
Damaï "Samfech" Bolzihtch Jul 10, 2023 @ 5:25am 
Nice mod, I don't know if it's on my end (which is very probable) but it seems that I can't sell those "GenepackSingle" if they are banked. I was hoping to know if I could do something about it myself or if it's on the mod's end?
The Ducktor Jun 23, 2023 @ 11:06am 
Good mod.
OMGSplat  [author] Jun 15, 2023 @ 7:11pm 
GenepackSingle
Calface Jun 15, 2023 @ 5:58pm 
What's the item def name of the genepacks to stop stacking?
OMGSplat  [author] May 29, 2023 @ 8:24pm 
I believe it is the config files for ogrestacks you're looking for. It should be something like:

C:\Users\YourUsernameGoesHere\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\OgreStack

There should be a file in that folder called
Overrides.xml

I think Appdata might be a hidden folder by default. You may have to go into your folder options/view and select "Show hidden files and folders"
Jonesy Fox May 29, 2023 @ 6:43pm 
Hi, another Ogrestack user here. Which XML file do I edit to add the lines about GenesinglepackSingle? So far, I've found an XML file in Steamapps > Workshop > content > 294100 > 1447140290 > About. Is that the one I edit?
Remi May 24, 2023 @ 3:49pm 
And here I was with 19 legless, armless, hungry captives, waiting for that one thing to split into a single Genepack to make my OCD add up. Oh this is wonderful, thank you!
OMGSplat  [author] May 5, 2023 @ 7:03pm 
@G-Fiti
I just had a quick look at what would be required to do that. Unfortunately it isn't something that can be fixed with a quick patch.

It looks like the lists of what shows inside the contents of a genebank for the allow/disallow are hard coded inside hard coded subroutines. I'd probably have to rewrite the entire set of code that does that and that's a bit beyond what I want to attempt right now.
G-Fiti May 5, 2023 @ 3:12pm 
Is it possible to make this work with the "Genepacks to load" function of gene banks? ( https://i.gyazo.com/2df4adea9a5ff20aa3bbdb5de3b3dc93.png )
Curently small genepacks are not visible in this part of the menu.
G-Fiti May 5, 2023 @ 12:45pm 
@stevedalion You need to adjust your stacking mod so they do not stack, if you use OgreStack there is a fix in the comments below
stevedalion May 4, 2023 @ 6:47pm 
Every time i split a genepack i get the same gene duplicated by how many genes were in the pack. I am unsure as of yet how it determines which one to duplicate but this makes it quite random as to whether i get what i was after. Am i doing something wrong?
OMGSplat  [author] May 3, 2023 @ 7:09pm 
I tried doing that originally, but there is a fairly hard coded function in the regular genepack that will automatically fill it with genes on creation. I tried various ways to remove those genes after creation so I wouldn't have to make a new item, but none were 100% reliable.

This was the only way I could find that worked all the time. It wasn't ideal but it did what I wanted.
G-Fiti May 3, 2023 @ 9:14am 
Hey, im having a bit of trouble using this mod alongside others that have not been adjusted to implement your small genepacks. I don't mean to be unfriendly but it creating new custom genepacks really necessary? It would help compability if splitting just created normal genepacks that just happen to have only one gene in it. You probably do not want to revert your change if implementing those though, perhaps you could add an option to the mod settings that would allow this?
OMGSplat  [author] Apr 10, 2023 @ 6:52pm 
Technically, yes. But combining would be a big chunk of work and I don't feel up to doing it.

It's easier for me to just use a mod that offers more storage such as "Oops, all gene banks".
Actual Final Boss Apr 10, 2023 @ 6:26pm 
Would it be possible to make it so we can combine the split genepacks back into the big ones again? For example, say i had two genepacks (one with the genes 1, 3, 5, and 7, and the other with the genes 2, 4, 6, and 8) could i split them both so i had all 8 genes in single genepacks and then mark some of those genepacks to be recombined so hat I could pair them off into two big genepacks, one with genes 1, 2, 3, and 4, and the other with genes 5, 6, 7, and 8.
Nakir Apr 5, 2023 @ 7:18pm 
That's awesome, many thanks!
OMGSplat  [author] Apr 5, 2023 @ 7:08pm 
Updated to split genepacks added by WVC - Xenotypes and Genes
Nakir Apr 5, 2023 @ 9:45am 
would you please be able to add compatibility for the genepacks added by: https://steamcommunity.com/sharedfiles/filedetails/?id=2886992038
Edgar Allan Pope Mar 1, 2023 @ 7:07am 
@UntouchedWagons thanks for the tip, works perfectly now
UntouchedWagons Feb 26, 2023 @ 3:28pm 
For those using OgreStack add this to your Overrides.xml file:

<item defName="Genepack" stackLimit="1" />
<item defName="GenepackSingle" stackLimit="1" />

Put that right after the line about the TechprofSubpersonaCore
869654 Feb 16, 2023 @ 8:25am 
The only one that sticks out to me is "Quest Reward Rebalance" whose description doesn't seem to indicate that it adds items from mods. It doesn't seem to be happening again after the initial drop pod event. To clarify it didn't come from a trader or quest reward, it was the random drop pod event that doesn't specify what it contains until impact. If the empty genepacks aren't supposed to show up there either, then it's definitely something on my end.
OMGSplat  [author] Feb 15, 2023 @ 6:52pm 
They should only ever be created by splitting a regular genepack as that is when they get the genes assigned, otherwise they would show up empty. You shouldn't see them for purchase on a vendor or available from rewards.

My wild guess, do you have any mods that change rewards from quests?
869654 Feb 15, 2023 @ 1:19am 
I just got a cargo pod event with "genepack single" but there are no genes actually contained within. Is this intended behavior? I haven't dealt with enough traders to know if these can also show up there.
Rinem Feb 6, 2023 @ 4:10am 
@OMGSplat no issue with storage, just thought it would be useful with this mod https://steamcommunity.com/sharedfiles/filedetails/?id=2918091446