IRC Log from 2010-03-31

00:04:55 *** AppGuy (~4a2c5850@gateway/web/freenode/x-yrcyynhhjopmphyi) has joined #portableapps
00:05:37 *** AppGuy has quit (Client Quit)
00:12:27 *** ChrisMorgan (~ChrisMorg@unaffiliated/chrismorgan) has joined #portableapps
00:12:27 <GizmoBot> ChrisMorgan is a PortableApps.com developer and moderator and works on the PortableApps.com Launcher (please test it!)
00:15:20 <JohnTHaller> hola ChrisMorgan
00:15:25 <ChrisMorgan> Hey JohnTHaller
00:15:35 <JohnTHaller> Got a minute?
00:15:40 <ChrisMorgan> Probably
00:15:50 <JohnTHaller> Lemme PM you something short to check out...
00:23:56 *** dbdii407 has quit (Ping timeout: 276 seconds)
00:25:52 *** Res2216firestar has quit (Quit: Leaving)
00:27:17 *** kracker_wz has quit (Ping timeout: 268 seconds)
00:31:08 *** dbdii407 (~dbdii407@64.1.77.88.ptr.us.xo.net) has joined #portableapps
00:31:08 *** dbdii407 has quit (Changing host)
00:31:08 *** dbdii407 (~dbdii407@unaffiliated/dbdii407) has joined #portableapps
00:42:08 *** OliverK (~WifiWomba@unaffiliated/oliverk) has joined #portableapps
00:49:40 <ChrisMorgan> New version of ForEachINIPair committed. It works perfectly with Unicode files as well as ANSI files and works in both NSIS and Unicode NSIS.
00:51:23 *** gluxon has quit (Quit: Leaving.)
00:53:51 *** vf2nsr (~chatzilla@cpe-76-179-15-53.maine.res.rr.com) has joined #portableapps
00:57:39 <ChrisMorgan> JohnTHaller: what do you reckon, new thread for Beta 3?
00:57:52 <ChrisMorgan> 27 comments (plus one I'm just about to put in)
00:58:53 <vf2nsr> grrrrrrr still javing issues with this launcher.ini file :( just won't launch my program :)
00:59:08 <ChrisMorgan> vf2nsr, you should look at the Manual page on Java.
00:59:11 <ChrisMorgan> Sorry, g2g now.
00:59:24 <vf2nsr> I have and this is not java this time
00:59:29 <vf2nsr> I got that one fixed
00:59:30 <ChrisMorgan> If you have it from hg take a look at Other\Source\Manual\topics\java.rst
00:59:32 <ChrisMorgan> Ah
00:59:39 *** dbdii407 has quit (Ping timeout: 276 seconds)
00:59:42 <vf2nsr> New game I working on
00:59:47 <ChrisMorgan> Avoid running an exe other than javaw.exe when making Java programs portable.
00:59:51 <ChrisMorgan> Bye
00:59:52 *** ChrisMorgan has quit (Quit: Quit messages are inane.)
00:59:54 <vf2nsr> can't figure how to allow registry to work
01:01:06 <vf2nsr> Me thinks Chris avoiding me lol j/k
01:03:15 <Horusofoz|Colleg> vf2nsr: What game are you developing?
01:04:36 <vf2nsr> penguin command sort of a missile command rip of it is written just having packaging issues
01:04:59 <vf2nsr> runs great just trying to portable it and can.t get the launcher to launch it
01:05:18 <vf2nsr> I think because I have no idea how to have it interact with registry
01:08:43 <Horusofoz|Colleg> Looks like a nice enough time waster ;)
01:09:10 <vf2nsr> Horusofoz|Colleg, I am trying to repackage the game, I get it to run on a stick but in trying to get it to run through PA it won't I have a reg shot of the keys for it just don't understand how to write it into a launcher.ini file
01:09:39 <vf2nsr> Horusofoz|Colleg, So I am wasting my time?
01:09:49 <vf2nsr> Horusofoz|Colleg, maybe you are right
01:09:54 <Horusofoz|Colleg> No I mean a time waster for people playing the game
01:10:05 <vf2nsr> Horusofoz|Colleg, should leave programming to those who know
01:10:12 <Horusofoz|Colleg> No keep trying
01:10:19 <Horusofoz|Colleg> I didn't mean to discourage you
01:10:37 <vf2nsr> Just have not really programmed in over 25 years and certainly not like this
01:10:46 <Horusofoz|Colleg> I said time waster as in a game easy to become addicted to and waste time playing rather than working
01:10:59 <vf2nsr> yup that what it is
01:11:10 <vf2nsr> or as I use it as a way to clear mind between things
01:11:23 <Horusofoz|Colleg> I can't even do HTML so I wouldn't be any help sorry
01:11:44 <vf2nsr> np I apprreciate the encouragement.
01:12:20 <vf2nsr> already have done a blackjack game and an unreleassed checkers
01:12:36 <vf2nsr> that work in paf
01:13:03 <vf2nsr> but this one really throwing me
01:13:31 <vf2nsr> oh well back at it I guess
01:13:38 <Horusofoz|Colleg> Good luck
01:13:46 <vf2nsr> tyvm
01:14:01 <Horusofoz|Colleg> Looking for that game I found this lil' gem which I think I'll waste some hours on - http://chromium-bsu.sourceforge.net/
01:14:31 <vf2nsr> I could have directed you to that one
01:14:42 <vf2nsr> as well as the other ones I have up in paf lol
01:14:45 <vf2nsr> ttyl
01:16:12 <Horusofoz|Colleg> ciao
01:33:21 <Horusofoz|Colleg> Hey JohnTHaller, can I ask if folders or tabs are likely to be included in the final PAM 2.0 without being frowned upon?
01:35:42 <OliverK> Horusofoz|Colleg: :( :p (joking)
01:37:43 <vf2nsr> Oliverk, you any good with writing launcher.ini files?
01:37:50 <OliverK> not at all
01:37:58 * OliverK hand codes his launchers
01:38:30 <vf2nsr> OliverK, np just need help figuring what the heck I missing on this new one I worling on tyvm
01:38:41 <OliverK> alright
01:38:59 <OliverK> well, have you a regshot of the game? pastebina nd i can translate for you where the registry keys are
01:39:11 <OliverK> then you can translate it into pal-speak
01:39:56 <vf2nsr> OilverK, http://pastebin.com/dyk6Kkwv I think that is what you need?
01:40:08 *** dbdii407 (~dbdii407@unaffiliated/dbdii407) has joined #portableapps
01:40:34 <vf2nsr> OliverK, or should I say want
01:41:20 <OliverK> its a port from linux isn't it?
01:41:36 <OliverK> HKLM\SYSTEM\ControlSet001\Control\MediaProperties\PrivateProperties\DirectInput\VID_06E6&PID_C200\Calibration\0 is the only reg key i see and that's something you won't need to worry about
01:42:17 <vf2nsr> k
01:42:38 <vf2nsr> yes but written as an exe in win32
01:43:15 <vf2nsr> so the hklm keys are ok?
01:44:29 <vf2nsr> I mean the hcku?
01:44:46 <OliverK> yeah
01:45:02 <OliverK> hangon
01:45:09 <OliverK> .def field_guide
01:45:09 <GizmoBot> field_guide is here: http://portableapps.com/node/14868
01:45:34 <OliverK> # HKCU:Regshot will show a HCKU modification as HKU\Random Numbers\whatever. Look for those in HKCU\Software\ and handle them in NSIS as HKEY_CURRENT_USER\Software\Whatever.
01:45:36 <OliverK> * Useful Entry: HKU\S-1-5-21-1060284298-823518204-725345543-1003\Software\Texas Instruments\TI Connect\StartUp\.
01:45:36 <OliverK> * Useless: HKU\S-1-5-21-1060284298-823518204-725345543-1003\Software\Microsoft\Windows\ShellNoRoam\MUICache
01:45:46 <OliverK> have you read the field guide?
01:46:22 <vf2nsr> Sort of been reading the launcher manual and installer manual more guess I need to do more reading thanks
01:46:27 <OliverK> yeah
01:46:39 <vf2nsr> k tyvm off to read more
01:46:41 <OliverK> its sort of a shameless plug for somethign i wrote
01:46:56 <vf2nsr> np plug away I read and reread
01:47:00 <OliverK> i need to update it (I think) but anyway, that will give you the basics
01:47:04 <OliverK> :)
01:47:09 <OliverK> is a sticky :D :D
01:47:12 *** vf2nsr has quit (Quit: ChatZilla 0.9.86 [Firefox 3.6.2/20100316074819])
01:53:45 *** Res2216firestar (Sam@wikipedia/Res2216firestar) has joined #portableapps
02:02:31 *** OliverK is now known as OliverK|Away
02:33:04 *** dbdii407 has quit (Ping timeout: 240 seconds)
03:01:41 *** Bjorn_H (~BjornH@81-235-164-62-no21.tbcn.telia.com) has joined #portableapps
03:01:41 *** BjornH has quit (Read error: Connection reset by peer)
03:02:32 *** excid3|asus (~Chris_Oli@adsl-99-73-193-246.dsl.covlil.sbcglobal.net) has joined #portableapps
03:19:03 *** dbdii407 (~dbdii407@unaffiliated/dbdii407) has joined #portableapps
03:26:26 *** JohnTHaller1 (~JohnTHall@cpe-67-247-35-38.nyc.res.rr.com) has joined #portableapps
03:26:41 *** JohnTHaller has quit (Disconnected by services)
03:26:45 *** JohnTHaller1 is now known as JohnTHaller
03:28:45 *** SrgSiler|AFK is now known as SrgSiler|Sleep
03:39:22 *** excid3|asus has quit (Read error: Connection reset by peer)
03:40:54 *** Res2216firestar has quit (Quit: Leaving)
03:42:15 *** excid3|asus (~Chris_Oli@adsl-99-73-193-246.dsl.covlil.sbcglobal.net) has joined #portableapps
03:42:25 <OliverK|Away> night all
03:42:31 *** OliverK|Away has quit (Quit: so long and thanks for all the fish)
03:43:45 *** Horusofoz|Colleg has quit (Quit: Page closed)
03:59:45 *** Horusofoz (~db5ac73d@gateway/web/freenode/x-mbanmzgccvxjpqzj) has joined #portableapps
04:00:33 *** vf2nsr (~chatzilla@cpe-76-179-15-53.maine.res.rr.com) has joined #portableapps
04:01:32 <Horusofoz> Does anyone know of a good IRC/IM plugin for firefox that replicates Pidgin's functionality? I briefly tried Yoono but seemed like overkill for my needs. Any altertnatives?
04:01:53 <JohnTHaller> Don't bother. Stick with a real IM client like Pidgin
04:03:18 <Horusofoz> I have found that Pidgin can be blocked from different locations I access the net whereas Firefox is able to get through. So I am hoping to be able to access my IM's through FFP.
04:03:34 <JohnTHaller> It's protocol, not application.
04:03:56 <JohnTHaller> You can configure Pidgin to use port 80 for some IM protocols.
04:04:15 <JohnTHaller> Or you can use one of the services that requires you to hand over your IM passwords and then acts as an in-between for you.
04:09:45 <Horusofoz> I guess I need to keep trying to work out the SSH tunneling method for using IM's behind firewalls.
04:15:52 <Horusofoz> Can anyone recommend a free ssh service?
04:22:05 <Horusofoz> ciao
04:22:08 *** Horusofoz has quit (Quit: Page closed)
04:26:22 *** JohnTHaller has parted #portableapps (None)
04:30:53 *** Bloodsong (~Nimbus@bas13-toronto12-1167982884.dsl.bell.ca) has joined #portableapps
04:32:30 *** Scriptdaemon (~KennyW@cpe-76-83-207-236.dc.rr.com) has joined #portableapps
04:34:20 *** ChrisMorgan (~ChrisMorg@unaffiliated/chrismorgan) has joined #portableapps
04:34:22 <GizmoBot> ChrisMorgan is a PortableApps.com developer and moderator and works on the PortableApps.com Launcher (please test it!)
04:35:55 <Scriptdaemon> G'day ChrisMorgan.
04:36:10 <ChrisMorgan> Hey Scriptdaemon
04:36:43 <vf2nsr> ChrisMorgan, Sorry if I have been a hassle lately, I promise to behave and not be a PITA OliverK gave me so GOOD reading to do :)
04:38:42 <ChrisMorgan> Have you worked out what to do?
04:40:05 <vf2nsr> Still working on some reg issue san how to deal with them but he got me a lot further on my understanding what I am doing....I think
04:40:31 <vf2nsr> As for the Java think I rethought it and have a decent workable program listed in development area
04:40:32 <ChrisMorgan> I presume you've got [Activate]:Registry=true?
04:40:41 <vf2nsr> yes
04:40:55 <vf2nsr> was not inputting reg keys correctly it seems
04:41:15 <ChrisMorgan> In what way incorrectly?
04:41:58 <vf2nsr> mistyping perhaps, I checking it all now
04:41:58 <vf2nsr> lol
04:42:21 <vf2nsr> as for the java thing it actually turned out that I packaged 2 programs to use as the second was most helpful
04:42:45 <vf2nsr> So I am working on my reg stuff now as we speak
04:43:01 <Scriptdaemon> The .bat file that loads Blood Frontier (that came with the program, I didn't write the script) loads the client just fine, but when the launcher tries to run the .bat file, it can't find the client. That would be a result in change of working directory, no?
04:43:40 <Scriptdaemon> could*
04:44:36 <ChrisMorgan> Probably. Avoid running batch files.
04:44:50 <ChrisMorgan> What's the contents of the batch file? Could you pastebin it?
04:45:17 <Scriptdaemon> I was going to remove it and load the client directly, but I was just wondering what would cause the problem I had. And yeah, give me a minute.
04:46:56 <Scriptdaemon> http://scriptdaemon.pastebin.com/QxicL2Zk
04:47:40 <Scriptdaemon> Seems superfluous to begin with.
04:57:34 <ChrisMorgan> That should work, converted to PAL format, as http://scriptdaemon.pastebin.com/VfFWWBdK
04:57:45 *** Gizmokid2005 is now known as Gizmokid2005|AFK
04:57:48 <ChrisMorgan> The environment variables are probably not necessary but they won't harm.
04:59:45 <Scriptdaemon> Yeah, I was thinking something like that. I'll take a look into what -r actually does.
05:02:25 <ChrisMorgan> I wouldn't care about what -r does, I'd just care about whether you need the BF_* variables
05:05:01 <Scriptdaemon> Yeah, testing without them now.
05:07:40 <Scriptdaemon> While I'm at it... I should test if it works when I UPX it.
05:11:33 <Scriptdaemon> Hmm. Not working, even with the working directory changed and the env vars.
05:11:42 <Scriptdaemon> I'll need to take a look at that .sh file.
05:11:59 <ChrisMorgan> Whereas if you run the batch file directly it works?
05:12:40 <Scriptdaemon> Yes.
05:13:03 <vf2nsr> Grrr still not working for me back to figuring :)
05:13:45 <Scriptdaemon> With the launcher settings you gave it, it can't find the core textures (which the .sh file is responsible for finding, which is in the same directory as the .bat file).
05:13:47 <Scriptdaemon> me*
05:15:23 <ChrisMorgan> Wait... that WorkingDirectory should be %PAL:AppDir%\BloodFrontier
05:15:33 <Scriptdaemon> K.
05:15:49 <ChrisMorgan> Silly /me forgot that it was an absolute path :-/
05:17:14 <Scriptdaemon> :D
05:18:31 *** Usbtastic has parted #portableapps (None)
05:19:34 <ChrisMorgan> Working?
05:19:39 <ChrisMorgan> [Directory] ;-)
05:20:32 <vf2nsr> I think I need to leave this up to real programmers to do....
05:21:08 <Scriptdaemon> ChrisMorgan, yes, and the env vars don't seem necessary. vf2nsr, don't say that.
05:21:29 <ChrisMorgan> vf2nsr: if you post your code I might be able to help you
05:21:46 <vf2nsr> http://pastebin.com/imfnmBeY that is what I got from reg shot
05:23:22 <vf2nsr> Still trying to work on launcher so no where near even ready
05:24:10 <ChrisMorgan> Registry is clean unless penguin command is using Internet Explorer (I'm presuming you are not it).
05:24:42 <vf2nsr> no it is not
05:25:00 <ChrisMorgan> That RegShot is completely clean. No changes due to Penguin Command other than its installation into C:\Games\penguin-command.
05:25:11 <vf2nsr> program runs fine from the program but whne I try to launch it from PA LAuncher it never runs
05:25:39 <vf2nsr> so all I should set is programexecutable?
05:25:47 <ChrisMorgan> I presume it has some settings?
05:26:08 <Scriptdaemon> Hmm. The settings directory doesn't get saved...
05:26:12 <ChrisMorgan> penguin-command.dat?
05:26:49 <ChrisMorgan> vf2nsr: you'd put it in App\PenguinCommand and then set ProgramExecutable=PenguinCommand\penguin-command.exe
05:26:53 <vf2nsr> let me check
05:27:31 <ChrisMorgan> It is probably program data but could be settings.
05:28:26 <Scriptdaemon> ChrisMorgan, http://scriptdaemon.pastebin.com/WMKZhmdJ anything wrong with that that would cause settings to not be saved?
05:28:27 *** vf2nsr has quit (Read error: Connection reset by peer)
05:28:34 *** vf2nsr (~chatzilla@cpe-76-179-15-53.maine.res.rr.com) has joined #portableapps
05:29:02 <vf2nsr> dat is saved to root directory the program let me try a thing or two
05:29:17 <ChrisMorgan> vf2nsr: is it program data or user data?
05:29:37 <ChrisMorgan> Scriptdaemon: looks OK to me. But is it "My Games" on all operating systems and in all languages?
05:29:46 <vf2nsr> program it is high scores
05:30:17 <Scriptdaemon> That's true. Not sure, however it is on the computer I'm currently testing it with.
05:30:21 <ChrisMorgan> OK, then you'd have a [FilesMove] value settings\penguin-command.dat=%PAL:AppDir%\PenguinCommand
05:30:49 <vf2nsr> ChrisMorgan, ok let me try that
05:31:01 <ChrisMorgan> And then delete penguin-command.dat from App or move it to Data\settings, so that when you package it up it doesn't leave it in App
05:31:59 <vf2nsr> ok let me try it see what I come up as
05:35:01 *** Gringoloco (~Gringoloc@94.157.3.53) has joined #portableapps
05:35:11 <Gringoloco> Good morning...
05:36:57 <Scriptdaemon> Good night for me. :)
05:37:26 <vf2nsr> Only launcher runs program does not execute :(
05:37:30 <Gringoloco> Like you want....Good night !
05:39:04 *** Scriptdaemon has quit (Quit: Politeness, n. The most acceptable hypocrisy.)
05:39:31 <vf2nsr> ChrisMorgan, this is the launcher.ini http://pastebin.com/neM82fy1
05:39:56 <ChrisMorgan> Good afternoon :-)
05:40:07 <vf2nsr> oops forgot to force registry
05:40:13 <ChrisMorgan> Not "value settings\..." but "settings\..."
05:40:16 <ChrisMorgan> Don't
05:40:26 <ChrisMorgan> It doesn't use the registry so don't activate the registry plug-in.
05:41:09 <ChrisMorgan> vf2nsr: it's possible that you need to have [Launch]:WorkingDirectory=%PAL:AppDir%\penguin-command
05:41:46 <ChrisMorgan> What do you people reckon I should do with the old PAL help.html?
05:41:51 <vf2nsr> let me try I appreciate the time you taking I am sure you are real busy
05:41:56 <ChrisMorgan> It's now entirely superseded by the Manual.
05:42:09 <ChrisMorgan> Yeah, I should be working more rapidly on my MTH1030 project. :P
05:43:36 <ChrisMorgan> I found a few bits that had gotten out of date as I went through transferring from help.html to the Manual.
05:43:53 <ChrisMorgan> But I didn't correct them.
05:44:23 <ChrisMorgan> I think I might make it a skeleton page to redirect users to the Manual.
05:44:38 <ChrisMorgan> And if they haven't got it built, to redirect them to it online.
05:45:26 <Gringoloco> So 'ForEachINIPair2' is out ! I'm curriouse if it's any faster ! But probably it will !
05:45:53 <ChrisMorgan> I think it should be slightly faster. More to the point though it's more accurate.
05:46:43 <Gringoloco> Done some testing yesterday, there should be no problem to increase the buffer size to any thing you need !
05:47:21 <Gringoloco> make a new define like, '!define BUFFER_SIZE 20000'
05:47:24 <ChrisMorgan> So it doesn't need to be limited by NSIS_MAX_STRLEN?
05:47:31 <Gringoloco> instead of NSIS_MAX_STRLEN
05:48:23 <Gringoloco> no why, it's just a buffer, the MAX_STRLEN is for NSIS's variables !
05:48:50 <ChrisMorgan> That occurred to me but I didn't pursue it.
05:49:05 <ChrisMorgan> I'd do the syntax like this: ${CreateBuffer} $_FEIP_Buffer 32767
05:49:19 <ChrisMorgan> Not sure why you use CreateHandle anyway. Is buffer not more accurate?
05:50:53 <vf2nsr> ChrisMorgan, you almost got it :) :) :) it runs then drops to taskbar????
05:51:02 <Gringoloco> Like you want, don't want to much time in finding good name !
05:51:20 <ChrisMorgan> So it's essentially just `System::Call /NOUNLOAD "*(&t${LENGTH}) i.s"`
05:51:28 <ChrisMorgan> Where ${LENGTH} is arbitrary length.
05:51:56 <Gringoloco> Lenght = StrLen * TCHAR
05:52:02 <vf2nsr> ChrisMorgan, anyway I can get it to open max?
05:52:44 <ChrisMorgan> vf2nsr: why would it go to the taskbar? There must be some reason why.
05:52:47 <Gringoloco> THere is 'system::stralloc', by JimPark but just seems to crash on my !
05:53:18 *** Chazz (~dabomb69@unaffiliated/dabomb69) has joined #portableapps
05:53:18 <GizmoBot> Chazz is the guy who failed at developing stuff. :D
05:53:41 *** Zarggg_ has quit (Quit: Zarggg_)
05:54:01 <vf2nsr> ChrisMorgan, Unless it is because I have other stuff running? It is odd because as I said if I run it from the actual exe file it runs ok
05:54:06 <Gringoloco> Especially the systemplug-in just crashes for stupid reasons !!!
05:54:29 <vf2nsr> ChrisMorgan, let me try clsoing some stuff?
05:54:46 <ChrisMorgan> So to get a 32767-char buffer would I need to *(&t65534)? That seems strange, it's using &t, not &m
05:55:24 <vf2nsr> ChrisMorgan, or should I do a regshot when it minimizes?
05:55:27 <Gringoloco> yes, &t
05:55:40 <ChrisMorgan> But 655334 rather than 32767 for unicode?
05:56:44 <ChrisMorgan> One thing I'd like to ask if you know, when you have a multi-byte string, null-termination is multi-byte, not single, isn't it?
05:56:46 <Gringoloco> Remember it's just per section
05:56:57 <ChrisMorgan> I know
05:57:04 <ChrisMorgan> But the buffer should be able to cope with it.
05:58:04 <Gringoloco> null termination is multibyte, actually I think they call it a WideChar
05:58:34 <Gringoloco> multibyte is used for utf-8, but again what's in the name !
05:59:03 <Gringoloco> What about making a buffer according the ini's file size, to be save
05:59:08 <ChrisMorgan> I just wanted to make sure of that with the null termination.
05:59:52 <Gringoloco> Nullt termination for utf-16= 00 00 00 00 , if that makes sence !
06:00:33 <vf2nsr> ChrisMorgan, BBL after I do some more testing thanks for your help thus far
06:01:00 <ChrisMorgan> Wouldn't that be 00 00 in hex? Or 0000 0000 0000 0000 in binary?
06:01:44 <Gringoloco> read in bytes , 00 00 00 00
06:01:56 *** vf2nsr has quit (Quit: ChatZilla 0.9.86 [Firefox 3.6.2/20100316074819])
06:01:59 <ChrisMorgan> How many bytes are you saying?
06:02:10 <Gringoloco> 4
06:02:24 <ChrisMorgan> ... UTF-16LE is two-bytes per character, isn't it!?
06:02:46 <Gringoloco> so the lenght of 2 characters !
06:03:02 <ChrisMorgan> Oh, you're talking about the /double/ null-termination.
06:03:20 <ChrisMorgan> Not the single-null termination between strings.
06:03:39 <ChrisMorgan> As for the buffer length, 32767 is the largest a section can be. I don't think it'd be efficient to check the file size to see if you can make it a smaller buffer, it's simpler and faster to just use 32768 straight off.
06:03:42 <Gringoloco> double, I was talking
06:04:13 <ChrisMorgan> But what doesn't seem right is that you'd use &t65536 in Unicode rather than &t32768.
06:04:22 <Gringoloco> Ok, but what about locating the buffer only once, and reuse it every time
06:04:29 <Gringoloco> re-use
06:05:21 <ChrisMorgan> No point. Allocating a 32KB buffer is trivial.
06:05:37 <Gringoloco> Depends what windows (msdn) tells you, is the max 32767 chars / bytes
06:05:42 <ChrisMorgan> chars
06:05:44 <Gringoloco> ???
06:05:53 <ChrisMorgan> 32K buffer then :P
06:06:20 <Gringoloco> each char takes 2 bytes, so 64K
06:06:30 <ChrisMorgan> But it's &t so with Unicode NSIS that'd be N WCHARs rather than N bytes, wouldn't it?
06:07:28 <Gringoloco> Ahh, probably your right, got to test that though !
06:08:51 <Gringoloco> But something to improve speed, just create handle once, re-use it over and over again, maybe close it be fore execwait.
06:09:23 <Gringoloco> There is no need to re-create it for every ini section !
06:10:38 *** Zarggg (~zarggg@2001:0:4137:9e74:0:fbf2:beb1:ba3d) has joined #portableapps
06:13:29 *** excid3|asus has quit (Ping timeout: 248 seconds)
06:19:49 <Gringoloco> Just like you didn't re-open the the ini file in the last ForEachINIPair routine, for every section to read !
06:23:13 <ChrisMorgan> And then again, there's no real need to close the buffer at all. It's used till practically the end.
06:24:29 <Gringoloco> sure, just I wasn't sure about 'ExecWait' . Have to see how it deals with 'EmptyWorkingSet'.
06:24:37 <Gringoloco> Anyway it's just 32K
06:25:47 <ChrisMorgan> That's what I reckoned.
06:25:54 <ChrisMorgan> Not worth closing and re-opening after.
06:26:06 <ChrisMorgan> EmptyWorkingSet is a safe function.
06:26:37 <Gringoloco> This is what I liked about 'ForEachINIPair', it just needs to load the file once. And that's why I'd like to time the routines, to see the difference !
06:27:27 <Gringoloco> The latest routine has to reload the file for every ini section! I suppose ?
06:29:31 <ChrisMorgan> To a certain degree that will be true.
06:29:50 <ChrisMorgan> I would expect it to be faster though because it's a highly-optimised shell function rather than a sloppy NSIS mess.
06:30:02 <ChrisMorgan> NSIS code is *always* slower than the equivalent code in C would be.
06:30:17 <Gringoloco> I let you know, about the speed !
06:30:25 <Gringoloco> Have to go now.... buy
06:30:35 <Gringoloco> bey
06:30:36 *** Gringoloco has quit (Quit: Leaving.)
06:43:17 *** vf2nsr (~chatzilla@cpe-76-179-15-53.maine.res.rr.com) has joined #portableapps
06:46:16 <vf2nsr> Chris in the launcher should the program executable come before or after the working directory or does it matter?
06:46:32 <ChrisMorgan> Doesn't matter
06:46:44 <ChrisMorgan> I put ProgramExecutable first though.
06:47:10 <vf2nsr> Dang I knew you would say that I just grasping straws to figure out why it bumps to taskbar
06:47:32 <vf2nsr> let me try it in first place then
06:47:43 <vf2nsr> before or after dommandlineargument?
06:48:38 <vf2nsr> skip that last ? was stupid thinking I dont have that lol
06:48:58 <ChrisMorgan> The order of INI values in named sections has no effect.
06:49:10 <ChrisMorgan> Only in numbered or arbitrary sections.
06:50:23 <vf2nsr> ok that didn't change nothing guess back to the manual got to be something I missing :)
06:51:32 <vf2nsr> maybe I should change the working directory to a commandline argument to set the path?
06:53:47 <ChrisMorgan> WorkingDirectory is a path, CommandLineArguments is what gets passed to the program.
06:54:39 <vf2nsr> just thought maybe I need to tell the program where it is ?? grasping at straws here
06:56:39 <vf2nsr> I GOT IT
06:57:30 <vf2nsr> I forgot a stupid \ at the end of WorkingDirectory=%PAL:AppDir%\penguin-command
06:57:54 <vf2nsr> Chris you are a genius Thanks ever so much for all your help!!!!!!!!!!!!!!!!!!!
06:59:14 <vf2nsr> ChrisMorgan, of course by the time I figure this all out you will be changing it all on me
06:59:41 <ChrisMorgan> WorkingDirectory shouldn't have a trailing slash. If an application is requiring it there's something /really/ weird about it.
06:59:55 <ChrisMorgan> The launcher config format is pretty much stable now.
07:00:21 <vf2nsr> well I don't know but I put the trailing slash and it works???
07:02:36 <vf2nsr> ChrisMorgan, this is what I have for the launcher and it is working correctly? http://pastebin.com/nrEMQMXu
07:04:32 <ChrisMorgan> A note on empty lines, the general practice is to only put a blank line between INI sections, nowhere else.
07:04:49 <ChrisMorgan> Seems fine except for that trailing slash... but if it works... shrug.
07:05:07 <vf2nsr> Dang it did once now it doesn't :(
07:05:16 <vf2nsr> this is odd
07:05:22 <ChrisMorgan> Good. It shouldn't.
07:05:34 <ChrisMorgan> But it's just the going to the tray, isn't it?
07:05:39 <ChrisMorgan> Is it a full-screen game?
07:05:52 <vf2nsr> yes it it is full screen
07:06:06 <ChrisMorgan> Ah. Easy, then. [Launch]:LaunchAfterSplashScreen=true
07:06:08 <ChrisMorgan> That'll fix it.
07:06:40 <vf2nsr> oh ok let me try brb
07:10:49 <vf2nsr> nope no difference could it be the - in the name and directory?
07:11:17 <ChrisMorgan> Try renaming splash.jpg to something else so that the splash screen doesn't show.
07:12:40 <ChrisMorgan> The issue will be to do with the game losing focus due to window activity. If that's it LaunchAfterSplashScreen should have fixed it, but I'll get you to try disabling the splash screen completely.
07:12:44 <vf2nsr> ok will try
07:14:54 <vf2nsr> that did it! 5/5 correct loads
07:15:06 <ChrisMorgan> Hmm. That's not good.
07:15:10 <vf2nsr> but without a splash I can't put it into development can I?
07:15:39 <ChrisMorgan> Oh dear, that should be LaunchAfterSplash.
07:16:04 <ChrisMorgan> Should I change the code to LaunchAfterSplashScreen or the documentation to LaunchAfterSplash?
07:16:21 <ChrisMorgan> vf2nsr: so put in the splash and set [Launch]:LaunchAfterSplash=true
07:16:27 <ChrisMorgan> That should fix it.
07:16:33 <vf2nsr> huh? what I miss?
07:16:57 <ChrisMorgan> I said LaunchAfterSplash*Screen* before (which is what the manual says) but in the code it's LaunchAfterSplash.
07:17:06 <vf2nsr> lauchaftersplashscreen should be launchaftersplash?
07:17:20 <vf2nsr> ok let me test that out
07:17:43 <ChrisMorgan> Tea time
07:19:57 <vf2nsr> only works when I change splash.jpg name
07:21:12 <vf2nsr> splash should be in appinfo not app correct?
07:28:19 <vf2nsr> I think it has something to do with the way it temporarily changes the screen resoultion?
07:52:07 <ChrisMorgan> Argh... should have been LaunchAppAfterSplash
07:52:14 <ChrisMorgan> :-/
07:52:21 <ChrisMorgan> Me and my not-reading-fully
07:52:48 <vf2nsr> ChrisMorgan, guess I will give it up almost 4 am here thanks for all your help at least you got it figured out to work, just don't know why it won't work with the splash ow well maybe I plug at it later?
07:53:11 <ChrisMorgan> [Launch]:LaunchAppAfterSplash=true will work.
07:53:28 <ChrisMorgan> Now go to sleep. :-)
07:53:51 <vf2nsr> let me try before I go?
07:54:59 <vf2nsr> YOU DID IT Now I best write this down...LOL
07:55:09 <vf2nsr> THANKS :) :) ;)
07:56:58 <vf2nsr> I better update hte print out of hte mannual......when I get it packaged I will give you some credit in the Help Dept...lol nighters
07:57:05 *** vf2nsr has quit (Quit: ChatZilla 0.9.86 [Firefox 3.6.2/20100316074819])
08:16:51 *** ChrisMorgan has quit (Ping timeout: 276 seconds)
08:48:01 *** dbdii407 has quit (Ping timeout: 264 seconds)
09:40:07 *** Twinkletoes|W (~chatzilla@dze3bf81.brookes.ac.uk) has joined #portableapps
09:45:43 *** Spaceghost (~pablo@r190-0-130-119.dialup.adsl.anteldata.net.uy) has joined #portableapps
09:45:44 <Spaceghost> hi
09:46:06 <Spaceghost> why not a tucan as portableapp?
09:46:18 <Spaceghost> someone thought in this before?
09:46:48 *** Twinkletoes|W has quit (Read error: Connection reset by peer)
09:47:25 *** Twinkletoes|W (~chatzilla@dze3bf81.brookes.ac.uk) has joined #portableapps
10:01:44 <Spaceghost> or pyload
10:05:24 *** dbdii407 (~dbdii407@unaffiliated/dbdii407) has joined #portableapps
12:18:38 *** MaienM|Sleep is now known as MaienM
12:40:45 *** Rapscallion (~Rapscalli@www.locsoftware.com) has joined #portableapps
12:40:53 <Rapscallion> Hello
12:47:36 <Bloodsong> g'morning
12:56:38 *** Bloodsong has quit (Quit: Leaving)
13:11:58 *** Spaceghost has quit (Read error: Connection reset by peer)
13:13:20 *** Bjorn_H has quit (Read error: Connection reset by peer)
13:16:52 *** SteveLamerton (~kvirc@91.125.253.22) has joined #portableapps
13:18:13 *** vf2nsr (~chatzilla@cpe-76-179-15-53.maine.res.rr.com) has joined #portableapps
13:20:31 <SteveLamerton> Hello MaienM, ZachThibeau, all
13:20:39 *** BjornH (~BjornH@81-235-164-62-no21.tbcn.telia.com) has joined #portableapps
13:24:15 <MaienM> hello SteveLamerton
13:44:15 *** rouilj has quit (Quit: Leaving.)
13:46:43 *** dragonmage (~474b508d@gateway/web/freenode/x-uszfviivawnmehvv) has joined #portableapps
13:51:49 *** vf2nsr_ (~chatzilla@cpe-76-179-15-53.maine.res.rr.com) has joined #portableapps
13:51:50 *** vf2nsr has quit (Read error: Connection reset by peer)
13:51:51 *** vf2nsr_ is now known as vf2nsr
14:27:37 *** vf2nsr has quit (Quit: ChatZilla 0.9.86 [Firefox 3.6.2/20100316074819])
14:35:07 *** |SteveLamerton| (~kvirc@137.214.125.91.gr7.adsl.brightview.com) has joined #portableapps
14:38:10 *** SteveLamerton has quit (Ping timeout: 264 seconds)
14:39:54 *** |SteveLamerton| has quit (Client Quit)
15:04:42 *** Bloodsong (~Nimbus@bas2-barrie18-1177727195.dsl.bell.ca) has joined #portableapps
15:52:17 *** vf2nsr (~chatzilla@cpe-76-179-15-53.maine.res.rr.com) has joined #portableapps
15:58:39 *** vf2nsr has quit (Quit: ChatZilla 0.9.86 [Firefox 3.6.2/20100316074819])
16:20:40 *** marlop|away is now known as marlop
16:22:55 *** ZachThibeau has quit (Quit: ZNC - http://znc.sourceforge.net)
16:24:11 *** ZachThibeau (~ZachThibe@unaffiliated/zachthibeau) has joined #portableapps
16:24:12 <GizmoBot> ZachThibeau is the main developer of PChat and is a developer with PortableApps.com
16:29:05 *** rouilj (~rouilj@pool-74-104-157-242.bstnma.fios.verizon.net) has joined #portableapps
16:44:11 *** ptmb (~PTMblogge@a83-132-129-116.cpe.netcabo.pt) has joined #portableapps
17:29:20 *** Res2216firestar (Sam@wikipedia/Res2216firestar) has joined #portableapps
17:30:23 * Bloodsong just installed launcher 1.6 a week ago, only to find out there's a 2.0 in beta...
17:46:40 *** marlop is now known as marlop|away
18:07:24 <Bloodsong> Hey, anyone been using the Toucan 3.0 Beta releases?
18:33:41 *** Res2216firestar has quit (Quit: Leaving)
19:46:33 *** Twinkletoes|W has quit (Read error: Connection reset by peer)
19:47:59 *** Twinkletoes|W (~chatzilla@dze3bf81.brookes.ac.uk) has joined #portableapps
20:18:17 *** vf2nsr (~chatzilla@cpe-76-179-15-53.maine.res.rr.com) has joined #portableapps
20:19:39 *** vf2nsr has quit (Client Quit)
20:20:41 *** vf2nsr (~chatzilla@cpe-76-179-15-53.maine.res.rr.com) has joined #portableapps
20:22:31 *** AppGuy (~AppGuy@unaffiliated/appguy) has joined #portableapps
20:33:50 *** kai_62656 (~A@unaffiliated/kai-62656/x-7765177) has joined #portableapps
20:36:50 *** pa_8197 (~b242323a@gateway/web/freenode/x-kpvotmmotebuenol) has joined #portableapps
20:37:03 <pa_8197> Hello
20:37:24 <pa_8197> I need support
20:38:22 <pa_8197> I just downloaded Thunderbird and trying to import from Outlook all mail and forders
20:38:34 <pa_8197> The program is freezing on me
20:39:34 <pa_8197> ???
20:39:50 *** pa_8197 has parted #portableapps (None)
20:58:39 *** vf2nsr has quit (Quit: ChatZilla 0.9.86 [Firefox 3.6.2/20100316074819])
21:01:38 <Bloodsong> Why do IRC help seekers always expect a 3 second reply?
21:03:33 <Rapscallion> Because we live in a "Microwave" society. Everything must be instant... :-|
21:05:18 <Rapscallion> HEY!!! where is everyone.. ;-)
21:07:00 <Bloodsong> hehe
21:07:09 * Bloodsong is a fan of the slow food movement
21:07:41 *** Twinkletoes|W has quit (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.1.4/20091028075816])
21:09:14 *** AppGuy has quit (Quit: Goodbye, My Friends!)
21:15:09 * Rapscallion wants to join Bloodsong's movement too
21:17:28 * ZachThibeau believes in the sleep movement
21:17:33 <Bloodsong> Look it up on Google, it had a lot of press a while back.
21:17:48 <Bloodsong> (several years = while)
21:19:41 *** MaienM is now known as MaienM|Sleep
21:22:50 *** ChrisMorgan (~ChrisMorg@unaffiliated/chrismorgan) has joined #portableapps
21:22:52 <GizmoBot> ChrisMorgan is a PortableApps.com developer and moderator and works on the PortableApps.com Launcher (please test it!)
21:23:08 *** kai_62656_ (~A@68-118-66-141.dhcp.crsn.ca.charter.com) has joined #portableapps
21:27:17 *** Bloodsong has quit (Quit: Leaving)
21:28:43 *** SrgSiler|Sleep is now known as SergentSiler
21:53:31 *** gluxon (~gluxon@c-71-234-105-104.hsd1.ct.comcast.net) has joined #portableapps
21:53:47 *** kai_62656 has quit (Read error: Connection reset by peer)
21:53:48 *** kai_62656_ has quit (Read error: Connection reset by peer)
22:09:12 *** kai_62656 (~A@unaffiliated/kai-62656/x-7765177) has joined #portableapps
22:09:46 *** Res2216firestar (Sam@wikipedia/Res2216firestar) has joined #portableapps
22:24:45 *** Bloodsong (~Nimbus@bas13-toronto12-1167982884.dsl.bell.ca) has joined #portableapps
22:29:55 *** Scriptdaemon (~KennyW@cpe-76-83-207-236.dc.rr.com) has joined #portableapps
22:36:21 *** Res2216firestar has quit (Quit: Leaving)
22:41:22 *** excid3|asus (~Chris_Oli@adsl-99-152-32-126.dsl.covlil.sbcglobal.net) has joined #portableapps
22:49:04 *** marlop|away is now known as marlop
22:50:16 *** marlop is now known as marlop|away
22:59:19 *** marlop|away is now known as marlop
23:03:51 *** marlop is now known as marlop|away
23:11:43 <Scriptdaemon> Hmm. I've no idea why the settings for Blood Frontier aren't saving.
23:12:21 <Scriptdaemon> They're being deleted from the My Games folder, but not being moved to the Data/settings folder.
23:22:05 <ChrisMorgan> Scriptdaemon: try a different name instead of "settings"?
23:22:20 <ChrisMorgan> And also try turning debug on and see what it says about it
23:35:23 *** Pyromaniac (~968730ef@gateway/web/freenode/x-mzjommuiupmmeckx) has joined #portableapps
23:35:27 <Pyromaniac> hello
23:35:36 <Pyromaniac> I need to know smething
23:35:55 <Pyromaniac> what is the equivilant of %APPDATA% in NSIS?
23:36:16 *** ptmb has quit (Quit: Leaving)
23:36:53 <Scriptdaemon> ChrisMorgan, nothing unusual shows in debug mode.
23:37:10 <Pyromaniac> what?
23:37:13 <ChrisMorgan> Pyromaniac: $APPDATA
23:37:18 <Pyromaniac> Ah..
23:37:19 <Pyromaniac> thanks
23:37:26 <ChrisMorgan> Pyromaniac: or with the PortableApps.com Launcher, %APPDATA% :D
23:37:27 <Pyromaniac> is that the same for temp?
23:37:32 <Pyromaniac> $temp
23:37:35 <ChrisMorgan> Yes
23:37:44 <Pyromaniac> thanks
23:37:44 <ChrisMorgan> Read the manual, section "Variables"
23:37:48 <Pyromaniac> ok
23:37:51 <ChrisMorgan> It covers all the ones there.
23:37:54 <Pyromaniac> bye!
23:38:02 *** Pyromaniac has quit (Client Quit)
23:38:34 <ChrisMorgan> Scriptdaemon: so it says "Moving directory C:\Documents and Settings\Scriptdaemon\My Documents\My Games\Blood Frontier to P:\PortableApps\BloodFrontierPortable\Data\settings"?
23:39:34 <Scriptdaemon> Well, it says renaming. That not correct? (Also, the portable app was installed to the desktop, not my flash drive).
23:40:11 <ChrisMorgan> When it's on the same drive it renames.
23:40:21 <ChrisMorgan> If you put it on a different drive you may well find it works...
23:40:57 <Scriptdaemon> But it's still not desirable. What if someone uses PA on their main drive?
23:41:03 <ChrisMorgan> Yeah, I'll get to that.
23:41:09 <ChrisMorgan> It may be a bug in the Rename command.
23:41:17 <ChrisMorgan> The important thing is to work out whether it /is/
23:41:23 <ChrisMorgan> Then I'll fix it.
23:41:30 <Scriptdaemon> Alright. Moving to F: ...
23:43:56 *** Oni-Neoxes (~Oni-Neoxe@unaffiliated/oni-neoxes) has joined #portableapps
23:44:39 <ChrisMorgan> Also try waiting when it's at the "Renaming directory $1 to $0", and take a look to see if Data\settings exists already.
23:45:13 <ChrisMorgan> I've got a vague suspicion that the directory may have been created again in another segment. Also try using a different directory name e.g. Games so that it becomes Data\Games being moved.
23:45:22 <ChrisMorgan> I don't think you tried that.
23:46:10 <Scriptdaemon> I'll do that. Waiting for it to finish moving.
23:49:21 <ChrisMorgan> How big are they?
23:50:29 <Scriptdaemon> 425 MB.
23:50:35 <Scriptdaemon> After compression.
23:50:51 <ChrisMorgan> EEK!
23:51:03 <ChrisMorgan> So it's moving half a gigabyte from Data to My Games?
23:51:15 <Scriptdaemon> Oh, the settings? No, lol.
23:51:44 <Scriptdaemon> The regshot I captured only had two .cfg files.
23:51:45 <ChrisMorgan> Good!
23:51:55 <ChrisMorgan> So it's moving two .cfg files to My Games?
23:52:32 <Scriptdaemon> I should be moving from My Games to settings (haven't tested with another name yet).
23:52:44 <Scriptdaemon> Or do you mean the base app itself?
23:52:54 <ChrisMorgan> I mean that it's using them.
23:53:13 <ChrisMorgan> Do try a different name. I think it'll fix it.
23:53:22 <Scriptdaemon> Why would that be the problem?
23:54:07 <ChrisMorgan> I think settings may be being recreated after that and so it couldn't Rename back.
23:58:16 <Scriptdaemon> It works on a different drive even with the folder as "settings."
23:58:49 <Scriptdaemon> So there's a bug it seems if it's on the same drive.
23:59:45 <Scriptdaemon> I'm probably going to rename the directory anyway though because before the app loads it copies over BloodFrontierPortableSettings.ini to My Games as well.