Romhacking.net

Romhacking => Personal Projects => Topic started by: RayofJay on August 25, 2021, 07:32:34 pm

Title: Jackal - NES super hack
Post by: RayofJay on August 25, 2021, 07:32:34 pm
hello, I have been on this journey since early 2019 and still going strong.  full level editor with BG and sprite graphics editing capability has been created, the ROM has been expanded - doubled in size, I have reverse engineered the entire source code, decompressed the majority of the graphics, expanded the levels from 12 screens in length to 45, and increased the game from 6 to 10 levels.  I have changed the points system to an XP system where players can purchase upgrades at the end of each level.
Title: Re: Jackal - NES super hack
Post by: Googie on August 25, 2021, 09:17:02 pm
Looking forward to trying out the editor, I love playing with level editors.  :laugh:

Jackal was a game I always got into back in the day, so making/or playing a Jackal hack'll be a real treat. :D
Title: Re: Jackal - NES super hack
Post by: PolishedTurd on August 25, 2021, 11:03:20 pm
If you have the inclination and the chops, I'd suggest coming up with a randomized level generator. You would have to figure out the heuristics for the level geography, progression toward a goal, placement of enemies, progression of difficulty, etc... Not trivial, but it sounds like you have come far already.

Then the game would have "infinite" replay. And you could explore modes like time trial, basic weapons only, pacifist mode(?!). Since you've got the XP system, maybe expand the abilities so you can buy a single-use nitro boost to go fast for half a second, but you can't shoot during that time. Or build a temporary dirtbag bunker you can attack from but not get hit. Or for every guy you rescue, you can fly the chopper for 3 seconds and rain death from above. I should stop there.

Just a thought. This is a clever game that I only discovered long after it came out, so I'm glad to see it get some love.
Title: Re: Jackal - NES super hack
Post by: Trax on August 26, 2021, 12:55:37 am
Very cool project. This is a nice game, and very "hackable". I started an editor of my own quite some time ago, but it was shelved because I had too many projects at the same time. Can you show some screenshots or is the project still in an early phase?
Title: Re: Jackal - NES super hack
Post by: Flaviogames on August 26, 2021, 06:14:06 am
very interesting, have you thought about the title? would it be Jackal 2? or jackal trum
Title: Re: Jackal - NES super hack
Post by: nesrocks on August 26, 2021, 07:22:52 am
As I've told you before, this is incredible. But also, please fix the game's camera while you're at it! :laugh:
Title: Re: Jackal - NES super hack
Post by: RayofJay on August 26, 2021, 07:54:23 am
thanks for the replies!  i didn't expect as much interest in this older game :).
The newest level editor requires a patch  that i haven't really released yet.  If you're interested, DM me, or visit this discord: https://discord.gg/tzMr63ZA.  or just DM me on discord.


here's the latest sample i uploaded to youtube.  doesn't include the XP menu though, but the menu works fine.
https://www.youtube.com/watch?v=m-I7tafFiQQ (https://www.youtube.com/watch?v=m-I7tafFiQQ)

TRAX:
I feel like we talked before?  years ago?  i'm not sure.  The project already has a fully completed 1st hack.  here is my playthrough of it
https://www.youtube.com/watch?v=MnU5LlA1t-A (https://www.youtube.com/watch?v=MnU5LlA1t-A)
It was extremely difficult for most, so i added patches for varying difficulties.
The latest hacking endeavor has seen me create the entire source code, and expand the levels, new enemeies etc, which is still fairly far from released.
Bogaabogaa has created a western themed level, and I have created an urban themed level with large city buildings, roads, etc.  And i'm working on level 1, but there's still 7 other levels to work on, new graphics and enemies.  It'll likely be a while before it's fully complete and ready to release.
I must admit, i'm not sure how to upload images or videos into this forum...this is my first time here.

POLISHEDTURD:
A randomizer has certainly crossed my mind.  I think it's very doable - i already created an enemy horizontal position 'randomization' as part of my original hack.  It would certainly take some logic, but very doable.  i'm not if or when i'd get around to this, especially with the expanded hack taking so much time and effort.
I've already investigated changing the jeep speed.  it works form moving around on the screen, but when you scroll, it still scrolls one pixel at time due to how the game handle enemy spawning.  i haven't looked deep into what it would take to get that to work fully.  You'd have to make sure no enemy spawns or new level tile loads where missed..

FLAVIOGAMES:
I've thought about editing the title screen many times, and my original hack released (mentioned above) was called Jackal 2.  I think this new one needs a subtitle, like jackal, war march, or something. 

NESROCKS:
haha, the camera is certainly fixable.  i don't recall exactly what you were trying to fix though?  was it that the camera scrolled late when you were too close to the side of the screen?
Title: Re: Jackal - NES super hack
Post by: Cheesman on August 26, 2021, 09:23:28 am
Great Work!  :D

Title: Re: Jackal - NES super hack
Post by: bogaabogaa on August 26, 2021, 09:54:52 am
I must admit, i'm not sure how to upload images or videos into this forum...this is my first time here.

I think you need to host your images somewhere else. I use imgur and copy the BBC code and paste it here.

Code: [Select]
[img]https://i.imgur.com/bYfAAKV.jpg[/img](https://i.imgur.com/bYfAAKV.jpg)


In the background picture you see I struggle to display everything since my monitor does not have a high resolution. But high resolution should not be a problem to get in this time and age. Did not work with your editor in a while but I could do everything I need to get done.


Link to the editor I used here. OUTDATED EDITOR FOR EX ROM! https://cdn.discordapp.com/attachments/669020192717799426/734485000111784006/Jackal_Level_Editor_EX.exe


Source Assembly for the EX Source:
--deleted-- since it is a expanded full game. Use this patch instead -> https://www.dropbox.com/s/1u8u8vb66t9f3yn/JackalEX_OUT.ips?dl=0


Editor Help:
https://cdn.discordapp.com/attachments/669020192717799426/876481632159301682/Jackal_Level_Editor_Help.zip


Also worth noting. If you use Mesen the game will crash when loading stage 1. I think later stages work sometimes. The NES emulator FCEUX or loading the game on a flash card to play it on real hardware should work fine.

Here I showcase some of the western style level.
https://youtu.be/o0MpijYOxzk
Title: Re: Jackal - NES super hack
Post by: RayofJay on August 26, 2021, 11:10:24 am
thanks for the links bogaa!

yes, Mesen crashes because of the mapper.  FCUEX handles it differently.  There is a mapper for Mesen that works, but that breaks FCUEX, but i don't recall the mapper number.  i only really use FCEUX.
Title: Re: Jackal - NES super hack
Post by: bogaabogaa on August 26, 2021, 11:49:27 am
My MMC5 conversion did work just fine till I updated to a newer Mesen version and the the bug did look like this. Sure it has to do that the CPU tries to play with the PPU while randering but did not dive into it for more then a day. I do not understand the mappers well enough to just spot when something behaves wrong and even after seening where it comes form I still need to find a solution to handle it different.

https://youtu.be/UmtEGCkHfYA
Title: Re: Jackal - NES super hack
Post by: nesrocks on August 26, 2021, 07:08:59 pm
haha, the camera is certainly fixable.  i don't recall exactly what you were trying to fix though?  was it that the camera scrolled late when you were too close to the side of the screen?
Exactly! A lot of Konami games have this problem. It shouldn't require the player to get so close to the edge of the screen to start scrolling.
Title: Re: Jackal - NES super hack
Post by: Trax on August 26, 2021, 11:50:02 pm
Yes, the goddamn scroll thresholds that let you see no more than one third of the screen in front of you. This is a MAJOR flaw that makes the game a lot less enjoyable and needlessly difficult, mostly because you need cat reflexes to react to enemy presence. This is THE modification I would welcome with arms wide open.

Also, RayofJay, I do have a (probably old) version of your hack "Jackal 2" in my Jackal folder. I remember playing it, but I gave up after the first level because of the insane level of difficulty. But hats off to you for making the game a lot longer and with new tile sets. If I recall correctly, the game has a similar structure to Contra in many regards, like level tiles data and enemy placement and behavior code.
Title: Re: Jackal - NES super hack
Post by: RayofJay on August 27, 2021, 07:05:41 am
I found some code that changed how the side scrolled responded, so i was close to the solution.  i'll spend some time today on it

TRAX: Yes, i received quite a lot of negative feedback regarding the difficulty.  But, honestly, it's no different than SMW masters making Kaizo hacks.  I've played jackal most of my life and wanting something challenging.  Even with the insane difficulty, the fact that i made the levels makes it even a little less challenging to me personally.  However, i did re-release Jackal 2 with 3 separate difficulty patches on RHDN.  i do believe i including a doc detailing the differences in each difficulty level too.

August 27, 2021, 07:49:45 am - (Auto Merged - Double Posts are not allowed before 7 days.)
the horizontal scrolling now begins 2 tiles earlier :).  The vertical scrolling already seems good to me?  thoughts?
Title: Re: Jackal - NES super hack
Post by: Trax on August 27, 2021, 03:44:30 pm
Whoa, that's fast. What part of the code did you change?
Title: Re: Jackal - NES super hack
Post by: RayofJay on August 27, 2021, 03:50:21 pm
Code: [Select]
Label1096: LDX #$00
LDA JeepHorizPosition,X
TAY
SEC
SBC #JeepMinimumHorizontalPositionForScrolling
BCC +
SBC #(JeepMaximumHorizontalPositionForScrolling - JeepMinimumHorizontalPositionForScrolling + 1)
BCS ++
-: LDA JeepVertPosition,X
SEC
SBC #$60
BCC Label1134
SBC #$60
BCS Label1135
--: RTS
+: LDA $40
BNE Label1136
CPY #JeepMinimumHorizontalPosition
BCS -
LDA #JeepMinimumHorizontalPosition
STA JeepHorizPosition,X
BNE -
Label1136: DEC $40
LDA #JeepMinimumHorizontalPositionForScrolling
BNE +
++: LDA $40
CMP #$FF
BNE ++
CPY #(JeepMaximumHorizontalPosition + 1)
BCC -
LDA #JeepMaximumHorizontalPosition
+:
---: STA JeepHorizPosition,X
BNE -
++: INC $40
LDA #JeepMaximumHorizontalPositionForScrolling

Same location i sent you before, i just only edited one value before.  There's a check and then a set.  originally i just changed the check, but then the set made everything act weird (forced the jeep to jump around when the screen scrolled).  I replaced the values with global variables for ease of editing

August 27, 2021, 04:13:00 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
video is short - 3-4 seconds.  be ready to click replay.  the static image of the jeep is approximately where it would scroll previously to give you an idea of the change.  The scroll point was moved 16 pixels.

https://youtu.be/Z2-5IaRvjBU
Title: Re: Jackal - NES super hack
Post by: Xander max on August 27, 2021, 08:08:13 pm
Very nice! Can the form you decompress u the game be used in other titles? Another thing, does your tool allow you to edit the vehicle?
Title: Re: Jackal - NES super hack
Post by: RayofJay on August 27, 2021, 10:01:01 pm
the compression is konami RLE  this was removed from the majority of graphics and they are now uncompressed so they are all viewable in tools like yychr

yes, my level editor includes most BG and sprite graphics for editing, including the jeep.  the jeep is generated from mirrored tiles though so things like an isometric view arent possible.  at least not without sacrificing precious pattern table space and modding the sprite rendering routines
Title: Re: Jackal - NES super hack
Post by: NiO on August 28, 2021, 04:24:26 am
Nice, this is something I was thinking about a few weeks ago.

Will you change/update graphics or try something wilder after?

Title: Re: Jackal - NES super hack
Post by: RayofJay on August 28, 2021, 06:45:35 am
bogaa was already created a wild west theme stage.  level 7 is all urban.  level 1 is now more of a beach and river level.  and yes, all the other levels will likely get at least a retouch on the graphics.  the brand new levels will likely have brand new graphics.  new sprites are a little trickier be ause the sprite render table is already about full.  it shouldnt be too hard to expand it though

August 29, 2021, 10:45:53 am - (Auto Merged - Double Posts are not allowed before 7 days.)
i have now incorporated a patching function directly into the editor - if the original Jackal USA.nes ROM is loaded (various bytes are checked), then an internal IPS file is applied.  The IPS format is extremely simple and I implemented the algorithm in the editor code

August 29, 2021, 02:17:50 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Level 7 sample:
https://youtu.be/Y7FebwXR0gs
Title: Re: Jackal - NES super hack
Post by: PolishedTurd on August 29, 2021, 04:59:43 pm
That looks cool! I notice the explosions do not cause the terrain to illuminate though. Any chance to work that effect in?
Title: Re: Jackal - NES super hack
Post by: RayofJay on August 29, 2021, 05:52:07 pm
oh, i turned that feature off for level 7 (completely configurable for each level now :)).  i went to make a video of the level and noticed the flash was making the stage darker - so i just turned it off.  I had envisioned the urban stage in daylight too.  i also don't want the flash on every level to take away from the awe of the effect.

August 31, 2021, 10:02:22 am - (Auto Merged - Double Posts are not allowed before 7 days.)
i was actually thinking of making a REALLY dark level, reminiscent of Jungle Strike Level 4, that's super hard to see unless you're firing.  Of course, you have unlimited ammo in jackal, but it can still make the level hard not seeing much all the time.

The NES palette may make that difficult though, with only having a medium gray and black.  perhaps making use of the dark blues..

September 05, 2021, 12:45:45 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
if anyone wants to contribute, just let me know :).  level design and modification is pretty time-consuming.  There's 5 untouched levels that need ideas/editing.
Title: Re: Jackal - NES super hack
Post by: RayofJay on September 15, 2021, 08:46:11 am
Level 1 is complete :).  Sure, there may be some tweaks to enemy AI, and some replay value changes for when the game is beaten the first time, but it's nice to have a level pretty much done.

I'm still searching for level ideas, and especially new enemy ideas (graphics, and more importantly, function/mechanics).
Title: Re: Jackal - NES super hack
Post by: Trax on September 15, 2021, 09:47:55 am
I'll give it another shot, and let you know if there are any major bugs or annoyances.
Title: Re: Jackal - NES super hack
Post by: RayofJay on September 15, 2021, 09:29:42 pm
@trax, do you mean the original hack i made?  I haven't released this hack - won't be for quite a while i'd imagine, but you're more than welcome to test it out.  DM/email me or something.

ALSO - my first large boss edit is happening.  a sample:
https://www.youtube.com/watch?v=Cb27E85LLN0 (https://www.youtube.com/watch?v=Cb27E85LLN0)
Title: Re: Jackal - NES super hack
Post by: Googie on September 16, 2021, 05:10:02 pm
After seeing that video yesterday now I wanna take a stab at hacking this game. :D
Title: Re: Jackal - NES super hack
Post by: RayofJay on September 16, 2021, 09:19:25 pm
the more the merrier!  I am the only one thats gone so far as to recreate the source code (that i know of), and I was the first to post a hack of jackal to RHDN, but there are a few others dabbling.  Bogaa has contributed some custom code and a western themed level.  others have contributed ideas/graphics.  China has a decent Jackal scene, and, though I've reached out to some on bilibili, Their community is separate still.

There's a small discord where a few of us discuss things if you'd like to join:
https://discord.gg/9FMHwdtGXD
(It's a Castelvania-named server, but there's a lot of different game channels)
Title: Re: Jackal - NES super hack
Post by: Trax on September 16, 2021, 10:20:44 pm
I've tried a version of the game where the machine gun shoots in the same direction as the Jeep's orientation. I thought it was a nice modification, but it also revealed that being able to shoot up while driving another direction has its advantages. I thought that it could be a nice option to toggle between the two modes with the Select button.
Title: Re: Jackal - NES super hack
Post by: RayofJay on September 17, 2021, 01:24:25 pm
there was a separate hack posted that provides any direction bullet firing.  i added this feature in my last release of the other hack before though.  if you hold down the bullet fire button it maintains the direction

and yes its gotten me killed many times thinking my bullets would go up :).
Title: Re: Jackal - NES super hack
Post by: RayofJay on October 11, 2021, 07:45:58 pm
progression is quite slow at times...but I have implemented a simple HUD disable feature.  Pausing and pressing select will hide the HUD now.

https://www.youtube.com/watch?v=EcPTy4QXnX4 (https://www.youtube.com/watch?v=EcPTy4QXnX4)

October 18, 2021, 10:36:33 am - (Auto Merged - Double Posts are not allowed before 7 days.)
A new mini boss.  S-Mines!
https://www.youtube.com/watch?v=EoaCKwdSTA4 (https://www.youtube.com/watch?v=EoaCKwdSTA4)
Title: Re: Jackal - NES super hack
Post by: RayofJay on October 31, 2021, 07:49:59 pm
a bit of inspiration and suggestion led to this repurposing of the Level 4 train.  the object is both a normal enemy and part of the new miniboss here:
https://www.youtube.com/watch?v=LDQ30IEv7F4 (https://www.youtube.com/watch?v=LDQ30IEv7F4)