Page 1 of 1

unusual MK code request

Posted: Tue May 10, 2005 7:44 pm
by orochi-x
Hi. I've been working on a code to remove the bg of a stage in UMK3 to make sprite ripping easier. I'm using "Jades desert" as it uses a contrasting bg colour. This is what I have so far...........

:umk3:00000000:0020BB7D:00000044:000000FF:remove bg
:umk3:00010000:0020BB6D:00000044:000000FF:remove bg
:umk3:00010000:0020BB4D:00000044:000000FF:remove bg
:umk3:00010000:0020BB3D:00000044:000000FF:remove bg
:umk3:00010000:0020BB2D:00000044:000000FF:remove bg
:umk3:00010000:0020BB1D:00000044:000000FF:remove bg
:umk3:00010000:0020BE77:00000044:000000EF:remove floor
:umk3:00010000:0020BB6E:00000033:000000FF:remove cyrax
:umk3:00000000:0020BE60:00000044:000000EF:remove lifebars
The problem is that i still have 1 layer of bg to remove aswell as the characters shadow. I've spent over a week trying to find them and as i came across the other codes more or less by accident, i cant figure out how to remove them. Any help would be greatly apreciated.

Also, if anyone feels like doing the same for the earlier MK's i would be eternally grateful :D

Please?

thank you in advance.

Posted: Tue May 10, 2005 11:41 pm
by ugetab
All of a sudden, I realized I know too much about the Mortal Kombat series' programming.

Here's the complete version of the codes you wanted. The code added was 20BB59.

Code: Select all

:umk3:00000000:0020BB1D:00000044:000000FF:remove bg
:umk3:00010000:0020BB2D:00000044:000000FF:remove bg
:umk3:00010000:0020BB3D:00000044:000000FF:remove bg
:umk3:00010000:0020BB4D:00000044:000000FF:remove bg
:umk3:00010000:0020BB59:00000044:000000FF:remove bg and shadows
:umk3:00010000:0020BB6D:00000044:000000FF:remove bg
:umk3:00010000:0020BB7D:00000044:000000FF:remove bg
:umk3:00010000:0020BE77:00000044:000000EF:remove floor
:umk3:00010000:0020BB6E:00000033:000000FF:remove cyrax
:umk3:00000000:0020BE60:00000044:000000EF:remove lifebar
Replace the 20BB59 code with the following to have partial background, and shadows that are dependant on a character's placement on the length of the stage.

Code: Select all

:umk3:00010000:0020BB59:00000003:000000FF:remove bg and shadows
For MK3, use the 'Easy Background Erasing' zone. I added all the zone codes since I had to find the address.

Code: Select all

:mk3:00000000:0020BAFC:000000FF:FFFFFFFF:remove bg:Blues out the Background
:mk3:00310001:0020BB79:00000000:FFFFFFFF:remove bg:Removes first background slide
:mk3:00310001:0020BB7D:00000000:FFFFFFFF:remove bg:Removes second background slide
:mk3:00010001:0020C420:00000000:FFFFFFFF:remove bg:Removes powerbars

:mk3:00000001:0020C442:00000000:FFFFFFFF:Kombat Zone- The Subway:Enable on the Character Select Screen 
:mk3:00000001:0020C442:00000001:FFFFFFFF:Kombat Zone- The Street:Enable on the Character Select Screen 
:mk3:00000001:0020C442:00000002:FFFFFFFF:Kombat Zone- The Bank:Enable on the Character Select Screen 
:mk3:00000001:0020C442:00000003:FFFFFFFF:Kombat Zone- Rooftop:Enable on the Character Select Screen 
:mk3:00000001:0020C442:00000004:FFFFFFFF:Kombat Zone- The Balcony:Enable on the Character Select Screen 
:mk3:00000001:0020C442:00000005:FFFFFFFF:Kombat Zone- The Bridge:Enable on the Character Select Screen 
:mk3:00000001:0020C442:00000006:FFFFFFFF:Kombat Zone- Soul Chamber:Enable on the Character Select Screen 
:mk3:00000001:0020C442:00000007:FFFFFFFF:Kombat Zone- Shao Kahn Tower:Enable on the Character Select Screen 
:mk3:00000001:0020C442:00000008:FFFFFFFF:Kombat Zone- The Temple:Enable on the Character Select Screen 
:mk3:00000001:0020C442:00000009:FFFFFFFF:Kombat Zone- Graveyard:Enable on the Character Select Screen 
:mk3:00000001:0020C442:0000000A:FFFFFFFF:Kombat Zone- The Pit 3:Enable on the Character Select Screen 
:mk3:00000001:0020C442:0000000B:FFFFFFFF:Kombat Zone- (The Portal):Enable on the Character Select Screen. This zone has no name 
:mk3:00000001:0020C442:0000000C:FFFFFFFF:Kombat Zone- Easy Background Erasing
A little extra I had to find

Code: Select all

:mk3:00000001:0020C420:00000000:000000FF:No Powerbars
:mk3:00000001:0020C420:00000001:000000FF:Disable No Powerbars
I don't know how many of the games I'll replicate the effect for.

Posted: Wed May 11, 2005 8:21 am
by orochi-x
This is great! Thank you very much.

That easy bg erasing code on MK3 is a stroke of genius. :D

Posted: Thu May 12, 2005 7:36 pm
by ugetab
Basically the same as the MK3 code, but this time the level I chose to hack happens to have invalid codes to get to the level in the cheat database.

Hence the full set of replacement codes here...

Code: Select all

mk2:0:0020C358:00:001:Kombat Zone - The Dead Pool
mk2:0:0020C358:01:001:Kombat Zone - Kombat Tomb
mk2:0:0020C358:02:001:Kombat Zone - Wasteland
mk2:0:0020C358:03:001:Kombat Zone - The Tower
mk2:0:0020C358:04:001:Kombat Zone - Living Forest
mk2:0:0020C358:05:001:Kombat Zone - The Armory
mk2:0:0020C358:06:001:Kombat Zone - The Pit II
mk2:0:0020C358:07:001:Kombat Zone - The Portal
mk2:0:0020C358:08:001:Kombat Zone - Kahn's Arena
mk2:0:0020C358:09:001:Kombat Zone - No Name
Codes to remove all background from 'The Dead Pool' zone.

Code: Select all

:mk2:00000000:0020BA0E:000000FF:FFFFFFFF:remove bg:Blues out the Background. Enable 'The Dead Pool' zone on char. select screen
:mk2:00310001:0020BA7C:00000000:FFFFFFFF:remove bg:Removes background
:mk2:00310001:0020BA80:00000000:FFFFFFFF:remove bg:Removes background
:mk2:00310001:0020BA84:00000000:FFFFFFFF:remove bg:Removes background
:mk2:00310001:0020BA88:00000000:FFFFFFFF:remove bg:Removes background
:mk2:00310001:0020BA8C:00000000:FFFFFFFF:remove bg:Removes background
:mk2:00310001:0020BA94:00000000:FFFFFFFF:remove bg:Removes background
:mk2:00010001:0020C336:00000000:FFFFFFFF:remove bg:Removes Powerbars
It's standard in all MK games I can debug to have this particular value.

Code: Select all

:mk2:00000000:0020C336:00000000:FFFFFFFF:No Powerbars
:mk2:00000000:0020C336:00000001:FFFFFFFF:Disable No Powerbars

Posted: Thu May 12, 2005 7:51 pm
by orochi-x
Once again you've done a great job. You really do know too much about MK programming! :D

Thanks again

Posted: Thu May 12, 2005 8:32 pm
by ugetab
I couldn't find the background color modifier in this one, so just try to get a 2-player match in the courtyard, where there's a nice blue background without any effort.

Code: Select all

:mk:00300001:00209F16:00000000:FFFFFFFF:remove bg:Removes Background. Enable on 'The Courtyard' for a naturally blue background.
:mk:00310001:00209F1A:00000000:FFFFFFFF:remove bg:Removes background
:mk:00310001:00209F1E:00000000:FFFFFFFF:remove bg:Removes background
:mk:00310001:00209F22:00000000:FFFFFFFF:remove bg:Removes background
:mk:00310001:00209F26:00000000:FFFFFFFF:remove bg:Removes background
:mk:00310001:00209F2A:00000000:FFFFFFFF:remove bg:Removes background
:mk:00310001:00209F2E:00000000:FFFFFFFF:remove bg:Removes background
:mk:00310001:00209F32:00000000:FFFFFFFF:remove bg:Removes background
:mk:00310001:00209F36:00000000:FFFFFFFF:remove bg:Removes background
:mk:00010000:0020A30E:00000000:FFFFFFFF:remove bg:Removes Powerbars(While on)

Posted: Fri May 13, 2005 5:54 pm
by orochi-x
you're an absolute star! thank you a million times over.

Posted: Sun May 15, 2005 9:31 pm
by isamu
orochi-x wrote:you're an absolute star!
aint he though? :D

Posted: Mon Jun 13, 2005 1:14 am
by mugeneasy
it is possible to remove to layer of other games?

Examples:

Asura Blade

Dragoon might

Martial champions

Metamoqester

Blandia

Burning Rival

Knucles Head

ugetab excellent work.

Posted: Mon Jun 13, 2005 3:09 am
by ugetab
I'll pass on this one. I had enough trouble with the MK series when I had a specific goal and someone I could converse with clearly. Going into series I've made no codes for, to remove layers I'm not entirely sure are being requested to be removed, just doesn't sound like something I'm going to jump at doing.

Posted: Mon Jun 13, 2005 3:44 am
by isamu
Take a break man you deserve it :)

Posted: Mon Jun 13, 2005 5:20 am
by mugeneasy
It would like to know as I search codes for cheats to only remove to layer them of other games.
My English is bad


as webpage was made in this
http://www.angelfire.com/art2/bloodstorm0/blog/

I would like to remove background, Powerbars and lifebar to be able to only ripping the characters.,

ex:

of the Asura Blade
thaks

Posted: Mon Jun 13, 2005 6:45 am
by ugetab
What you're asking for may be possible with codes, but they could easily use different systems for displaying the sprite layering. I did 3 MK games because a series of games tends to have similar, if not identical programming.

Because almost all of the codes I made are based on the differences between the state of a game, I don't think I'll have much luck with this, seeing as I don't have an inherent understanding of how layers are enabled and disabled across most games.

To be honest, if I was knowledgable of graphic formats, I'd make a program that compared two pictures, one of an empty backdrop, and one with the character in the same area as the backdrop, then make the program filter out the backdrop data from the image with the character in it. You may be able to convince someone else to do this, or find some existing program to do this job.

In fact, this method already exists. Give it a shot for 2D games, where you can reproduce a background easily, and where you can have a mask to edit out useless details. The program demonstrates it's use on .PNG files, the same type used by Mame32. Do the legwork for this, and maybe you'll manage to find a simpler method than editing game code over and over.

http://www.cit.gu.edu.au/~anthony/graph ... 6/compare/

Posted: Mon Jun 13, 2005 3:07 pm
by mugeneasy
Very obliged. I go to try to use a program to compare the images and to remove backgrounds.

Re: unusual MK code request

Posted: Mon Oct 29, 2012 2:44 pm
by blacksaibot
I hate to bump such an old thread, but these cheats are not working for me:

Code: Select all

:mk3:00310001:0020BB79:00000000:FFFFFFFF:remove bg:Removes first background slide
:mk3:00310001:0020BB7D:00000000:FFFFFFFF:remove bg:Removes second background slide
They don't work as in they won't even appear in the cheat list once I'm in-game.

I'm trying to rip the backgrounds/kombat-zones. Please help