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

Author Topic: Helping with Tile Layer Pro  (Read 1416 times)

Vesta

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Helping with Tile Layer Pro
« on: May 17, 2021, 02:07:14 pm »
Hello, amigoS! :laugh:

I have this problem with TLP. When I am trying to open a rom .bin file of Streets of Rage 2, comes this mishmash (Pic. included). Could please help me with that? I am trying to change icons and characters names in the game . How to get it work right? What am I doing wrong?

https://ibb.co/xGmyr7d

Chicken Knife

  • Hero Member
  • *****
  • Posts: 616
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #1 on: May 17, 2021, 06:14:28 pm »
You'll always see garbled stuff at the top of the rom because all that is typically non graphical data. You need to scroll down and visually scan for what looks more like graphics. I'm not sure which encoding Genesis games typically use, so you may need to play around with those if TLP didn't default correctly. Also, if you find the graphics and they don't seem to be appearing quite right, hit the + and - keys to make adjustments as necessary so that they display correctly in the boxes.

eskayelle

  • Full Member
  • ***
  • Posts: 190
  • NBA Jam 2KTE / TMNT of Rage / Pong de las TMNT Dev
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #2 on: May 17, 2021, 10:27:39 pm »
Much of the graphics are actually compressed, examples being many of the enemy sprites, backgrounds, the opening sequence, the ending images...

You'd need to figure out the decompression scheme at $30C0 to get those going, though there is a decompressor mentioned in the blog in my signature.  If you use that, you then just need image locations.  The Streets of Rage Online site that can be found on the Internet Archive Wayback Machine has a fair amount of these in the Hacking section of that archived SoR Online site.

There are some icons (like the roast chicken, gold bars, 1up...) that are not compressed and can be found with some hunting.  You'll find quite a few around $36748. 

Happy hunting!

P.S.  Character names are in ASCII code in the rom.  You can just search on them as text strings.  Only the names on the player select screen are tiles.
I once wrote a blog.  Maybe you'll find something in it useful?  https://www.romhacking.net/forum/index.php?topic=30593.0

Vesta

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #3 on: May 19, 2021, 02:14:13 pm »
Hello and Thank You for your replies :angel:

Is there a manual or a video guide how to hack Streets of Rage games?

I still have a problem with character names and icons.

TLP doesn't open clear image of details I tryed many times, but it is worhtless:((

Jorpho

  • Hero Member
  • *****
  • Posts: 4885
  • The cat screams with the voice of a man.
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #4 on: May 19, 2021, 08:40:37 pm »
Is there a manual or a video guide how to hack Streets of Rage games?
Are you familiar with the utilities?
http://www.romhacking.net/utilities/970/
http://www.romhacking.net/utilities/969/

You can always have a look at the source code if you are desperate to find out what is going on behind the scenes.
https://github.com/gsaurus/sor_pancakes
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!

Vesta

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #5 on: May 20, 2021, 01:27:07 am »
Are you familiar with the utilities?
http://www.romhacking.net/utilities/970/
http://www.romhacking.net/utilities/969/

Yes, Thank You! Is it possible to change characters names using Pancake 2 or 3 tools?

You can always have a look at the source code if you are desperate to find out what is going on behind the scenes.
https://github.com/gsaurus/sor_pancakes

eskayelle

  • Full Member
  • ***
  • Posts: 190
  • NBA Jam 2KTE / TMNT of Rage / Pong de las TMNT Dev
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #6 on: May 20, 2021, 09:27:00 am »
Hello and Thank You for your replies :angel:

Is there a manual or a video guide how to hack Streets of Rage games?

No, but do read that blog.  That's not entirely a shameless plug on my part; it provides locations of assets and some of the steps I took when hacking the game.  The readme files in my TMNT of Rage games provide info as well.

That SoR Online site I had mentioned is also the closest thing to a manual you might get, plus the files in the Documents section of the RHDN site.

P.S. Except for the player select screen, character names can be changed by using a hex editor to search for them (like MAX) in the rom.  Then, you just change them and save (making sure you kept a copy of your original file and have good version control before messing around in the rom).
I once wrote a blog.  Maybe you'll find something in it useful?  https://www.romhacking.net/forum/index.php?topic=30593.0

Vesta

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #7 on: May 20, 2021, 09:47:27 am »
No, but do read that blog.  That's not entirely a shameless plug on my part; it provides locations of assets and some of the steps I took when hacking the game.  The readme files in my TMNT of Rage games provide info as well.

That SoR Online site I had mentioned is also the closest thing to a manual you might get, plus the files in the Documents section of the RHDN site.

P.S. Except for the player select screen, character names can be changed by using a hex editor to search for them (like MAX) in the rom.  Then, you just change them and save (making sure you kept a copy of your original file and have good version control before messing around in the rom).

Thank You! It is really helpful. One more question:) How to keep character the same color as he is in it's original state? As soon as I put sprite into Pancake it changes color:(

eskayelle

  • Full Member
  • ***
  • Posts: 190
  • NBA Jam 2KTE / TMNT of Rage / Pong de las TMNT Dev
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #8 on: May 23, 2021, 12:33:25 pm »
It's been months since I've worked with Pancake 2, so I could be off-base here, but there may be one of two (or both) things happening here.

1) Pancake 2 is linked to the palettes specifically programmed into the rom, so when you upload your image, it will take on the colors in the default player palette.  To correct for this you'd need to find the location of the default palette and change it to match to your needs.  Programs like HivePal work here, or you could use Palettes of Rage, or you could simply make the edits directly into the hex.  You first need an address. I believe they're either somewhere in my blog, or in the TMNT of Rage readmes, or on the SoR Archive.

2) If you're using the same palette as the default and the colors aren't coming over, this is fairly common, and you just have to re-color by hand unfortunately.

There are other folks working on SoR mods who may be able to give additional advice.  Consider adding "[Streets of Rage 2]" somewhere in the title of your subject line so that they can see this is a specific SoR2 line of questions.
I once wrote a blog.  Maybe you'll find something in it useful?  https://www.romhacking.net/forum/index.php?topic=30593.0

Vesta

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #9 on: June 07, 2021, 10:15:34 am »
Hello, friends!

I have problem with editing icons for Streets of Rage 2. I am trying to use Tile Layer Pro. When I am opening SOR2 rom it comes like this: https://ibb.co/mNWVXH0
Colors don't match up
How can I make them look like this?: https://ibb.co/CV0KDLT

Thank You

eskayelle

  • Full Member
  • ***
  • Posts: 190
  • NBA Jam 2KTE / TMNT of Rage / Pong de las TMNT Dev
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #10 on: June 07, 2021, 07:13:00 pm »
Image editors like TLP use their own default palettes.  You'd need to locate the actual palette in the SoR2 rom and use the TLP function Palette > Load... to load it into the software.

Unzip the .tpl file in this .zip file.

Open your rom in TLP and load the .tpl using the instructions above.  I believe that should get you what you're looking for.
I once wrote a blog.  Maybe you'll find something in it useful?  https://www.romhacking.net/forum/index.php?topic=30593.0

Vesta

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #11 on: June 08, 2021, 01:50:56 am »
Thank you so much, You really helped me out. Much appreciated) :thumbsup:

June 08, 2021, 03:38:53 am - (Auto Merged - Double Posts are not allowed before 7 days.)
Does anyone know, there to get Pancake version 1.5?

I am realy desperate, I can not change icons. Someone said, that using pancake v1.5 could replace icons easy.

June 08, 2021, 03:41:20 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Image editors like TLP use their own default palettes.  You'd need to locate the actual palette in the SoR2 rom and use the TLP function Palette > Load... to load it into the software.

Unzip the .tpl file in this .zip file.

Open your rom in TLP and load the .tpl using the instructions above.  I believe that should get you what you're looking for.

Could You tell me, please, how did you keep turtles green in your hack? Because pancake doesn't accept green colour and changes it to another automatically
« Last Edit: June 08, 2021, 03:41:20 pm by Vesta »

eskayelle

  • Full Member
  • ***
  • Posts: 190
  • NBA Jam 2KTE / TMNT of Rage / Pong de las TMNT Dev
    • View Profile
Re: Helping with Tile Layer Pro
« Reply #12 on: June 08, 2021, 08:39:09 pm »
Quote
1) Pancake 2 is linked to the palettes specifically programmed into the rom, so when you upload your image, it will take on the colors in the default player palette.  To correct for this you'd need to find the location of the default palette and change it to match to your needs.  Programs like HivePal work here, or you could use Palettes of Rage, or you could simply make the edits directly into the hex.  You first need an address. I believe they're either somewhere in my blog, or in the TMNT of Rage readmes, or on the SoR Archive.

2) If you're using the same palette as the default and the colors aren't coming over, this is fairly common, and you just have to re-color by hand unfortunately.

My previous advice would remain the same here.  I believe the default palette is at $A5E0 - $A5FE.
I once wrote a blog.  Maybe you'll find something in it useful?  https://www.romhacking.net/forum/index.php?topic=30593.0