←  AutoPatcher Feature Requests

AutoPatcher Forum

»

ViroMan's Beta Application

ViroMan's Photo 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.
Quote

_def_x_'s Photo _def_x_ 13 Jun 2011

ViroMan said:

I just wanted to get a feel for what others wanted/expected.
Sure! It's going to take more than 2 of us monkeys to skin this banana.

ViroMan said:

I have committed myself to at minimum completing a conversion of this code to c++ oop and making it better.
Actually I really like this idea. Rather than get too far ahead of ourselves maybe fixing the tools we have now, and adding a few new features. Better Windows 7 SP1 and .NET 4 detection, autopatcher.log file in \apup folder, running from network, there's more.

+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.
Quote

ViroMan's Photo 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 onetwo. The other one I was gana post is still a work in progress that I could sell for cash.(its a binary patching program)

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.
Quote

ViroMan's Photo 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:
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.
Quote

_def_x_'s Photo _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' :)
Quote

ViroMan's Photo 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.
Quote

_def_x_'s Photo _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.
Definitely. We will keep the list clear and understandable. I need to figure out the best place for a Feature/Fix List. I want to keep the comments/requests to a simple title Network Support: and as few sentences (2 or 3 max) that best explain the feature if it isn't understood in the title.

Anyway, when we get there, when you finish what you're doing now. I don't want you to feel pressured :)
Quote

ViroMan's Photo 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.
Quote

click-click's Photo 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
Quote

ViroMan's Photo 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.

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.
Quote

Cristiano's Photo 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
Quote

ViroMan's Photo ViroMan 16 Jun 2011

Quote

both are english inside
You mean if you had Italian as your language for example, it would still detect english? well if thats true, I have already converted the code that detects these things so I know how its working. It basically asks windows itself through the API what it thinks it is. Instead of checking language through that I could find the registry key associated with language and use that.
Edited by ViroMan, 16 June 2011 - 02:32 PM.
Quote

Cristiano's Photo 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.
Quote

ViroMan's Photo 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.
Quote

Cristiano's Photo Cristiano 16 Jun 2011

done:
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
Quote

ViroMan's Photo 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.

Quote

also, isn't uncommon find someone running an localized OS and an enu office. but an "hid this" option could work
Ok another option to add to the options menu.
Quote

ViroMan's Photo 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.
Quote

Cristiano's Photo Cristiano 18 Jun 2011

:)

[]s
Quote

ViroMan's Photo 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.
Quote

Coastie's Photo 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.
Quote