Discussion
Loading...

Discussion

  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Beko Pharm
@bekopharm@indieweb.social  ·  activity timestamp 8 hours ago

More proof of concept for #AceCombat7. I found some pre-compiled #luaSocket lib (could not for my life generate a static cross compiled version using mingw) and managed to sideload it with UE4SS where I can now raise a UDP (or TCP) socket and rapid fire a demo event with a timestamp.

Somehow the segmentation doesn't work and I have to take care of this manually and reassemble the message later. That was quite frustrating. Not sure if this is a 🐛 in the DLL that was fixed later but… good enough

Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
  • Copy link
  • Flag this post
  • Block
食 Shoku the Umbreon
@TheMNWolf@furry.engineer replied  ·  activity timestamp 7 hours ago

@bekopharm sounds similar to an issue I had with bome midi translator where I had to insert a line break in the middle of a midi message for it to be correctly registered. The support team also has no idea why that was necessary, or even why it worked.

  • Copy link
  • Flag this comment
  • Block
Beko Pharm
@bekopharm@indieweb.social replied  ·  activity timestamp 7 hours ago

@TheMNWolf I'm not even sure if this is a side effect of UE4SS or Wine or whatever 🤔

Ah well. The maximum I can get through is 40 bytes so I just substr and loop over each piece now. My message end is "\r\n". There won't be any multibyte characters so good enough 🤷 Minimum viable product will do.

  • Copy link
  • Flag this comment
  • Block
食 Shoku the Umbreon
@TheMNWolf@furry.engineer replied  ·  activity timestamp 7 hours ago

@bekopharm I assume you're sending mainly numerical data? Could be more efficient to send it as raw data rather than string characters. I.E., the way midi does it LOL. MSB is the control code and LSB is the data value. In your case, I imagine you might need slightly larger data values, but the theory of operation is the same.

  • Copy link
  • Flag this comment
  • Block
Beko Pharm
@bekopharm@indieweb.social replied  ·  activity timestamp 2 hours ago

@TheMNWolf I wondered that too but whenever I packed the data I got nothing sent at all. Pretty sure it does this on it's own in the end.

  • Copy link
  • Flag this comment
  • Block
Log in

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About · Code of conduct · Privacy ·
Bonfire community · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Public Groups
  • Code of Conduct
Home
Login