So... set up a parent distribution with a 1/5 multiplier, and then add a child distribution at a 1.4 multiplier?
Sounds like something to try; at the moment, I've made redstone a little easier to find by replacing vertical veins with coal-style sparse veins (albeit at the correct height for redstone, and at half the frequency of coal). Granted, the current version of Sprocket doesn't support child distributions (mainly because coding it would require some pretty massive changes in the code). Unless we make this distribution style a default for vertical veins...
UPDATE: Adding the default child config for vertical veins in Sprocket was pretty simple. Testing to make sure the config works as needed...
UPDATE 2: ...and done. Sprocket has been updated so that vertical veins now spawn at 1/5 the configured frequency, and then have children that spawn at 1.5 times the configured frequency. I've regenerated the XML using the new Sprocket, so go ahead, try it out, and see if the spawning works for your needs.
UPDATE 3: Mistakes were made. Hang on while I fix them.
I want to use this mod to disable Biomes O Plenty ores which I have done but I want to have default rates for the vanilla ores instead of all the clusters. How would I go about doing this?
noogenesis, I figured out the railcraft problem. Not too long ago, the abyssal stone bock was redefined with a different block name. You need to update to the new one. Also, you don't have any configs for railcraft poor ore veins.
Thanks for pointing this out. I've uploaded 1.2.19 with the fix.
is there a tutorial for making custom config files? i am trying to add ars magica 2 integration.
Rollback Post to RevisionRollBack
97% of teenagers would cry if they saw Justin Bieber on top of a tower about to jump. If you're the 3% who is sitting there with popcorn screaming "DO A BACKFLIP", copy and paste this as your signature.
is there a tutorial for making custom config files? i am trying to add ars magica 2 integration.
There's no set tutorials, but my "Sprocket" program was made to remove much of the hard work from the process. It's not perfect, but instead of a massive XML file, you can start with a basic (or somewhat complex) INI file, generate the XML file, and just use the wikis in the first post to tweak it.
However, for AM2 there's little need; I already generated a basic config that can be used.
I found a bug with the Highlands world generation mod. If the (# Set to false to disable extra ores of different types in different biomes.
B:"Generate Biome-specific Ores"=false) toggle is set to true then biomes such as the volcano island biome will generate obsidian underground. This generation also allows vanilla generation to also occur. COG generation still occurs but also with vanilla generation, thus breaking the ore generation. With the toggle set to false however, there is no problem. The highlands mods ore generation code must cause some glitch that allows both ore generations to occur.
I am working on a modpack with TFC and GT5 with COG for help with the ore gen. I was walking along the beach and found a Cassiterite small ore vein in the sand. small ores shouldn't be spawning in veins like this. I want the GT small ores to spawn just randomly like in regular GT and the regular ores in veins. any suggestions to fix this?
reteo, can you please explain me what I have to do to use Sprocket?
I assume I need python, since it's a .py file... but everytime I drop an .ini file on it it just open, very briefly, a window saying "error 13 permission denied" and does nothing T.T
That error message usually means that the system security was not set to allow the Sprocket script to run, or that the script is trying to write to a protected directory.
What operating system you using? Windows? Mac? Ubuntu?
Another thing to keep in mind: I wrote the program to be run from a command line; I don't really know how to add "drag and drop" functionality to it. You might want to just move the INI file and Sprocket.py to a directory/folder you have write access to, and then run it from the command line like so (replacing "configurationfile.ini" to whatever your INI file is named):
sprocket.py configurationfile.ini
...or...
python sprocket.py configurationfile.ini
If it works, an XML file named with the mod's Name (in the INI file) will be made in the same directory.
I am working on a modpack with TFC and GT5 with COG for help with the ore gen. I was walking along the beach and found a Cassiterite small ore vein in the sand. small ores shouldn't be spawning in veins like this. I want the GT small ores to spawn just randomly like in regular GT and the regular ores in veins. any suggestions to fix this?
For now, you could customize the configuration, as documented, and use your own modified version of the Gregtech module. There is an option in the GUI for turning off the "placer" deposits, but if you want it to leave the small ores alone, it will take modifications to the config. Since GT5 ores all use the same block, it might be a bit painful making the distinction during replacement with stone. Some substitute distributions might replicate the patterns, but not exactly. I'll look into it.
For now, you could customize the configuration, as documented, and use your own modified version of the Gregtech module. There is an option in the GUI for turning off the "placer" deposits, but if you want it to leave the small ores alone, it will take modifications to the config. Since GT5 ores all use the same block, it might be a bit painful making the distinction during replacement with stone. Some substitute distributions might replicate the patterns, but not exactly. I'll look into it.
Actually, thinking about it some more, you're probably better off writing a custom config for Gregtech, because the built-in Gregtech support is probably going to be too different from the default. If you just want to convert those huge clouds to veins, then it's relatively easy to do. Just look at the current Gregtech.xml to see how to set the NBT tags.
I've hit a bit of a snag. I can see the wireframe of my ores in game, but they won't actually get placed unless I use /CogPopulate. I've tried deleting the world, deleting the region folder, /CogLoadConfig, and starting a completely new world. Is there an equivalent to /CogPopulate in the .xml configs I might have forgotten?
I can dig right into the wireframe and it's just stone. Then i tell it to populate and the ores show up. I gotta be missing something.
PS: trying to change ore generation on the moon from Galacticraft.
I've hit a bit of a snag. I can see the wireframe of my ores in game, but they won't actually get placed unless I use /CogPopulate. I've tried deleting the world, deleting the region folder, /CogLoadConfig, and starting a completely new world. Is there an equivalent to /CogPopulate in the .xml configs I might have forgotten?
I can dig right into the wireframe and it's just stone. Then i tell it to populate and the ores show up. I gotta be missing something.
PS: trying to change ore generation on the moon from Galacticraft.
What happens if you set deferredPopulationRange (seen under advanced options) to zero?
What happens if you set deferredPopulationRange (seen under advanced options) to zero?
No change. Also tried upping it to 32 to no effect and use the CustomOreGen_Options.txt for that dimension to make sure. Might galacticraft handle world generation in an odd way?
Is there a way to generate ores like glowstone outcrops, at all? I'd love to generate BoP's Celestial Crystals like that on the bottom of the End island, since they don't yet generate natively. I'm not sure if COG has a way to start oregen against a specific block (endstone) but then replace different blocks (in this case air).
Is there a way to generate ores like glowstone outcrops, at all? I'd love to generate BoP's Celestial Crystals like that on the bottom of the End island, since they don't yet generate natively. I'm not sure if COG has a way to start oregen against a specific block (endstone) but then replace different blocks (in this case air).
This feature is often requested, so I will work on it this weekend.
That error message usually means that the system security was not set to allow the Sprocket script to run, or that the script is trying to write to a protected directory.
What operating system you using? Windows? Mac? Ubuntu?
Another thing to keep in mind: I wrote the program to be run from a command line; I don't really know how to add "drag and drop" functionality to it. You might want to just move the INI file and Sprocket.py to a directory/folder you have write access to, and then run it from the command line like so (replacing "configurationfile.ini" to whatever your INI file is named):
sprocket.py configurationfile.ini
...or...
python sprocket.py configurationfile.ini
If it works, an XML file named with the mod's Name (in the INI file) will be made in the same directory.
I hope this helps!
when i tried to run via cmd it said, 'sprocket.py' is not recognized as an internal or external command, operable program or batch file. i am using windows
Rollback Post to RevisionRollBack
97% of teenagers would cry if they saw Justin Bieber on top of a tower about to jump. If you're the 3% who is sitting there with popcorn screaming "DO A BACKFLIP", copy and paste this as your signature.
Create a folder in your "C:" drive (For these steps, we'll simply use "TEMP").
Download and unzip Sprocket (Using the "Download Zip" button on the right-hand side).
Move all the files in the "Sprocket-master" folder to the folder we created ("TEMP" is the example we're using).
Write your INI file. Make sure it is saved in the same folder ("TEMP") as the Sprocket script.
Open a command prompt window (its icon is a black box with white text inside). You should now see a black window with something like "C:\Users\(your name)" in it.
Type the following command to go to that folder you just created (without the quotes, and assuming you used the "TEMP" folder name): "cd C:\TEMP"
Now, this command should begin the process of generating your INI into an XML file (once again, without the quotes): "python sprocket.py myconfig.ini" (replacing "myconfig.ini" with whatever you named your chosen INI file).
If you either get a list of generating messages ("Coal: sprinkling sparse veins..."), or an error message describing mistakes in the INI file ("No [Mod] section found."), then the script is working as it should.
Also, If you need example INI files (and the XML files generated by Sprocket), I have included quite a few with this distribution. You can use them as a template for your own INI files, if you like (lord knows, I do). The main things to consider is that the [Mod] section is required, and that every ore section in the config needs a block setting ("minecraft:iron_ore"). Everything else has default values if not defined (described in "README.md").
when i tried to run via cmd it said, 'sprocket.py' is not recognized as an internal or external command, operable program or batch file. i am using windows
Either sprocket.py is not in your %PATH% environment, or else you do not have Python 2.7 installed. One possible way to test this is to try "python sprocket.py myconfig.ini" instead of just "sprocket.py myconfig.ini".
Either way, it helps to keep sprocket.py and your configuration file in the same folder, with your command line in that folder when you run the command.
I figured it out after a lot of derping around with configs. To make Custom Ore Gen populate ores on other planets, you have to go into the galacticraft's core.conf and change
B:"Generate all other mods features on planets"=false
to
B:"Generate all other mods features on planets"=true
It's worth noting that if you have buildcraft installed, you might end up with pools of oil on all the planets. That's easy enough to fix though. Also from the config file:
If this is enabled, other mods' standard ores and all other features (eg. plants) can generate on the Moon and planets. Apart from looking wrong, this make cause 'Already Decorating!' type crashes.
So... set up a parent distribution with a 1/5 multiplier, and then add a child distribution at a 1.4 multiplier?
Sounds like something to try; at the moment, I've made redstone a little easier to find by replacing vertical veins with coal-style sparse veins (albeit at the correct height for redstone, and at half the frequency of coal). Granted, the current version of Sprocket doesn't support child distributions (mainly because coding it would require some pretty massive changes in the code). Unless we make this distribution style a default for vertical veins...
UPDATE: Adding the default child config for vertical veins in Sprocket was pretty simple. Testing to make sure the config works as needed...
UPDATE 2: ...and done. Sprocket has been updated so that vertical veins now spawn at 1/5 the configured frequency, and then have children that spawn at 1.5 times the configured frequency. I've regenerated the XML using the new Sprocket, so go ahead, try it out, and see if the spawning works for your needs.
UPDATE 3: Mistakes were made. Hang on while I fix them.
UPDATE: Fixed. Enjoy!
I want to use this mod to disable Biomes O Plenty ores which I have done but I want to have default rates for the vanilla ores instead of all the clusters. How would I go about doing this?
I'm not sure what you mean; Clusters mode simulates vanilla ore distribution.
Thanks for pointing this out. I've uploaded 1.2.19 with the fix.
is there a tutorial for making custom config files? i am trying to add ars magica 2 integration.
There's no set tutorials, but my "Sprocket" program was made to remove much of the hard work from the process. It's not perfect, but instead of a massive XML file, you can start with a basic (or somewhat complex) INI file, generate the XML file, and just use the wikis in the first post to tweak it.
However, for AM2 there's little need; I already generated a basic config that can be used.
I found a bug with the Highlands world generation mod. If the (# Set to false to disable extra ores of different types in different biomes.
B:"Generate Biome-specific Ores"=false) toggle is set to true then biomes such as the volcano island biome will generate obsidian underground. This generation also allows vanilla generation to also occur. COG generation still occurs but also with vanilla generation, thus breaking the ore generation. With the toggle set to false however, there is no problem. The highlands mods ore generation code must cause some glitch that allows both ore generations to occur.
I am working on a modpack with TFC and GT5 with COG for help with the ore gen. I was walking along the beach and found a Cassiterite small ore vein in the sand. small ores shouldn't be spawning in veins like this. I want the GT small ores to spawn just randomly like in regular GT and the regular ores in veins. any suggestions to fix this?
Check out my channel for Gregtech and HQM content https://www.youtube.com/user/abear989
That error message usually means that the system security was not set to allow the Sprocket script to run, or that the script is trying to write to a protected directory.
What operating system you using? Windows? Mac? Ubuntu?
Another thing to keep in mind: I wrote the program to be run from a command line; I don't really know how to add "drag and drop" functionality to it. You might want to just move the INI file and Sprocket.py to a directory/folder you have write access to, and then run it from the command line like so (replacing "configurationfile.ini" to whatever your INI file is named):
...or...
If it works, an XML file named with the mod's Name (in the INI file) will be made in the same directory.
I hope this helps!
For now, you could customize the configuration, as documented, and use your own modified version of the Gregtech module. There is an option in the GUI for turning off the "placer" deposits, but if you want it to leave the small ores alone, it will take modifications to the config. Since GT5 ores all use the same block, it might be a bit painful making the distinction during replacement with stone. Some substitute distributions might replicate the patterns, but not exactly. I'll look into it.
Actually, thinking about it some more, you're probably better off writing a custom config for Gregtech, because the built-in Gregtech support is probably going to be too different from the default. If you just want to convert those huge clouds to veins, then it's relatively easy to do. Just look at the current Gregtech.xml to see how to set the NBT tags.
I've hit a bit of a snag. I can see the wireframe of my ores in game, but they won't actually get placed unless I use /CogPopulate. I've tried deleting the world, deleting the region folder, /CogLoadConfig, and starting a completely new world. Is there an equivalent to /CogPopulate in the .xml configs I might have forgotten?
I can dig right into the wireframe and it's just stone. Then i tell it to populate and the ores show up. I gotta be missing something.
PS: trying to change ore generation on the moon from Galacticraft.
What happens if you set deferredPopulationRange (seen under advanced options) to zero?
No change. Also tried upping it to 32 to no effect and use the CustomOreGen_Options.txt for that dimension to make sure. Might galacticraft handle world generation in an odd way?
Is there a way to generate ores like glowstone outcrops, at all? I'd love to generate BoP's Celestial Crystals like that on the bottom of the End island, since they don't yet generate natively. I'm not sure if COG has a way to start oregen against a specific block (endstone) but then replace different blocks (in this case air).
This feature is often requested, so I will work on it this weekend.
when i tried to run via cmd it said, 'sprocket.py' is not recognized as an internal or external command, operable program or batch file. i am using windows
This is the best I can do for a step-by-step instruction for using Sprocket:
If you either get a list of generating messages ("Coal: sprinkling sparse veins..."), or an error message describing mistakes in the INI file ("No [Mod] section found."), then the script is working as it should.
Also, If you need example INI files (and the XML files generated by Sprocket), I have included quite a few with this distribution. You can use them as a template for your own INI files, if you like (lord knows, I do). The main things to consider is that the [Mod] section is required, and that every ore section in the config needs a block setting ("minecraft:iron_ore"). Everything else has default values if not defined (described in "README.md").
I hope this answers your questions?
Either sprocket.py is not in your %PATH% environment, or else you do not have Python 2.7 installed. One possible way to test this is to try "python sprocket.py myconfig.ini" instead of just "sprocket.py myconfig.ini".
Either way, it helps to keep sprocket.py and your configuration file in the same folder, with your command line in that folder when you run the command.
I figured it out after a lot of derping around with configs. To make Custom Ore Gen populate ores on other planets, you have to go into the galacticraft's core.conf and change
B:"Generate all other mods features on planets"=false
to
B:"Generate all other mods features on planets"=true
It's worth noting that if you have buildcraft installed, you might end up with pools of oil on all the planets. That's easy enough to fix though. Also from the config file: