Ectoons
Metroid Construction Forums

  • May 19, 2012, 09:52:48 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!


Metroid Construction - Dissassembling in the name of progress.
Pages: [1] 2 3 4   Go Down

Author Topic: Editroid Thread  (Read 4842 times)

snarfblam

  • Moderator
  • ***
  • Offline Offline
  • Posts: 383
  • Game Modding Alignment: Metroid
    • View Profile
    • Snarfblam
    • Awards
Editroid Thread
« on: July 27, 2009, 09:44:57 PM »

Editroid 101 for the upcoming current version of Editroid.
Editroid 101



« Last Edit: March 23, 2012, 07:13:06 AM by snarfblam »
Logged

Samus-Aran

  • Offline Offline
  • Posts: 75
  • Fri Sat Sun visiting family see you guys in 3 days
    • View Profile
    • My Gamers Forum
    • Awards
Re: Editroid Question
« Reply #1 on: July 28, 2009, 05:02:39 PM »

i do
Logged
Go register on my forum http://www.mygamersforum.com/ enjoy my cool forum make rom hacks and post link to other rom hacking sites chat and much much more also everyones invited.

Bloodsonic

  • Semiquitter
  • Inactive Staff
  • ****
  • Offline Offline
  • Posts: 498
    • View Profile
    • Awards
Re: Editroid Question
« Reply #2 on: July 28, 2009, 05:08:01 PM »

Quote from: snarfblam
If so, is anyone interested in testing, or have any suggestions?
Really, the minimal amount stuff you put into your posts is getting old, now I'm gonna start bothering Zhs2.
Logged

GF_Kennon

  • Dragon Overlord
  • Administrator
  • ****
  • Offline Offline
  • Posts: 490
  • Raaaaawr~
    • View Profile
    • MetConst Home
    • Awards
Re: Editroid Question
« Reply #3 on: July 28, 2009, 05:15:27 PM »

I would help you with testing, i never really hacked NESTroid much, but thats because i tend to destroy the rooms inside the ROM too much, though ill be willing to help a bit.

Maybe if i knew more about how it works and how to not fuck up like last time, then i might hack it a bit more :>

snarfblam

  • Moderator
  • ***
  • Offline Offline
  • Posts: 383
  • Game Modding Alignment: Metroid
    • View Profile
    • Snarfblam
    • Awards
Re: Editroid Question
« Reply #4 on: July 28, 2009, 05:38:53 PM »

Really, the minimal amount stuff you put into your posts is getting old, now I'm gonna start bothering Zhs2.

?
Logged

CaptainHayashi

  • Offline Offline
  • Posts: 12
  • I never post here
    • View Profile
    • Awards
Re: Editroid Question
« Reply #5 on: July 28, 2009, 05:46:03 PM »

?

Quote from: IRC
<hayashi> Electroria: is it me or did you [quote] the wrong thing in that post?
<PZ-powa|TASing> Watch.
<@Electroria> no
<PZ-powa|TASing> THE WRONG THING IS HE IS TALKING FOR NOTHING
<@Electroria> I pointed out the question he missed

He was referring to Samus-Aran, I think
« Last Edit: July 28, 2009, 06:00:44 PM by CaptainHayashi »
Logged
Send in ALL the tanks!

Normal avatar by Bloodsonic the awesome metconst art slave

snarfblam

  • Moderator
  • ***
  • Offline Offline
  • Posts: 383
  • Game Modding Alignment: Metroid
    • View Profile
    • Snarfblam
    • Awards
Re: Editroid Question
« Reply #6 on: July 28, 2009, 08:39:56 PM »

oic

So, Editroid 2.0 is nearing alpha, but there is a feature that I would like to add that I've barely started on. I would like to be able to add a "drop samus here" feature, which would patch the ROM (or a temporary copy) to start the game at a specific location in a specific level with specific equipment, then launch the rom. Great for testing the level. Other than that, though, it's close to something useful. When I get there (alpha build minus "drop sammy here"), I'll post a current build in case anyone wants to try/test it. Hopefully in about a week.
Logged

Zhs2

  • Tire Iron
  • Administrator
  • *****
  • Online Online
  • Posts: 1,465
  • Game Modding Alignment: C++, Doom, Terraria
  • Job/Hobbies: Writing, Spriting, Adminning, Gaming
  • Other: Shoots glue.
  • Wat.
    • View Profile
    • Zhs2's Laziness Domain
    • Awards
Re: Editroid Question
« Reply #7 on: July 28, 2009, 05:33:45 PM »

My NES experience all came from Final Fantasy (and even then, that was only byte-changing in a hex editor and FFHackster;) I've never attempted Metroid before. Should try it sometime. >_> Oh, man. I just remembered my thingy table I made for changing text in Metroid. Gotta go grab a copy and donate it here!

The patching a temporary copy would probably be most preferred, although if you could figure out how to place Samus with certain weaponry with a couple 6502 ASM hacks, that'd be even better yet (that's the method Kejardon and Jathys used for SMILE.)

Also, I only recently learned that you (snarfblam) were the one who made Editroid. Is this a bad thing? :<
Logged
Foodless runs supplemented by potions of booze are not recommended in real life.
--
<Zozord> I just fapped <Zozord> Now I don't feel anything for her <Zozord> that's indeed not true love <Zozord> but dick love

snarfblam

  • Moderator
  • ***
  • Offline Offline
  • Posts: 383
  • Game Modding Alignment: Metroid
    • View Profile
    • Snarfblam
    • Awards
Re: Editroid Question
« Reply #8 on: July 28, 2009, 05:52:33 PM »

The idea is to patch the startup asm to skip the title screen and start with the selected options. Should be easy enough. I've found most of the initialization code.
Logged

Phazar

  • Hacking Hero 2.0
  • Super Moderator
  • *****
  • Offline Offline
  • Posts: 594
  • Game Modding Alignment: Super Metroid, Metroid Fusion
  • Job/Hobbies: Speedrunning, Hacking, Writing Music, Programming
  • Other: [Insert Meme Here]
  • There is no guarantee of your safety!
    • View Profile
    • MPH Speedrun Info
    • Awards
Re: Editroid Question
« Reply #9 on: July 30, 2009, 10:50:31 PM »

Today, I was bored of recreating old M1 rooms in my SM hack by watching NEStroid speed runs, pausing them, and copying from the screen to SMILE, so I downloaded Editroid to make it easier on me.  I'm considering possibly hacking Metroid 1 in the near future, and the editor is great so far(although COMPLETELY different from SMILE!).  Also, this new start idea sounds cool.  Will it be similar to SMILE's QuickMet/RoomTest?  An in-editor testing mechanism is always useful.
Logged
Quote
<+Phazar> PATCH?? ?DG#+R*R)R(A?x??x??À()*+G#;R:R9R8A?x??x??À89:;G#?????|?,G#?D????|?lG#???????#?G#???????#?G#?????`?$G
<@Bloodsonic> ô_ō
<+Phazar> ^ that's all I see
<@Bloodsonic> that made zhs2's computer beep. what the HELL?
<@GF_Kennon> LOL
<@Zhs2> Phazar, you made my computer make the scariest sound ever
Quote
<@Grime> Gravy suit?
<@Grime> Somebody get Cardweaver on the phone, STAT.

snarfblam

  • Moderator
  • ***
  • Offline Offline
  • Posts: 383
  • Game Modding Alignment: Metroid
    • View Profile
    • Snarfblam
    • Awards
Re: Editroid Question
« Reply #10 on: July 31, 2009, 09:44:39 PM »

Will it be similar to SMILE's QuickMet/RoomTest?  An in-editor testing mechanism is always useful.
Pretty much. I've got the patches all figured out. Editroid will make the appropriate changes to a temporary copy of the ROM and launch it with the default NES emulator.
Logged

snarfblam

  • Moderator
  • ***
  • Offline Offline
  • Posts: 383
  • Game Modding Alignment: Metroid
    • View Profile
    • Snarfblam
    • Awards
Re: Editroid Question
« Reply #11 on: August 10, 2009, 08:54:45 PM »

One week, two weeks, it's all the same.

Anyone who can help test, here's the link.
http://ilab.ahemm.org/editroid/download/AlphaRelease_8_10_09.zip

By all means, please try to break it, then tell me how you did it (here, e-mail, or AIM).
Logged

xorxif

  • Offline Offline
  • Posts: 7
    • View Profile
    • Awards
Re: Editroid Question
« Reply #12 on: September 11, 2009, 03:26:21 AM »

One month later....

So are you still looking for someone who's looking to put together a Metroid hack? I downloaded the alpha of 2.0, but have been using the old version so far...
Logged

Hacker347

  • Offline Offline
  • Posts: 64
  • Don't You Wish You Were Him ;)
    • View Profile
    • Awards
Re: Editroid Question
« Reply #13 on: October 29, 2009, 05:37:00 PM »

Whats editroid?

i know its a hacking tool but what is it else wise

Logged
I'll Punch You When I Get Out!

GF_Kennon

  • Dragon Overlord
  • Administrator
  • ****
  • Offline Offline
  • Posts: 490
  • Raaaaawr~
    • View Profile
    • MetConst Home
    • Awards
Re: Editroid Question
« Reply #14 on: October 29, 2009, 06:10:56 PM »

Its a hacking tool for the original NES Metroid, also on a side note I had a little test with the alpha, was only able to break the ROM, not the editor, and on another side note you best stop violating the bump rule.

Quote from: MetConst Rules
3. No pointless bumping - Topic bumping is allowed, as long as one is able to add to the subject matter at hand with a thoughtful and intelligent post (or new content otherwise, since this is a hacking forum.) Violations of this manner will usually result in a warning.

Topic has been locked, unless Snarfblam wants it unlocked, in which case he can PM me.

GF_Kennon ~

Infinitys_End

  • Offline Offline
  • Posts: 9
    • View Profile
    • Awards
Re: Editroid Question
« Reply #15 on: May 27, 2010, 03:26:21 PM »

Don't know if this is the right place to mention this, but I figured it's as good a place as any.

I have been tinkering around in Editroid 2.0.
I just had a few suggestions, specifically for the GUI of the Palette Editor, which is fantastic, btw, but, as far as I can tell, my ROM does NOT like. :P
It would be nice if the colors could show each corresponding hex data that goes along with it -- possibly if you hover over them or just have a check box to turn the hex byte digits on/off.  I use a great tile editing program called YY-CHR that does this and it's wonderful.

The second suggestion I have is to completely remove that shiny gradient/bevel effect from the color squares completely - just make them all 1 solid color.  When dealing with color, it is very important that you see the exact one you want, and with your setup, it is extremely difficult to tell what color is which sometimes, because that bevel you have on the squares is distracting.  I shouldn't have to squint and pull my face really close to my monitor to see what color is what. 
On top of that, instead of having a big dot in the middle of the color square to show you that it's selected, you should have an outline (possibly bright yellow or magenta or cyan, even white, some color that's not used) around the box not inside of it.  To add to this, it would be very nice if you could implement some kind of eyedropper tool, or maybe an undo, but that might be just wishful thinking...

I have created a mockup pic to help illustrate my suggestions:


Lastly, I wanted to suggest (plead, actually) is there any possible way to make a Samus palette editor?  I know the Missile palette is linked directly with Samus, and I don't know what else, but I did have a want to change Samus's palette for my new hack, without figuring out all the hex involved.  I know it's possible since the guys did it with Suitless Samus in the Metroid Omega patch...

Well that's all for now.  Keep up the great work, otherwise.
Logged

snarfblam

  • Moderator
  • ***
  • Offline Offline
  • Posts: 383
  • Game Modding Alignment: Metroid
    • View Profile
    • Snarfblam
    • Awards
Re: Editroid Question
« Reply #16 on: May 27, 2010, 07:46:11 PM »

Hmm... I guess I'm gonna itemize this.

It would be nice if the colors could show each corresponding hex data that goes along with it -- possibly if you hover over them or just have a check box to turn the hex byte digits on/off.  I use a great tile editing program called YY-CHR that does this and it's wonderful.
I like this. I'll put it in my to-do list for Editroid.

The second suggestion I have is to completely remove that shiny gradient/bevel effect from the color squares completely - just make them all 1 solid color.
That's a fair complaint. I hesitated to do that in the first place for that exact reason. I ended up adding the effect anyways because the colors vary from emulator to emulator, and I figured that if it were difficult to perceive the difference in the editor you couldn't count on the player being able to see the color you want anyways. Having run into the same problem myself, though, I have to agree I made the wrong choice between sexyness and function.

On top of that, instead of having a big dot in the middle of the color square to show you that it's selected, you should have an outline (possibly bright yellow or magenta or cyan, even white, some color that's not used) around the box not inside of it.
I've tried using an outline, and couldn't come up with a color/style that made me happy. The white dot has a black outline. This makes it easy to see on any color, including black and white. I suppose I could try some sort of double-outline to the same effect, but what I have now seems satisfactory and I think there are just better ways to invest my time, especially since right now Editroid is on the back burner.

To add to this, it would be very nice if you could implement some kind of eyedropper tool, or maybe an undo, but that might be just wishful thinking...
You should be able to undo palette edits using the undo button in the main window. Honestly, I thought you could right-click a color to select it, but apparently I've only imagined that feature. It'll go on the to-do list.

Lastly, I wanted to suggest (plead, actually) is there any possible way to make a Samus palette editor?
The palette editor edits each level's sprite palettes and primary and secondary background palettes. One of the sprite palettes is for Samus.

The problem is that the game actually discards one or two of the level sprite palettes after loading them and replaces them with a global Samus palette. The difficulty starts with the fact that there are two palettes used for Samus: one for normal suit and one for the justin bailey suit (no suit). But it gets worse: there is actually a series of palettes for each suit. The game cycles through the palettes when the player starts the game for the fade-in effect. It's because of all these intricacies that I relegated this to the hex editor. To me this falls under the category of "advanced hacks," reserved for those who, at least, know their way around a hex editor. It's not that I'm opposed to having such a feature, but like I said, I'm only willing to invest a finite amount of time in the editor. I've opted to spend minimal effort on certain features when another program easily gets the job done. That's why there's no built-in tile editor. I started working on one and gave up one tenth of the way through when I realized I was re-inventing the wheel.


One other thing I noticed. You've posted a number of screen shots where there are graphics that have "wrapped" or "looped" around. I'm guessing that this is happening because you have set your system to use large fonts. By default C# automatically scales programs up to accommodate large fonts, but it can fark up graphics in programs that aren't designed with this in mind. I'm going to put this in my to-do list as a bug.


Thanks for the suggestions. I'm much more interested in making fixes and features that someone finds useful than in things that sound interesting or that I think someone might find useful.
Logged

snarfblam

  • Moderator
  • ***
  • Offline Offline
  • Posts: 383
  • Game Modding Alignment: Metroid
    • View Profile
    • Snarfblam
    • Awards
Re: Editroid Question
« Reply #17 on: July 11, 2010, 10:35:22 AM »

Lastly, I wanted to suggest (plead, actually) is there any possible way to make a Samus palette editor?
I did some looking around and discovered exactly how Samus' palette works (now that you've probably completely finished your hack). Nestroid uses "ppu macros" for a number of purposes. For example, the title screen is drawn with ppu macros. Ppu macros are also used to manage Samus' palette.

The Samus palette you see in Editroid is what is initially loaded. However, Samus' colors vary depending on a number of factors (missiles equipped, varia, and justin-bailey-ness). Nestroid executes one of the macros when the game starts and every time one of the above factors changes. Rather than modify the name table, these particular macros target the palette table, changing two or three colors in the Samus palette.

This is an abbreviated list of the offsets of the ppu macros and what they are for (some unlabeled ones are probably for fading in at the start of the game, others I haven't looked into).

Code: [Select]
Addresses are in RAM
#  offset   description

00 A155
01 A179
02 A185     normal samus
03 A17F     varia
04 A18B     missiles
05 A191     varia / missilse
06 A191
...
18 A1B5
19 A1BD     suitless samus
1A A1C5     suitless / varia
1B A1CD     suitless / missiles
1C A26D     suitless / varia / missiles
...

These are referenced by a pointer table. Here's the fun part: these are for Kraid's hideout. The ppu macros are repeated for each level, and at a different address for each level. The good news is that the pointer table is banked into the same address for each level. In other words, the pointer table is at the same location in each ROM bank, making it fairly straightforward to find the pointer table, which can then be used to find the ppu macros.

So this might be a possibility for Editroid.
Logged

Infinitys_End

  • Offline Offline
  • Posts: 9
    • View Profile
    • Awards
Re: Editroid Question
« Reply #18 on: July 12, 2010, 08:43:45 PM »

Hahah, yep!  :lol:

I figured it all out the hard way.  From my hack notes page, concerning Samus's palette colors:
($62A8 in Brinstar - page 1)
($A1AF in Norfair - page 2)
($E74F in Tourian - page 3)
($1218C in Kraid - page 4)
($16122 in Ridley - page 5)

And the rest of the suit palettes all in the same general area.  Another thing is Samus's palette is also shared with the red doors.  I would have loved to separate those two, but I think it wouldn't have been worth it.

Like you said, since they're all organized in the same place on each page, changing the palettes was relatively easy.  I was able to make Samus's colors the same as what people are used to by now (yellow for Power suit, orange for Varia).

Something else I figured out (with a little help from Dirty McDingus) was where to find Ridley's and Kraid's hitpoints... KRAID'S HITPOINTS: $11643
RIDLEY'S HITPOINTS: $15644

P.S. - I really don't want to sound like I'm insulting your intelligence -- but do you know that Editroid has it spelled as "Tourain" in multiple places, right?  It's Tourian.
« Last Edit: July 12, 2010, 08:50:58 PM by Infinitys_End »
Logged

snarfblam

  • Moderator
  • ***
  • Offline Offline
  • Posts: 383
  • Game Modding Alignment: Metroid
    • View Profile
    • Snarfblam
    • Awards
Re: Editroid Question
« Reply #19 on: July 12, 2010, 09:44:43 PM »


P.S. - I really don't want to sound like I'm insulting your intelligence -- but do you know that Editroid has it spelled as "Tourain" in multiple places, right?  It's Tourian.
Hmm... I guess I misread it the first time I saw it and never realized I got it wrong. Looks like everyone else on the internet did too (which spelling do you think has more hits on google?). I'll put that on my growing Editroid todo list.

Hmm... should I correct the spelling throughout the Editroid source code too?
Logged
Pages: [1] 2 3 4   Go Up
 

Bad Behavior has blocked 4185 access attempts in the last 7 days.

Page created in 0.7 seconds with 22 queries.