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?
linux bic editor
Débuté par
acomputerdood
, févr. 20 2013 07:29
#1
Posté 20 février 2013 - 07:29
#2
Posté 20 février 2013 - 07:39
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
Posté 21 février 2013 - 06:36
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
Posté 21 février 2013 - 06:55
API/docs are here: ci.swordcoast.net/job/nwn-lib/yardoc/
Modifié par pope_leo, 21 février 2013 - 06:56 .
#5
Posté 22 février 2013 - 03:05
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.
#!/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.





Retour en haut






