NitePR Code Database & Forums
Welcome! Here at the NitePR Forums we offer you tons of Hacks, Tutorials, NitePR Help, And Much More! If this is your first visit, please register.


NitePR Codes/Hacks, NitePR Tutorials, Discussions, and More!
 
HomePortalRulesUsergroupsRegisterLog in
The New Theme Has Arrived! Enjoy! We are currently working on Icons for the Navigation Bar. Also New Hacks will be up soon on the database.
Share | 
 

 NitePr to CWCheat/CWCheat To NitePR !

View previous topic View next topic Go down 
AuthorMessage
WorldKing
Moderator
Moderator


Posts: 175
Points: 1789
Reputation: 4
Join date: 2010-06-13
Age: 19
Location: HacKeD WorldWide

PostSubject: NitePr to CWCheat/CWCheat To NitePR !   Fri Jul 16, 2010 12:31 am

Basic conversion..


Credits: WorldKing


Code example:

Code:
#Example
0x00001000 0x00000001
0x00001004 0x00000002

Change the:# to a: _C0 .

And add a: _L to each code line.



Converted Code:

Code:

   _C0 Example
_L 0x00001000 0x00000001
_L 0x00001004 0x00000002
Back to top Go down
http://TheLostUniverse.Tk
Student_101
Newbie
Newbie


Posts: 3
Points: 1515
Reputation: 0
Join date: 2010-07-13

PostSubject: Re: NitePr to CWCheat/CWCheat To NitePR !   Fri Jul 16, 2010 6:54 am

Actually that is not completely correct. While it will be alright to do that for a large number of codes it also has the potential of causing big problems.

The correct conversion of standard constant write codes is...

Code:
_C0 8-bit Write
_L 0x00001234 0x00000063
_C0 16-bit Write
_L 0x10001234 0x000003E7
_C0 32-bit Write
_L 0x20001234 0x05F5E0FF

Code:
#8-bit Write
0x00001234 0x63

#16-bit Write
0x00001234 0x03E7

#32-bit Write
0x00001234 0x05F5E0FF

For CWCheat the first number of the address signifies the code type. 0x0 is an 8-bit write, 0x1 is a 16-bit write and 0x2 is a 32-bit write. More information about the CWCheat code types is also available at http://cwcheat.consoleworld.org/wiki/doku.php?id=english:code:psp_types which shows just how much more powerful CWCheat is in comparison to NitePR.

For example CWCheat can increment, decrement, perform bit-wise operations, handle multi-level pointers, compressed codes, conditional codes, copy sections of memory to another section, handle button presses and probably other stuff all without writing any complex sub-routines.

So anyway your example would be...

Spoiler:
 

So... simply removing the "_L " from each line and changing the "_C0 " to a "#" is not an accurate method of conversion. To further prove this is not accurate I present the following code:

Spoiler:
 

That above code however could be optimized to the following:

Spoiler:
 


Last edited by Student_101 on Sat Jul 17, 2010 6:34 am; edited 1 time in total
Back to top Go down
WorldKing
Moderator
Moderator


Posts: 175
Points: 1789
Reputation: 4
Join date: 2010-06-13
Age: 19
Location: HacKeD WorldWide

PostSubject: Re: NitePr to CWCheat/CWCheat To NitePR !   Sat Jul 17, 2010 12:25 am

Haven't You Noticed That Mine Is Shorter And Simple And Yours Is Longer And Plus You Even Took Credit From Others...


Hmmm...


And Yours Has Same Examples Like Mine -_-

So I'm Not Wrong And Stop Trying To Be A Better Hacker Then Me , Which You Not...

So Don't Make Me Start Arguing About Something Your Wrong At
Back to top Go down
http://TheLostUniverse.Tk
Student_101
Newbie
Newbie


Posts: 3
Points: 1515
Reputation: 0
Join date: 2010-07-13

PostSubject: Re: NitePr to CWCheat/CWCheat To NitePR !   Sat Jul 17, 2010 7:13 am

I was really just using the Have all licenses code as an example but I changed it to just a dummy code.

Anyway I wasn't trying to be rude at all, simply trying to help.

The method of removing the _L from code lines doesn't work all the time:

_L 0x00001235 0x00000001

would not be:

0x00001235 0x00000001

because you can't write a 32-bit value to an 8/16-bit address (unless nitepr tries to correct the code when parsing/applying it), the correct conversion of that code would be:

0x00001235 0x01

that will only write to 1 byte of memory whereas the other conversion would write to 4 bytes of memory.

For normal write codes NitePR uses the length of the value to determine how many bytes need to be written to memory whereas CWCheat uses the first number of the address to determine how many bytes to write to memory.

Another example:

Code:
_C0 Test
_L 0x00111234 0x00000001
_C0 Test
_L 0x10111234 0x00000001
_C0 Test
_L 0x20111234 0x00000001

Code:
#Test
0x00111234 0x01

#Test
0x00111234 0x0001

#Test
0x0111234 0x00000001

You can verify this by using the converter at http://free.hostultra.com/~glitchessocom/CWCheat2nitePR.htm.

Also for single pointer codes an example conversion would be:

Code:
_C0 Example 32-bit Pointer
_L 0x60001234 0x05F5E0FF
_L 0x00020001 0x00000010
_C0 Example 16-bit Pointer
_L 0x6001234 0x000003E7
_L 0x00010001 0x00000010
_C0 Example 8-bit Pointer
_L 0x6001234 0x000003E7
_L 0x00000001 0x00000010

Code:
#Example 32-bit Pointer
0xFFFFFFFF 0x00001234
0x00000010 0x05F5E0FF

#Example 16-bit Pointer
0xFFFFFFFF 0x00001234
0x00000010 0x03E7

#Example 8-bit Pointer
0xFFFFFFFF 0x00001234
0x00000010 0x63

For the first pointer code the "_L 0x6" tells CWCheat that the code is a pointer code and the "_L 0x00020001" tells CWCheat that is should write 4-bytes of data (0x05F5E0FF) to the value store at 0x00001234+10.

In regards to NitePR the "0xFFFFFFFF" tells NitePR that the code is a pointer code and the length of the second value tells NitePR that it should write 4-bytes of data (0x05F5E0FF) to the value stored at 0x00001234+10.

Anyway please don't disrespect me you don't know me at all and I meant no disrespect towards yourself. While from looking at your codes I must admit many look more advanced then any codes I have made however I am more of a programming person and have spent a lot of time looking at both the CWCheat and NitePR code types.
Back to top Go down
WorldKing
Moderator
Moderator


Posts: 175
Points: 1789
Reputation: 4
Join date: 2010-06-13
Age: 19
Location: HacKeD WorldWide

PostSubject: Re: NitePr to CWCheat/CWCheat To NitePR !   Sat Jul 17, 2010 9:10 pm

Quote :
I am more of a programming person and have spent
a lot of time looking at both the CWCheat and NitePR code types.


I've Have Never Heard Of You, If Your Really Good At It Then Why Haven't I Seen You Make Any Code.

And If Your A Programmer You Should Release Some Homebrew Or Any Programs That You've Made.

I've Released A Couple Programs I Made Here, But I Post All Of Them On My Site.If You Want To Keep Comparing Yourself To Me Then Your Nothing Cause You Can Tell Anybody Here Or At My Site Or Anywhere Else Who WorldKing Is And They Would Say That I'm The Best.
Back to top Go down
http://TheLostUniverse.Tk
 

NitePr to CWCheat/CWCheat To NitePR !

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Resistance Hero medal FAQ
» [H] Resistance - Against the Kor'kron and Hellscream

Permissions in this forum:You cannot reply to topics in this forum
NitePR Code Database & Forums :: -