Git Product home page Git Product logo

Comments (3)

fuzziqersoftware avatar fuzziqersoftware commented on August 23, 2024

This is indeed possible, but is a nontrivial amount of work. We would either need to save the entire character file on the server side, edit it, then load it to the client again, or write a client function that updates the character data in-place. I'll probably implement this by doing the latter, but I can't promise when I'll get to it.

from newserv.

Star-X555 avatar Star-X555 commented on August 23, 2024

Yeah, no rush. That being said, if/when I recompile my Steam Deck's newserv instance, I'll be experimenting with the $savechar command and seeing how it's actually formatted. Would be funny as hell if it turned out to be in a format where even someone who's pretty bleh with hex editing and/or programming could find the one variable in the entire file that controls NPC appearance XD

from newserv.

fuzziqersoftware avatar fuzziqersoftware commented on August 23, 2024

$savechar saves files in BB format on the server side; the format is documented in SaveFileFormats.hh. For setting NPC flags in a hex editor, I think you'll want to set disp.visual.extra_model (byte at 394 in the .psochar file) to the NPC value (see name_to_npc_id) and set disp.visual.validation_flags (byte at 3AA in the file) to 2.

from newserv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.