1. Welcome to our bug report and feature request forum.
    • For game exploits, post in the Private Issues forum. Please provide details in your message.
    • For all other suggestions and reports:
      • Apply the appropriate prefix to your post
      • Please include every detail (such as how a mechanic works or how to reproduce a bug)
      • Remember that new features need to be balanced and fair.

Prevent denseores derp.

Discussion in 'Suggest + Report Bugs + Get Help' started by NolanSyKinsley, Oct 30, 2014.

  1. NolanSyKinsley

    NolanSyKinsley IRC lurker

    Joined:
    Nov 2, 2012
    Messages:
    497
    Likes Received:
    179
    Dense ores currently generates the ore textures on every start of the game. You can speed it up a little by entering the command /denseores_outputtextures

    It will place the generated textures in a /denseores folder in the minecraft folder of the instance, you can take these textures and toss them in the texture pack, or even with MC's new resource pack system make a second resource pack and load it alongside the main, and it will negate the need to generate textures on every start.
     
    Drzego, Popsicle67 and MichaelB like this.
  2. Penagwin

    Penagwin Linux Servers are better then windows!

    Joined:
    Feb 10, 2013
    Messages:
    114
    Likes Received:
    45
    Would somebody be willing to make a resource pack for this?
     
  3. Siioh

    Siioh If you can read this, you're too far

    Joined:
    May 29, 2013
    Messages:
    333
    Likes Received:
    118
    I'm surprised you came up with a solution, I noticed this error (rather function) a while back and attempted solving it by pushing an assets folder to the clients containing the pre-generated files, or even modified new textured versions of them; however, the current situation of how mods are pushed to the client does not allow sending a pre-configured assets folder.
    This solution looks like it will work great, but I'm unsure if the Dense Ores mod actually checks the currently loaded texture pack for the needed textures before creating it's own...I'll look a bit more into it when I find time.
     
  4. NolanSyKinsley

    NolanSyKinsley IRC lurker

    Joined:
    Nov 2, 2012
    Messages:
    497
    Likes Received:
    179
    It does check for the current texture pack before generating the texture files. I use the server pack. For the server's textures you could just generate the files and add them to the server's resource pack so they would be available to those who use it.

    For others it would require them generating the files and storing themselves. Denseores is open source, maybe someone who knows how would be able to add a snippet of code that stores the denseore textures for a specific server/texture pack rather than regenerating them on every start.
     
  5. LordXyroz

    LordXyroz *insert ridiculously long title here*

    Joined:
    Feb 25, 2014
    Messages:
    213
    Likes Received:
    30
    Some mods create extra folders/files on their first time running right? It shouldn't be hard to denseores do something similar and then use those newly created files. The next time it starts it should then check for folder/file x at location y and if it exists then it will use it instead of recreating everything from scratch.
     
  6. Siioh

    Siioh If you can read this, you're too far

    Joined:
    May 29, 2013
    Messages:
    333
    Likes Received:
    118
    Proger took it up and fixed the issue, the textures should now come with the next update built into the mod's assets - so it'll use those textures by default rather than creating new ones.
     
    ianthenoob likes this.
  7. Drzego

    Drzego New Member

    Joined:
    Oct 1, 2014
    Messages:
    24
    Likes Received:
    4
    Both for the server texture pack and the default one? :D
     
  8. Penagwin

    Penagwin Linux Servers are better then windows!

    Joined:
    Feb 10, 2013
    Messages:
    114
    Likes Received:
    45
    In the mod itself. No resource packs required.
     
    Siioh and Drzego like this.
  9. xRandomLurker

    xRandomLurker Member

    Joined:
    Apr 8, 2014
    Messages:
    179
    Likes Received:
    23
    Ik i dont play but say if I was to use Faithful or any other would it regenerate to look like a dense ore?
     
  10. Siioh

    Siioh If you can read this, you're too far

    Joined:
    May 29, 2013
    Messages:
    333
    Likes Received:
    118
    Well actually, according to this piece of code, DenseOres doesn't generate the dense version of an ore according to specific texture packs, it simply hooks into the Minecraft code to grab the normal version of an ore and runs code on that to create a modded dense version. Quite clever in my opinion, since it should work on nearly any added ore.
     
  11. xRandomLurker

    xRandomLurker Member

    Joined:
    Apr 8, 2014
    Messages:
    179
    Likes Received:
    23
    That's really clever!
     
    Siioh likes this.