• i didnt even get anything done today because conversion to signed big endian integers is bullshit-confusing
    i thought i had this down a long time ago but apparently not

    2
    • i’m not indian but you can still convert to these big integers

      2022-10-31 01:30:40 UTC 0
      • Replying to: Skoopy Doopyi'm not indian but you can still convert to these big integ

        hi not indian but you can still convert to these big integers

        2022-10-31 01:39:00 UTC 1
  • i did it
    this is literally all i had to do
    i didnt have to spend 10 hours converting to binary with a formula i could just use the bin function

    7
  • 2 AM progress update

    After 14 hours straight with a few breaks, several mental breakdowns, creating a stack overflow account, and copy and pasting from the guy who answered my question, progress on .NODES to .PY is finally going smoothly

    The bytes are still represented as base10, but converting them to base2 seems good so far.

    9
    • Hello. It is 3 AM for you but 2 AM for me. Just something I thought I share for the heck of it. I can’t get any sleep so I’m binge watching jaiden animations do nuzlocke challenge in PokΓ©mon games. I had to sleep in my sisters room since she is at a sleep over with her friends and I have to to watch our dog that sleeps in here room named baby. I have shared way to much information for no reason at all so good night to you sir

      2022-10-29 07:10:17 UTC 2
    • Yep I definitely know what this means. But seriously, good job, although you may wanna take a break besides little short ones since 14 hours does seem like a bit much. That’s just me though

      2022-10-29 08:10:32 UTC 1
      • Replying to: MannyAnimsYep I definitely know what this means. But seriously, good j

        happened to me before,i was a kid when this happened

        i was trying to sleep because i have schools tommorow at 4:00(at night)

        instead of sleeping,i wasnt able to

        i was with my parents that time and im the topper layer bed,if i move the top layer makes a bit of a noise so yeah ,because of that i had to not move for a whole ass 4 hours trying to not move and not opening my eyes

        2022-10-29 09:09:20 UTC 2
        • Replying to: Zcythehappened to me before,i was a kid when this happened i was

          That’s rough. Luckily it was a Friday for me, I would go nuts if I didn’t get any sleep on a school night.

          Sorry that happened, I wish it doesn’t happen again for you, and also. When I can’t sleep I take a melatonin pill, they usually help.

          2022-10-29 16:38:51 UTC 1
    • creating a stack overflow account, and copy and pasting from the guy who answered my question

      my son, you a true developer now
      welcome into the family

      2022-10-29 10:22:50 UTC 3
  • Its been a few hours and somehow I only just realized that I can skip the step of converting the .nodes bytes back to base16, and just convert it to base2 immediately since I will have to do that anyway to effectively read bits

    0
  • For some reason python decides its a good idea to provide all of the hex I imported with base10 so now i have to define an entire function dedicated to converting it back to base16 and this is hell just trying to convert every byte into a list of objects in the exact way i want them
    Im getting there though.. kinda

    6
  • I’ll start work on a python .nodes file reader tommorow but right now my brain can’t handle it

    1
  • I fucking did it I fucking did it I fucking did it I fucking did it oh my fucking god I created a stickfigure using a hex editor yes YES YES

    12
  • ah don’t you just love it

    Learning the inner workings of an underdocumented file format using your very limited knowledge of binary and hex, so you can have a script convert that into a not only humanly-readable form, but also python-readable form, using a language that you are ALSO not very knowledgeable about

    This operation is held together with scotch tape and thumbtacks

    6
    • But if I can actually get this to work it might be huge
      Python is the Swiss Army knife of programming languages, especially when it comes to automation
      The implications are huge

      2022-10-26 04:20:55 UTC 1
      • Replying to: vuiceBut if I can actually get this to work it might be huge Pyth

        Well if Python is versatile, then C++ is the oligarch of all programming languages

        Python is what the scrubs learn before getting to the real deal es em esh

        2022-10-26 05:34:49 UTC 0
        • Replying to: supermintWell if Python is versatile, then C++ is the oligarch of all

          all these terms are foreign to me i only know gml

          2022-10-26 05:56:18 UTC 1
    • stick nodes in general is held together by fairy dust and magic so this is appropriate

      2022-10-26 10:15:15 UTC 2
    • underdocumented feels like an understatement
      from what ive been seeing from vince’s path to insanity it’s just completely nonexistent

      2022-10-26 11:31:49 UTC 2
      • Replying to: SquiSNunderdocumented feels like an understatement from what ive b

        there is one outdated document from 3.1.9 and that’s it, so all I have to work with is that

        2022-10-26 14:35:01 UTC 0
  • Alright I just had my first attempt at creating a stickfigure entirely in hex. It didn’t work yet, and I’m assuming it’s the version number thats invalid. I’ll try and fix it in just a moment.

    1
  • im trying to read vince\’s documentation on the nodes format, and i keep seeing things like \”[32-bit signed int big endian]\” , or \”8-bit signed byte\” .
    No idea what these things mean, other than \”int\” and \”float\”.

    I\’ve only heard what \”signed\” is from minecraft videos talking about the integer limit lmao all documentation i can find on \”big endian\” and \”little endian\” is so out of my skill level help im going to die

    3
    • ok i finally think i figured it out

      a “32-bit signed int big endian” means you have to represent the number using 32 bits max, and the first bit of that must represent a negative or positive (i dont know which is which, probably 0 = negative and 1 = positive but who knows)

      2022-10-25 19:50:04 UTC 2
      • Replying to: vuiceok i finally think i figured it out a "32-bit signed int b

        i was wrong, 1 = negative and 0 = positive

        2022-10-25 20:34:01 UTC 1
        • Replying to: vuicei was wrong, 1 = negative and 0 = positive

          But why dahell did ralf make the version number signed, the version number isnt gonna go into the negatives lmao

          2022-10-25 20:44:16 UTC 1
          • Replying to: vuiceBut why dahell did ralf make the version number signed, the

            i have successfully done it
            the sticknodes version number in 32-bit signed int big endian is 01111111 00101011 00000000 00000000

            and in hex that is 7F 2B 00 00
            i am a god

            so why doesnt that match up to what i see in my test figure

            2022-10-25 21:03:01 UTC 1
    • one thing i never quite grasped the concept of is wtf big vs little endian is

      i should figure that out one day

      2022-10-25 22:29:14 UTC 1
      • Replying to: Ralph (Developer)one thing i never quite grasped the concept of is wtf big vs

        i think big endian means that what the bit is multiplied by starts as 256 and slowly works down till the lowest power of two (1), and it’s pretty popular because us humans read left to right

        and little endian is the exact opposite, starting with 256 and ending with 1
        I’m also pretty sure little endian is a tiny bit faster so it’s the norm for a few systems

        2022-10-25 22:44:13 UTC 1
  • yet another update

    Lets see what bools correspond to what bytes. If you\’re unfamiliar with what a bool is, its just a type of data that has two outcomes – True and False.
    To represent bools in a byte, you can use this:
    01 = True
    00 = False

    Eight bools exist per node: Is static, Is stretchy, Use smart stretch, Dont Smart Stretch, Use segment color, Use Gradient Color, Reverse Gradient, and Use Stickfigure Scale.

    Obviously you know some or all of these if you have ever used sticknodes before. These are all options that you either tick on or tick off — in other words, they are either true or false.

    Proceed — Below is where you can find each bool in a one-node figure. This is a lot of info so I\’m probably going to have to create some site to host all of my documentation on this soon.

    IS STATIC:

    Data Position 00000060, byte 5
    Is-Static-Byte

    IS STRETCHY

    Data Position 00000060, byte 6
    Is-Stretchy-Byte

    USE SMART STRETCH

    Data Position 00000060, byte 7
    Use-Smart-Stretch-Byte

    DONT SMART STRETCH

    Data Position 00000060, byte 8
    Dont-Smart-Stretch-Byte

    USE STICKFIGURE SCALE

    Data position 00000060, byte 13
    Use-Stickfigure-Scale

    USE SEGMENT COLOR

    Data Position 00000060, byte 9
    Use-Segment-Color-Byte

    USE GRADIENT COLOR

    Position 00000060, byte 11
    Use-Gradient-Color-Byte

    REVERSE GRADIENT

    Data Position 00000060, byte 12
    Reverse-Gradient-Byte

    Finally I got through writing all that. Hopefully nothing screws up with all those embeds. But now we know which bytes to edit for bools.

    8
  • You have a member now! I actually find this interesting

    1
  • Load More