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

Author Topic: NES RoboCop with Arcade sprites  (Read 46135 times)

SomeOldGuy

  • Jr. Member
  • **
  • Posts: 81
  • Game Changer
    • View Profile
Re: NES RoboCop with Arcade sprites
« Reply #120 on: April 11, 2021, 12:42:57 pm »
Hey Everybody!  ;D

Did a little more work on the bonus stage recently.  It's looking a bit more arcade accurate.

sics

  • Sr. Member
  • ****
  • Posts: 431
  • Contact me!
    • View Profile
    • Deviantart: Terwilf
Re: NES RoboCop with Arcade sprites
« Reply #121 on: April 13, 2021, 02:34:05 pm »
Hi, I don't know if it will be useful for you, but I have modified the codecs of this game for the CadEditor, to load the graphics directly from the US ROM.

Robocop_Edit.7z

On the other hand, did you use DjinnMapper to make the last edit?
twitter | deviantart | Better a small finished project than a thousand giant ideas stuck in your system.

SomeOldGuy

  • Jr. Member
  • **
  • Posts: 81
  • Game Changer
    • View Profile
Re: NES RoboCop with Arcade sprites
« Reply #122 on: April 14, 2021, 09:23:37 pm »
Hey sics!

Thank you for doing that.  :thumbsup:  I did figure out how to manipulate CadEditor though.  Guess I should have shared this info when I figured it out.  :-[  I am very curious to know your method if you want to share. :)

I found that I could open and edit the .bin files ( located in the file path CAD Editor 5.3\CadEditor\settings_nes\robocop) with the HxD Hex Editor.

So for level 1

Open the file chr1.bin in HxD and copy lines 40 to 60 ( you can probably use less, see pic below).  Next load up the original unedited game in FCEUX and open the hex editor.  Hit control F, paste the bytes (or is it bits?) that you just copied, and hit search.  This will show you where the tiles are for level 1 (in this case 42010 to 43000).  Level 2 starts at 43010 and so on for the following levels.


 
Now open the rom with your edited chr data in FCEUX and go to the address from above (42010), you'll see that these values have changed. ;D  Copy the bytes from 42010 – 43000 and paste over the original bytes in the chr1.bin file you have open in HxD and save the edited file.  When you open level 1 in CadEditor you'll now see the new tiles you created.  I hope this explanation is clear, if anyone needs help let me know.

Palettes can be changed as well.  Open the pal#.bin file and change to whatever values you want to use.

For the bonus level, I did not use DjinnMapper.  I haven't taught myself how to use it yet.  I plotted everything out with a pencil on a pad of paper and copied the values into the hex editor.  If there is an easier method, please let me know.
« Last Edit: April 14, 2021, 09:38:34 pm by SomeOldGuy »

sics

  • Sr. Member
  • ****
  • Posts: 431
  • Contact me!
    • View Profile
    • Deviantart: Terwilf
Re: NES RoboCop with Arcade sprites
« Reply #123 on: April 15, 2021, 12:20:00 am »
My method is simple, I analyzed all the codecs in CadEditor, and nowadays I build new codecs based on the existing ones, for example Robocop's graphics, they work the same as Captain America's...

Edit: Settings_Robocop_1.cs I created it before I knew that codecs existed for this game, so these include some notes as reminders that briefly explain the function of each part of the script, so if this topic interests you, you may find it useful.

About your other question, there are several simpler ways to work, for example editing the screen visually with DjinnMapper.

Although personally I prefer to create a mockup in an image editor, and then transfer it to NES Screen Tool 2.51, adapting it to the right restrictions to make it work in the game...


That way I export the data in ASM, and format them in Notepad ++, to finally paste them in the right place in the rom :thumbsup:
« Last Edit: April 15, 2021, 12:50:49 am by sics »
twitter | deviantart | Better a small finished project than a thousand giant ideas stuck in your system.

SomeOldGuy

  • Jr. Member
  • **
  • Posts: 81
  • Game Changer
    • View Profile
Re: NES RoboCop with Arcade sprites
« Reply #124 on: April 18, 2021, 04:04:01 pm »
Sics, you are a wealth of knowledge!  Your method will definitely speed up work flow.  Have you considered creating youtube tutorial videos?

I've been working on ED-209 lately and figured out a few more things.  I was able to fix the position of his cannon when he's firing at RoboCop, but still need to figure out how to edit the position of the bullets as they are fired from the cannon.  Any advice here would be welcome. ;D



I've also been trying to understand how ED-209 is animated.  Looking at the code it seem like there were 4 pattern tables used to animate him.  To animate him like the arcade would require 8 pattern tables.  I've added the additional 4 pattern tables to the bottom of the CHR Rom (see pic below).  I replaced the values of original pattern tables (3A,22,3E,3C) with the new (82,80,86,84) and the game works fine.  Would some body be willing to help alter the code to use all 8 pattern tables to animate ED-209 correctly?  Or give me an idea of how I can do this myself?  ;D


Noside

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: NES RoboCop with Arcade sprites
« Reply #125 on: April 18, 2021, 05:18:34 pm »
Woah! massive update! fantastic work as always! :thumbsup: :woot!:

SomeOldGuy

  • Jr. Member
  • **
  • Posts: 81
  • Game Changer
    • View Profile
Re: NES RoboCop with Arcade sprites
« Reply #126 on: May 01, 2021, 06:24:28 pm »
Thanks Noside! ;D

So I was able to figure out the issue with the bullet aligning with the cannon and polished ED-209's graphics a bit.  Thanks again sics for the suggestion to use the background color.  :beer: 





Flaviogames

  • Jr. Member
  • **
  • Posts: 47
    • View Profile
Re: NES RoboCop with Arcade sprites
« Reply #127 on: May 01, 2021, 09:04:47 pm »
another interesting project for nes, I love this 8bit and I think this type of project is incredible

sics

  • Sr. Member
  • ****
  • Posts: 431
  • Contact me!
    • View Profile
    • Deviantart: Terwilf
Re: NES RoboCop with Arcade sprites
« Reply #128 on: May 04, 2021, 02:42:06 am »
Remarkable progress I love everything you've done so far, the other day I had a chance to try the hack and I really liked it, except the boss that had kidnapped the girl, although I ended up passing I could not understand what was the pattern to follow to hurt her, so it was a very long and boring fight, but it definitely feels like playing a game of a higher console, congratulations! :beer:
twitter | deviantart | Better a small finished project than a thousand giant ideas stuck in your system.