News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Help with hacking  (Read 3344 times)

earthwarrior

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Help with hacking
« on: April 15, 2013, 04:26:15 pm »
First I apologize if this is the wrong place.
I want to make a level hack, changes the story and events, for Yu Yu Hakusho tournament tactics but I don't know what kinds of tools to use. I already have a clean ROM and an emulator. All I need is the tools and if possible an explanation about how to use the tool. Thanks!
Play thousands of retro games online for free on vizzed!
http://www.vizzed.com/playonlinegames/index.php?ref=234355

FAST6191

  • Hero Member
  • *****
  • Posts: 3051
    • View Profile
Re: Help with hacking
« Reply #1 on: April 15, 2013, 05:19:09 pm »
That would be GBA hacking then (I assume there were no others on other platforms). This would actually be one of the few tactics games for the GBA I can not really remember but that is a different discussion.

To the best of my knowledge and doing the token search of this site there are no tools made to hack the game. You can still hack it but it will take some doing and you will have to reverse engineer the game in the first place (doable but a very different kind of skillset to using tools and making sure you have balanced levels and whatnot), I can not really even offer you an alternative tactics game (I am using a somewhat strict definition and ignoring advance wars and fire emblem both of which do have extensive tools) that does have any tools until the Final fantasy entry on the DS either which is more text than level editing anyhow.

If you are still interested we can try starting out on the title but it will be a long process (level editing something as tightly scripted as these sorts of games is not an easy hack compared to most text hacking and similar such things).

earthwarrior

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Help with hacking
« Reply #2 on: April 15, 2013, 05:40:41 pm »
Not even a hex editor would be able to do this? I thought hex editors can change the levels as long as you know which numbers to edit.
Would editing the start positions for each battle and movement permissions be difficult?
Maybe instead I can keep the opening the same (it has a tutorial in the opening so I don't want to remove that) and just change a few of the levels. In willing to at least try. :)
Play thousands of retro games online for free on vizzed!
http://www.vizzed.com/playonlinegames/index.php?ref=234355

henke37

  • Hero Member
  • *****
  • Posts: 643
    • View Profile
Re: Help with hacking
« Reply #3 on: April 15, 2013, 06:09:45 pm »
A hex editor can do anything. The problem is knowing how to do it.

earthwarrior

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Help with hacking
« Reply #4 on: April 17, 2013, 05:19:05 pm »
Oh. Thanks for clearing that up henke37.
I'm having trouble finding a graphic editor. I tried unlz.gba and nameless sprite editor. The graphics all look funny and they don't look like anything from the game. (I also tried using these on Pokemon leaf green but the same thing happens)
As for a hex editor I have xvi32. Is this one fine or is there another I should use? (It's a gba game)
Here are the things I want to do with the hack:
Change sprites (possibly)
Change the story
Change the level maps (not the world maps)
Change the movement permissions within the levels
Play thousands of retro games online for free on vizzed!
http://www.vizzed.com/playonlinegames/index.php?ref=234355

FAST6191

  • Hero Member
  • *****
  • Posts: 3051
    • View Profile
Re: Help with hacking
« Reply #5 on: April 17, 2013, 06:14:40 pm »
GBA graphics.... compression can be used and there are worse options than unlzgba for dealing with graphics and GBA compression though it is probably the lesser when compared to NLZ-GBA Advance and Lz77Restructor 2. Also pokemon is actually quite a hard game to hack if you are going from ground up, it has loads of tools though so use those if you especially want to hack pokemon.

Tile editors...
I like tiled2002
http://home.arcor.de/minako.aino/TilEd2002/
Also crystaltile2
http://www.romhacking.net/utilities/818/

When you say funny looking do you mean the colours are not there or that the graphics are corrupt in some way (errant pixels, deteriorating as things go on....)? If the former then we probably have to discuss palettes- typically console games are not full colour pictures but numbers lining up with an appropriate colour scheme (aka a palette). These palettes can come in many forms and are used for certain types of animation too and are also why you face enemies later in games that look like older ones but with a new jacket.
You can find the palette in the game (difficulty varies from trivial to near impossible to get anything useful) or you can snatch it from the game ram (far easier though you can not edit the colours themselves if you do that and you will need to be in a position in the game where the artwork in question in the colours you want is being used).

XVI32 is on my list of nice freeware hex editors only by virtue of its scripting language, without it I would not really have it and most of its features are tied to it rather than a nice GUI. mirkes.de tiny hexer ( http://www.softpedia.com/get/Others/Miscellaneous/tiny-hexer.shtml ) and http://hexplorer.sourceforge.net/ (you will need to fiddle with the GUI as the stock one is not set up for greatness) are my main two general purpose freeware hex editors though (hex workshop and 010 editor if you go paid and sticking with free I would not say no to a copy of HxD though the others mentioned have more functionality).
Generally speaking though a hex editor is not that useful a tool for actually doing a hack- you are probably going to want to split your time between a tile editor (already taken care of) and a debugger
http://www.romhacking.net/documents/361/ *
Do note you do also have simpler options like http://www.romhacking.net/documents/331/ which works for some graphics as well.

*the tiled2002 program can read VBA savestates if you do not want to hunt down a palette.

Change the story, level maps and permissions
I could rattle off hundreds of ways the game developers could have coded it and each changes how you approach things slightly.
Story (assuming you do not just mean text) is not necessarily anything close to what you might recognise as a human readable sequence and is rather a sequence of programming that kicks in when you leave a screen/level (for an analogy think if you tried to read a choose your own adventure from start to finish like a normal book- such a setup is often quite useful for games and both makes the would be hacker's life easier and harder). Nothing stopping you from making soft touch type changes though and following the same broad sequence of events (say still have permanent death at the end level 5 but make it a temporary character) but with entirely different text so the player does not necessarily notice.
Level maps and world maps might be coded differently but it does not really matter as the same logic underpins all levels on every game on every console really.
Permissions... I have yet to read up on the game but assuming we are dealing with rules/laws like others that can vary a bit. Are you looking to change the game and say add a lava tile where there might not be one or just change permissions like can not move over water. The latter might be harder (or might not if you are willing to break things somewhere else) but again you could go the soft touch route and change a level to still effectively block you or not as the case may be using the existing setup, couple it with a light graphics hack as well if you want (going back to water if you can afford to lose it and change the colours to red and you have the lava tile).

earthwarrior

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Help with hacking
« Reply #6 on: April 19, 2013, 05:05:58 pm »
The graphics never look like anything from the game. They all look like a bunch of pixels in random colors. I don't really want to change the graphics anymore. I just want to rip the sprites of the game. (I'm working on a walkthrough for this and I thought it would be nice to have a few of the sprites)
When you say I can make "soft touch type changes" do you mean I can change the words, but keep all of the events the same?
Instead of changing the text would it be possible to make the enemies higher levels? (If I can find the data in a hex editor) It really bothered me that the game  was so easy.
Play thousands of retro games online for free on vizzed!
http://www.vizzed.com/playonlinegames/index.php?ref=234355