ViroMan's Beta Application
ViroMan
13 Jun 2011
No, I shall not be leaving anytime soon. I have committed myself to at minimum completing a conversion of this code to c++ oop and making it better. We shall see if I burn out like a supernova or I keep going.
I am glad to hear there are more people. then just us 3. Altho I have yet to hear them.
and no your absence will not hinder my work. I just wanted to get a feel for what others wanted/expected.
I am glad to hear there are more people. then just us 3. Altho I have yet to hear them.
and no your absence will not hinder my work. I just wanted to get a feel for what others wanted/expected.
_def_x_
13 Jun 2011
ViroMan said:
I just wanted to get a feel for what others wanted/expected.
ViroMan said:
I have committed myself to at minimum completing a conversion of this code to c++ oop and making it better.
+1 for this idea.
Cristiano, excalibur, Domenico, DesertJerry, click-click...?
Also, I forgot to ask, do you have any applications you coded so we can at least see what your work looks like, how it functions?
Edited by gUiTaR_mIkE, 13 June 2011 - 06:20 AM.
ViroMan
14 Jun 2011
Quote
Also, I forgot to ask, do you have any applications you coded so we can at least see what your work looks like, how it functions?
mostly I have tools that I have codded for myself so they look like ###### cuz I didn't care as long as they work but, I do have a some things I coded for others... ill put them in dropbox and post the links.
Actualy im only gana post
http://dl.dropbox.co...agerSetup27.exe
This one is a mod manager for empires. A game mod for HL2. This program managed all the mods and allowed you to to also create scripts for placing mods. It used ntfs hardlinks to mimic being there instead of copying the files. As you can see it wants to "install" to your computer. Thats because it actualy contains 3(I think)mods as well as the program. Anyways it won't work for empires anymore since they went to steam version of empires. I plan to make it work for the steam version whenever they get cusom content working for it again.
ps I never did get all the bugs worked out, horrible testers give bad responses. "it not working. I give up".
http://dl.dropbox.co...84/COPYMAIN.exe
ohh I forgot this one... I made this LONG time ago in programming class. ha. It basically copies over all the files you need in your c++ project and deletes the temp crap(right click around there are different menus). Used this to copy my work to my usb stick. Professor actual wanted a copy and gave it to all the other students.
Edited by ViroMan, 14 June 2011 - 05:01 AM.
ViroMan
16 Jun 2011
Progress Report: 60% converted.
Should get easier now. Less massively nested if statements ahead.(had to redo most of the if statements. There was lots of copy pasted code for no reason.) Also in VB code you can use ElseIf but in c++ you must separate them, I also had to add lots of brackets and tabs all over the damn place to make it easier to follow the code.ex:
Im feel there is a tiny mistake somewhere in that sh**fest but, we will find out in the first couple of debug complete runs.
Edited by ViroMan, 16 June 2011 - 04:54 AM.
Should get easier now. Less massively nested if statements ahead.(had to redo most of the if statements. There was lots of copy pasted code for no reason.) Also in VB code you can use ElseIf but in c++ you must separate them, I also had to add lots of brackets and tabs all over the damn place to make it easier to follow the code.ex:
else
{
if()
{
command1();
command2();
}
else
{
if()
command();
}
command();
}
Im feel there is a tiny mistake somewhere in that sh**fest but, we will find out in the first couple of debug complete runs.
Edited by ViroMan, 16 June 2011 - 04:54 AM.
_def_x_
16 Jun 2011
Excellent work! 
Is it possible to have a failing release read 'Unofficial Release' rather than 'Unofficial / Unsupported Release' since we do support Unofficial releases. This applied more to the compiled monthly packages from yester-year.
Also, would it be possible to allow a user to select a different Unofficial color - 'red' is hard coded. The color dialog would be nice. The color appears in 2 places, to the right of the AutoPatcher logo and in Release Info. The Release Info background is white so a dark color is needed here, the logo background is dark, yeesh - just wonderin'
Is it possible to have a failing release read 'Unofficial Release' rather than 'Unofficial / Unsupported Release' since we do support Unofficial releases. This applied more to the compiled monthly packages from yester-year.
Also, would it be possible to allow a user to select a different Unofficial color - 'red' is hard coded. The color dialog would be nice. The color appears in 2 places, to the right of the AutoPatcher logo and in Release Info. The Release Info background is white so a dark color is needed here, the logo background is dark, yeesh - just wonderin'
ViroMan
16 Jun 2011
on both questions the answer is yes. They are both extremely easy to do and only requite 2 minutes at most. Make sure to add it to the list of things wanted. Once I get this done ill look at the list and work on it. If you ordered the list based on priority it would be nice.
_def_x_
16 Jun 2011
ViroMan said:
Make sure to add it to the list of things wanted. Once I get this done ill look at the list and work on it. If you ordered the list based on priority it would be nice.
Anyway, when we get there, when you finish what you're doing now. I don't want you to feel pressured
ViroMan
16 Jun 2011
Ok I just got to the command line code and I was thinking... We don't really need them. They can all be selected via options in the options area. For example if you want logs click logs and select how verbose. What do you think. putting them in isn't detrimental but, since I planned to have the ability to select the same things in the options area it seemed redundant.
click-click
16 Jun 2011
Please fix the autopatcher.log so that the correct information is shown in the log when AP flags
its scan as unofficial. As of now, the log is pretty much useless because it lists all modules in
error when only a single one is unofficial.
Also, is APUP going to be converted?
If so, it would be nice to have a function where the columns are sortable such as Language or Date
its scan as unofficial. As of now, the log is pretty much useless because it lists all modules in
error when only a single one is unofficial.
Also, is APUP going to be converted?
If so, it would be nice to have a function where the columns are sortable such as Language or Date
ViroMan
16 Jun 2011
I have the APUP code and am converting it to c++ to do exactly as it did before. Once its converted I will get to work modifying it(modifying it while converting it can lead to issues). That was the plan however I find myself modifying it already.(horribly inefficient in some places).
Yes, it will eventually be sortable. As for as languages... you shouldn't see any other ones, other then what you need or have selected/detected that is.
Ill look into that later. I will probably change it to only note that the one that is unofficial is just that.
Yes, it will eventually be sortable. As for as languages... you shouldn't see any other ones, other then what you need or have selected/detected that is.
Quote
As of now, the log is pretty much useless because it lists all modules in error when only a single one is unofficial.
Ill look into that later. I will probably change it to only note that the one that is unofficial is just that.
Cristiano
16 Jun 2011
> you shouldn't see any other ones
one problem: seven and vista. both are english inside, with an interface in several languages. at home, mine detects as 1033. at my job, i'm running an DELL computer as it arrived from DELL (including office 2k7 pro) and a few updates that i've deployed. this is the log that autopatcher generates:
Detected
English (1033) Windows 7 Professional 32-bit
System Components:
Internet Explorer: 8.0.7600.16671
Windows Media Player: 12.0.7600.16667
.NET Framework: 2.0.50727.4927|2.0SP2|3.0.30729.4926.4926|3.0SP2|3.5|3.5SP1
Windows Installer: 5.0.7600.16385
DirectX: 4.09.00.0904
now, it's running IE 9, but that log is old...
[]s
one problem: seven and vista. both are english inside, with an interface in several languages. at home, mine detects as 1033. at my job, i'm running an DELL computer as it arrived from DELL (including office 2k7 pro) and a few updates that i've deployed. this is the log that autopatcher generates:
Detected
English (1033) Windows 7 Professional 32-bit
System Components:
Internet Explorer: 8.0.7600.16671
Windows Media Player: 12.0.7600.16667
.NET Framework: 2.0.50727.4927|2.0SP2|3.0.30729.4926.4926|3.0SP2|3.5|3.5SP1
Windows Installer: 5.0.7600.16385
DirectX: 4.09.00.0904
now, it's running IE 9, but that log is old...
[]s
ViroMan
16 Jun 2011
Quote
both are english inside
Edited by ViroMan, 16 June 2011 - 02:32 PM.
Cristiano
16 Jun 2011
> it would still detect english?
yep. my systems are running with brazilian portuguese interface, but they still detect as english, like showed in the log. that is also the reason why the enu updates work for seven and vista, doesn't matter the language. due that, a few components are localized, also IE
[]s
Edited by Cristiano, 16 June 2011 - 02:50 PM.
yep. my systems are running with brazilian portuguese interface, but they still detect as english, like showed in the log. that is also the reason why the enu updates work for seven and vista, doesn't matter the language. due that, a few components are localized, also IE
[]s
Edited by Cristiano, 16 June 2011 - 02:50 PM.
ViroMan
16 Jun 2011
do me a favor... open up your regedit and look in key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IdentityCRL
Tell me what it says for language
also
HKEY_USERS\.DEFAULT\Control Panel\International
Look under sLanguage
if neither of those report your actual language id then I guess I can use GetUserDefaultLangID(); some say it works other say it reports the installed version no the language in use.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IdentityCRL
Tell me what it says for language
also
HKEY_USERS\.DEFAULT\Control Panel\International
Look under sLanguage
if neither of those report your actual language id then I guess I can use GetUserDefaultLangID(); some say it works other say it reports the installed version no the language in use.
Cristiano
16 Jun 2011
done:
crl:
international:
but still, an hidden option shouldn't hid, because you still can run an ptb, ita, etc version under an enu OS. also, isn't uncommon find someone running an localized OS and an enu office. but an "hid this" option could work
[]s
crl:
Spoiler
international:
Spoiler
but still, an hidden option shouldn't hid, because you still can run an ptb, ita, etc version under an enu OS. also, isn't uncommon find someone running an localized OS and an enu office. but an "hid this" option could work
[]s
ViroMan
17 Jun 2011
looks like [HKEY_USERS\.DEFAULT\Control Panel\International] LocaleName and sLanguage are the correct ones to read if I want to read it that way. I did some more research and the function GetUserDefaultLangID() should return the proper users LCID not the default system LCID.
Ok another option to add to the options menu.
Quote
also, isn't uncommon find someone running an localized OS and an enu office. but an "hid this" option could work
ViroMan
18 Jun 2011
Progress Report: 80%ish done.
Now that I have most of the code converted I created the main form(I replicated the main form) and started plugging in all functions. Seems alright so far.(not that i have tested any of the functions but, unit compiles give me no errors.)
Edited by ViroMan, 18 June 2011 - 12:54 PM.
Now that I have most of the code converted I created the main form(I replicated the main form) and started plugging in all functions. Seems alright so far.(not that i have tested any of the functions but, unit compiles give me no errors.)
Edited by ViroMan, 18 June 2011 - 12:54 PM.
ViroMan
20 Jun 2011
Cool Stats Update:
86%ish done with...
11,453 lines of code
5,408,327 lines of compiled code.
expect to loose 2-3k lines of code due to my substitution of my own code to make some things work better(mostly) for APUP. They were made for other things. I need to reduce the extra stuff in them. Namely a directory manager with built in CRC(lol YA crc)/byte/(file date) compares and anything else you might want to do to a directory/file including NTFS hardlinks. I might keep it all in there who knows. It all depends on if we want to use them.
Edited by ViroMan, 20 June 2011 - 09:08 AM.
86%ish done with...
11,453 lines of code
5,408,327 lines of compiled code.
expect to loose 2-3k lines of code due to my substitution of my own code to make some things work better(mostly) for APUP. They were made for other things. I need to reduce the extra stuff in them. Namely a directory manager with built in CRC(lol YA crc)/byte/(file date) compares and anything else you might want to do to a directory/file including NTFS hardlinks. I might keep it all in there who knows. It all depends on if we want to use them.
Edited by ViroMan, 20 June 2011 - 09:08 AM.
Coastie
20 Jun 2011
Glad to see new/revamped work. Looking forward to a working and updated release. Please keep it portable USB stick ready.
I am hoping to see Office 2010 added
Edited by Coastie, 20 June 2011 - 01:40 PM.
I am hoping to see Office 2010 added
Edited by Coastie, 20 June 2011 - 01:40 PM.


