techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > General Software

Reply
 
Thread Tools
Old May 11, 2012, 05:26 PM   #176
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

Large address aware is specific to Windows operating systems and executables. LAA should error if it isn't going to work. Worst case scenario: run LAA again and undo what you did.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to FordGT90Concept For This Useful Post:
Old May 11, 2012, 11:01 PM   #177
jldjs
5 Posts
 
Join Date: May 2012
Location: Pennsylvania
Posts: 9 (0.02/day)
Thanks: 0
Thanked 1 Time in 1 Post

Made a custom exe as defined by wineskin to open the LAA exe since it is not a setup.exe type of install. But this does not work, meaning the LAA doesn't open. Or, perhaps it did error and I don't get an error indication. So, I'll await an answer from Paulthetall, the Wineskin expert and see what he thinks.
I'll post again when I get that answer.
BTW, it does work under Bootcamp. The program runs, presents the screen to select the exe file and then concludes that the exe was successfully changed. Ran the game and all appears good.

Perhaps it is not working under Bootcamp. When I select either the intermediate or advanced mode, select the exe file to make LAA, the LAA column does not change from false to true. However, if use Basic mode, select the exe, select Save, the response says successful. How do I know if the LAA was applied?

Last edited by jldjs; May 14, 2012 at 09:43 PM.
jldjs is offline  
Reply With Quote
Old May 15, 2012, 03:04 PM   #178
jldjs
5 Posts
 
Join Date: May 2012
Location: Pennsylvania
Posts: 9 (0.02/day)
Thanks: 0
Thanked 1 Time in 1 Post

I have three SH4.exe files in separate folders. When I add these three, execute LAA, only one of these exe's shows as having changed (true) when I select it for making it large address aware. I've tried all three modes to no avail. Am I doing something wrong? I run on XP 32-bit and I applied the boot.ini change(/3GB), rebooted then executed LAA.
jldjs is offline  
Reply With Quote
Old May 15, 2012, 03:19 PM   #179
D007
2000 Posts
 
D007's Avatar
 
Join Date: Mar 2007
Location: Pompano beach, Florida
Posts: 2,471 (1.09/day)
Thanks: 458
Thanked 332 Times in 265 Posts
Send a message via MSN to D007

System Specs

Quote:
Originally Posted by jldjs View Post
I have three SH4.exe files in separate folders. When I add these three, execute LAA, only one of these exe's shows as having changed (true) when I select it for making it large address aware. I've tried all three modes to no avail. Am I doing something wrong? I run on XP 32-bit and I applied the boot.ini change(/3GB), rebooted then executed LAA.
I made mods with my borther for SH4. You can play a lot of the ships with it, battle ships and all. Also a very enhanced graphical experince.

It's called DDmods and it's pretty easy to find with google. fyi.
__________________
There is nothing more dangerous than sincere ignorance and conscientious stupidity. "Martin Luther King"
D007 is offline  
Reply With Quote
Old May 15, 2012, 06:08 PM   #180
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

Quote:
Originally Posted by jldjs View Post
I have three SH4.exe files in separate folders. When I add these three, execute LAA, only one of these exe's shows as having changed (true) when I select it for making it large address aware. I've tried all three modes to no avail. Am I doing something wrong? I run on XP 32-bit and I applied the boot.ini change(/3GB), rebooted then executed LAA.
It's possible those other two SH4.exe's are not genuine executables. They might be encrypted or incomplete and the one that does change to true executes them. I would run the only one that could be changed to true.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Old May 15, 2012, 06:43 PM   #181
jldjs
5 Posts
 
Join Date: May 2012
Location: Pennsylvania
Posts: 9 (0.02/day)
Thanks: 0
Thanked 1 Time in 1 Post

Quote:
Originally Posted by FordGT90Concept View Post
It's possible those other two SH4.exe's are not genuine executables. They might be encrypted or incomplete and the one that does change to true executes them. I would run the only one that could be changed to true.
Interesting. All three do run SH4 and I can change the "original" from false to true, but not the LAA to true on the two that won't change. Is there anything to check to see if the change happened? I thought I might just copy the one that I can change into the other two folders and try that. Thanks for your reply.
jldjs is offline  
Reply With Quote
Old May 16, 2012, 10:03 AM   #182
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

Oh, you're just talking about the "Original" column? That value is saved the first time a program is added to the list. If you believe it is in error (e.g. the LAA bit was changed in a different program prior to running Large Address Aware), you can force the Original value to something else by switching the "Mode" to "Advanced," check the boxes next to the ones you want to change, then under "With Selected," click on "Set Original to True" or "Set Original to False."


If you attempt to change the LAA value and it doesn't accept the change, there can be many reasons for this including:
-executable is running
-executable is read-only
-not a valid win32 application
-executable has some kind of operating system lock on it
-user account Large Address Aware is running on doesn't have sufficient access to modify the file


Large Address Aware is set up to always read/write from the executables themselves. If you really want to force it to re-read all the files, restart Large Address Aware.


...I'm thinking it's getting close to new-GUI time for this program. Should it remain 3-mode like it current one is? One major change will be better error handling (e.g. the LAA part will turn red if there is an error and you hover over it for specific details on why it failed). Any other changes I should make?
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }

Last edited by FordGT90Concept; May 16, 2012 at 10:19 AM.
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Old May 16, 2012, 11:55 AM   #183
jldjs
5 Posts
 
Join Date: May 2012
Location: Pennsylvania
Posts: 9 (0.02/day)
Thanks: 0
Thanked 1 Time in 1 Post

As feedback, I started with Basic mode but curiosity led me to use intermediate
and advanced where I then saw that the "successful" result from the basic
screen had not changed the LAA column to true. Thus confusion so I no longer use basic. I prefer two modes, drop basic. Still don't get why 2 of the 3 supposedly same .exe's won't change to "true".
Btw, I run under Bootcamp on Mac OSx also, and after running LAA the LAA column does change to "true" but Basic mode says the change was successful.

Duh, I feel like a dummy now. I just checked the properties on the SH4.exe's and the two that wouldn't change from False to True were both Read Only. I unchecked that and both change to True. But, the one that did change to True, well, it was also Read Only. Oh well, too baffling to pursue so all's well with me at this point and I'll go on and play SH4 hopefully with LAA enabled on my 32 bit XP and see far less CTDs than before. Thanks for all your replies.

Last edited by jldjs; May 16, 2012 at 12:30 PM.
jldjs is offline  
Reply With Quote
Old May 16, 2012, 06:12 PM   #184
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

I think my code tries to turn read-only off but that can fail. It apparently succeeded on one of three. XD
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Old Jun 1, 2012, 02:02 PM   #185
bpgt64
1000 Posts
 
bpgt64's Avatar
 
Join Date: Oct 2008
Location: ATL, GA
Posts: 1,219 (0.72/day)
Thanks: 129
Thanked 165 Times in 115 Posts

System Specs

Would this still be relevant given how long people have had to code for x64?
__________________
NOCT-Gaming.org
"Half Bouncey Castle/Half Business meeting"
Focused on Guild Missions and Structured PvP/World PvP
bpgt64 is offline  
Reply With Quote
Old Jun 1, 2012, 02:27 PM   #186
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

Yes, because many computers have more than 4 GiB of RAM but most applications are still 32-bit. Enabling the large address aware bit allows 32-bit applications to use 4 GiB of RAM instead of 2 GiB.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Old Jun 1, 2012, 02:54 PM   #187
Mussels
Doctor Moderator
 
Mussels's Avatar
 
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,559 (10.96/day)
Thanks: 3,700
Thanked 8,693 Times in 6,392 Posts

System Specs

on a 32 bit OS, the apps would crash whether this was changed or not when it hit 2GB, so most developers still just leave it alone, since they dont want to alienate whats left of the pure 32 bit user base.
Mussels is offline  
Reply With Quote
Old Jul 8, 2012, 09:26 AM   #188
Aonsaithya
 
Aonsaithya's Avatar
 
Join Date: Jul 2012
Posts: 1 (0.00/day)
Thanks: 0
Thanked 0 Times in 0 Posts

This has enabled me to use Corel's rather crappily coded PSP X3 again, without frequent "out of memory" -errors. Problems began when I swapped my EOS 20D for an EOS 7D, and now that I routinely handle panoramas up to 150 megapixel or even more, the 2GB limit just didn't cut it anymore.

So, I just registered to say THANK YOU!
Aonsaithya is offline  
Reply With Quote
Old Jul 8, 2012, 10:18 AM   #189
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

I added Corel Paint Shop Pro X3 to the list. Thanks for letting me know.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Old Jul 31, 2012, 08:58 AM   #190
wedding123
 
Join Date: Jul 2012
Posts: 1 (0.00/day)
Thanks: 0
Thanked 0 Times in 0 Posts

I multithreaded Add Files and fixed a bunch of other stuff. Let me know if commiting the changes (the top options in "With Selected") is still slow or not.
wedding123 is offline  
Reply With Quote
Old Jul 31, 2012, 09:17 AM   #191
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

What's that supposed to mean?


Quote:
Originally Posted by FordGT90Concept View Post
I multithreaded Add Files and fixed a bunch of other stuff. Let me know if commiting the changes (the top options in "With Selected") is still slow or not. Note: I did not multithread that portion yet and don't intend to unless necessary (no computer should be burdened by writing one byte per file ).
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Old Aug 25, 2012, 11:20 PM   #192
Mr.EVIL
25 Posts
 
Join Date: Aug 2012
Posts: 32 (0.12/day)
Thanks: 0
Thanked 0 Times in 0 Posts

why this program require administrator rights ?
Mr.EVIL is offline  
Reply With Quote
Old Aug 25, 2012, 11:24 PM   #193
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

Because it modifies executables that are usually found in Program Files. Files inside of Program Files can't be modified without administrator rights.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Old Aug 26, 2012, 12:49 AM   #194
Mr.EVIL
25 Posts
 
Join Date: Aug 2012
Posts: 32 (0.12/day)
Thanks: 0
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by FordGT90Concept View Post
Because it modifies executables that are usually found in Program Files. Files inside of Program Files can't be modified without administrator rights.
And what if I do not have administrator rights ? Better if it will run asInvoker.

Last edited by Mr.EVIL; Aug 26, 2012 at 12:59 AM.
Mr.EVIL is offline  
Reply With Quote
Old Aug 26, 2012, 01:34 AM   #195
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

AsInvoker would use the same rights as explorer.exe which, if you don't have administrator rights, would be Limited User. The application would not be able to perform its objective.

You'll have to have someone with administor rights run it, flip the LAA bits, verify the software still works, then log back in as your limited user account. Once the modifications are applied, they will stay there until the software is updated/modified/changed.

I'm afraid there is nothing I can do to get around that security feature of Windows.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }

Last edited by FordGT90Concept; Aug 26, 2012 at 01:42 AM.
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Old Aug 26, 2012, 02:59 AM   #196
Mr.EVIL
25 Posts
 
Join Date: Aug 2012
Posts: 32 (0.12/day)
Thanks: 0
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by FordGT90Concept View Post
AsInvoker would use the same rights as explorer.exe which, if you don't have administrator rights, would be Limited User. The application would not be able to perform its objective.

You'll have to have someone with administor rights run it, flip the LAA bits, verify the software still works, then log back in as your limited user account. Once the modifications are applied, they will stay there until the software is updated/modified/changed.

I'm afraid there is nothing I can do to get around that security feature of Windows.
You should take some lessons of programming before programming.
Requested Execution Levels
Possible requested execution level values
ValueDescriptionComment
asInvokerThe application runs with the same access token as the parent process.Recommended for standard user applications. Do refractoring with internal elevation points, as per the guidance provided earlier in this document.
highestAvailableThe application runs with the highest privileges the current user can obtain.Recommended for mixed-mode applications. Plan to refractor the application in a future release.
requireAdministratorThe application runs only for administrators and requires that the application be launched with the full access token of an administrator.Recommended for administrator only applications. Internal elevation points are not needed. The application is already running elevated.
© microsoft.com
Mr.EVIL is offline  
Reply With Quote
Old Aug 26, 2012, 03:47 AM   #197
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

"Parent process" would be explorer.exe.

I attached a version with "asInvoker" if you want to try it. I can't test on my system because I have no limited user accounts and UAC disabled.

If it failed, it will say in the status bar.


Edit: The purpose of "asInvoker" is so that only one application needs to request elevated permissions then it can pass those permissions to subsequent executables. For example, if you have your main program and and an updater, the updater would run with asInvoker so it is passed the credentials from the main program foregoing a second request for elevated permissions.

"highestAvailable" is default and even on an administrator account, that's inadequate. Windows doesn't give administrator access unless the user grants it. Highest available, therefore, doesn't return administrator even if it is an administrator logged in. This is why it is set to "requireAdministrator." UAC gets cranky when applications try to open write streams on other applications. That's exactly what LAA does.


Attachment removed.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }

Last edited by FordGT90Concept; Aug 27, 2012 at 03:59 AM.
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Old Aug 27, 2012, 12:56 AM   #198
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

6 downloads and no one has said anything. If it doesn't work in a Limited User account, I'm going to remove it. If it does work, I'll move it to the OP.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Old Aug 27, 2012, 03:22 AM   #199
Mr.EVIL
25 Posts
 
Join Date: Aug 2012
Posts: 32 (0.12/day)
Thanks: 0
Thanked 0 Times in 0 Posts

Once crashed for me. I did closed it reflexartig.
Mr.EVIL is offline  
Reply With Quote
Old Aug 27, 2012, 03:58 AM   #200
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

So you're saying it didn't work? I'll remove the attachment then.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 6 (0 members and 6 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Structure of and IP Address / 32 bit address DreamSeller Programming & Webmastering 16 Jul 11, 2009 02:32 PM
Ad-Aware 2007 for Vista Released HellasVagabond General Software 0 Aug 29, 2007 01:31 PM
Ad-Aware 2007 Free Launched Jimmy 2004 News 14 Jun 8, 2007 01:51 AM
Ad-aware shu down Norton Security Center? Frick General Software 5 May 4, 2007 07:23 PM


All times are GMT. The time now is 12:16 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts