Aller au contenu

Photo

linux bic editor


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
acomputerdood

acomputerdood
  • Members
  • 219 messages
there are a million windows versions of these editors, but has anybody written or come across one for linux?  preferable command line based?

should i make my own?

#2
leo_x

leo_x
  • Members
  • 223 messages
Have you considered nwn-lib and Ruby? It can manipulate all the GFF files.  https://github.com/niv/nwn-lib

Modifié par pope_leo, 20 février 2013 - 07:49 .


#3
acomputerdood

acomputerdood
  • Members
  • 219 messages
working with it now. once i learn a bit more ruby and nwn-lib's API (where is it?) i should be able to get what i want.

#4
leo_x

leo_x
  • Members
  • 223 messages
API/docs are here: ci.swordcoast.net/job/nwn-lib/yardoc/

Modifié par pope_leo, 21 février 2013 - 06:56 .


#5
acomputerdood

acomputerdood
  • Members
  • 219 messages
well, this is the basics of what i wanted:


#!/usr/bin/env nwn-dsl

# This script will extract all items the worked-on
# struct is currently in possession of.
o = need ARGV.shift, :bic, :utc, :uti

o.each {|k, v|
print "#{k}: #{v["value"]}\\n";
}


there's a lot of work yet to convert the integer values into strings (like "class" is stored as a number, which needs to be converted to text). i'm well on my way, though.