#gemrb@irc.freenode.net logs for 15 Jan 2013 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[00:02:35] <Seniorita> [wiki] faq - created http://www.gemrb.org/wiki/doku.php?id=faq&rev=1358207840&do=diff
[00:09:18] <Seniorita> [commit] Brad Allred: Xcode: add more warnings to the build http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=84063c09b857e29182ab9958d181782acea02b26
[00:26:51] <Seniorita> [wiki] fap - created http://www.gemrb.org/wiki/doku.php?id=fap&rev=1358209337&do=diff
[00:33:10] <Seniorita> [commit] Brad Allred: Font: remove ancient unused cruft. http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=caea282f98c1e7412bc456857a2a86e8f6578b0a
[00:46:14] --- ermo is now known as ermo^
[00:47:16] --> edheldil_ has joined #gemrb
[00:53:38] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[01:21:20] <-- kida has left IRC (Ping timeout: 252 seconds)
[01:39:51] --> brada has joined #gemrb
[01:39:59] <-- edheldil_ has left IRC (Ping timeout: 260 seconds)
[01:54:45] --> traveler has joined #gemrb
[01:54:57] <traveler> i thinkg spider's poisn is a bit too potent in bg1
[01:55:07] <traveler> you can easily loose 50-65hp
[01:55:21] <traveler> you take hit faster than once /sec
[01:55:38] <traveler> no chance for casting poison slowdown or healing on self
[01:55:57] <chiv> iirc, some were worse than others in the original...
[01:56:04] <traveler> it was definitely possible in original with a bit of luck
[01:56:27] <traveler> maybe
[01:56:43] <chiv> i definitely remember swearing at my computer a few times back in the day with bg games, that was one of the reasons...
[01:57:31] <traveler> i'm still unconvinced a bit
[01:57:53] <chiv> was it a phase spider?
[01:57:54] <traveler> faster than 1 hit /sec after poisoning for 50-60hp total?
[01:58:10] <traveler> more than endgame pc in typical bg1 could have
[01:58:15] <traveler> *bg1 game
[01:59:02] <traveler> spectre spider?
[01:59:34] <chiv> probably worth making a note of anyway
[02:00:43] <traveler> i have a spider fight right now
[02:00:52] <chiv> im sure there was one though, it might have been iwd, where it bites you and you just seizure straight down to dead in 3 seconds...
[02:01:43] <traveler> could you tell me
[02:01:48] <traveler> which spider have poisoned me now?
[02:01:50] <traveler> http://pastebin.com/LAT4gSFz
[02:01:51] <Seniorita> [Unknown]: Playing: BP2/BP2A1 [InitRound]: Name: Pajîk-upiór | Attacks: 1 | S - Pastebin.com
[02:01:54] <traveler> i'm not sure
[02:02:14] <traveler> there is phase spider in bg1 too
[02:02:24] <traveler> i'm just not convinced if indeed he got me
[02:02:44] <traveler> or some more domestic variety which would be strange
[02:03:49] <chiv> thats pretty crazy... I was thinking of the ones that do 1hp damage, but so fast that you cant cast any spells
[02:04:51] <traveler> [Actor/COMBAT]: Damage animation type: 2
[02:05:01] <chiv> but then it always pays to keep your cleric out combat :)
[02:05:07] <traveler> that's one hp but it goes down really fast
[02:05:25] <traveler> i'm soloing with overpowered fighter though
[02:05:48] <traveler> i just would like to know which spider bit me ([Actor/COMBAT]: Damage animation type: 2) and from console it's not clear for me
[02:07:46] <traveler> hmm correction, this endgame variety of spider poison
[02:07:51] <traveler> [GameScript]: Displaying string on: none [Actor/COMBAT]: Damage animation type: 2 [Unknown]: Resisted 0 of 2 at 0% resistance to 32 [Actor/COMBAT]: 2 unknown damage taken.
[02:08:05] <traveler> resistance to 32
[02:08:51] <chiv> I think the print codes in the combat code would need updating to help you there....
[02:09:01] <traveler> it goes like 2-3 hits on sec, 2hp one, 4-6hp /sec
[02:09:15] <traveler> if it is some special phase spider poison that could explain it
[02:09:30] <traveler> but its absurd for regular spiders
[02:09:56] <traveler> ...and here goes that i don;t see which one got me first from console still
[02:09:58] <traveler> oh well
[02:11:34] <chiv> it would probably be useful to have a save relating to that problem
[02:12:32] <traveler> well i cannot save mid battle
[02:12:44] <chiv> well, i meant before :)
[02:12:45] <traveler> but you have plenty of spiders in ar3000
[02:13:09] <traveler> if i'm looking correctly, one poisoning got me for 66hp
[02:13:18] <chiv> can you remember the cheat codes in the original? I cant...
[02:14:27] <traveler> plenty of info on net
[02:14:30] <traveler> clua something
[02:14:38] <traveler> cheats=1 in *ini
[02:14:45] <traveler> gp was midas
[02:14:48] <traveler> etc
[02:15:09] <traveler> i have one real bug though
[02:15:22] <traveler> on level up menu, armour displayed is totally bogus
[02:15:28] <traveler> i have something like -15
[02:15:34] <traveler> while in game it's -9
[02:16:00] <chiv> I think lynx was doing stuff there for iwd2, so its probably good idea to note that too...
[02:16:19] <traveler> i think it's lot earlier, if even always like this
[02:16:49] <traveler> i;m speaking of menu that appears only after clicking 'veel-up', that onew where you assort proficiency
[02:16:59] <traveler> *level
[02:24:46] <chiv> yeah i just tried very hard to poison myself with 5 spiders, i lose 20 hp altogether a round, but nowhere near 60
[02:24:55] <chiv> its still death in 3 rounds though...
[02:25:53] <chiv> maybe, just maybe, whats happening is all the damage happens instantly instead of over several rounds
[02:26:47] <chiv> and i also realised I miss the chunky explosion deaths in vanilla bg
[02:29:06] <traveler> maybe we didn't understood each other
[02:29:36] <traveler> i've lost about 2-4hp at sec (round?), 60+hp total
[02:29:43] <traveler> not 60hp in one hit
[02:29:53] <chiv> oh I see
[02:30:02] <traveler> that would be total madness
[02:30:06] <chiv> i think that is normal, i could have died 5 times over just now
[02:30:20] <chiv> the reason is, you die unless you have antidote
[02:30:41] <chiv> the game is just cruel....
[02:31:08] <traveler> mhm i have finished bg forst time without antidotes though
[02:31:16] <traveler> *first, original
[02:31:49] <chiv> well, i don't know how you managed, if you are talking about vanilla bg :)
[02:31:52] <traveler> yes, a bit of reloading, but i've remember i could just walk out poisoning ;)
[02:31:54] <traveler> yes
[02:32:43] <traveler> and now i have 149hp (12lvl fighter ) character in gemrb and died two times because of spiders
[02:32:59] <chiv> yeah thats not right
[02:33:22] <traveler> at least looks surprising to me
[02:33:36] <traveler> especially rate of loosing hp, not even total amount
[02:34:09] <traveler> as i've said with a bit of luck in original i could use bhaalspawn abilities (functionally casting)
[02:34:15] <traveler> not even a chance in gemrb
[02:34:28] <traveler> interrupted each time
[02:38:29] <chiv> theres even worse problems with spellcasting in torment, some spells take about 30 seconds to fire :)
[02:42:16] <traveler> heh
[02:50:01] <traveler> http://img189.imageshack.us/img189/9695/201301150348431440x900s.png
[02:50:33] <traveler> totally cool pack of hobgoblins, just chilling out in ar3400 map corner ;)
[02:51:19] <chiv> are they trying to hide from your one man army?
[02:51:26] <traveler> i hope so
[02:51:49] <chiv> i noticed actors seem to congregate around the edges in torment also
[02:52:01] <traveler> seriously speaking, right-down map corner is nothing new
[02:52:02] <traveler> yes
[02:52:09] <traveler> interesting bit
[02:52:20] <traveler> is why they have stayed neutral
[03:03:42] <traveler> hmmm
[03:03:45] <traveler> it would be nice
[03:04:04] <traveler> if items in containers would assort themselves alphabetically
[03:04:12] <traveler> just like in ground pile currently
[03:04:16] <traveler> *piles
[03:05:37] <chiv> i want to contribute a nicer container feature, but i need a block of time to look into how...
[03:07:03] <chiv> the core is still a complete maze from my point of view
[03:08:33] <traveler> np
[03:21:46] <traveler> hmm poisoned arrows are a lot more mellow
[03:21:59] <traveler> so maybe indeed that spider was just nasty
[04:04:49] <-- brada has left IRC (Quit: brada)
[04:21:19] <traveler> what a grind... i just fully cleared all areas in bg1 from generic enemies (by jumping around) (they were too boring at first, i only did quests, but i have no quests left now...) nice time wasting on my part... duh. sleep is for the weak...about 55k + xp from low xp creatures. gn.
[04:25:03] <traveler> well enemies... i'm afraid bears went extinct too. (side note- they should not be in pack with bandits, should they? pretty common weird pairing, bandits and wildlife in one lump)
[04:25:37] <traveler> not map edge usual stuff, but normal middle of the map
[04:31:11] --> brada has joined #gemrb
[04:40:31] <-- CamDawg has left IRC (Quit: Leaving.)
[06:17:44] --> GregC has joined #gemrb
[06:23:43] <GregC> Using version (latest available on Google Play) - BG2 from GoodOldGames(GOG.com) on ASUS Transformer TF300T - Android 4.1 Jelly Bean - everything works perfectly through creating a character but upon entering game
[06:24:34] <GregC> game screen area is blue and app crashes shortly after. I checked the forums and it says to verify the gamepaths, but everything seems to be in order
[06:24:42] <-- brada has left IRC (Quit: brada)
[06:25:13] <GregC> im using the included .cfg file, didnt actually have to change anything to get this far, but i double checked everything just to be sure and it seems fine
[06:26:21] <GregC> been trying to track down the log file to check for more info, but using alogcat didnt do me any good and im not able to locate the log manually
[06:26:30] <GregC> looking for any asistance possible!
[06:26:54] <GregC> if im not in chat when someone responds,please email me at greg.casillas@live.com
[06:38:16] <tomprince> the google play version is out of date.
[06:38:34] <tomprince> There are newer builds (but still not new) on sf.
[06:49:32] <-- GregC has left IRC (Quit: Page closed)
[07:04:13] --> miha has joined #gemrb
[07:27:48] --> edheldil_ has joined #gemrb
[07:38:56] <-- edheldil_ has left IRC (Read error: Operation timed out)
[08:03:40] --> GregC_ has joined #gemrb
[08:04:35] <-- GregC_ has left IRC (Client Quit)
[08:26:17] --> HelpPlease has joined #gemrb
[08:31:05] <-- miha has left IRC (Ping timeout: 240 seconds)
[08:33:11] --> edheldil_ has joined #gemrb
[08:43:30] <-- edheldil_ has left IRC (Ping timeout: 252 seconds)
[09:01:39] <-- HelpPlease has left IRC (Quit: Page closed)
[09:59:11] --> lynxlynxlynx has joined #gemrb
[09:59:11] <-- lynxlynxlynx has left IRC (Changing host)
[09:59:11] --> lynxlynxlynx has joined #gemrb
[09:59:12] --- ChanServ gives channel operator status to lynxlynxlynx
[10:24:12] --> WingedHussar has joined #gemrb
[10:44:20] --> miha has joined #gemrb
[10:46:43] <lynxlynxlynx> well that was ominous
[10:47:05] <lynxlynxlynx> i move the content of the remaining two stickies to the wiki and the next morning the forum is down again
[11:03:54] <-- WingedHussar has left IRC (Quit: WingedHussar)
[11:48:03] --> CamDawg has joined #gemrb
[11:50:27] <traveler> hm
[11:50:29] <traveler> http://playithardcore.com/pihwiki/index.php?title=Baldur%27s_Gate:_Donation_Guide
[11:50:32] <Seniorita> Baldur's Gate: Donation Guide - Play It Hardcore
[11:50:41] <traveler> claims that buying rep 18 is no-go
[11:50:53] <traveler> in gemrb you can buy up to, including 18 re
[11:50:55] <traveler> *rep
[11:51:23] <traveler> oh wait
[11:51:29] <traveler> i;m actually reading it backwards
[11:51:33] <traveler> all is the same
[11:52:47] <-- edheldil has left IRC (Remote host closed the connection)
[11:53:13] <lynxlynxlynx> http://gemrb.org/iesdp/files/2da/2da_tob/reputati.htm
[11:53:14] <Seniorita> BG2: ToB 2DA Files : reputatai.2da
[11:59:31] --> rocket_hamster has joined #gemrb
[12:03:02] <traveler> yup, different gp because it's bg2, but i get it (but always gemrb could read off by one ~ or like with xp pre 0.7.1? nevermind, it's all good)
[12:03:07] <traveler> Unfortunately, it's a pipe dream to think you're going to get all 18s. The exact odds of getting all 18s vary depending on race and class adjustments, but for human with a core class (Fighter, Cleric, Thief, Mage), the odds of getting all 18s are 1 in 5,431,084,533,885 (5 trillion, 431 billion, 084 million, 533 thousand 885). This is much worse than the odds of winning the jackpot in many government-run lotteries.
[12:03:11] <traveler> heh
[12:03:50] <traveler> maybe my playing is a bit ocd at times, but not _that_ ocd...
[12:05:31] <traveler> ...or to really analyse all possible perks of various multi combinations etc duh. i just killed drizzt in melee with single class not cheated fighter, good enough pc for bg1 for me.
[12:06:35] <-- rocket_hamster has left IRC (Ping timeout: 240 seconds)
[12:08:39] <traveler> haha, those guys are too funny for me
[12:08:41] <traveler> The last pro tips come in the form of metagaming. If you're a mage, hopefully you started out with Charm Person. After doing the quest with Phlydia where you return her book, charm her. If it doesn't work, rest, and keep trying. Once you get it to stick, lead her over into a corner that guards don't patrol and in which there aren't any tutors. Denature her and murder her afterwards for a Robe of Fire Resistance. It's the only robe you'
[12:18:32] --> kida has joined #gemrb
[12:26:33] --> edheldil has joined #gemrb
[12:26:34] --- ChanServ gives channel operator status to edheldil
[12:34:07] <traveler> yup, you can't go over 100% fire resistance in gemrb/bg1, i have 2x ring of reststance which give 80% and SW1H15 which gives 50% and that amounts to 100% still
[12:34:11] <traveler> on the related note
[12:34:26] <traveler> should really SW1H15 give fire resistance?
[12:34:46] <traveler> it's a drizzt sword and not a word in descriptioan about fire resist prperties
[12:36:25] <traveler> + it doesn't give usuall fire resistance icon
[12:44:49] <lynxlynxlynx> we don't make this stuff up
[12:45:03] <lynxlynxlynx> if it stacks or not is also dependant on the effect
[12:45:39] <lynxlynxlynx> eg. the sword may *set* the resistance to 50%, so if the ordering is unlucky, one or both rings would have no effect
[13:01:53] <edheldil> I remember feeling funny when I was writing a first effect setting some stat to absolute percentage :)
[13:11:47] <traveler> 2 rings = 80%, sword + ring = 90%, sword = 50%, sword +ring + ring =100%
[13:12:47] <lynxlynxlynx> so they are additive
[13:13:17] <lynxlynxlynx> i'm almost certain only our max stat array needs updating
[13:14:17] <traveler> sword is like fire resist scroll, 50%
[13:14:27] <traveler> fire resist is additice but only up to 100% as well
[13:14:30] <traveler> 8v
[13:14:34] <traveler> *v
[13:17:38] <-- duckpunch has left IRC (Ping timeout: 255 seconds)
[13:36:09] <-- CamDawg has left IRC (Quit: Leaving.)
[13:42:54] --> WingedHussar has joined #gemrb
[13:45:01] --> avenger has joined #gemrb
[13:45:17] <avenger> hi, g3 seems to be dead to me again
[13:46:11] <wjp> timing out for me too :/
[13:46:48] --> duckpunch has joined #gemrb
[13:46:48] <avenger> seniorita> http://www.gibberlings3.net ?
[13:47:07] <avenger> hope she doesn't die on that :D
[13:52:34] <-- avenger has left IRC (Quit: Page closed)
[13:55:44] <edheldil> *hopefully* it's really a temporary issue this time
[13:57:41] --> CamDawg has joined #gemrb
[13:57:50] <lynxlynxlynx> traveler: http://sprunge.us/HZaO?diff <-- try this, it should ifx it
[14:03:39] <traveler> mhm
[14:03:46] <traveler> will test in a moment bb
[14:04:00] <traveler> should it give healing bonus?
[14:04:00] <traveler> or jsut stat fix
[14:04:37] <traveler> it is juast a bump to 200?
[14:04:43] <traveler> *sorry for typos
[14:06:16] <lynxlynxlynx> you should get 130% now
[14:07:04] <traveler> i've meant 200 is a limit now?
[14:07:24] <lynxlynxlynx> yes
[14:08:08] <traveler> any ideas about armour class before i reboot?
[14:08:20] <traveler> i mean that -15 thing on levelup screen
[14:08:32] <traveler> while in fame it's -9
[14:08:35] <traveler> **g
[14:08:51] <lynxlynxlynx> it's ok when you get out of it, right?
[14:09:04] <traveler> yes
[14:09:19] <traveler> it only appears in this proficiencies levelup menu
[14:09:27] <lynxlynxlynx> don't worry about it then
[14:10:10] <traveler> ok
[14:10:11] <traveler> bb
[14:14:38] <-- traveler has left IRC (Ping timeout: 245 seconds)
[14:23:19] --> traveler has joined #gemrb
[14:23:32] <traveler> looks like clang 3.2 brings new warnings
[14:23:34] <traveler> http://pastebin.com/A5DSyzAu
[14:23:35] <Seniorita> Kuba@Thinkpad:/usr/home/Kuba/GemRBGit/gemrb $ mkdir build Kuba@Thinkpad:/usr/ho - Pastebin.com
[14:25:12] <traveler> i;ve omitted vorbis header and most of build without warnings
[14:25:12] <lynxlynxlynx> ok, will look at that too
[14:27:19] <traveler> most in font.cpp, plugins, one in core
[14:28:35] <lynxlynxlynx> if the resistance is ok, you can also try http://sprunge.us/baOc?diff for healing
[14:28:59] <lynxlynxlynx> bbl, have to cook something
[14:31:36] <traveler> similar here, regarding food... so it was decided that bug or not it should be emulated as well? i think that staying as close to original maybe sans crashers (do not even try to copy that :P), xp cap, potion dumping would be most appropriate
[14:32:14] <traveler> potion duping as in 'obvious glitches'
[14:32:26] <traveler> speedrunners would disagree though ;)
[14:35:06] <traveler> http://kb.speeddemosarchive.com/Infinity_Engine
[14:35:08] <Seniorita> Infinity Engine - SDA Knowledge Base
[14:39:09] --- ermo^ is now known as ermo
[14:40:39] <lynxlynxlynx> i made it configurable, so there's no reason to not have it
[14:41:27] <traveler> oh nice, i didn't actually seen diff before commenting :P
[14:43:51] <lynxlynxlynx> it works, just tested
[14:45:56] <Seniorita> [commit] Jaka Kranjc: allow elemental/magic/poison damage resistances to be higher than 100 http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=6bce18c6abc90f5ce5a434946b0cf47e6fbe7da5
[14:45:57] <Seniorita> [commit] Jaka Kranjc: documented ImplicitAreaAnimBackground and reordered, so the sorting is maintained http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=fd175bc1b4ef0052a9cd618f1225798c33b6fb12
[14:45:58] <Seniorita> [commit] Jaka Kranjc: added support for healing when receiving damage and resistance to it is >100% http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=3e0dcead8e5dfa79e15eeaf071c4580224d03213
[14:53:35] <-- miha has left IRC (Quit: Lost terminal)
[15:06:21] <traveler> ah
[15:07:29] <traveler> sorry for my slow-assness
[15:10:34] --> Avenger has joined #gemrb
[15:11:31] <Avenger> lynxlynxlynx: i just looked at the hatedrace stuff in iwd2. There is a different number for ToHit bonus and Damage bonus. Damage bonus is always 4, ToHit depends on the index.
[15:12:27] <Avenger> I don't recall if we separate the two bonuses
[15:15:54] <lynxlynxlynx> ok
[15:16:15] <lynxlynxlynx> i think we currently hardcode both to 4
[15:16:28] <lynxlynxlynx> i'll check in a bit
[15:17:06] <Avenger> i'm pretty sure i changed one of them to index :)
[15:18:37] <lynxlynxlynx> ah, the attack
[15:18:53] --> miha has joined #gemrb
[15:21:27] <lynxlynxlynx> doesn't look like we ever did the damage bonus
[15:23:25] <Avenger> ok, then it is new info :)
[15:23:36] <-- Avenger has left IRC (Quit: Page closed)
[15:24:09] <lynxlynxlynx> yep, thanks
[15:24:24] <traveler> hm strange
[15:24:35] <traveler> gp didn't got stacked with ctrl+w
[15:24:47] <traveler> one lump is 999 and the other 1455
[15:24:54] <traveler> looks like boundary?
[15:25:29] <traveler> oh, and arrows got overstacked
[15:25:34] <traveler> 23 and 28 lump
[15:26:30] <Seniorita> [wiki] todo - [Baldur's Gate] http://www.gemrb.org/wiki/doku.php?id=todo&rev=1358263406&do=diff
[15:27:01] <traveler> amnish soldiers carry overstacked quivers
[15:27:10] <traveler> this, or they just drops them like that
[15:27:20] <traveler> *drop
[15:28:35] <traveler> bbl
[15:31:33] <Seniorita> [commit] Jaka Kranjc: silence new clang warning -Wunused-private-field http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=06d34596f28d5ff8f9f7fe2e38c8100af8ca5b64
[15:31:35] <Seniorita> [commit] Jaka Kranjc: grant damage bonus vs racial enemies http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=92d24185e4ede571ff63e00c6144dc3a599120d2
[15:32:09] --> brada has joined #gemrb
[15:49:11] <lynxlynxlynx> traveler: yeah, npcs don't play fair
[15:49:22] <lynxlynxlynx> it's like those silly underdark gem stacks
[16:08:55] <-- WingedHussar has left IRC (Quit: WingedHussar)
[16:09:27] <traveler> well i've already noticed that
[16:09:38] <traveler> and if gp behaves as predicted, then totally non-issue
[16:11:06] <traveler> maximum stacked amount is 999, but npcs can carry around more in one lump (like quivers, gems etc)?
[16:17:33] <-- traveler has left IRC (Ping timeout: 245 seconds)
[16:22:30] <Seniorita> [commit] Jaka Kranjc: Actor: removed two stale TODOs and fixed one http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=938d11a244fce77b7501f11b6f27d1c1f2e4551f
[16:22:31] <Seniorita> [commit] Jaka Kranjc: centirevisional NEWS bump http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=e046fabc29ed92b65f3f18196add64fa1e4f5be8
[16:41:42] --> Cuvieronius has joined #gemrb
[16:52:29] <brada> what about something like this for text encoding?
[16:52:50] <brada> where the row is taken from the encoding member of interface
[16:53:10] <brada> http://paste.debian.net/224982/
[16:53:11] <Seniorita> debian Pastezone
[16:53:22] --> CamDawg1 has joined #gemrb
[16:55:43] <brada> afict all the mb encodings we need to support use a single byte for 0x20-0x7F
[16:56:05] <-- CamDawg has left IRC (Ping timeout: 240 seconds)
[16:56:54] <fuzzie> do you need the endianism?
[16:57:17] <brada> its easier :p
[16:57:34] <fuzzie> well, I just figured you'd need to specify the encoding anyway
[16:57:50] <brada> yeah
[16:58:19] <brada> so just take it from that?
[16:58:28] <fuzzie> since cp932 for example is messy
[16:58:57] <fuzzie> well, if you're just feeding it to iconv then the endianism shouldn't matter
[16:59:07] <fuzzie> didn't look to see if you were :)
[16:59:20] <-- CamDawg1 has left IRC (Ping timeout: 252 seconds)
[16:59:38] <fuzzie> but in the end whatever works for you..
[17:01:04] <brada> well maybe it would be better to put these things directly in the language.ini
[17:01:15] <brada> just the encoding
[17:03:58] <brada> the only reason i need to know multibyte at all is to prevent breaking characters between 0x7f and 0xff
[17:05:33] <fuzzie> yeah, just not all the encodings are quite so nice as to use double bytes for the rest, I think?
[17:06:30] <brada> no they dont
[17:06:48] <brada> everything that gemrb currently works with is single byte entirely
[17:08:20] <fuzzie> what do you have to care about, ' ' and '-' only?
[17:08:59] <fuzzie> oh, not even '-'
[17:09:08] <fuzzie> oh, no, yes that
[17:09:34] <fuzzie> but I guess the '[' check ruins the idea of just walking through byte-by-byte
[17:10:01] <brada> well im also trying to avoid rewriting those loops
[17:11:06] <edheldil> hi ... what are you trying to achieve?
[17:11:32] <brada> but even if we did we would still need to know if 233 is é or the first byte of a double byte cahr
[17:12:33] <brada> ed: trying to reconcile my double byte support with extended ascii among other things
[17:12:34] <fuzzie> yes, but you also need to know if '[' is '[' or the second byte of a double byte char
[17:12:57] <brada> yup that too
[17:13:13] <brada> which is why i think its easier to just leave those loop alont
[17:13:14] <fuzzie> but if you can just increase pos based on the encoding, that sounds fine
[17:13:15] <brada> alone
[17:13:35] <fuzzie> but you do have to change that bit of the loops, right?
[17:13:40] <brada> no
[17:13:42] <brada> i didnt
[17:14:02] <fuzzie> so what happens if a loop encounters a '[' which is the second byte of a double byte char?
[17:14:10] <brada> remember how i just copied chars into iewords
[17:14:20] <brada> like the original patch
[17:14:24] <fuzzie> so you changed the loops to use iewords?
[17:14:40] <brada> the type of tmp is ieWord* yes
[17:14:46] <fuzzie> aha.
[17:15:00] <fuzzie> that is not stictly necessary I think, you see
[17:15:04] <fuzzie> but it is probably much easier
[17:15:08] <brada> yeah
[17:15:16] <brada> i did consider the loop alterations you speak of
[17:15:18] <fuzzie> I just didn't understand what you meant by not having changed the loops.
[17:15:29] <brada> then said "to hell with this" i can do it quicker this way :p
[17:15:43] <fuzzie> well, yeah, since this code is using a temp buffer anyway
[17:15:49] <brada> right
[17:17:02] <brada> so right now in my repo extended ascii is broken which would cause much sarrow among the people here
[17:17:17] <fuzzie> right
[17:17:33] <fuzzie> I just figured, can't you just make that another encoding, since you have to know the encoding there anyway?
[17:17:40] <fuzzie> and I think that's also what you said :)
[17:18:13] <brada> heh yes but i need a way of determining in code that GBK is mb and BE
[17:18:32] <fuzzie> yeah, but you have to hardcode that anyway, right?
[17:18:45] <fuzzie> because you have to know what's single-byte and what isn't
[17:19:15] <brada> so no fancy api exists that we can use then :p
[17:19:20] <edheldil> I have disabled the annoying cia bounces (and mails), I hope
[17:20:25] <brada> so a hardcoded table seems like the logical aproach?
[17:20:34] <fuzzie> does it?
[17:20:36] <edheldil> yes, I think
[17:20:50] <brada> well
[17:20:50] <fuzzie> i'd just add a switch on encoding and some if statements.. :p
[17:21:02] <brada> kinda the same thing :p
[17:21:05] <edheldil> but if you need just this info, can be an external table as well
[17:21:07] <fuzzie> but yes, pretty much the same
[17:21:16] <fuzzie> pretty sure you don't need to know BE-or-not though
[17:21:22] <fuzzie> if you're passing it to iconv
[17:21:39] <fuzzie> if you're not passing it to iconv then it all gets really complicated anyway though
[17:21:44] <edheldil> regardless of endianSwitch?
[17:21:44] <brada> remember how i needed to swap the bytes for iconv to not choke?
[17:22:06] <fuzzie> yes, because you were swapping them with memcpy :p
[17:22:15] <brada> i took that out
[17:22:16] <fuzzie> iconv just wants the bytes identical to the input
[17:22:26] <brada> right but we are working with iewords
[17:22:28] <fuzzie> so it's not encoding-specific, so you should be fine on that front
[17:22:37] <fuzzie> i.e. if it works for GBK then it'll work for all MB
[17:22:50] <fuzzie> unless I am missing something entirely, which is always possible
[17:22:59] <brada> it only works with gbk if i swap bytes only
[17:23:03] <brada> even without the memcpy
[17:23:26] <brada> since the ieWord type is used
[17:23:38] <fuzzie> what's your code now?
[17:23:47] <brada> hang on ill export a patch
[17:24:47] <kida> i'm sorry for disturb, but i think if we convert ucs2 or ucs4 using iconv, it seems many things can be solved
[17:25:04] <fuzzie> well, it doesn't work for BAM
[17:25:13] <fuzzie> so you have to hard-code the encodings for the BAM case anyway
[17:27:28] <edheldil> ?
[17:27:38] <edheldil> ah, fonts
[17:28:14] <brada> and you still need to know if the original encoding is mb
[17:28:29] <fuzzie> yes, but you have to know more details than that
[17:29:04] <fuzzie> e.g. if it's a mb encoding and you get 0xa1, you still don't know what to do with it
[17:29:37] <brada> yeah we need the encoding of original and we can infer mb and endianness form that
[17:29:39] <fuzzie> so it still seems to me that it's simpler to just specify a single encoding, and then checking it in code
[17:30:00] <fuzzie> and I still think you don't have to care about endianism at all except for some internal encoding-irrelevant detail :) but I will wait to see patch
[17:30:35] <fuzzie> since if you have two bytes, and you convert them to ieWord, and then you convert them back to two bytes, and give that to iconv, that will work for all encodings
[17:32:48] <kida> if we set specify encoding internal such a ucs or utf-16 than, i think we need not care about mb
[17:33:15] <fuzzie> kida: except all the files are in mb ;p
[17:33:30] <kida> yes that's why iconv is required :)
[17:33:38] <fuzzie> but no, we can't do that
[17:33:49] <fuzzie> the BAM fonts aren't unicode fonts.
[17:34:20] <fuzzie> So for the standard case you have to know multibyte.
[17:34:27] <brada> yes
[17:39:59] <kida> how about some condition check for that ?
[17:40:21] <kida> on iwd , there's some config option "Double Byte Character Support"
[17:41:24] <fuzzie> yeah, plus the Windows codepage.. :)
[17:41:38] <fuzzie> or, so I assume. I didn't make it work without the right codepage, anyway.
[17:43:45] <kida> what i know, is no codepage
[17:45:46] <kida> on iwd and iwd2, it always draw font using TTF font if Double Byte Character support is enabled
[17:45:54] <fuzzie> which language?
[17:46:14] <kida> korean
[17:46:16] <fuzzie> I only saw that for .. Japanese or Korean, I forget which.
[17:46:17] <fuzzie> ah :)
[17:46:35] <fuzzie> unfortunately, that is not standard
[17:47:26] <fuzzie> and, does it work on non-Korean Windows?
[17:48:07] <kida> Windows is using utf-16 internallly
[17:48:12] <fuzzie> yes
[17:48:18] <kida> so i think it is not problem
[17:48:20] <kida> maybe
[17:48:23] <fuzzie> but Windows is converting from system codepage
[17:48:30] --> rocket_hamster has joined #gemrb
[17:48:39] <fuzzie> certainly the default for Chinese and Japanese is not TTF and there is no utf16 internally.
[17:49:20] <fuzzie> but, yes, brada is using iconv for the TTF code path.
[17:49:31] <fuzzie> it's just, iconv doesn't help for the non-TTF code path.
[17:49:55] <kida> which means non-ttf code path ?
[17:50:00] <fuzzie> the BAM path
[17:50:11] <kida> ah :0
[17:50:55] --> traveler has joined #gemrb
[17:51:07] <fuzzie> for example, for Chinese, the default is a big BAM font which contains GBK characters
[17:51:20] <fuzzie> so, you have to know that the encoding is GBK :)
[17:52:29] <kida> for BAM,... yes
[17:53:39] <fuzzie> for TTF, you *have* to convert to utf16, because we found that most fonts only have unicode tables
[17:53:51] <kida> yes exactly
[17:54:01] <fuzzie> but .. BAM has to work too :)
[17:54:12] <fuzzie> so, we are stuck having to know about multibyte.
[17:54:50] <brada> fuzzie: http://paste.debian.net/224998/
[17:54:51] <Seniorita> debian Pastezone
[17:55:00] <-- miha has left IRC (Ping timeout: 248 seconds)
[17:55:49] <fuzzie> brada: so, yes, you swap bytes twice still
[17:55:58] <brada> yeah i know
[17:56:08] <brada> thats what i was telling you
[17:56:14] <fuzzie> sure
[17:56:24] <fuzzie> but why do you worry about which endianism to use?
[17:56:41] <fuzzie> here you swap bytes once, then you swap them again, so you leave them unchanged :)
[17:57:17] <fuzzie> it doesn't depend on the encoding, so it's fine
[17:59:23] <brada> which part is implicitly swapping bytes there?
[17:59:36] <fuzzie> the bit where you take a pointer to the word
[17:59:38] <brada> just because its an ieword right?
[18:00:25] <fuzzie> since it's LE, the ieWord is represented in-memory as <low 8 bits>, <high 8 bits>
[18:00:32] <brada> right
[18:01:11] <fuzzie> so if you make that identical to two bytes, you have to copy the first byte to the low 8 bits (string[i]), and the second byte to the high 8 bits (string[i+1] << 8)
[18:02:06] <fuzzie> but in the end, you're just copying two bytes
[18:02:19] <fuzzie> so, that's completely independent of the encoding.
[18:02:38] <brada> so it wont break when we are reading an mb string that is LE?
[18:02:50] <fuzzie> no, because all you're doing is copying bytes :)
[18:02:56] <brada> ok i trust you
[18:03:05] <fuzzie> you have to just think of where the bytes go
[18:03:24] <fuzzie> it will break totally on BE because then it's <high 8 bits>, <low 8 bits> and they're suddenly the wrong way around
[18:03:32] <fuzzie> but we can worry about that after it's committed, like I said
[18:03:45] <brada> right
[18:04:18] <fuzzie> sorry if I broke you :P
[18:04:32] <fuzzie> "don't worry about it, and trust me" is my summary
[18:05:13] <brada> i just need to shake the dust off my brain
[18:05:22] <brada> it was many years ago when i learned all this stuff
[18:05:44] <-- rocket_hamster has left IRC (Remote host closed the connection)
[18:06:53] <brada> my confusion i guess was because i was thinking i had to swap the bytes because it was a BE string
[18:07:01] <brada> that isnt why i had to swap them
[18:07:09] <brada> if i understand now :p
[18:08:13] <brada> chiv: if you want to play in chinese that patch will let you
[18:08:31] <brada> tho you will want to fix the parts i commented out and replaced with 0
[18:10:03] <chiv> thats cool, I'll try it out later ( i am just trying to organise my music collection atm though...)
[18:10:39] <chiv> this is day 2 on that front...
[18:11:00] --> CamDawg has joined #gemrb
[18:11:06] <brada> no automated software to do that?
[18:11:58] <chiv> i wouldnt trust automation to do it any more than i would trust a leopard to look after a rabbit...
[18:13:37] <chiv> my system is quite .. unique...
[18:14:38] <chiv> i was looking to find out how to enable it though, is it just a case of editing the 2da table?
[18:14:50] <brada> yes
[18:14:53] <brada> well
[18:15:01] <brada> and add CustomFontsPath to cfg
[18:15:16] <brada> that patch is ttf only
[18:15:22] <chiv> can that be the system font path?
[18:15:26] <brada> sure
[18:15:29] <brada> if gemrb can get there
[18:15:35] <chiv> good to go then :)
[18:15:54] <brada> you need a unicode chinese font
[18:16:05] <brada> which i can give you
[18:16:33] <chiv> well, i should have one, I have chinese and stacks of other language packs/ime's installed
[18:19:04] <brada> only one of the chinese fonts i found actually worked...
[18:19:10] <brada> simhei
[18:20:52] <brada> some of the others will probably work once we move to dynamic glyph creation
[18:22:32] <chiv> I wonder what stopped them adding ttf support to the original
[18:22:52] <brada> well im sure nothing stopped them per se
[18:23:01] <chiv> was it just a different time?
[18:23:14] <brada> im too young to know if ttf was really around then tho
[18:23:39] <brada> wikipedia says it cam about in the 80s...
[18:23:48] <chiv> maybe it was just a pig to support
[18:24:53] <chiv> its not just for convenience, it would have been cool if they had different fonts to express the words of different types of characters, like you sometimes see in comics
[18:25:09] <fuzzie> do you have iwd or iwd2 chinese?
[18:25:14] <fuzzie> would be interesting to see if blackisle added ttf
[18:25:20] <chiv> no, sorry
[18:25:29] <brada> somebody said they did i thought
[18:25:38] <chiv> probably edheldil ?
[18:26:01] <brada> im off to the office bbl
[18:26:03] <-- brada has left IRC (Quit: brada)
[18:27:33] --> Lololooo has joined #gemrb
[18:27:46] <Lololooo> hi
[18:27:54] <Lololooo> anyone can help me?
[18:28:47] <chiv> depends if you want to rob a bank or perform taxidermy on your dead cat?
[18:29:08] <chiv> sorry, i can't do either of those.
[18:30:11] <chiv> no seriously, what seems to be the problem?
[18:30:14] --> edheldil_ has joined #gemrb
[18:32:11] <Lololooo> i launch my gemrb and all i can see is cursor and black screen
[18:34:12] <chiv> can you post your gemrb.cfg file on pastebin.ca?
[18:35:00] <-- edheldil_ has left IRC (Ping timeout: 264 seconds)
[18:35:05] <lynxlynxlynx> /topic
[18:40:29] <-- CamDawg has left #gemrb
[18:49:00] <-- nutron|w has left IRC (Quit: I must go eat my cheese!)
[18:52:39] <-- Lololooo has left IRC (Quit: Page closed)
[18:53:28] --> brada has joined #gemrb
[18:53:29] <-- kida has left IRC (Ping timeout: 252 seconds)
[19:29:59] <lynxlynxlynx> http://www.shsforums.net/topic/55711-readme/ <-- something novel
[19:30:01] <Seniorita> Readme - Psionics Unleashed - Spellhold Studios
[19:32:21] --> Avenger has joined #gemrb
[19:32:21] --- ChanServ gives channel operator status to Avenger
[20:27:08] --> edheldil_ has joined #gemrb
[20:34:49] <-- Avenger has left IRC (Quit: bye!)
[21:25:17] --> Cuvieronius_ has joined #gemrb
[21:26:49] <-- Cuvieronius has left IRC (Ping timeout: 246 seconds)
[21:26:57] --- Cuvieronius_ is now known as Cuvieronius
[21:37:37] --> nutron|w has joined #gemrb
[21:38:11] <-- nutron|w has left IRC (Changing host)
[21:38:11] --> nutron|w has joined #gemrb
[21:41:35] --- nutron is now known as Guest25591
[21:44:45] --- nutron|w is now known as nutron
[21:50:03] <-- traveler has left IRC (Ping timeout: 245 seconds)
[21:52:15] --> traveler has joined #gemrb
[23:19:17] <-- brada has left IRC (Quit: brada)
[23:37:58] --> CamDawg has joined #gemrb
[23:54:20] <-- edheldil_ has left IRC (Ping timeout: 256 seconds)
[23:59:01] <-- CamDawg has left #gemrb