Giter VIP home page Giter VIP logo

nwn2guiviewer's Introduction

NWN2 GUI viewer

  • by Crom (Thibaut CHARLES)

Notes

This program is no more useful since I discovered the parameter idleexpiretime (from UIScene) that allows to reload the GUI file from disk when closed.

Basically, you set idleexpiretime to a low value (ie 0.1) and then in-game, you just have to close & open the GUI to reload it.

Features

  • Check XML syntax & attributes correctness
  • Auto reload current file if changed: save the file in your editor to update the view
  • Windows/Linux (and OSX?) support, with command line options
  • Bugs that need to be fixed

Planned features

  • Handle UIListBox & UIScrollbar
  • OnXXX basic function calls (ie UIButton_Input_ShowObject, UIObject_Misc_SetLocalVarString, etc.)
  • STRREF support
  • Local var support
  • UIGrid support
  • ...

Usage

From the command line

nwn2gui [args] guifile
# guifile: Any NWN2 GUI file
# args:
#  -f, --file     Specify the XML file to open
#  -c, --check    Check only XML syntax
#                 Return nonzero on error
#  -p, --respath  NWN2 UI folder & custom resource folders
#                 Can specify multiples paths separated
#                 by ';' on windows or ':' on linux
# Example for Windows
nwn2gui -p "C:/Program Files (x86)/Atari/Neverwinter Nights 2/UI/default;." mainmenu.xml

# Linux
nwn2gui -p "/media/windows/Program Files (x86)/Atari/Neverwinter Nights 2/UI/default:." mainmenu.xml

nwn2guiviewer's People

Contributors

cromfr avatar

Stargazers

Man Sun avatar

Watchers

James Cloos avatar  avatar

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.