Top 3 Awesome Posts by # of thumbs up over past 24 hours

Moderators:

Blank sprite Kraken: EB Battle Animation Screensaver (ANOTHER UPDATE)

XP/Vista limited user account configuration problems FIXED. :D

  • hardtrivia1
  • fun
  • dragon
  • aoe
  • boxes
  • donor5
  • pkhack
  • devteam
  • DINO RAMPAGE!
  • fanvatar1

This is just a fun little project I got sidetracked with last night while I was working on some PK Hack stuff. I spent a couple more hours today making it more presentable, and I figured some people here might be interested.

Basically, it’s a Windows screensaver that can display various battle animations from EarthBound. You can choose which animations to display in its configuration options, along with a few other tweaks like framerate and aspect ratio. Currently it only displays one animation at a time, but I might add a “cycle between animations” option if enough people are interested.

Requirements:

UPDATE 2: I’ve fixed the crummy configuration system so that it no longer requires administrative access; now the screensaver will work properly on Limited User Accounts.

UPDATE 1: I think I’ve managed to fix the problems with crashing on some systems, as well as the “not a valid Win32 application” problem on 64-bit Windows. (See this post for more information.) If you had problems before, download again and see if this works for you. If you still have any problems with it, let me know!

Download here

To install:

  • Extract the contents of Kraken.zip
  • Move Kraken.scr to wherever you want to keep it (for example, “My Documents”)
  • Right-click Kraken.scr and click “Install”

To install for all users (OPTIONAL):

  • Copy Kraken.scr to C:\WINDOWS\System32 (requires administrative privileges)

Attachments:

Spyden

  • donor5
  • Holiday Funfest 08 Winner
  • EarthBound Central

…404 not found… Am I the only one getting this error message?

  • hardtrivia1
  • fun
  • dragon
  • aoe
  • boxes
  • donor5
  • pkhack
  • devteam
  • DINO RAMPAGE!
  • fanvatar1

Whoops, my bad. Link fixed; try again now.

sprite PoeTrader

    Tried to run it and it told me the program stopped working. I’ve got Vista, so that might be the problem.

    • hardtrivia1
    • fun
    • dragon
    • aoe
    • boxes
    • donor5
    • pkhack
    • devteam
    • DINO RAMPAGE!
    • fanvatar1

    Hm, I’m running Vista too. What versions of the .NET Framework and DirectX do you have installed?

    sprite PoeTrader

      I’m not sure about DirectX, so I’m downloading the latest version because that’s probably the problem.

      Spyden

      • donor5
      • Holiday Funfest 08 Winner
      • EarthBound Central

      Awesome…great job! I notice M3 backgrounds, nice!

      My pick so far is subtle: 278/289

      • hardtrivia1
      • fun
      • dragon
      • aoe
      • boxes
      • donor5
      • pkhack
      • devteam
      • DINO RAMPAGE!
      • fanvatar1

      Poe: Yeah, that could be it. I really just slapped this together in a matter of hours, and I didn’t bother to actually do much error checking in the DirectX stuff, so if your version isn’t up-to-date it will probably just crash instead of producing a useful error message.

      Spyden: you’re probably just seeing the EB backgrounds that are similar to ones in Mother 3. All the backgrounds in Kraken are being read directly from a dump of the background data from EarthBound.

      Fronz Kofko

      The Wizard of Yendor hits! You die…

      • mafia

      After our discussions in #pkhax, I am afraid to touch this
      BE WARNED
      THIS MAY BE A FORK BOMB

      Spyden

      • donor5
      • Holiday Funfest 08 Winner
      • EarthBound Central

      Really?

      Perhaps I’m mistaking one (298 and 302 specifically) for being similar to the background used in the the final battle of M3. Man that just tells you how intense that final fight was, I remember the words, music, the strategy, AND the background…and am getting them confused with real life…

      • hardtrivia1
      • fun
      • dragon
      • aoe
      • boxes
      • donor5
      • pkhack
      • devteam
      • DINO RAMPAGE!
      • fanvatar1

      Kafka: heh, no, it’s not a forkbomb.

      Anyway, I’ve done a little testing on another machine, and it looks like it does sometimes crash for no apparent reason. Probably just a problem with the complete lack of null checking in the DirectX initialization; it was a bit of a rush job, so it’s almost certainly just a stupid mistake on my part, heh.

      I’ll take another look at it sometime soon; in the meantime, if anybody has problems with it crashing, please report your operating system, .NET framework version, and DirectX version.

      sprite PoeTrader

        Okay, gotta report it: Vista, .NET framework 2.0, and DirectX 9.0

        Hope you can get it working for me, but take your time.

        KingDarian

        Superfamicomaniac

        • fun
        • ayumi
        • dragon
        • boxes
        • eb0hack
        • donor5
        • fangamerHCP
        • resub
        • artistorm
        • poe
        • walkthrough
        • fanvatar3
        • EarthBound Central

        Very nice!

        I’m rocking 226/255 right now

        I’d suggest adding a randomizer button to the mix, if you’re looking to upgrade this thing at any point.

        The opinions expressed within this post do not necessarily reflect the views of KingDarian, or his affiliates. Reader discretion is advised.
        Tweet me up

        • hardtrivia1
        • fun
        • dragon
        • aoe
        • boxes
        • donor5
        • pkhack
        • devteam
        • DINO RAMPAGE!
        • fanvatar1

        Alright, I’ve uploaded a slightly more robust version. This one should give you a more useful message if something fails, instead of just crashing. I’m guessing it probably is DirectX compatibility issues. I haven’t really tried redistributing DirectX applications before, so I think I’m going to try to find out exactly what version this thing is really dependent upon.

        Redownload here

        If this version halts with an error message for you, please let me know what the error message says. If it’s something about DirectX, try downloading the latest version from http://www.microsoft.com/directx.

        sprite PoeTrader

          Error initializing Direct3D

          Error in the application

          I then upgraded to DirectX 10 and got the same error.

          • hardtrivia1
          • fun
          • dragon
          • aoe
          • boxes
          • donor5
          • pkhack
          • devteam
          • DINO RAMPAGE!
          • fanvatar1

          Hm, odd. There should be some additional exception information below the “Error initializing Direct3D” message. Could you post that too?

          sprite PoeTrader

            That’s really all it said:

            And if I hit “OK”, it gives me this over and over:

            sprite Mr. Sword

              I got “This is not a valid Win32 app. HRESULT: Exception at 0×800700c1” or something similar.

              I’ve apparently got the appropriate .NET framework according to an installer I tried to run, and I just got DX9 because I’ve tried VBA-M recently.

              It’s probably because I have Vista 64-bit.

              EDIT: Yes, in fact, that’s probably it. Is there any way you can provide some compatibility for my version, Mr. A?

              • hardtrivia1
              • fun
              • dragon
              • aoe
              • boxes
              • donor5
              • pkhack
              • devteam
              • DINO RAMPAGE!
              • fanvatar1

              Hm, that’s nice and cryptic. What kind of video card do you have? I’m wondering if maybe it’s assuming too much about the hardware it runs on, and that’s why DirectX is barfing when it tries to initialize.

              sprite omnigiygas

              • dragon

              I’m trying to install it on windows xp, and i’m getting the same exact error message as poe. I have directX 9, but i have a microsoft .NET framework version 3.0. Does it work with that?

              sprite cokeiscool

              I seem to just get the first wavey screen

              how long does it take to switch to another scene

              sprite Mashi

              finishes EarthBound, asks “where my mother3 at?”

              • donor2
              • fotw
              • EarthBound Central
              I want this as a Mac .saver file like...now. O:
              I AM A LLAMA MASK MAJOR.
              Known for editing her posts a gabillion times before being satisfied with them.
              ENEMA BAG OH GOD OH GOD

              Spyden

              • donor5
              • Holiday Funfest 08 Winner
              • EarthBound Central
              I seem to just get the first wavey screen

              how long does it take to switch to another scene

              Go to properties (you know, where you select the screen saver you want) => screen saver tab => With the screen saver set on Kraken, go to settings and have fun!

              • hardtrivia1
              • fun
              • dragon
              • aoe
              • boxes
              • donor5
              • pkhack
              • devteam
              • DINO RAMPAGE!
              • fanvatar1

              Okay, I think I’ve fixed all the problems now.

              1. 64-bit Windows: it turns out that this is an issue with Managed DirectX 9.0c on 64-bit systems. Since this is a .NET application built to run on any CPU, it will try to load 64-bit Managed DirectX 9c libraries on Win64. So, I’ve rebuilt it specifically targeting x86 only, so it should work fine on 64-bit Windows now.
              2. The other problem was apparently that I was trying to initialize a Direct3D Device object using hardware vertex processing, which I guess would fail on any system that doesn’t support hardware vertex processing. I’ve corrected that assumption, so now it should work even if you have lower-end graphics hardware.

              Download here, again

              sprite PoeTrader

                It works! Now I just gotta find a good combo I like.

                sprite somaticdefilement

                • donor1
                • dragon
                • EarthBound Central
                • Wess Butt

                I wish so bad there was a version of this for mac

                Oh yeah Brohammed, It’s a kitty-cat capsule!
                Watch My Daily Vlog.
                Lumine Hall

                KingDarian

                Superfamicomaniac

                • fun
                • ayumi
                • dragon
                • boxes
                • eb0hack
                • donor5
                • fangamerHCP
                • resub
                • artistorm
                • poe
                • walkthrough
                • fanvatar3
                • EarthBound Central

                Your newest version runs a lot smoother. I experienced a frame or two of slowdown with each animation cycle, but now it runs flawlessly even at 100fps!~

                The opinions expressed within this post do not necessarily reflect the views of KingDarian, or his affiliates. Reader discretion is advised.
                Tweet me up

                sprite Tomato

                Translator & PK h4x0r

                • MatoSnake

                So awesome.

                By any chance could you make like a “playlist” for it, so that it can cycle through different ones every so often? If you could also include a list of presets based on actual BGs from EB, that would be awesome too

                sprite handish2000

                • fangamerHCP
                • dragon
                • Numbers Badge
                • EarthBound Central

                Yeah, cycling thru different ones would be awesome. I’m really liking this, now everyone’s freaked out by my sweet Giygastastic screensaver.

                ~cognitive dissonance~
                what does it mean to be human? holy cow, a finished fangame!

                sprite legotrekker

                  [errors]

                  Looks like a video card issue. I’m used to ’em, my life is plagued with computers with antiquated/just plain crappy video cards.

                  EDIT: I read back in the thread and it looks like I was right. No hardware vertex support. I feel special.

                  Clayman: MatCab is cool, he’s drawing me a sketch.
                  Clay’s Dad: Is that what the kids call it these days?

                  sprite Mr. Sword

                    Alright! It works! Thanks a bundle, Mr. A!

                    I now have a worthwhile screensaver on my Vista desktop…!

                    Tansunn

                    • poe
                    • ch3
                    • rclegend
                    • rcstaff
                    • EarthBound Central

                    It doesn’t work for me. The configuration screen works just fine, but when I try to do a preview, it gives the following errors:

                    1: Could not create hardware device… attempting to create software device
                    [click ok]

                    2: Couldn’t create D3D device!
                    [click ok]

                    3: Rendering error. (title bar says, “Object reference not set to an instance of an obj…”)

                    From here, if I click ok, it’ll proceed one frame of animation and display error 3 again, thus negating its use as a screen saver.

                    Also, I don’t know how in-depth you plan on getting with this (I’d love for you to get it to match the game perfectly, but I expect that’d take a whole lot of tweaking) but I’ve been noticing a few errors in some of the animations.

                    43 and 320 should be shifting until all the lines form perfect squares, and then reversing and returning back to the way it started, but here, once they form perfect squares, it instantly jumps back to the start position.

                    225 also doesn’t loop properly, it starts from a very high amplitude wave, reduces to virtually no wave, and then the amplitude should gradually increase, but instead it instantly jumps back to high amplitude.

                    221, 223 and 224 also seem to be missing the vertical compressions, in addition to not looping properly.

                    248-253 don’t seem to animate at all.

                    Many backgrounds also seem to be some missing effects, like palette changes (especially noticeable on backgrounds like #116 – also may be a possible cause of so many backgrounds appearing to be pure black) and movement (not just the fluctuation, but the actual pattern shifting around the screen). There are a number of backgrounds that simply don’t animate because these are missing.

                    And this is not so much a problem as an interesting thing to note, as I actually remember discovering this a long time when I was helping Tomato with something, but 263 and 264 are the screens when you eat the Magic Cake, not a battle background.

                    Even without these things getting fixed, this is still super sweet, and I’m looking forward to actually getting this thing working on my machine.

                    *this is, of course, assuming these errors are common to both the preview window and the actual working screensaver, which I am unable to view at this time for some unknown reason.

                    CSwavely

                    • plo
                    • ghostofstarman
                    • fotw
                    • fangamerHCW
                    • Invisiguy

                    This is so awesome, great job!

                    Check out my Unreal Tournament 3 maps:
                    "Happy Happy Halloween":http://www.cswavely3d.com/happyHappyHalloween.html
                    "Cave of the Past":http://forum.starmen.net/forum/Fan/Forum/UT3-Map-Cave-of-the-Past/

                    Tansunn

                    • poe
                    • ch3
                    • rclegend
                    • rcstaff
                    • EarthBound Central

                    Update to previous issue: DO NOT RUN THIS SCREEN SAVER ON MULTIPLE MONITORS. Once I disabled my second monitor, it started working just fine.

                    However, the animation issues I noticed were still present.

                    • hardtrivia1
                    • fun
                    • dragon
                    • aoe
                    • boxes
                    • donor5
                    • pkhack
                    • devteam
                    • DINO RAMPAGE!
                    • fanvatar1

                    Tansunn: ah, that’s odd. It should be accounting for multiple monitors, but obviously I screwed something up somewhere. I don’t have a second monitor handy to test, but I’ll look through the code again to see if I can find any obvious mistakes.

                    As for the animation problems: you’re definitely right, there are some aspects of the battle animations that this doesn’t yet make use of. Palette animations and translation transforms are not currently supported. As far as it goes, though, it’s a perfect reproduction of the content in the game; it is in fact just reading the background images and animation data from a dump of the battle BG data from an EarthBound ROM. The only problem is that I haven’t quite figured out yet exactly how the palette animations are stored and used, so that stuff isn’t implemented in the reader yet.

                    As for the cycling issues you noticed: each background entry in EarthBound can have up to four transformation functions associated with it. These are cycled in some order according to parameters that are not entirely understood yet, so for the moment my BG reader is just selecting the first valid one and running that. That leads to some backgrounds (most notably several of the Giygas ones) just repeating the same periodic distortion.

                    Whenever I get around to figuring out how the rest of the battle background parameters work, I’ll be sure to update the screensaver to reflect that.

                    Capn Muffin

                    Bad Enough Dude

                    • fun
                    • dragon
                    • donor5
                    • artistorm
                    • poe
                    • fanvatar3
                    • bannercontest
                    • DINO RAMPAGE!
                    • dillo

                    This is indeed awesome.

                    Mr A, do you have the battle background animations in a less esoteric format by chance? Like an image sequence or something?

                    Tansunn

                    • poe
                    • ch3
                    • rclegend
                    • rcstaff
                    • EarthBound Central

                    Mr. A: Awesome! As sweet as it is now, I’m glad to know that you intend to improve upon it.

                    thickfreakness

                    I love horses!

                    • fotw
                    • fanvatar3
                    • fangamerHCW
                    • artspot

                    …mine is quite a problem. When I install it, it takes me to my Screensaver window in my properties thing, but even though it appears to have placed “Kraken” as the new screensaver, it doesn’t preview it and i can’t preview it at all. No error message whatsoever, just flat-out no-cigar.

                    I run XP, by the way.

                    In the land of the blind, the one-eyed man is king.

                    sprite shafersaysmeh

                    i love it, my current fav is 287/306, the only thing that would make this better would be a cycle and random, and if it was possible (though this would most likely be impossible) was if music started playing, i would leave my computer sitting there and then 10 minutes later i would hear new age retro hippie and have a heart attack.

                    • hardtrivia1
                    • fun
                    • dragon
                    • aoe
                    • boxes
                    • donor5
                    • pkhack
                    • devteam
                    • DINO RAMPAGE!
                    • fanvatar1
                    …mine is quite a problem. When I install it, it takes me to my Screensaver window in my properties thing, but even though it appears to have placed "Kraken" as the new screensaver, it doesn’t preview it and i can’t preview it at all. No error message whatsoever, just flat-out no-cigar.

                    I run XP, by the way.

                    Try right-clicking on the .scr file and clicking “Configure” or “Test.” Does anything happen then?

                    TriForceLink

                    • fanvatar3

                    Mmmm in my case it got converted into an AutoCad file… also I dont have “Install”, “Test” or “Configure” on the right-click menu.

                    Oh and if I try to open the file directly, is just a bunch of codes in Notepad

                    I use XP btw

                    COPYRIGHT INFRINGING AVATAR ARTIST EXTRAORDINAIRE

                    • hardtrivia1
                    • fun
                    • dragon
                    • aoe
                    • boxes
                    • donor5
                    • pkhack
                    • devteam
                    • DINO RAMPAGE!
                    • fanvatar1

                    TriForceLink: heh, yeah, it looks like AutoCAD registers the .scr file extension for some of its script files, and associates it with Notepad. A side effect of this is that the default context menu options for screensavers (“Install,” “Test,” and "Configure") that are provided by Windows get overridden.

                    You can either get rid of AutoCAD’s extension registration (I think you can do that through Tools->Folder Options->File Types in Explorer on Windows XP), or you can just install the screensaver manually. To do that, all you have to do is copy Kraken.scr into your Windows directory (e.g., C:\WINDOWS). After that, you should be able to select it as a screensaver via display properties.

                    TriForceLink

                    • fanvatar3

                    thanks bud, ill try to do it.

                    COPYRIGHT INFRINGING AVATAR ARTIST EXTRAORDINAIRE

                    TriForceLink

                    • fanvatar3

                    Oops double post, pretend this doesn’t exist.

                    COPYRIGHT INFRINGING AVATAR ARTIST EXTRAORDINAIRE

                    TriForceLink

                    • fanvatar3

                    Uhhh crap

                    COPYRIGHT INFRINGING AVATAR ARTIST EXTRAORDINAIRE

                    • hardtrivia1
                    • fun
                    • dragon
                    • aoe
                    • boxes
                    • donor5
                    • pkhack
                    • devteam
                    • DINO RAMPAGE!
                    • fanvatar1

                    Ah, looks like you either don’t have DirectX, or you don’t have a recent version. Download DirectX 9 from http://www.microsoft.com/directx and see if that fixes things.

                    thickfreakness

                    I love horses!

                    • fotw
                    • fanvatar3
                    • fangamerHCW
                    • artspot
                    …mine is quite a problem. When I install it, it takes me to my Screensaver window in my properties thing, but even though it appears to have placed "Kraken" as the new screensaver, it doesn’t preview it and i can’t preview it at all. No error message whatsoever, just flat-out no-cigar.

                    I run XP, by the way.

                    Try right-clicking on the .scr file and clicking "Configure" or "Test." Does anything happen then?


                    D:

                    In the land of the blind, the one-eyed man is king.

                    • hardtrivia1
                    • fun
                    • dragon
                    • aoe
                    • boxes
                    • donor5
                    • pkhack
                    • devteam
                    • DINO RAMPAGE!
                    • fanvatar1

                    tfn: do you have the .NET Framework 2.0 or later?

                    sprite HAK2

                    • Wess Butt
                    • fanvatar1
                    • fotw
                    • hfdecay09

                    does this thing have the unused backgrounds?