Search results

  1. RuneLancer

    Har, a new toy!

    Discrete, the assembly pseudo-compiler I wrote a good... what, 2 years back? is in bad need of an update. It doesn't support every instruction and it's getting increasingly difficult to work on my hack because of this. As it stands, I can't even complete the title screen (even though I have the...
  2. RuneLancer

    FPS Counter

    While strolling through the title screen code, I stumbled on a function that seemed, for all intent and purpose, to calculate and display the FPS. I have no recollection of seeing this in Cave Story, so I'm left to wonder if it wasn't just some debug option that got left out of the final...
  3. RuneLancer

    Some title screen hacks

    Ok, well, it's been a couple of days since I've posted anything constructive, and being shoulder-deep in the title screen code I figured I'd share some easy findings. I'll be using the file offsets, but the code offset will be used in code snippets because that's how I've laid it out in my...
  4. RuneLancer

    So I restarted a hack...

    I'm afraid I won't be continuing The Original Sin. If only because it's just not challenging enough. Sure, there are new weapons and enemies, a few tweaked mechanics, but no big engine changes. So I thought up this idea and now know it to be feasible, after having refamiliarized myself with the...
  5. RuneLancer

    Assembly Hacking Tips

    No, this is not an assembly tutorial. :) I'm opening this thread to serve as a repository of tips and tricks, questions and answers, and otherwise general assembly knowledge. So folks, dump your tricks into this thread. :D --- Translating some common structures into assembly Pointer C: var...
  6. RuneLancer

    Special Effects Hacking

    So everyone's going crazy over weapons and entities, and I can't help but feel bad for the little guy. The data that nobody notices but everyone would miss were it gone. That's right, I'm talking about effects. There are 18 different types of effects. Each effect can have a mode which can alter...
  7. RuneLancer

    Ballos' Lab

    Anyone remember this? :rolleyes: I think it may take a little while before I can get back into my hack. Gotta refamiliarize myself a bit. So, while I'm tying up loose ends, I figure I should work on this thing. Expect more news soon.
  8. RuneLancer

    Advanced Hacking FAQ

    Alright, I mentionned this in another thread, so here it is. I'm creating this thread to answer questions about how to do some non-Sue's-Workshop-doable changes to Cave Story. Want to do something for your hack but don't know how to do it? Post it here and we'll see what we can do about it...
  9. RuneLancer

    Considering an editor...

    I had an idea last weekend. Given the successful outcome of Discrete, my mini-assembler, I figured I could modularize it and implement it in other projects. What I'm thinking of doing is to create an editor, but not the wussy point-and-click cookie-cutter-hack-producing kind. It'd be an editor...
  10. RuneLancer

    Wishlist

    Out of curiousity (and perhaps to inspire someone to work on a hack), what would you like to see changed in or added to Cave Story's game engine? Myself, I'd love to see acrobatics. Sliding under stuff, holding on ledges, dodging projectiles, or even wall-jumping. Quote is very "static" in...
  11. RuneLancer

    Assembly primer

    In an attempt to have more in-depth and interesting hacking discussions and hacks, I'm considering starting a basic assembly primer. I'm wondering wether this would be interesting to anyone, or wether assembly involves too much effort to bother learning, practicing, and putting to use. If...
  12. RuneLancer

    The Debug Mode

    I would've posted this a little while back but I had no means of getting the offsets over here. No means, that is, until I found an item that would change my life! I speak of no other than... a pen and some paper. Anyhow. This is for version 1.0.0.6 I've been using the debug mode for a little...
  13. RuneLancer

    Multiple Characters

    Since I won't be able to post my hack anytime soon (no intarweb) I figured I'd share my technique for creating multiple playable characters. Some assembly knowhow required, but it'd be possible to manage with just Sue's Workshop and an image editor... I'll add offsets when I get my internet...
  14. RuneLancer

    Cavestory Bugs

    Out of curiousity and interest, I've decided to start this thread to document Cave Story's bugs and glitches - be they minor or major. I'll get the ball rolling with a few things I've noticed. - Some sloped terrain that meets in > or < point behaves oddly. If your head bumps the bottom part...
  15. RuneLancer

    Myd

    (On a friend's PC; still no interweb at ye old appartment) I found something that appears to be undocumented about MYD. After some poking through the code, I noticed it was considerably long seeing as it should only branch wether the value is 0, 1, or 2, and set a single value to Quote's...
  16. RuneLancer

    Animated Effects

    I'm leaving for a few weeks today, so I figured I'd dump my latest finding here for anyone who wants to pick away at it. The animated effects (the "spark" when a shot hits a wall, the sparkles when you hit your head..) are all stored exactly like NPCs and weapons: via assembly and indexed by...
  17. RuneLancer

    The dangers of flags

    After a bit of screwing around with offsets, I noticed the flags fall very close to relatively harmless stuff in memory. I tried something out. Turns out there's no check made to see if you go beyond the reserved space for flags. You can go mess around with other data if you know what you're...
  18. RuneLancer

    An unusual entity...

    Entity ID 0x03 is weird as heck. Is there any place in the game where this is used? Basically, the code uses the internal timer of the entity to count down to 100, then destroys the entity (ie, it lasts 100 units of time then poofs out of existence.) The kicker is this: its display rect is 0...
  19. RuneLancer

    NPC Guide

    I've started work on a guide outlining NPC code. What it mentions, basically, are the display rects used to setup a frame and pseudocode explaining how the NPC works. It also includes a short guide on creating your own NPCs, but that's assembly-only work so I'm not sure how useful that part...
  20. RuneLancer

    <ANP and <BOA

    So I figured out in more detail what ANP does exactly and how to use it. The tsc listing is a little sketchy about its actual use. An NPC's actions are handled through code. Each NPC has a variable keeping track of its current state. This variable is sometimes linked to a timer, sometimes to...
  21. RuneLancer

    NPCs

    I've been toying around with NPCs lately and wanted to change the Mannan into a cannon of sorts. This would mean flipping its rect 90'. The NPC.tbl file, as has already been covered, doesn't permit this. I figured there may've been another table in the exe that handles this. After some poking...
  22. RuneLancer

    Odd code...

    I found some interesting stuff in the code. Functions that do absolutely nothing. Here's an example. 00409670 push ebp 00409671 mov ebp, esp 00409673 pop ebp 00409674 ret Basically this saves the base pointer, grabs the stack pointer, and immediately plops the base pointer back into whatever...
  23. RuneLancer

    Music/Sound Hacking

    So I just stumbled on sounds. Code 0x0008F940 is where sound is loaded. A CALL is made to a function which loads sounds and a few parameters are pushed on the stack. Each call pushes (in order) the sound ID, the length (multiplied by 0x70; this is usually 1 or 2), and the offset in the...
  24. RuneLancer

    So I changed a weapon.

    Weapon Scripts Wondering where the weapon scripts are stored? Time to put the mystery to rest at long last! There's no such thing. After some poking around in a code dump and picking apart a structure that seemed like sprite data, I found a routine which handles the firing of a weapon and...
  25. RuneLancer

    Drowning Progressively

    I decided I'd share this hack with the community. I just completed it a few moments ago and it works fine. Basically it causes your health to drop when you're underwater progressively instead of giving you an air counter which kills you instantly when you run out of oxygen. This hack does two...
Top