Search found 248 matches

Return to advanced search

Re: Is my Game corrupt ?

Everything seems to be positioned correctly. The only issue is that there seems to be a missing tile around the shoulder.

It's a bit more obvious if you overlay the images:
dk.gif
dk.gif (1.29 KiB) Viewed 4157 times
by Kingizor
September 30th, 2024, 1:53 am
 
Forum: ROM Hacking
Topic: Is my Game corrupt ?
Replies: 14
Views: 4288

Re: Simion32's 65c816 Reference (HTML Help)

It works fine for me with xCHM. I had it installed already for perusing some other chm file a while back, so I was quite surprised when you mentioned it. The only thing is that in xCHM it seems to use a non-mono font for everything by default which borks the formatting. Changing the regular font to ...
by Kingizor
January 5th, 2024, 1:19 am
 
Forum: ROM Hacking
Topic: Simion32's 65c816 Reference (HTML Help) [2.1 UPDATE]
Replies: 9
Views: 18748

Re: Birthday Topic

rainbowsprinklez wrote:Happy belated, sir King!

:D
by Kingizor
December 5th, 2023, 5:12 am
 
Forum: Anything Goes
Topic: Birthday Topic
Replies: 879
Views: 4872945

Re: Birthday Topic

Thank you very much, Super Luigi!. :dixiehappy:
by Kingizor
December 3rd, 2023, 9:57 pm
 
Forum: Anything Goes
Topic: Birthday Topic
Replies: 879
Views: 4872945

Re: The Ghostly Bonus Barrel in Poisonous Pipeline

This is caused by the exit barrel for the first bonus being in the wrong place. It's slightly above and to the right of where the exit barrel for the second bonus is. The game expects to grab the player and animate the barrel exit, but that doesn't happen because the barrel isn't there. When you app...
by Kingizor
March 23rd, 2023, 8:54 am
 
Forum: DKC3 Glitches
Topic: The Ghostly Bonus Barrel in Poisonous Pipeline
Replies: 7
Views: 19998

Re: Birthday Topic

Happy birthday Simion32? Maybe there should be a comma there now: Simion, 32! :lol:
by Kingizor
February 8th, 2023, 7:49 am
 
Forum: Anything Goes
Topic: Birthday Topic
Replies: 879
Views: 4872945

Re: Sprite Graphics

Oh, apparently we noticed the binary thing at the same time. :scratch: I've never actually done all that much with sprites in the games. I would image the way you would assemble them is the same as typical image composition, just decode individual tiles and composite them together after the fact. Th...
by Kingizor
January 13th, 2023, 11:05 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

The various file functions provided by C and C++ will do newline substitution (0A <-> 0D 0A) if a file doesn't explicitly specify binary mode. Your BMP code uses CreateFile and WriteFile which are part of the Windows API and binary-only, so that wouldn't be an issue for them. With files you should h...
by Kingizor
January 13th, 2023, 10:54 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

Bitmaps are a bit unusual in that they order pixels from left to right starting from the bottom row, whereas most other formats start from the top. Mathematical plotting is like that too, where you go up the Y-axis as Y increases. In other words, to flip it vertically you'd have to reverse the order...
by Kingizor
January 13th, 2023, 1:30 am
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

On the top are the letters generated by the program, montaged together, and on the bottom is the same letter configuration produced by the text generator thing we have here. letters.png http://dkc-atlas.com/projects/kingizor/textgen/image.png?t=abcdefghijklm%0Anopqrstuvwxyz&f=k&w=8&c=%23...
by Kingizor
January 10th, 2023, 10:18 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

I've spent a a while going over it and I can't find anything very obvious. I wrote a simple bitmap writer function that doesn't require Windows and it seems to produce the correct output. With C and C++, if something unexplainable is happening at a certain point, it's quite often due to some kind of...
by Kingizor
January 9th, 2023, 11:53 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: STripper & dkcomp

Do you mean the 8x8 tiles? Those ones are the raw, decompressed tiles before they get combined with any metatile, tilemap or palette data. You can think of them as building blocks for all of the other graphics. They don't have any colour information associated with them yet, so we use different grey...
by Kingizor
January 9th, 2023, 8:35 am
 
Forum: ROM Hacking
Topic: STripper & dkcomp
Replies: 5
Views: 10410

Re: STripper & dkcomp

I'm glad you're finding them useful! Don't forget, they can also handle a lot more than just the SNES games! :diddyrock:
by Kingizor
January 9th, 2023, 7:54 am
 
Forum: ROM Hacking
Topic: STripper & dkcomp
Replies: 5
Views: 10410

Re: Is Lightning Lookout, RNG?

I don't know the precise algorithm but it's largely related to your current position and speed, with the time between strikes being based on some sort of counter. After last strike there will be a number of frames until it's time for a new strike. At that point the game will prepare for the next str...
by Kingizor
December 29th, 2022, 12:50 am
 
Forum: Donkey Kong Country 3
Topic: Is Lightning Lookout, RNG?
Replies: 2
Views: 4834

Re: Sprite Graphics

SNES uses 5-bits per component, so 5+5+5 = 15 bits giving a total of 32768 possible colours. The data is stored as 16-bit words and the layout is: FEDCBA98 76543210 -BBBBBGG GGGRRRRR SNES is little-endian, so the low byte comes before the high byte. Be careful not to read the bytes in the wrong orde...
by Kingizor
December 9th, 2022, 11:17 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

Most graphics we'd encounter are made up of different types of RGB. A 24-bit BMP image would have a 8-bit (R)ed component, a 8-bit (G)reen component and a 8-bit (B)lue component. For all of these 8-bit R/G/B components, their intensity has a range of 0-255, and different combinations of R/G/B will p...
by Kingizor
December 5th, 2022, 10:26 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Has Qyzbud Instituted a Website Change?

There is the normal "post a reply" page as well as the "quick reply" button, the latter of which is far more minimal. If your internet had a brief hiccup it's possible that a stylesheet or the smilies didn't load properly, but a refresh should fix that. Things might also appear d...
by Kingizor
December 4th, 2022, 1:02 am
 
Forum: DKC Atlas Discussion
Topic: Has Qyzbud Instituted a Website Change?
Replies: 2
Views: 8018

Re: Sprite Graphics

std::bitset? You're well into C++ territory now. It should do the same thing, but I was personally hoping for one of these: int index = ((Bitplane0_ROW[p] >> N) & 1) | (((Bitplane1_ROW[p] >> N) & 1) << 1) | (((Bitplane2_ROW[p] >> N) & 1) << 2) | (((Bitplane3_ROW[p] >> N) & 1) << 3); ...
by Kingizor
December 1st, 2022, 11:04 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

A 4-bit version is a very similar process. To construct the 4-bit index value you'd need to extract the four different bits and shift them into place as necessary. There isn't really anything new to cover at this stage, so maybe just try and think over how your 2-bit version works at each point and ...
by Kingizor
December 1st, 2022, 9:16 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

That didn't work when I tried that. Ah, my fault. I must have glanced at the shifts which were looking fine and ignored everything else that was missing. You did manage it with shifts which is one of the ways to do it. The other way would have been something like this: b = (!!(Bitplane0_ROW[p] &...
by Kingizor
November 30th, 2022, 11:57 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

We put individual bits at the correct places to form a value. An important point is that powers of two are each made up of a single bit at different positions: 0x01 == 1 == 0b00000001 0x02 == 2 == 0b00000010 0x04 == 4 == 0b00000100 0x08 == 8 == 0b00001000 0x10 == 16 == 0b00010000 0x20 == 32 == 0b001...
by Kingizor
November 30th, 2022, 8:22 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

Got some better code now. thanks for the tips. You seem to have an extra if hiding in there! :bashmaster: This version is a tiny bit farther from what we want compared to the previous version though. You know that (Bitplane0_ROW[p] & (1 << N)) and (Bitplane0_ROW[p] & (1 << N)) get us the tw...
by Kingizor
November 29th, 2022, 11:40 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

As for what that lines does... :mrgreen: Come on, man! Come to think of it, I don't think I'm being 100% accurate (as far as the generally accepted way to do this is. Still good enough by SNES standards) This is color. I'm leaving the lowest 3 bits empty, so my "white" is really 248x248x2...
by Kingizor
November 29th, 2022, 11:38 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

Shifts have higher precedence than AND, so I don't think you can reduce that as-is without also changing the value you're ANDing with. Without that limitation you could reduce it to: int g = (raw >> 2) & 0xF8; int g = raw >> 2 & 0xF8; Compilers for compiled languages should be able to recogn...
by Kingizor
November 29th, 2022, 4:39 am
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

Ah, you are correct there. == has higher precedence than & which has higher precedence than &&. I think I was getting mixed up with the last two. if ( a & b && c & d ) { ... if ((a & b) && (c & d)) { ... if ( a == b && c == d ) { ... if ((a == b) &...
by Kingizor
November 29th, 2022, 1:59 am
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

How do you check if a bit not set? I'm sure its something obvious. sorry. If a bit is not set, the result of the expression would be zero. You can therefore check for that by comparing against zero: if ((a & bit) == 0) { ... if (!(a & bit)) { ... The extra parentheses can be helpful, but th...
by Kingizor
November 28th, 2022, 8:57 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

That should work. Here are a few small suggestions: You've got eight loops that are very similar. The first loop operates on the ROW7 and NH variables, the second on ROW6 and HG, and so on. If you put all your ROW7 variables into an array and your N# variables into another array you could loop over ...
by Kingizor
November 27th, 2022, 8:53 pm
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

Try to get a bit more familiar with binary and using bitwise operators to manipulate binary numbers. Remember that all integers can be represented as a sequence of bits. Bitwise operators are fundamental for computers so almost all programming languages have some means of using them. Languages deriv...
by Kingizor
November 27th, 2022, 2:38 am
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

The way the SNES stores graphics is confusing. Did they make it that way to keep people from tinkering with the system? Like with creating their own games? :parry: There could be a lot of reasons, and we can only really speculate. Most capabilities of the SNES PPU are extensions of the functionalit...
by Kingizor
November 18th, 2022, 7:09 am
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: Sprite Graphics

The idea is that bitplane data is decoded into a value that is an index corresponding to a colour in the associated palette. The SNES palette (CGRAM) is a block of data containing 512 colours. Sprite and background tiles have some extra data that tells the SNES what section of CGRAM to use. 2bpp, 4b...
by Kingizor
November 18th, 2022, 5:07 am
 
Forum: ROM Hacking
Topic: Sprite Graphics
Replies: 162
Views: 345905

Re: DKC Atlas Mapping Project

The SNES has blending capabilities but they're not used for this. Instead, all the backgrounds and sprites for each level use completely different palettes from the normal ones. To get things exactly right all the backgrounds and sprites would have to be re-ripped with the adjusted palettes, althoug...
by Kingizor
October 5th, 2022, 10:38 pm
 
Forum: DKC Projects/Fanworks
Topic: DKC Atlas Mapping Project
Replies: 678
Views: 3021550

Re: Init script editor

The tools are capable of modifying parameters relating to different objects, in other words how objects behave. The idea is that when an object is loaded it copies this list of data into RAM and runs different actions using that data each frame or so. "pointer" refers to the ID of each obj...
by Kingizor
October 2nd, 2022, 9:12 pm
 
Forum: ROM Hacking
Topic: Init script editor
Replies: 8
Views: 15028

STripper & dkcomp

A long time ago I wrote a program to extract background graphics from DKC3. I added support for DKC2, then DKC, then all the handheld games and just about everything else I could think of. I hadn't thought about it for a long time but I've spent a while this year adding graphical interfaces and brus...
by Kingizor
September 16th, 2022, 2:53 am
 
Forum: ROM Hacking
Topic: STripper & dkcomp
Replies: 5
Views: 10410

Re: Big Data (de)compressor for DKC2/DKC3

The versions in this thread are now obsolete. The big data format is now available with improved compression ratios along with other new and exciting formats, see here for more thrilling details!
by Kingizor
September 16th, 2022, 2:51 am
 
Forum: ROM Hacking
Topic: Big Data (de)compressor for DKC2/DKC3
Replies: 3
Views: 19484

Re: Geiger's Snes debugger won't run on Windows 10

I am not aware of Mesen-S having any considerable problems, but I haven't used it much myself. It might be good to try a few different debuggers. They'll all have different strengths and it wouldn't hurt to get a bit more familiar with some of the different tools. I had a glance at that memory viewe...
by Kingizor
February 20th, 2022, 4:01 am
 
Forum: ROM Hacking
Topic: Geiger's Snes debugger won't run on Windows 10
Replies: 7
Views: 16344

Re: Geiger's Snes debugger won't run on Windows 10

The page for it on rhdn has this note: Note: If GSD refuses to run, and posts a side-by-side or application “configuration” error, the system can’t find DLLs it needs to run the program. Install the redistributable linked in the release notes. The readme links to a file on Geiger's site, but his sit...
by Kingizor
February 19th, 2022, 7:25 am
 
Forum: ROM Hacking
Topic: Geiger's Snes debugger won't run on Windows 10
Replies: 7
Views: 16344

Re: (De)compression utilities for DKC series

Small data this time. This is an encoder and decoder for DKC3's tilemap format. It's a bit tricky the way it packs bits, but there is no variable compression going on like with the other schemes. I was hoping to have a title screen hack or something but that turned out to be more of a headache than ...
by Kingizor
October 8th, 2020, 2:10 pm
 
Forum: ROM Hacking
Topic: Big Data (de)compressor for DKC2/DKC3
Replies: 3
Views: 19484

Re: Prototypes of DKL3 (Japanese) and DKC (GBC) leaked

Bouncy Bonanza's 3rd bonus has stalactites. (kiosk, retail)

Orang-utan Gang's final bonus entrance is slightly different. (kiosk, retail)

I think that's it as far as layout differences go.

Forbidden dark magic, don't ask.
by Kingizor
September 16th, 2020, 12:46 pm
 
Forum: General DKC Discussion
Topic: Prototypes of DKL3 (Japanese) and DKC (GBC) leaked
Replies: 3
Views: 25279

Re: DKC Stage Name Editor

Well this is where it starts getting tricky. The best way to tackle it depends on how the game handles it. Usually when data is stored sequentially like that, there can be something called a pointer table. This would contain a list of addresses that point to the start of each string. The idea is tha...
by Kingizor
September 8th, 2020, 5:11 pm
 
Forum: ROM Hacking
Topic: DKC Stage Name Editor
Replies: 12
Views: 44177

Re: DKC Stage Name Editor

We have numbers. In binary, a bit is either 1 (set) or 0 (not set). A single bit can therefore represent the numbers 0 or 1. We can represent bigger numbers by using multiple bits at once. If we have two bits, we have: 00 = 0 01 = 1 10 = 2 11 = 3 Here the bit on the right represents 1, while the one...
by Kingizor
September 7th, 2020, 2:46 pm
 
Forum: ROM Hacking
Topic: DKC Stage Name Editor
Replies: 12
Views: 44177

Re: DKC Stage Name Editor

The encoding is similar to ASCII which is usually seven bits. DKC and DKC2 use the spare high bit to indicate that a certain character is the last character in a string. Jungle Hijinxs = 4A 75 6E 67 6C 65 20 48 69 6A 69 6E 78 F3 01110011 = 0x73 = 's' (normal ASCII value) 11110011 = 0xF3 = 's' (high ...
by Kingizor
September 7th, 2020, 1:32 pm
 
Forum: ROM Hacking
Topic: DKC Stage Name Editor
Replies: 12
Views: 44177

Big Data (de)compressor for DKC2/DKC3

I've written a new compressor and decompressor for the big data segments in DKC2 and DKC3. I've packaged it as a library, but I've also included standalone command line utilities too. These might not be too useful on their own, but it might make it a bit easier to do other things. The general proces...
by Kingizor
July 18th, 2020, 11:51 am
 
Forum: ROM Hacking
Topic: Big Data (de)compressor for DKC2/DKC3
Replies: 3
Views: 19484

Re: Real-life inspirations for DKC worlds and levels

I got more of an Great-American-West vibe from DKC3 than anything to do with Canada. That region has the rocky mountains which is fitting for the cliff levels, and there is plenty of snow-tops in there too. Further west you have the great redwood forests which gives you not only the tree levels but ...
by Kingizor
July 12th, 2020, 10:19 am
 
Forum: General DKC Discussion
Topic: Real-life inspirations for DKC worlds and levels
Replies: 7
Views: 30462

Re: Hack image idea

Bugs like that are usually a permissions issue. I would maybe try running it as an admin or moving the whole program directory somewhere else.
by Kingizor
July 3rd, 2020, 3:58 am
 
Forum: ROM Hacking
Topic: Hack image idea
Replies: 5
Views: 23223

Re: Hack image idea

That's a fun solution, but if everything weren't compressed you'd quickly run out of room. :krool: I remember Mattrizzle modifying the title screen for the "DKC Reloaded" hack. Different game of course, but I think those tiles were compressed too, but with a different method. I wonder if h...
by Kingizor
July 2nd, 2020, 5:13 pm
 
Forum: ROM Hacking
Topic: Hack image idea
Replies: 5
Views: 23223

Re: DKC2 Entrance Randomizer

Seems to be USA v1.0.
by Kingizor
April 23rd, 2020, 8:18 am
 
Forum: ROM Hacks
Topic: DKC2 Entrance Randomizer
Replies: 20
Views: 39453

Re: Looking for DKC Animated sprites

Most of the map pages should have them. Right click and "view image" ought to be enough. Might have to disable some of the foreground layers first in some cases though. Some of them seem to have quite a bit of padding for reasons I can never remember. The maps for the sequels were switched...
by Kingizor
April 7th, 2020, 10:43 pm
 
Forum: DKC Projects/Fanworks
Topic: Looking for DKC Animated sprites
Replies: 3
Views: 25435

Re: Testers Needed

Yes, seems to be working fine now. Mine Cart Carnage is still a struggle even with 42 lives...

You might want to edit that attachment. That included "file.bin" is suspiciously non-blank all of a sudden. :krool:
by Kingizor
April 7th, 2020, 8:32 am
 
Forum: ROM Hacking
Topic: Testers Needed
Replies: 5
Views: 24130

Re: Testers Needed

Seems to be complaining about a missing "MSVCP140D.dll". You can fix that by changing the profile setting in MSVC from "debug" to "release" and recompiling. The idea is that there are normal versions of those DLLs that most people will have anyway, and special debug one...
by Kingizor
April 7th, 2020, 1:38 am
 
Forum: ROM Hacking
Topic: Testers Needed
Replies: 5
Views: 24130

Re: DKC1 editor?

Ahem, turns out there was at least one small bug in that code preventing it from working. I think I made a small change before I posted it that looked as though it wouldn't make any difference but it actually did. I could have sworn it was working at that point, but oh well. Should be fine now, mayb...
by Kingizor
February 27th, 2020, 4:05 am
 
Forum: ROM Hacking
Topic: DKC1 editor?
Replies: 7
Views: 30480
Next

Return to advanced search