Skip to content

Problems using bundled sources #1

Open

Description

@kentfredric

I was trying to build this on Linux with the bundled third party sources, and it kept getting stuck in something in QUAZIP, looks like an upstream source failure under newer GCCs.

So I figured "Hey, ok, I already have QJSON and QUAZIP installed on my system, with applicable development headers and libraries and shiz, why not use those!".

Took a little mangling, but I did manage to get it working with a few tweaks.

And hurrah, it mostly works.

So this is not so much a "bug", but I wasn't really satisfied with doing a pull request either, because I've blown out the whole third_party sub tree just to help me iron out the problems.

But I'm providing a ref to that tree in case anyone else stumbles accross this code and has the same problems and wants an easy fix, and also have the right stuff already available.

Its only really a few header files and linker related changes, it just looks more than it is because of the said removal of 3rd party.

https://github.com/kentfredric/mcmodeler/compare/nothirdparty_linux

Activity

  1. Caffeinix commented on Oct 4, 2013

    @Caffeinix
    Owner

    Thanks very much for that! With all the recent changes to Minecraft
    (including the completely overhauled resource loading system) I may or may
    not ever actually manage to update MCModeler (patches welcome, obviously,
    since you clearly know what you're doing). But if I do, I'll definitely
    see if it's feasible to let people use system third-party libs on Linux
    instead of building them from scratch, since it seems to be less painful
    that way.

    On Fri, Oct 4, 2013 at 1:26 AM, Kent Fredric [email protected]:

    I was trying to build this on Linux with the bundled third party sources,
    and it kept getting stuck in something in QUAZIP, looks like an upstream
    source failure under newer GCCs.

    So I figured "Hey, ok, I already have QJSON and QUAZIP installed on my
    system, with applicable development headers and libraries and shiz, why not
    use those!".

    Took a little mangling, but I did manage to get it working with a few
    tweaks.

    And hurrah, it mostly works.

    So this is not so much a "bug", but I wasn't really satisfied with doing a
    pull request either, because I've blown out the whole third_party sub tree
    just to help me iron out the problems.

    But I'm providing a ref to that tree in case anyone else stumbles accross
    this code and has the same problems and wants an easy fix, and also have
    the right stuff already available.

    Its only really a few header files and linker related changes, it just
    looks more than it is because of the said removal of 3rd party.

    https://github.com/kentfredric/mcmodeler/compare/nothirdparty_linux

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/1
    .

  2. kentfredric commented on Oct 4, 2013

    @kentfredric
    Author

    Yeah, running it is about all I can do with it, I managed to mangle it into using a old 1.3 family texture pack, but thats about as much I can get out of it.

    Mostly hunting around for good tools to see what I can find, as the "standard" tool everyone seems to use, MCEdit, is really not that much better in terms of functionality ( at least, when I get it working on Linux, I can't see how they expect anything practical to be done with it ).

    Just everything really sucks in this department, and Minecraft itself, although being a massive boon for performance because of java, ... still seems to be better than 3rd party editing tools!

    Programming is hard, stuff it, lets go shopping!

  3. Caffeinix commented on Oct 4, 2013

    @Caffeinix
    Owner

    Yeah, that is exactly the problem I hoped to address with MCModeler. The
    UI is still not terribly polished, but if you've gotten it working with an
    older texture pack, you should be able to do a fair bit with it. Just use
    the slider on the right to switch vertical levels, and make heavy use of
    the Extrude Up function and the flood fill tool, and you can design
    structures very quickly. It's not so good for organic shapes though.

    On Fri, Oct 4, 2013 at 1:54 AM, Kent Fredric [email protected]:

    Yeah, running it is about all I can do with it, I managed to mangle it
    into using a old 1.3 family texture pack, but thats about as much I can get
    out of it.

    Mostly hunting around for good tools to see what I can find, as the
    "standard" tool everyone seems to use, MCEdit, is really not that much
    better in terms of functionality ( at least, when I get it working on
    Linux, I can't see how they expect anything practical to be done with it ).

    Just everything really sucks in this department, and Minecraft itself,
    although being a massive boon for performance because of java, ... still
    seems to be better than 3rd party editing tools!

    Programming is hard, stuff it, lets go shopping!

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-25684397
    .

  4. kentfredric commented on Oct 4, 2013

    @kentfredric
    Author

    Biggest problem I had once I got it going, is anything more than a few dozen blocks and my rather shoddy GPU starts being a problem,only get 30fps in minecraft.

    I think its possible to improve on that, for instance, if you had an option that avoided updating the 3D window every time you moved your mouse in the 2D Window, it would greatly reduce the amount of unneeded GPU activity. Or for instance, when you're dragging a 3D Sphere, real-time updating in the 3D window might not be entirely nessecary, maybe once a second, once every half a second, or maybe only update when the user stops dragging for longer than a few msec.

    It wasn't so bad when you're not drawing, just the drawing seemed to be rather lethargic.

  5. Caffeinix commented on Oct 4, 2013

    @Caffeinix
    Owner

    Interesting. Good point. I still need to update the underlying data
    structures while you're drawing, obviously, but i could throttle the
    rendering a bit.
    On Oct 4, 2013 4:07 AM, "Kent Fredric" [email protected] wrote:

    Biggest problem I had once I got it going, is anything more than a few
    dozen blocks and my rather shoddy GPU starts being a problem,only get 30fps
    in minecraft.

    I think its possible to improve on that, for instance, if you had an
    option that avoided updating the 3D window every time you moved your mouse
    in the 2D Window, it would greatly reduce the amount of unneeded GPU
    activity. Or for instance, when you're dragging a 3D Sphere, real-time
    updating in the 3D window might not be entirely nessecary, maybe once a
    second, once every half a second, or maybe only update when the user stops
    dragging for longer than a few msec.

    It wasn't so bad when you're not drawing, just the drawing seemed to be
    rather lethargic.

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-25691441
    .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions