View previous topic :: View next topic |
Author |
Message |
bknight2602 Grandmaster Cheater
Reputation: 0
Joined: 08 Oct 2012 Posts: 586
|
Posted: Mon Feb 29, 2016 6:11 pm Post subject: Bulk change of addresses |
|
|
I downloaded a table,but all the addressed are in the form epsxe.exe+xxxxx
What I would like to do is change them to psxfin.exe+xxxx. I know that the addresses will be wrong but at least I would have some values to start with.
Thanks
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Feb 29, 2016 6:20 pm Post subject: |
|
|
Open table with notepad++ or similar. Use 'Replace All' feature.
|
|
Back to top |
|
 |
bknight2602 Grandmaster Cheater
Reputation: 0
Joined: 08 Oct 2012 Posts: 586
|
Posted: Mon Feb 29, 2016 8:29 pm Post subject: |
|
|
++METHOS wrote: | Open table with notepad++ or similar. Use 'Replace All' feature. |
I get an out of memory error with that edited file.
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Feb 29, 2016 8:53 pm Post subject: |
|
|
You'll have to be more specific. Did you try changing the compatibility mode for CE?
|
|
Back to top |
|
 |
bknight2602 Grandmaster Cheater
Reputation: 0
Joined: 08 Oct 2012 Posts: 586
|
Posted: Mon Feb 29, 2016 11:00 pm Post subject: |
|
|
++METHOS wrote: | You'll have to be more specific. Did you try changing the compatibility mode for CE? |
Nothing more specific than reported, where/how is the compatibility mode? I never used that.
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Feb 29, 2016 11:19 pm Post subject: |
|
|
Specific, as in, what was the error? What did you do to trigger it? Did you receive the error prior to changing/saving the table?
Compatibility mode can be changed by right-clicking on the Cheat Engine icon and selecting properties. There should be a compatibility tab that will give you the option to run the program in compatibility mode for various operating systems.
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Mon Feb 29, 2016 11:38 pm Post subject: |
|
|
How big is this table that you would run out of memory opening it?!
Did you try using plain old NotePad?
|
|
Back to top |
|
 |
bknight2602 Grandmaster Cheater
Reputation: 0
Joined: 08 Oct 2012 Posts: 586
|
Posted: Tue Mar 01, 2016 8:05 am Post subject: |
|
|
++METHOS wrote: | Specific, as in, what was the error? What did you do to trigger it? Did you receive the error prior to changing/saving the table?
Compatibility mode can be changed by right-clicking on the Cheat Engine icon and selecting properties. There should be a compatibility tab that will give you the option to run the program in compatibility mode for various operating systems. |
The error occurred while attempting to open the file, never loaded just received the error
zanzer wrote: |
How big is this table that you would run out of memory opening it?!
Did you try using plain old NotePad? |
161 KB and used TextPad
|
|
Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Tue Mar 01, 2016 8:47 am Post subject: |
|
|
Save the file again with notepad++ but change the encoding to Ansi/Ascii.
Usually it's UTF8 with the BOM element, which can't be parsed by CE ...
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Tue Mar 01, 2016 10:15 am Post subject: |
|
|
bknight2602 wrote: | used TextPad | -All issues aside, I would highly recommend using notepad++ because it is a great editor with loads of plugins - and it's free.
If you still receive the memory error after saving with notepad++, try changing the compatibility mode for CE to windows xp or windows 7 and report back. There are other things that we can look at.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Tue Mar 01, 2016 2:56 pm Post subject: |
|
|
Or instead of using text editors you can use CE as well: (this is the lua section)
Code: |
al=getAddressList()
for i=0,al.Count-1 do
al[i].Address=string.gsub(string.lower(al[i].Address), 'epsxe','psxfin')
end
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
bknight2602 Grandmaster Cheater
Reputation: 0
Joined: 08 Oct 2012 Posts: 586
|
Posted: Tue Mar 01, 2016 6:24 pm Post subject: |
|
|
Dark Byte wrote: | Or instead of using text editors you can use CE as well: (this is the lua section)
Code: |
al=getAddressList()
for i=0,al.Count-1 do
al[i].Address=string.gsub(string.lower(al[i].Address), 'epsxe','psxfin')
end
|
|
That did the trick, I was thinking of a for loop but didn't know how to "find", "replace" with code.
Thanks
|
|
Back to top |
|
 |
|