DKC1 GFX Editor

Share and discuss all facets of DKC ROM hacking...

DKC1 GFX Editor

Postby rainbowsprinklez » July 20th, 2020, 6:43 am

Hey all. I just finished this new tool and would like some help bug testing. In fact this program is heavily influenced by Quaraage's work. I pretty much copied these two tabs. This is a DKC1 graphics editor. This has the ability to change both object palette and the sprites associated. In the future, I plan on adding more to this but figured I would release this in the meantime. All buttons seen work. Please contact me with any bugs/features to incorporate here.

'Write' always writes to rom, where 'Apply' makes changes on a program level.

Enjoy!

This works with a 1.0 U ROM.
StandAloneGFXDKC1.zip
StandAloneGFXDKC Trilogy
(52.04 KiB) Downloaded 37 times


Image

Image

Image

Image

Image



TODO:
- Add tool tips for most things

This program:
This remembers what file you loaded last and loads that on next boot.
There is no undo button, but that could be easily remedied with various manips.
Inspired by Quaraage's DKC2 editor.

If anyone wants to learn, here is my 'messy' source code
https://github.com/mike19283/DKC1-GFX-Editor

TUTORIAL
This program allows you to change both the palette used by each object as well as which pixels have which color. The Apply buttons just save changes to volatile memory. On load, those changes are lost. The only way changes are not lost is if you click Write. Write copies data to ROM.

Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016

Re: DKC1 GFX Editor

Postby Cyclone » January 30th, 2023, 2:28 am

Is there an updated version of this?
Expedition Leader
Bananas received 559
Posts: 1257
Joined: 2008

Re: DKC1 GFX Editor

Postby rainbowsprinklez » January 30th, 2023, 6:43 am

Cyclone wrote:Is there an updated version of this?


Not one that is publicly available, no
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016

Re: DKC1 GFX Editor

Postby rainbowsprinklez » February 9th, 2023, 2:53 am

Cyclone
I just pushed an updated version of this by the way
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016

Re: DKC1 GFX Editor

Postby Cyclone » February 9th, 2023, 2:33 pm

before I download this. What did you change /add?
Expedition Leader
Bananas received 559
Posts: 1257
Joined: 2008

Re: DKC1 GFX Editor

Postby rainbowsprinklez » February 9th, 2023, 10:59 pm

Cyclone wrote:before I download this. What did you change /add?


Hard to say, as I never implemented version numbers to this and I have no idea what you had... but recently, I took out buttons I used in making Dixie Kong Country and cleaned up the animation tab some.
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016



Re: DKC1 GFX Editor

Postby rainbowsprinklez » April 17th, 2023, 9:13 am

I worked hard on a tutorial for this!



Cyclone, thought you might benefit from this :)
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016

Re: DKC1 GFX Editor

Postby WesternTanager794 » April 17th, 2023, 12:34 pm

High quality, Rainbow Sprinklez. Well thought out. :parry:
Sage of Discovery
Bananas received 128
Posts: 2393
Joined: 2022

Re: DKC1 GFX Editor

Postby Cyclone » July 1st, 2023, 2:26 pm

Sorry for the late reply mr sprinklez . Thanks for notifying me!

Awesome tutorial.

I dl the latest version but Windows defender says it’s a virus!!!

Also can you provide a downloadable version of the tutorial?

That would be great thanks.

Keep up the good work!!
Expedition Leader
Bananas received 559
Posts: 1257
Joined: 2008

Re: DKC1 GFX Editor

Postby WesternTanager794 » July 2nd, 2023, 9:07 am

No offense, but windows defender is garbage. I personally use Avira, for its stance on privacy, but AVG is my alternative recommendation. But they got bought by Avast and they’ve gone downhill since. Stay away from Norton, you can’t uninstall their products without breaking your computer. Glad to hear from you again, Cyclone! :parry:
Sage of Discovery
Bananas received 128
Posts: 2393
Joined: 2022

Re: DKC1 GFX Editor

Postby Cyclone » July 2nd, 2023, 9:25 am

Yes I know it’s garbage… I just don’t trust random programs. I never had windows defender complain before.
Expedition Leader
Bananas received 559
Posts: 1257
Joined: 2008

Re: DKC1 GFX Editor

Postby WesternTanager794 » July 2nd, 2023, 9:26 am

I’ll analyze the file myself, just in case. Winaero Tweaker is still considered a virus to Windows Defender as well. :parry:
Sage of Discovery
Bananas received 128
Posts: 2393
Joined: 2022

Re: DKC1 GFX Editor

Postby Cyclone » October 8th, 2024, 12:09 pm

Is there an updated version of this? One that includes unused sprites? And one that DOESN'T GIVE ME A WARNING WHEN i RUN IT,
Expedition Leader
Bananas received 559
Posts: 1257
Joined: 2008

Re: DKC1 GFX Editor

Postby rainbowsprinklez » October 8th, 2024, 1:03 pm

Unused sprites are out of the scope of this since unused sprites can exist literally anywhere in ROM
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016

Re: DKC1 GFX Editor

Postby Cyclone » November 28th, 2024, 8:45 am

I think I found a bug. See image. The last two 16x16 groups are not correct. It shows up correctly in the main view but not in the tile editor.


Bug.png
Expedition Leader
Bananas received 559
Posts: 1257
Joined: 2008

Re: DKC1 GFX Editor

Postby rainbowsprinklez » November 29th, 2024, 5:18 am

Huh. Guess it is a bug. Not that surprising, I programmed it really early on in my hacking career and the code was slopily thrown together.
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016

Re: DKC1 GFX Editor

Postby rainbowsprinklez » November 30th, 2024, 1:53 am

Look at this!

Image

It seems to be a bug on any sprites with more than 8 2x2's. Good catch!
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016

Re: DKC1 GFX Editor

Postby rainbowsprinklez » November 30th, 2024, 2:07 am

Thank you, fixed. Not updated on the post yet.

Image
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016

Re: DKC1 GFX Editor

Postby rainbowsprinklez » November 30th, 2024, 5:00 am

Newest addition. See how the sprite looks in vram. This shoulda been in there ages ago.

Image

Note that with this editing pixels affects VRAM too

Image
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016


Re: DKC1 GFX Editor

Postby Cyclone » November 30th, 2024, 12:45 pm

Nice!!

Just two suggestions I have if you are interested...

- Highlight the selected pixel arrangement in the Preview window.
- Select a sprite by address. Right now you have to use the Image field.


I have a few more things but then I'm nit picking....
Expedition Leader
Bananas received 559
Posts: 1257
Joined: 2008

Re: DKC1 GFX Editor

Postby rainbowsprinklez » November 30th, 2024, 2:10 pm

Cyclone wrote:Right now you have to use the Image field.


This is because all of those images are in an array. I might add looking up by address... my hesitation on the address loading is because I based the program on the array. So I'll have to search the array for that address in order to load the proper index. Too much stuff is based on index if I recall correctly
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016

Re: DKC1 GFX Editor

Postby rainbowsprinklez » November 30th, 2024, 2:37 pm

EZ :)

Image

I see how that could be helpful
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016


Re: DKC1 GFX Editor

Postby rainbowsprinklez » December 2nd, 2024, 4:55 am

Updated to include highlighting features to aid in understanding. File above in og post.

Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016

Re: DKC1 GFX Editor

Postby Cyclone » December 3rd, 2024, 7:14 am

That's awesome mr sprinkles,
Good work!
Expedition Leader
Bananas received 559
Posts: 1257
Joined: 2008

Re: DKC1 GFX Editor

Postby Cosmicman » December 9th, 2024, 12:30 am

Is it possible to program a way to modify an entire sprite with zoom in/out options instead of groups separately?
Treasure Hunter
Bananas received 104
Posts: 327
Joined: 2008

Re: DKC1 GFX Editor

Postby rainbowsprinklez » December 9th, 2024, 11:12 pm

Cosmicman wrote:Is it possible to program a way to modify an entire sprite with zoom in/out options instead of groups separately?


Good question! And I see how that can be useful. That MIGHT be possible, but not easy. And sprites can't reshape much outside their original bounds, since the chars are placed in such a way that big changes could be impossible. Rare designed the sprites to work within themselves, so enlarging costs more space than was allotted.

I fear I am not adequately explaining myself. Mattrizzle?
Veteran Venturer
Bananas received 110
Posts: 604
Joined: 2016


Return to ROM Hacking

Who is online

Users browsing this forum: No registered users and 14 guests