Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,441,283
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-20-24 09:27 AM
Guest: Register | Login

0 users currently in ROM Hacking | 5 guests | 1 bot

Main - ROM Hacking - how to make hacking tools? New thread | New reply

Pages: 1 2

how ta hack
Posted on 07-06-10 12:14 AM Link | Quote | ID: 132677


Red Goomba
Level: 16

Posts: 4/38
EXP: 16657
Next: 3599

Since: 06-16-10

Last post: 4813 days
Last view: 4813 days
this confuses me how do you make hacking tools?

____________________
I have left...

Nikolaj
Posted on 07-06-10 12:34 AM Link | Quote | ID: 132678


Level: 43

Posts: 228/384
EXP: 546049
Next: 18997

Since: 11-19-09
From: Denmark

Last post: 4529 days
Last view: 3213 days
Well... As far as I know (Tat is, not a lot)...
You need to know how the game works (Where stuff is in the ROM, etc)
And you need to know how to program.

Kiokuffiib11
Posted on 07-06-10 12:42 AM Link | Quote | ID: 132681


Porcupo
Level: 40

Posts: 131/313
EXP: 406828
Next: 34481

Since: 07-10-09
From: Marquette, Michigan

Last post: 3306 days
Last view: 1928 days
I think how you reference things in C++ (But, being not a programmer I'm not definite) you link it to said address in the rom by putting $ then the address location like:

$63

Though I'm not definite.

____________________
セシル

how ta hack
Posted on 07-06-10 06:36 PM Link | Quote | ID: 132694


Red Goomba
Level: 16

Posts: 5/38
EXP: 16657
Next: 3599

Since: 06-16-10

Last post: 4813 days
Last view: 4813 days
thanks guys
(exept i dont know ANYTHING about how to program)

____________________
I have left...

Kawa
Posted on 07-06-10 06:38 PM (rev. 2 of 07-06-10 06:40 PM) Link | Quote | ID: 132695


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 3822/5344
EXP: 30929920
Next: 733061

Since: 02-20-07
From: The Netherlands

Last post: 4492 days
Last view: 2627 days
Thanks for the admission there, HTH. I really think you should learn how to program in general before entertaining the notion of programming a hacking tool.


Oh, and Kioku is seriously wrong, but justifiably so.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

how ta hack
Posted on 07-06-10 08:14 PM Link | Quote | ID: 132697


Red Goomba
Level: 16

Posts: 6/38
EXP: 16657
Next: 3599

Since: 06-16-10

Last post: 4813 days
Last view: 4813 days
ok

____________________
I have left...

Hamtaro126
Posted on 07-07-10 02:43 AM (rev. 2 of 07-07-10 02:47 AM) Link | Quote | ID: 132711


Cheep-cheep
Level: 33

Posts: 142/194
EXP: 212734
Next: 16445

Since: 05-02-07
From: Shelton, WA

Last post: 2466 days
Last view: 2309 days
Posted by Kawa

Oh, and Kioku is seriously wrong, but justifiably so.


No, He is right to a point, There is actually certain types of data input used in ASM or other languages,

For Hex: $00 (#$00 in Rom Value) is in Motorola/MOS Technologies HEX syntax, usually used in 6502 and 68000-based machines.

While in Intel, GBA/DS, ect. The equivlent to $00 from Motorola is known as 0x00 in Intel in ROM

____________________
Mah boi, romhacking is what all true warriors strive for!

I wonder what's for dinner?

Kiokuffiib11
Posted on 07-07-10 03:25 AM Link | Quote | ID: 132712


Porcupo
Level: 40

Posts: 133/313
EXP: 406828
Next: 34481

Since: 07-10-09
From: Marquette, Michigan

Last post: 3306 days
Last view: 1928 days
Ah! Sou that's where the 0x00 comes in. I've seen that in other documents, and always ignored the 0x part. Thanks for the info.

____________________
セシル

Kawa
Posted on 07-07-10 02:04 PM Link | Quote | ID: 132718


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 3826/5344
EXP: 30929920
Next: 733061

Since: 02-20-07
From: The Netherlands

Last post: 4492 days
Last view: 2627 days
No, you were in fact wrong. You started with "I think how you reference things in C++", but then proceeded with an ASM-ism.

$, 0x and &H are just different languages' ways to identify a given number as being hexadecimal. $F00D is not and will never be a valid numerical value in C(++).

And Hamtaro only compounds the problem: what you're talking about is the syntax for a given assembly language. To the actual processors, be it Intel, ARM or Motorola, it doesn't matter what kind of hex identifier you used, only the assembler tool you used cares about that.


____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Kiokuffiib11
Posted on 07-07-10 07:04 PM Link | Quote | ID: 132725


Porcupo
Level: 40

Posts: 134/313
EXP: 406828
Next: 34481

Since: 07-10-09
From: Marquette, Michigan

Last post: 3306 days
Last view: 1928 days
Sou how is it defined in C++ then?

____________________
セシル

paulguy
Posted on 07-07-10 07:08 PM Link | Quote | ID: 132727


Flurry
Level: 37

Posts: 250/258
EXP: 326820
Next: 11433

Since: 04-10-07
From: Buffalo, NY

Last post: 5022 days
Last view: 4562 days

0xblahblah, for example, 0xCAFEBABE, is the C/C++ way of writing hex.

____________________
"In other news, Scientists theoretize that CHEESECAKE CHEESECAKE CHEESECAKE." --Blackhole89

Kawa
Posted on 07-07-10 07:10 PM Link | Quote | ID: 132728


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 3830/5344
EXP: 30929920
Next: 733061

Since: 02-20-07
From: The Netherlands

Last post: 4492 days
Last view: 2627 days
And it surprises me that Paulguy didn't mention what &H is.

Basically, that's the Basic form of C's 0x.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

paulguy
Posted on 07-07-10 07:10 PM Link | Quote | ID: 132729


Flurry
Level: 37

Posts: 251/258
EXP: 326820
Next: 11433

Since: 04-10-07
From: Buffalo, NY

Last post: 5022 days
Last view: 4562 days

I had already said so on IRC, and it wasn't topical to the thread.

____________________
"In other news, Scientists theoretize that CHEESECAKE CHEESECAKE CHEESECAKE." --Blackhole89

messiaen
Posted on 07-07-10 07:19 PM (rev. 2 of 07-07-10 07:20 PM) Link | Quote | ID: 132730


Cheep-cheep
Level: 32

Posts: 178/193
EXP: 204344
Next: 2098

Since: 05-26-08
From: Porto Alegre, Brazil

Last post: 4437 days
Last view: 4765 days
To answer the original question, first you need to know specifically what you want to hack and EXACTLY how to do it. Say you want to make a program that will change the initial number of lives in a game (a good project for begginers):

- Find how to do it and test doing a simple change using a hex editor.
- Find a suitable language (C# seems like a good begginer language since you can get results very fast, which is great for simpler rom hacking).
- Learn basic file I/O: how to open a file in binary mode, how to get to a specific offset (seek functions), how to properly write data into the data, etc. Once you find that, learn to work with buffers for more safety).
- Learn how to do a user interface (first simple console-like input then later on a GUI)

Note that the very first step (finding how to do it) will require some Rom Hacking kwowledge or existing documents, if you can't work that out you aren't ready to consider making a tool.

how ta hack
Posted on 07-07-10 11:10 PM Link | Quote | ID: 132736


Red Goomba
Level: 16

Posts: 7/38
EXP: 16657
Next: 3599

Since: 06-16-10

Last post: 4813 days
Last view: 4813 days
Posted by messiaen
To answer the original question, first you need to know specifically what you want to hack and EXACTLY how to do it. Say you want to make a program that will change the initial number of lives in a game (a good project for begginers):

- Find how to do it and test doing a simple change using a hex editor.
- Find a suitable language (C# seems like a good begginer language since you can get results very fast, which is great for simpler rom hacking).
- Learn basic file I/O: how to open a file in binary mode, how to get to a specific offset (seek functions), how to properly write data into the data, etc. Once you find that, learn to work with buffers for more safety).
- Learn how to do a user interface (first simple console-like input then later on a GUI)

Note that the very first step (finding how to do it) will require some Rom Hacking kwowledge or existing documents, if you can't work that out you aren't ready to consider making a tool.


its SM64 mah fave game (took me forevverr to get the last star though )

____________________
I have left...

Trax
Posted on 07-08-10 12:17 AM Link | Quote | ID: 132739


Yellow Stalfos
Level: 71

Posts: 976/1145
EXP: 3034297
Next: 132817

Since: 07-06-07
From: Québec

Last post: 3621 days
Last view: 2873 days
You shouldn't have to specify C/C++. Only saying "C" is enough, while it IS technically true that C++ is not a strict superset of C (which is a very stupid characteristic, anyway)...

NightKev
Posted on 07-08-10 07:26 AM Link | Quote | ID: 132754


Cape Luigi
Level: 131

Posts: 4275/4792
EXP: 26217314
Next: 207306

Since: 03-15-07

Last post: 3728 days
Last view: 3640 days
Considering there's already a SM64 editor (called "Toad's Tool"), why are you trying to make one yourself?

____________________

Trax
Posted on 07-09-10 02:56 AM Link | Quote | ID: 132785


Yellow Stalfos
Level: 71

Posts: 977/1145
EXP: 3034297
Next: 132817

Since: 07-06-07
From: Québec

Last post: 3621 days
Last view: 2873 days
I'd suggest starting with NES, because it is relatively simple, the platform is well understood and there's plenty of information around for many games...

how ta hack
Posted on 07-09-10 10:31 PM Link | Quote | ID: 132803


Red Goomba
Level: 16

Posts: 10/38
EXP: 16657
Next: 3599

Since: 06-16-10

Last post: 4813 days
Last view: 4813 days
Posted by NightKev
Considering there's already a SM64 editor (called "Toad's Tool"), why are you trying to make one yourself?


I know that! but i want to be able to hack the game more!

____________________
I have left...

mickevincent
Posted on 07-09-10 10:45 PM Link | Quote | ID: 132804


Leever
Level: 32

Posts: 77/193
EXP: 205905
Next: 537

Since: 02-26-08

Last post: 3351 days
Last view: 964 days
but you dont want to start with n64. its like playing guitar, you dont start with a michael angelo song, you start with knocking on heavens door or something easier like that
Pages: 1 2


Main - ROM Hacking - how to make hacking tools? New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.029 seconds. (340KB of memory used)
MySQL - queries: 114, rows: 154/156, time: 0.018 seconds.