Skip to content

Commit

Permalink
several typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cheatengine@gmail.com committed May 19, 2014
1 parent e9ddacd commit 85bbf6f
Show file tree
Hide file tree
Showing 41 changed files with 529 additions and 578 deletions.
2 changes: 1 addition & 1 deletion Cheat Engine/Assemblerunit.pas
Expand Up @@ -5542,7 +5542,7 @@ function TSingleLineAssembler.Assemble(opcode:string; address: ptrUint;var bytes
begin
if ((not overrideShort) and (vtype>8)) or (overrideLong) then
begin
//see if there is a 32 bit equivalent opcode (notice I dont do rel 16 because that'll completly screw up eip)
//see if there is a 32 bit equivalent opcode (notice I dont do rel 16 because that'll completely screw up eip)
k:=startoflist;
while (k<=opcodecount) and (opcodes[k].mnemonic=tokens[mnemonic]) do
begin
Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/FileMapping.pas
Expand Up @@ -67,7 +67,7 @@ constructor TFileMapping.create(filename: string);
FileMapping := CreateFileMapping(FileHandle, nil, PAGE_WRITECOPY , 0, 0, nil);
if FileMapping = 0 then raise exception.create(rsMappingFailed);

//map it completly
//map it completely
FFileContent:= MapViewOfFile(FileMapping, FILE_MAP_COPY , 0, 0, 0);
if FFileContent=nil then raise exception.Create(rsFailedCreatingAProperView);

Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/FoundCodeUnit.pas
Expand Up @@ -746,7 +746,7 @@ procedure TFoundCodedialog.moreinfo;
for i:=length(temp) downto 1 do
if temp[i] in ['0'..'9','a'..'f'] then temp2:=temp[i]+temp2 else break;

if temp2<>'' then //I know this isn't completly correct e.g: [eax*4] but even then the 4 will NEVER be bigger than eax (unless it's to cause a crash)
if temp2<>'' then //I know this isn't completely correct e.g: [eax*4] but even then the 4 will NEVER be bigger than eax (unless it's to cause a crash)
begin
p:=StrToQWordEx('$'+temp2);
if p>maxregistervalue then maxregistervalue:=p;
Expand Down
6 changes: 3 additions & 3 deletions Cheat Engine/MainUnit.lfm
Expand Up @@ -332,7 +332,7 @@ object MainForm: TMainForm
OnClick = Label57Click
end
object Label59: TLabel
Left = 424
Left = 432
Height = 13
Top = 56
Width = 42
Expand Down Expand Up @@ -549,7 +549,7 @@ object MainForm: TMainForm
object cbFastScan: TCheckBox
Left = 4
Height = 19
Hint = 'Speeds up the scan and decreases useless reults by skipping unaligned memory, or only scans addresses ending with specific digits'
Hint = 'Speeds up the scan and decreases useless results by skipping unaligned memory, or only scans addresses ending with specific digits'
Top = 7
Width = 68
Caption = 'Fast Scan'
Expand Down Expand Up @@ -1385,7 +1385,7 @@ object MainForm: TMainForm
OnClick = lblcompareToSavedScanClick
end
object Label3: TLabel
Left = 424
Left = 432
Height = 13
Top = 70
Width = 32
Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/MainUnit.lrt
Expand Up @@ -53,7 +53,7 @@ Don't care if it's executable or not
TMAINFORM.CBEXECUTABLE.CAPTION=Executable
TMAINFORM.LABEL2.CAPTION=Stop
TMAINFORM.LABEL1.CAPTION=Start
TMAINFORM.CBFASTSCAN.HINT=Speeds up the scan and decreases useless reults by skipping unaligned memory, or only scans addresses ending with specific digits
TMAINFORM.CBFASTSCAN.HINT=Speeds up the scan and decreases useless results by skipping unaligned memory, or only scans addresses ending with specific digits
TMAINFORM.CBFASTSCAN.CAPTION=Fast Scan
TMAINFORM.EDTALIGNMENT.TEXT=4
TMAINFORM.CBPAUSEWHILESCANNING.CAPTION=Pause the game while scanning
Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/MainUnit.pas
Expand Up @@ -4614,7 +4614,7 @@ procedure TMainForm.doNewScan;

procedure TMainForm.btnNewScanClick(Sender: TObject);
begin
button2.click; //now completly replaced
button2.click; //now completely replaced
end;

procedure TMainForm.btnNextScanClick(Sender: TObject);
Expand Down
6 changes: 3 additions & 3 deletions Cheat Engine/MemoryBrowserFormUnit.pas
Expand Up @@ -611,7 +611,7 @@ implementation
rsAssemblyScan = 'Assembly scan';
rsInputTheAssemblyCodeToFindWilcardsSupported = 'Input the assembly code to find. Wildcards( * ) supported.';
rsSymbolHandler = 'Symbol handler';
rsPleaseSpecifyTheNewSymbolSearchpathSeperatesPaths = 'Please specify the new symbol searchpath (; seperates paths)';
rsPleaseSpecifyTheNewSymbolSearchpathSeperatesPaths = 'Please specify the new symbol searchpath (; separates paths)';
rsMemoryBrowser = 'MemoryBrowser';
rsReturnAddress = 'Return Address';
rsParameters = 'Parameters';
Expand All @@ -622,7 +622,7 @@ implementation
rsMaxStacktraceSize = 'Max stacktrace size';
rsNeedToRunDissectCode = 'You will need to run the dissect code routine first before this window is usable. Run it now?';
rsMemoryViewerCurrentlyDebuggingThread = 'Memory Viewer - Currently debugging thread %s';
rsRestoreWithOrginalCode = 'Restore with orginal code';
rsRestoreWithOrginalCode = 'Restore with original code';
rsReplaceWithCodeThatDoesNothing = 'Replace with code that does nothing';
rsComment = 'Comment';
rsCommentFor = 'Comment for %s';
Expand Down Expand Up @@ -1187,7 +1187,7 @@ procedure TMemoryBrowser.MenuItem2Click(Sender: TObject);
pa:=a;
d.disassemble(a,s);

//look for 00 , 00 (add [eax],al is an 100% completly useless instruction)
//look for 00 , 00 (add [eax],al is an 100% completely useless instruction)
if (length(d.LastDisassembleData.Bytes)>=2) and (d.LastDisassembleData.Bytes[0]=0) and (d.LastDisassembleData.Bytes[1]=0) then
begin
start:=a;
Expand Down
4 changes: 2 additions & 2 deletions Cheat Engine/MemoryRecordUnit.pas
Expand Up @@ -1192,7 +1192,7 @@ procedure TMemoryRecord.increaseValue(value: string);
if VarType in [vtByte, vtWord, vtDword, vtQword, vtSingle, vtDouble, vtCustom] then
begin
try
if showAsHex then //seperate handler for hexadecimal. (handle as int, even for the float types)
if showAsHex then //separate handler for hexadecimal. (handle as int, even for the float types)
begin
oldvalue:=StrToQWordEx('$'+getvalue);
increasevalue:=StrToQwordEx('$'+value);
Expand Down Expand Up @@ -1610,7 +1610,7 @@ function TMemoryRecord.getAddressString: string;
end;

function TMemoryRecord.BinaryToString(b: pbytearray; bufsize: integer): string;
{Seperate function for the binary value since it's a bit more complex}
{separate function for the binary value since it's a bit more complex}
var
temp,mask: qword;
begin
Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/NewKernelHandler.pas
Expand Up @@ -753,7 +753,7 @@ implementation
+'you lose your data(So don''t forget to save first). Do you want to run DBVM?';
rsDidNotLoadDBVM = 'I don''t know what you did, you didn''t crash, but you also didn''t load DBVM';
rsPleaseRebootAndPressF8BeforeWindowsBoots = 'Please reboot and press f8 before windows boots. Then enable unsigned drivers. Alternatively, you could buy yourself a business '
+'class certificicate and sign the driver yourself (or try debug signing)';
+'class certificate and sign the driver yourself (or try debug signing)';
rsTheDriverNeedsToBeLoadedToBeAbleToUseThisFunction = 'The driver needs to be loaded to be able to use this function.';
rsYourCpuMustBeAbleToRunDbvmToUseThisFunction = 'Your cpu must be able to run dbvm to use this function';
rsCouldnTBeOpened = '%s couldn''t be opened';
Expand Down
4 changes: 2 additions & 2 deletions Cheat Engine/OpenSave.pas
Expand Up @@ -193,7 +193,7 @@ implementation
strCantLoadProtectedfile='This trainer is protected from being opened by CE. Now go away!!!';
rsThisTableContainsALuaScriptDoYouWantToRunIt = 'This table contains a lua script. Do you want to run it?';
rsErrorExecutingThisTableSLuaScript = 'Error executing this table''s lua script: %s';
rsTheRegionAtWasPartiallyOrCompletlyUnreadable = 'The region at %s was partially or completly unreadable';
rsTheRegionAtWasPartiallyOrCompletlyUnreadable = 'The region at %s was partially or completely unreadable';
rsTheVersionOfIsIncompatibleWithThisCEVersion = 'The version of %s is incompatible with this CE version';
rsDoesnTContainNeededInformationWhereToPlaceTheMemor = '%s doesn''t contain needed information where to place the memory';
rsThisIsNotAValidCheatTable = 'This is not a valid cheat table';
Expand All @@ -202,7 +202,7 @@ implementation
rsYouCanOnlyProtectAFileIfItHasAnCETRAINERExtension = 'You can only protect a file if it has an .CETRAINER extension';
rsErrorSaving = 'Error saving...';
rsAskIfStupid = 'Generating a trainer with the current state of the cheat '
+'table will likely result in a completly useless trainer that does '
+'table will likely result in a completely useless trainer that does '
+'nothing. Are you sure?';
{
procedure LoadStructFromXMLNode(var struct: TbaseStructure; Structure: TDOMNode);
Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/PointerscannerSettingsFrm.lfm
Expand Up @@ -451,7 +451,7 @@ object frmPointerScannerSettings: TfrmPointerScannerSettings
object cbReusePointermap: TCheckBox
Left = 8
Height = 19
Hint = 'I you did a previous pointerscan and it completed very qickly, you can scan again and skip the initial setup'
Hint = 'I you did a previous pointerscan and it completed very quickly, you can scan again and skip the initial setup'
Top = 272
Width = 218
Caption = 'Use pointermap from previous pointerscan'
Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/PointerscannerSettingsFrm.lrt
Expand Up @@ -98,7 +98,7 @@ TFRMPOINTERSCANNERSETTINGS.COMBOBOX1.TEXT=Normal
TFRMPOINTERSCANNERSETTINGS.CBVALUETYPE.TEXT=4 Byte
TFRMPOINTERSCANNERSETTINGS.RBFINDADDRESS.CAPTION=Address to find:
TFRMPOINTERSCANNERSETTINGS.RBFINDVALUE.CAPTION=Value to find:
TFRMPOINTERSCANNERSETTINGS.CBREUSEPOINTERMAP.HINT=I you did a previous pointerscan and it completed very qickly, you can scan again and skip the initial setup
TFRMPOINTERSCANNERSETTINGS.CBREUSEPOINTERMAP.HINT=I you did a previous pointerscan and it completed very quickly, you can scan again and skip the initial setup
TFRMPOINTERSCANNERSETTINGS.CBREUSEPOINTERMAP.CAPTION=Use pointermap from previous pointerscan
TFRMPOINTERSCANNERSETTINGS.CBUSELOADEDPOINTERMAP.HINT=Use this if you have created a pointermap on a system that runs the game, but you wish to do the scan on another system (or multiple systems).
Checking this option will open a dialog where you can select the pointermap
Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/ProcessWindowUnit.lfm
Expand Up @@ -14,7 +14,7 @@ object ProcessWindow: TProcessWindow
OnResize = FormResize
OnShow = FormShow
Position = poMainFormCenter
LCLVersion = '1.0.8.0'
LCLVersion = '1.3'
object ProcessList: TListBox
Left = 0
Height = 167
Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/RemoteMemoryManager.pas
Expand Up @@ -187,7 +187,7 @@ procedure TRemoteMemoryManager.dealloc(address: ptruint);
freemem(b);
ar.allocs.Delete(j);

if ar.allocs.Count=0 then //completly freed this region
if ar.allocs.Count=0 then //completely freed this region
begin
virtualfreeex(processhandle,pointer(ar.remotebase),0,MEM_RELEASE);
ar.allocs.Free;
Expand Down
8 changes: 4 additions & 4 deletions Cheat Engine/StructuresFrm2.pas
Expand Up @@ -563,10 +563,10 @@ implementation
+'you want to shift this and following offsets? (Decimal)';
rsAreYouSureYouWantToDelete = 'Are you sure you want to delete %s?';
rsThisIsNotAValidStructureFile = 'This is not a valid structure file';
rsWrongVersion = 'This structure fils was generated with a newer version of '
rsWrongVersion = 'This structure file was generated with a newer version of '
+'Cheat Engine. (That means there''s more than likely a new version so '
+'please update....)';
rsUnkownFileExtension = 'Unkown file extension';
rsUnkownFileExtension = 'Unknown file extension';
rsAreYouSureYouWantToRemoveAllStructures = 'Are you sure you want to remove '
+'all structures?';
rsRecalculateBaseOfStructure = 'Recalculate base of structure';
Expand Down Expand Up @@ -3009,7 +3009,7 @@ procedure TfrmStructures2.tvStructureViewCollapsed(Sender: TObject; Node: TTreeN
{$ifdef DEBUG}
assert(node.data=nil);
{$endif}
node.data:=nil; //not necesary
node.data:=nil; //not necessary
end;
end;

Expand Down Expand Up @@ -3467,7 +3467,7 @@ procedure TfrmStructures2.changeNodes;
if changedDescription then
structElement.name:=description;

if tvStructureView.SelectionCount=1 then //only update the offset if only one entry is selected (e.g the user might be so stupid to select a level 1 and a level 3 of a completly different structure....)
if tvStructureView.SelectionCount=1 then //only update the offset if only one entry is selected (e.g the user might be so stupid to select a level 1 and a level 3 of a completely different structure....)
structElement.offset:=offset;

if changedVartype then
Expand Down
6 changes: 3 additions & 3 deletions Cheat Engine/Structuresfrm.pas
Expand Up @@ -266,10 +266,10 @@ procedure sortStructure(struct: TbaseStructure);
+'you want to shift this and following offsets?';
rsAreYouSureYouWantToDelete = 'Are you sure you want to delete %s?';
rsThisIsNotAValidStructureFile = 'This is not a valid structure file';
rsWrongVersion = 'This structure fils was generated with a newer version of '
rsWrongVersion = 'This structure file was generated with a newer version of '
+'Cheat Engine. (That means there''s more than likely a new version so '
+'please update....)';
rsUnkownFileExtension = 'Unkown file extension';
rsUnkownFileExtension = 'Unknown file extension';
rsAreYouSureYouWantToRemoveAllStructures = 'Are you sure you want to remove '
+'all structures?';
rsRecalculateBaseOfStructure = 'Recalculate base of structure';
Expand Down Expand Up @@ -842,7 +842,7 @@ procedure TfrmStructures.tvStructureViewAdvancedCustomDrawItem(
Stage: TCustomDrawStage; var PaintImages, DefaultDraw: Boolean);
{
multigroup usage:
If all entries of the same group are the same, mark them green, otherwhise red
If all entries of the same group are the same, mark them green, otherwise red
If the value of another group does not match the value of the first group, mark it red
}

Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/aboutunit.pas
Expand Up @@ -69,7 +69,7 @@ implementation
rsYourSystemDOESNOTSupportDBVM = 'Your system DOES NOT support DBVM';
rsThisMeansThatYouWillNeedANewCpuIntelToBeAbleToUseT = 'This means that you will need a new cpu (intel) to be able to use the advanced dbvm options';
rsYourSystemIsRunningDBVMVersion = 'Your system is running DBVM version %s';
rsThisMeansThatYourSystemIsRunningDbvm = 'This means that your system is running dbvm. This means ce will make use of some advanced tools that are otherwhise unavailable';
rsThisMeansThatYourSystemIsRunningDbvm = 'This means that your system is running dbvm. This means ce will make use of some advanced tools that are otherwise unavailable';
rsYourSystemSupportsDBVM = 'Your system supports DBVM';
rsThisMeansThatYouReCurrentlyNotRunningDbvm = 'This means that you''re currently not running dbvm, but that your system is capable of running it';
rsDidYouReallyThinkYouDFindAnEasterEggByDoingThisWel = 'Did you really think you''d find an easter egg by doing this? Well, you know what? You where right!';
Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/addresslist.pas
Expand Up @@ -604,7 +604,7 @@ procedure TAddresslist.AddTableXMLAsText(xml: string; simpleCopyPaste: boolean=t
//don't complain
end;

//update id's if necesary
//update id's if necessary
for i:=0 to count-1 do
if MemRecItems[i].ID=-1 then
MemRecItems[i].ID:=GetUniqueMemrecId;
Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/addressparser.pas
Expand Up @@ -208,7 +208,7 @@ function TAddressParser.simplify2: boolean;
begin
if total[i]=0 then
begin
if total[i+1]=0 then //2 seperaters next to eachother
if total[i+1]=0 then //2 separators next to eachother
begin
if seperators[scount]=plus then
begin
Expand Down
2 changes: 1 addition & 1 deletion Cheat Engine/autoassembler.pas
Expand Up @@ -1309,7 +1309,7 @@ type tdefine=record
setlength(assemblerlines,length(assemblerlines)-1);
continue;
end;
//otherwhise it hasn't been handled, or it has been handled and the string is a compatible string that passes the phase1 tests (so variablenames converted to 00000000 and whatever else is needed)
//otherwise it hasn't been handled, or it has been handled and the string is a compatible string that passes the phase1 tests (so variablenames converted to 00000000 and whatever else is needed)

//plugins^^^

Expand Down

0 comments on commit 85bbf6f

Please sign in to comment.