Romhacking.net

Romhacking => Personal Projects => Topic started by: Mister Xiado on August 04, 2018, 03:27:23 am

Title: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Mister Xiado on August 04, 2018, 03:27:23 am
Code: [Select]
╔══╦══╗
║  ║  ╠═══╦═══╦═══╦═╗  ╔═══╦═══╦═══╦═══╗
║  ║  ║ ╔═╩╗ ╔╣ ║ ║ ║  ║ ║ ║ ╔═╣ ║ ║ ║ ║
║ ║ ║ ║ ╚╗ ║ ║║ ║ ║ ║  ║ ╠═╣ ╚╗║ ║ ║   ╣
║ ║ ║ ║ ═╩╗║ ║║   ║ ╚═╗║ ╚ ║ ═╩╣   ║ ║ ║
╚═╩═╩═╩═══╝╚═╝╚═╩═╩═══╝╚═══╩═══╩═╩═╩═╩═╝
    ┌─┬─┬──┬─┬─┐ ┌┐ ┌──┬──┬─┬┬─┐┌──┐
    ││ ││ ─┼   ┤┌┘└┐│ ─┼┐┌┤ ││ ││ ─┤
    ││ │├─ │ │ │└┐┌┘├─ │││├  │ └┤ ─┤
    └┴─┴┴──┴─┴─┘ └┘ └──┘└┘└──┴──┴──┘

Since "Metal Gear Faithful" is apparently to be released with Half Life 3, here's the far less impressive mess I've managed to cobble together in a few days, while figuring out how to use things other than raw hex editors. I am aware of GearTool, but without a background in programming and CS, I've not been able to accomplish anything with it.

Brief rundown of some of the changes:
Fixed all of the text errors cause by Konami rushing the Famicom port, including Schneider sending you on a wild goose chase for the EOD suit.
Made Big Boss's limited information on most weapon pickups more useful than snide comments.
As is my habit, corrected wording, spelling, and grammar as well as I could manage given the limited space.
Changed many of the palettes to approximate those of the MSX version of the game, identical for the most part to the MGF project.
Changed background tiles in whole or in part, to match those of the MSX version.
Changed the title screen to approximate the MSX version, but I have yet to redraw the logo.
Completely redrew the M79 grenade launcher, as an MP5 does not fire grenades. Being a gun collector, I could not allow this.

This is by no means a complete project, and there's still a bit that needs fixing, organizing, and flat out redoing, but unless someone wants to write a manual for GearTool, there's no way I can do something major like swap the computer with Metal Gear or overhaul the outdoor areas, and without being able to code more than a replicator virus in QBASIC, I can't turn the indoor trucks around, or fix the remote missile and flash light's broken tile arrangements.

Here are some screenshots and a download of version 0.8bf. Sorry it's not the miracle everyone has been praying for. I only did this out of anger, the most fuel-efficient motivator in human history.

METAL GEAR MSX + STYLE v1.0 (http://www.mediafire.com/file/y34jrz0z90ev4yy/Metal_Gear_MSX_Style%25282%2529.zip/file)
Optional Konami logo for the title screen (http://www.mediafire.com/file/xpdx5vembaawsus/Metal_Gear_Konami_logo_to_replace_ULTRA.zip/file)


Some before and after (NOT REPRESENTATIVE OF THE 1.0 RELEASE):
(https://i.imgur.com/DQo4dxo.png) (https://i.imgur.com/ucpY6Dy.png)

(https://i.imgur.com/IkcWrnv.png) (https://i.imgur.com/xF7ToUQ.png)

(https://i.imgur.com/t0xlkle.png) (https://i.imgur.com/OGZoJQT.png)

And some whatever.
(https://i.imgur.com/mH66gO9.png) (https://i.imgur.com/gshCkSM.png) (https://i.imgur.com/oc4GXoa.png)

(https://i.imgur.com/pHeGTrK.png) (https://i.imgur.com/LTlJEHF.png) (https://i.imgur.com/U5GpwTO.png)
Title: Re: Metal Gear MSX + Style [NES]
Post by: John Enigma on August 04, 2018, 11:37:45 am
Yes!

Finally!

A Metal Gear NES to MSX "conversion" hack!

Just like you said, the first attempt (Metal Gear faithful) was gone.

Can't wait to try this, and see if this project progresses more in the future.
Title: Re: Metal Gear MSX + Style [NES]
Post by: Mister Xiado on August 04, 2018, 04:50:52 pm
Thank you. It's roughly complete, but I haven't changed any enemy sprites just yet. Most already sort-of match the MSX version, less a few colors, of course. I'll keep whittling on it as I figure more out, and I've logged the addresses of almost every text change I've made, as well as the palette changes made and what their effects were.
The annoyances that require more research are the elevator button tiles being given a different palette from the rest of the walls, occasional corners being given a different palette, and the inside of the trucks sharing the same palette as the detention cells' desks and crates. Well, that, and seemingly all NPCs, the battle tank, and the selector Beretta 92F on the title screen sharing the same black, gray, yellow palette. Changing one changes them all, but perhaps with more understanding of how each calls a particular palette, I could divvy them up properly.

20180804 1718 Edit:
Moved the PUSH START text one space to the right, and mopped up a bit more weird text. Found some wall tiles that need their background floor tiles to be fixed, as well. Some enemy sprites seem pretty undetailed, so I'll see if I can do something with those, if they're needlessly different from the MSX versions. Alas, I may be reaching my current limits. Still haven't made any headway in GearTool.

20180805 0344 Edit:
Fixed the title screen and the gray HUD when in indoor areas with the new tiles.

20180805 0522 Edit:
Changed out most of the sprite tiles for the basic grunt. Not all tiles were different from the MSX version. Bosses appeared to be accurate, barring Shotgunner's leg position while he's rolling. May take care of that later.

20180805 1023 Edit:
Images of the grunt and the revised title screen.
(https://i.imgur.com/yNOsT6h.png) (https://i.imgur.com/iJ7hF8d.png) (https://i.imgur.com/pwaoYtD.png) (https://i.imgur.com/IhPfvxS.png)
Title: Re: Metal Gear MSX + Style [NES]
Post by: zstandig on August 05, 2018, 03:21:25 pm
This is great, I'm glad you took this on.

(My comments)

I know the Konami logo isn't in the MSX version, I kind of like it though.  I looked at the different title screens for the NES/FC versions and I like the Famicom title screen the best.  Then again anything is an improvement to the cluttered mess we got.  Is there a way to make the title screen stay longer before the demo starts?

"The Cutting Room Floor" mentions something about the flash light having the wrong tile on the bottom right.  My untrained eyes don't see it though.  It was correct in the Famicom version but somehow got borked for the NES.

It also mentions something about unused double explanation point alerts which I thought was interesting


I look forward to seeing how this turns out
Title: Re: Metal Gear MSX + Style [NES]
Post by: John Enigma on August 05, 2018, 08:10:01 pm
If you ever need any references, here's the incredibly old Metal Gear faithful thread.  (https://www.romhacking.net/forum/index.php?topic=19792.0)
Title: Re: Metal Gear MSX + Style [NES]
Post by: Mister Xiado on August 05, 2018, 11:13:02 pm
This is great, I'm glad you took this on.
Thanks muchly.
Quote
I know the Konami logo isn't in the MSX version, I kind of like it though.  I looked at the different title screens for the NES/FC versions and I like the Famicom title screen the best.  Then again anything is an improvement to the cluttered mess we got.  Is there a way to make the title screen stay longer before the demo starts?
It won't be hard to add the Konami logo to the title screen, in the place of the ULTRA logo. Since I've already changed the M79's menu graphic, and plan to change its sprite in the room you pick it up, this is already un-faithful. As far as lengthening the duration of the title screen, it should be simple, but I have to learn more about ROM hacking than editing text and graphics to do that. Alas, specific information is hard to come by, and everything I've already done was through brute-force after training with the proofreading hacks I had done in the past few weeks.
EDIT: I can put just "KONAMI" in, but the symbol won't fit unless I just redraw the text. Not hard, I suppose. The tile layout on the title screen is 9 tiles, then 10(?) tiles left-aligned with the above 9, then 5 tiles right-aligned with the top row of 9.
(https://i.imgur.com/asPeMZi.png)
Without being able to rearrange the tile layout, I can't use the Famicom Konami logo, and reducing the text resolution is kinda' eh, as you can see.
Quote
"The Cutting Room Floor" mentions something about the flash light having the wrong tile on the bottom right.  My untrained eyes don't see it though.  It was correct in the Famicom version but somehow got borked for the NES.
The guided missile has the same problem. The lower left tile for the missile is wrong in the game, and in both cases, the tiles are properly ordered in the ROM itself, just not on the screen the images are displayed. It would take some coding knowledge to modify the tile set properly. I won't call this project done until I at least try to fix that. I don't mind if people pick this hack apart to pick and choose what they want to keep, either.
EDIT: I swear, Konami is the worst company ever, even before their rampant blacklisting of all former employees, even before Kojima. The flash light's tiles in the ROM are listed as tiles 5A, 5B, 5C, and 5D. Makes sense. Well, on the equipment screen, the code calls for 5A, 5B, 5C, and 04. You can change this value at 0x00332A. Couldn't find the address for the missile to fix it in hex, BUT comparing the Famicom version against the NES version, THE TILES FOR THE MISSILE ARE ONE PIXEL TO THE LEFT. I fixed it by shimmying the tile art over a pixel. This is just incompetence in action.
Before and After
(https://i.imgur.com/xF7ToUQ.png) (https://i.imgur.com/ljzyT4D.png)
(https://i.imgur.com/OGZoJQT.png) (https://i.imgur.com/q06YOTI.png)
Quote
It also mentions something about unused double explanation point alerts which I thought was interesting
The tiles for the !! alert are in the ROM, and that function was supposed to maintain a room-to-room alert status until you killed all of the guards that spawned on a screen, or entered an elevator. Currently, the single ! alert is just room-specific.
Quote
I look forward to seeing how this turns out
Thank you again. I am sort-of planning on overhauling Snake's Revenge, once I learn more about this. It would take comparatively minimal effort to make MG2 look like MG1, and fix a lot of the ridiculous nonsense in the story. I used to be a digital artist, so I'd have to bust out the pencils and paper to redraw Snake's godawful portraits in that game. If the non-elevator side-scrolling sections could be erased, the game could probably be a whole lot better.






If you ever need any references, here's the incredibly old Metal Gear faithful thread.  (https://www.romhacking.net/forum/index.php?topic=19792.0)
My irritation at that thread is what had prompted me to rapidly get all of this together. I've spent nearly every waking hour on it in the past four or so days. If I could get more information about how to put GearTool to use, and not have to completely reinvent the wheel, that would make things a lot better, and a lot faster, to boot.

There's still some poking around to be done to do everything I am capable of doing, but somehow a bug with the rooftop colors was fixed when I changed the roof tiles and their color? I'll have to fire up the unmodified game to see if it was just a one-off. Here's the current version, with out the Konami logo on the title screen. Here's that: Metal Gear Konami logo to replace ULTRA (http://www.mediafire.com/file/xpdx5vembaawsus/Metal_Gear_Konami_logo_to_replace_ULTRA.zip/file)
Updated 20080806 - METAL GEAR MSX + STYLE v0.8bf92b4 (http://www.mediafire.com/file/mwv2y1lacy366gc/Metal_Gear_MSX_Style_v0.8bf92b4.rar/file)
Title: Re: Metal Gear MSX + Style [NES]
Post by: John Enigma on August 06, 2018, 09:52:00 am
It took me like a year (or two years) ago to realize that Metal Gear 2: Solid Snake (aka the true sequel to Metal Gear 1) was never made for the NES/Famicom.

If anybody wants to play that game on the NES, there can be two ways for that to happen: using the Snake's Revenge game (as a base) to "port" MG2 to NES (if possible), or make the game from scratch via homebrew.
Title: Re: Metal Gear MSX + Style [NES]
Post by: zstandig on August 06, 2018, 03:53:28 pm
Another odd thing about the NES version is that it begins with four men parachuting, one of them is Snake.  The three others... I don't think are even in the game after that.

Maybe it would be a good idea to edit out the other three somehow?
Title: Re: Metal Gear MSX + Style [NES]
Post by: xttx on August 06, 2018, 07:41:56 pm
Nice! The other faithful hack that was being worked seems to be long abandoned. THIS is awesome for sure! I will be following this and testing this for sure! Keep up the good work man! :cookie: 8)
Title: Re: Metal Gear MSX + Style [NES]
Post by: DarioEMeloD on August 06, 2018, 07:48:05 pm
Let the legend come back to life!

I'll keep an eye out for this, I was pretty bummed about Faithful too.

Would it be compatible with other hacks, such as PAL (http://www.romhacking.net/hacks/2445/) and Text Speed (http://www.romhacking.net/hacks/3458/), or maybe implement those features?
Title: Re: Metal Gear MSX + Style [NES]
Post by: Mister Xiado on August 06, 2018, 09:27:34 pm
It took me like a year (or two years) ago to realize that Metal Gear 2: Solid Snake (aka the true sequel to Metal Gear 1) was never made for the NES/Famicom.

If anybody wants to play that game on the NES, there can be two ways for that to happen: using the Snake's Revenge game (as a base) to "port" MG2 to NES (if possible), or make the game from scratch via homebrew.
The more I dig into Snake's Revenge, the more I hate it. Almost every graphic element in the game is treated like a sprite, limiting the colors to three for each tile, even background items like the floor, crates, and everything that doesn't move. I'm working on the title screen on and off, and poking around to see where graphic elements are kept, but things are a bit of a chaotic mess due to the wide swaths of flat colors. Mercifully, all of the large graphics are stored sequentially, so if I quit my fifteen year moratorium on drawing, I can at least change the ugly portraits.

Another odd thing about the NES version is that it begins with four men parachuting, one of them is Snake.  The three others... I don't think are even in the game after that.

Maybe it would be a good idea to edit out the other three somehow?
It would be easier to remove all of them (by making them invisible), since they use the same art, but removing three would require a change to the program itself. I'm not opposed to learning how to do this, but it's a needle in a haystack to find the best starting point.

Nice! The other faithful hack that was being worked seems to be long abandoned. THIS is awesome for sure! I will be following this and testing this for sure! Keep up the good work man! :cookie: 8)
Thank you. Still digging through the game to see if anything stands out, tile-wise. There are a couple things that don't seem like they can be corrected without making almost everything gray, like the desks in rooms with prisoners being half yellow. The way the palettes are called makes specific changes turn into a carnival of unexpected results.

Would it be compatible with other hacks, such as PAL (http://www.romhacking.net/hacks/2445/) and Text Speed (http://www.romhacking.net/hacks/3458/), or maybe implement those features?
Since I still lack the ability to re-address anything or otherwise modify the program, any and all other hacks and modifications of Metal Gear will work fine, and I'm duly impressed by the QOL improvements that each of those hacks brings to the game. The PAN hack, especially, as it takes a feature from Metal Gear 2 (the group-cards), and perfects it.


EDIT: Without being able to change the palette indexes, the elevator doors are stuck as they are.
The tile pattern goes
A B C D
A B C D
A B C D
E F G H
so no replicating the door from the MSX version, which is 16 distinct tiles. The color palette for the BC/FG column is the same as the lit floor, and the outer columns are the same as the shaded floor. Behold the mess:
(https://i.imgur.com/haMwSVU.png)

In any case, the grenade launcher and security cards' pickup icons have been changed to match their menu icon. Just rummaging through the system to sort the rest out.
Title: Re: Metal Gear MSX + Style [NES]
Post by: John Enigma on August 07, 2018, 12:24:14 am
I don't think a "port" of Metal Gear 2 to the NES, using Snake's Revenge as base would be a good idea, unless there was a hack that would expand the ROM's mapper.

Metal Gear 2 for the MSX2 is 512 KB, and Snake's Revenge for the NES is 260.1 KB.

Apparently, Metal Gear 2 is a large game, but does it have the capacity to run on the NES?
Title: Re: Metal Gear MSX + Style [NES]
Post by: Mister Xiado on August 07, 2018, 12:40:27 am
I don't think a "port" of Metal Gear 2 to the NES, using Snake's Revenge as base would be a good idea, unless there was a hack that would expand the ROM's mapper.

Metal Gear 2 for the MSX2 is 512 KB, and Snake's Revenge for the NES is 260.1 KB.

Apparently, Metal Gear 2 is a large game, but does it have the capacity to run on the NES?
Metal Gear 2 could be ported to the NES if one went all out on memory and expansion audio, but there's no way Snake's Revenge could be anything close to it. All Snake's Revenge can really handle in its current state is limited text and sprite editing. Man, that game is ugly by design. Easy to edit, horribly limited in every way. Not being able to use four colors in background tiles is disturbing. In the hour or so that I have thumbed through it, I have come to see that its terrible reputation is well-earned.
Title: Re: Metal Gear MSX + Style [NES]
Post by: John Enigma on August 07, 2018, 10:30:12 am
Metal Gear 2 could be ported to the NES if one went all out on memory and expansion audio, but there's no way Snake's Revenge could be anything close to it. All Snake's Revenge can really handle in its current state is limited text and sprite editing.
If that's the case, another option would be to use Metal Gear 1 (NES) as a base, but the size of the game is really small, like 131.1 KB.

Like you said, one would have to go all out on the memory, and audio expansions, and like I said before, which mapper would be more appropriate. All of that, to expand the size of the game, and cram all the features & cutscenes from MG2 to MG1NES.

Another other option, would be to port the game via homebrew, just like I said. But nobody would have the guts to try that.

There. Also, this is the last post that I make in regards of this subject.

If you feel like Snake's Revenge needs saving at all, make sure to tell us.
Title: Re: Metal Gear MSX + Style [NES]
Post by: Mister Xiado on August 07, 2018, 06:12:46 pm
I have a directory full of text files and prototype edits of Snake's Revenge on my desktop already. I'll poke at it to keep from getting burned out, but I'll have to be in an excellent mood to draw Solid Snake for it.
Still searching in vain for a means of extending the duration of the title screen for Metal Gear, and I'm done even bothering with Gear Tool.

EDIT: Found that FCEUX went nuts and borked a lot of the code. No worries, as I have been making MANY incremental saves, so now I just have to compare the bits between v0.8bf92b7 and v0.8bf92b8. No, I have not made thousands of iterations, just forked with major changes. Working on the pickup icons for a few items.

Alrighty, here we go. Everything I could find that was needlessly different from the MSX version has been modified to be closer to the source. A few coding errors have been corrected, despite me not being even an apprentice software engineer. Palettes have been modified to be more like the MSX color scheme, though limitations prevent different buildings and floors from having different palettes for the tiles. Enemy palettes have not been changed, as most were correct already, but the battle tank and dozer tank had to remain as they were to prevent the POWs from being dressed in dark blue. This is a project from a man who has no ROM hacking experience prior to Crystalis Proofread. I still hope that MG Faithful will be released, but in the mean time, I hope everyone enjoys this substitute. If I could figure more out, I could bring the TX-55 to the table.

METAL GEAR MSX + STYLE v1.0 (http://www.mediafire.com/file/y34jrz0z90ev4yy/Metal_Gear_MSX_Style%25282%2529.zip/file)
Optional Konami logo for the title screen (http://www.mediafire.com/file/xpdx5vembaawsus/Metal_Gear_Konami_logo_to_replace_ULTRA.zip/file)
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: xttx on August 08, 2018, 07:32:52 am
Nice!  ;) :thumbsup:

Thank you for all the work you have put into it! Anything is appreciated! Are you pretty much done with this for now or is this the final release? I'm sure I speak for many when I say this is going to be awesome to go back and play this game closer the way it should have been.
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Mister Xiado on August 08, 2018, 07:55:02 am
Thank you. There are some nagging things here and there, like some corners being gray, but changing their palette would mess with things that are supposed to be gray, I imagine, and the half-yellow desks in the POW rooms. Fixing those would require the inside of the trucks to be gray, and the game has already become brown and blue. Maybe there will be a 1.01 some day, but it's pretty well fit for duty. I was getting burned out playing through the entire game over and over again, looking for oddities. Without Gear Tool making any rational sense, this is pretty much my stopping point unless I have an epiphany out of nowhere. Either way, I should poke around other games to see what I can wring out of them. Working on Metal Gear was like starting with physics instead of algebra. Everything (image and text related) else seems simple by comparison, barring a few oddities.

Already submitted for official upload. Enjoy, and here's hoping someone does a better job of it.
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: xttx on August 08, 2018, 02:47:55 pm
Thanks for the response and for the good work. This is me obviously being way too pedantic but I figured I'd ask in the vein of this project like the msx version.

Is it possible to change the wording of "rank" to "class" and the life bar red with the white lines around it? I noticed it is something in the msx version and figured I would ask if it is possible.

Obviously those are very minute details but I figured no harm in asking. Thanks again for your time on this! I'm loving it!  ;D :cookie:
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Mister Xiado on August 08, 2018, 04:12:08 pm
Without moving addresses around, the text for RANK cannot be extended to 5 characters. Forcibly changing it without doing so just erases it. I won't change it to "CLAS", and a more appropriate term would be GRADE, but even that won't fit. The life bar shares a palette with the walls of whatever room you may be in, most of the time. The center line would be random colors, if not gray. If I knew how to reassign palettes for specific items, I would assign the life bar to perhaps, Snake's new "hurt" color, which would give access to red, but that would require even more changes, as I would need a palette with both red and white. In essence, it's already approaching a mess with the things I couldn't change; changing these things without changing the code properly would make it worse. Re-coding NES games is lamentably not in my wheelhouse at this time.
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Zanemato on November 16, 2018, 08:01:17 am
Hi, this is a wonderful hack, many thanks

If this patch needs to be updated, please try to replace the big computer to destroy in the finla level by Metal Gear.

A patch is already existing for that, but unfortunately only for the Japanese version of the game :( ...
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Mister Xiado on November 16, 2018, 06:58:53 pm
Hi, this is a wonderful hack, many thanks

If this patch needs to be updated, please try to replace the big computer to destroy in the finla level by Metal Gear.

A patch is already existing for that, but unfortunately only for the Japanese version of the game :( ...
I'd like to, but it's beyond my ability. Maybe fifteen years ago, I would have devoted most of my free time toward learning 6502 Assembly, but now I can barely drag up the will to make a bowl of soup. If GEARTOOL was less cumbersome and arcane, I could change it visually, but that would still require programming to add the lasers and the pattern required for destroying Metal Gear, rather than just "drop 13 semtex bricks". Perhaps somebody could port over the changes from the JP version? I had ZERO luck even changing the end screen in the Blaster Master hack I did, so that's another thing I cannot do.
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Zanemato on November 17, 2018, 04:20:23 am
I'd like to, but it's beyond my ability. Maybe fifteen years ago, I would have devoted most of my free time toward learning 6502 Assembly, but now I can barely drag up the will to make a bowl of soup. If GEARTOOL was less cumbersome and arcade, I could change it visually, but that would still require programming to add the lasers and the pattern required for destroying Metal Gear, rather than just "drop 13 semtex bricks". Perhaps somebody could port over the changes from the JP version? I had ZERO luck even changing the end screen in the Blaster Master hack I did, so that's another thing I cannot do.

I understand, thanks a lot for all your deeds :) , and yes, maybe someday, someone will update the patch !

If hacks could only be a copy and paste, it would be a cinch ^^
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Mister Xiado on November 17, 2018, 05:07:09 am
If hacks could only be a copy and paste, it would be a cinch ^^
Often, they can, provided the data in the ROM is laid out in the same manner. In the case of Blaster Master, it made a mess, as the layout code of the end screen in the US version is very different from the JP version, and I wasn't able to just brute-force copy a large chunk over. The ROMs are different sizes, as well.
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: zstandig on November 17, 2018, 07:15:38 pm
Yeah, I saw that hack for the Famicom version also, I kind of wish I could smoosh romhacks together
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: emerilfryer on November 21, 2018, 11:17:01 pm
Ported Arty's TX-55 patch (http://www.romhacking.net/hacks/3777/) for usa, europe. But the speech is not corrected yet (haven't played that part). After a full test, it'll go on-site as an addendum for Arty's patch.
https://github.com/emerilfryer1/RetroArch/raw/metal-gear/.abc/computer/computer.ips
https://github.com/emerilfryer1/RetroArch/tree/metal-gear/.abc/computer

(https://github.com/emerilfryer1/RetroArch/raw/metal-gear/.abc/computer/gear1.png)  (https://github.com/emerilfryer1/RetroArch/raw/metal-gear/.abc/computer/gear2.png)


Regarding MSX Style project, looks compatible so far from limited testing. And I really have no idea how to add lasers or its programming (into such a crammed rom).
(https://github.com/emerilfryer1/RetroArch/raw/sandbox/.abc/metalgear/gear_xiado.png)
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Metalwario64 on November 22, 2018, 01:22:09 am
Ported Arty's TX-55 patch (https://www.romhacking.net/hacks/3777/) for usa, europe. But the speech is not corrected yet (haven't played that part). After a full test, it'll go on-site as an addendum.
https://github.com/emerilfryer1/RetroArch/raw/metal-gear/.abc/computer/computer.ips
https://github.com/emerilfryer1/RetroArch/tree/metal-gear/.abc/computer

Regarding MSX Style project, looks compatible so far from limited testing. And I really have no idea how to add lasers or its programming (into such a crammed rom).
(https://github.com/emerilfryer1/RetroArch/raw/sandbox/.abc/metalgear/gear_xiado.png)
Very good work there!
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Mister Xiado on November 22, 2018, 07:31:57 pm
Well, if the color palette for the room is changed to the tan/blue scheme of the MSX version, that could pretty well complete things as far as would be practical, barring significant ASM re-coding. I didn't want to use parts of anyone else's hacks in mine, due to the constant issues I have with this site already.
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: emerilfryer on November 23, 2018, 04:40:02 pm
I tried swapping things out but the colors for that room end up becoming a washed mess. It would take some careful tile recoloring and palette reassigning to make the mech and room resemble more msx paintbrush. Which is beyond the simpler porting formula of copy-paste-tweak.
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Mister Xiado on November 23, 2018, 08:18:31 pm
Oh, yeah, if it's using the locked palette for all of the "just gray" stuff, changing it could make a lot of things rather messy. All of the weapon pickups share the same palette as the enemy grunts, so without being able to reassign palettes properly... bleh. Well at this point, color isn't really an issue. Or maybe I'm just rambling. I'll take a peek at it to see if I can do anything.

EDIT:
Alrighty, located the addresses needed to change the colors, but a trace will have to be run for the parts that cycle colors.
0x00b153 - Room, lighter shade
0x00b153 - Room, darker shade
???????? - Metal Gear (neutral), lighter shade
???????? - Metal Gear (neutral), darker shade
0x00b15b - Metal Gear (flashing), lighter shade
0x00b15c - Metal Gear (flashing), darker shade

Changing the colors to 18 and 0C looks kinda' ugly, despite them being closer to the MSX palette for the room. The problem with changing the colors normally is that the tiles with lights for the TX-55 are set to flash, so hunting down the code that defines these colors is what the trace is needed for. Bit of a migraine right now, making focusing difficult, but this information should help root out that last bit. What is not known at this point, is if changing the values for this room will have any effect on other tiles in the game. But that is a worry for another day.
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: emerilfryer on November 24, 2018, 12:08:03 am
There is 1 glitch when entering the computer room (vanilla, Arty). If you pay very close attention to the tiles that flash, it will have a bad palette ($18102) for a few frames. When it starts going through the 3-cycle palette blinking, the error disappears. Although I experimented with a possible color fix for this error, I'm also uncertain about any side-effects.

For the 3 blinking palettes, I think it's tied to just the computer room. Stored near the same area as the post-destruction tilemap ($b19b).

Code: [Select]
palette 2:
b181 = 0f 20 10 22
b172 = 0f 20 10 12
b155 = 0f 20 10 02

palette 3:
b186 = 0f 15 10 2d
b177 = 0f 25 10 2d
b159 = 0f 06 10 2d

palette 4:
b18b = 0f 26 10 2d
b17c = 0f 37 10 2d
b15d = 0f 08 10 2d

TX-55 uses palette 3 for red lights. I'm wildly assuming that game does not recycle any of these palettes elsewhere. So you can force all 3 cycles to same color for 2,4.

I couldn't figure out a re-color scheme and gave up on it earlier. But yeah, a full playthrough is required regardless.
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Mister Xiado on November 24, 2018, 12:25:17 am
I have a borked-up save state right inside the room, and you can freely enter and exit to check on changes. Be advised that you should use an infinite health and ammo cheat, because the grunts respawn, and the electrified floor is right outside.
Cheat file and save state right here:
http://www.mediafire.com/file/p7vvdiebmbjgi18/Save_state_and_cheat_file_for_computer_room.rar/file
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: wolpak on November 30, 2018, 11:31:19 am
If you are fixing the spelling and grammar, wouldn't it make more sense to also fix the usage?

Who says, "I fell asleep!!" or "Shift Change!!"  Those should be read like screen play commands...

*Fell Asleep* and *Shift Change*

Visual cues to let the player know the status, but not as a "verbal" command from an NPC.
Title: Re: Metal Gear MSX + Style [NES] (v1.0 uploaded, top of thread)
Post by: Mister Xiado on December 27, 2018, 09:04:32 pm
Because the grunts say that they fell asleep after they wake up from having fallen asleep. Also if you've ever had a day job, you would know that people will often report the end of their shift to let people know of the changeover.