Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • 122820 Shield Cat - Linux ARM.zip
  • 122820 Shield Cat - Linux x86_64.zip
  • 122820 Shield Cat - Windows.zip
  • 122820 Shield Cat - Android.apk

Missing 4 files, as this post has not yet been imported.

Content

Hey guys! Today I'm coming out with a big update to Shield Cat's underlying code. I've completely rewritten the input engine, how it detects gamepads, and more!

Shield Cat is now able to use the SDL 2 Gamepad Database, which allows it to set defaults for many more controllers that Gamemaker itself doesn't know about. Failing that, there are some additional INIs included with the game with some additional presets. Failing that, the game will just make up a mapping real quick, but it's not optimal.

Attached to the bottom of this post is a DEMO of the new Shield Cat for Windows, Linux (x64 and ARM) and Android. You can test out this new version and see what you think about Lance's new physics and whatnot, but remember that many features are missing!

If you want a fully featured demo, download the SAGE demo instead, at the bottom of this page:

https://roxyfoxrab.itch.io/shield-cat

Remember that the SAGE demo and this demo are INCOMPATIBLE. The following instructions ONLY work with the demo attached to this post, NOT the SAGE demo!

Also, if you played the demo included with the post about the Raspberry Pi, not much has changed since that demo since it was just a few days ago. The main highlight is the new input engine.

Purpose of the Demo

There are two main reasons I'm putting out a demo. They are:

  • Let People Try Out Shield Cat v2.0 – I'm rewriting Shield Cat from the ground up, so many things are missing from the current build (you can't talk to anyone, many puzzle elements are missing, areas are unfinished etc.) However, you can try out Lance's new physics and camera movement compared to the SAGE 2020 demo! Just keep in mind that, while that was a complete demo, this one is not!
  • Collect INI Files – The goal of this demo is that I'm hoping people with weird controllers will test out and create INI presets that I can include with the game. I have made it hopefully as easy as possible, and will detail below what you need to do to create an INI.

Help Roxy Out with INI Files!

Want to help me out? With this demo, you can now map actions to button inputs. Once you have a good mapping, you can send it to me and I can include it with the game (with credit to you)

Please note, you must be comfortable with editing INI files. It's not difficult, but you should have some decent knowledge about how your computer works before trying this. If you're not sure, don't mess with it!

Here's what you do:

Step 1: Find Out If Your Controller Is Weird

How do you know if your controller is weird? When Shield Cat can't find any defaults for a gamepad, it will assign the first analog stick/d-pad it sees to move Lance, and then 3 buttons – one to spin, one to throw, and then one to pause. If most of the buttons and whatnot on your gamepad don't work, you know you've got a controller that's unknown!

Note for Linux Users: The game will output data in the terminal when it can't find SDL Mappings or presets, with a message about it making up a control scheme real quick. Watch out for this!

Step 2: See Connected Gamepads

In Shield Cat, if you haven't already, you can permanently enable the Debug Overlay by pressing Ctrl+Shift+F10. From now on, you can simply use F10 to toggle this display.

Here you can see all connected gamepads as well as stats about them.

  • Actions – How many actions are mapped to this input method (Actions are detailed below.)
  • Slot – What “slot” the gamepad is in. If you're on Windows, the first 4 slots (0 through 3) will be Xinput for XBOX controllers and whatnot.
  • Buttons – How many buttons your gamepad has.
  • Hats – How many directional pads (or similar) your gamepad has.
  • Axes – How many Axes your gamepad has. For each analog stick, there should be 2 axes. Therefore, for a controller with two sticks, it should have 4 axes.

Step 3: Find Your INI Files

You will find the game's INI files in the following folder in the Shield Cat save directory:

  • WINDOWS: %localappdata%/Shield_Cat/config/gamepads
  • LINUX: ~/.config/Shield_Cat/config/gamepads

You will see files that look like this:

Locate the file for the gamepad you want to edit. The filename should have the name of the controller in it, though sometimes it will just say “Generic Input Device” or something similar. By default, it will match whatever name shows in Shield Cat itself.

Here is a picture of a standard gamepad mapping file.

And here's a picture of a gamepad mapping file Shield Cat makes when it doesn't know about your gamepad. If your INI file looks like this, proceed to the next step.

Step 4: Remapping

Shield Cat's input works on “Actions” that Lance can take, for instance moving left or spinning. They are independent of the controller, so you could map the A button to Lance walking downward for instance. In the INI file, you'll see the input on the left, and all actions mapped to that input on the right. Here are Shield Cat's standard controls on an XBOX controller:

Otherwise Stated:

  • Left Stick, Right Stick, D-Pad: Move Lance
  • A Button, Left Trigger: Spin, Ok in Menus, Talk to People
  • B Button, Right Trigger: Throw Shield, Cancel in Menus
  • Y Button, Start Button: Pause
  • X Button, Select: Select (Open Map, Quick Ability Swap)
  • Left Bumper: Swap Ability Left
  • Right Bumper: Swab Ability Right
  • L3, R3: Not mapped

Included with the game is a file called “Input Configuration.txt” This file goes into much more detail about the actions you can use, as well as the buttons/keyboard names you'll need.

In the game, you can use the following Debug screen (Press F7 to change Debug Pages if you don't have this showing on screen)

On the left, you can see what actions are currently enabled, and on the right you can see what inputs are being read from the controller. Use these inputs on the right to configure the INI file.

Realistically, the game's input should have at least Lance's two action keys as well as the pause button, but theoretically it should have all of the inputs listed above in the picture of the controls. Once you edit the INI file, you can press F5 to reload the Gamepad INIs. Using this function, you can test out your new controller mappings in real time.

KEEP IN MIND: Sometimes the directions don't quite match up. You may be holding Up on your analog stick, but Shield Cat will see it as Right or Down or something. THIS IS NORMAL. Every device is different and how it is read can be different on each device.

Also note, you do NOT have to include a "not_mapped" for buttons that don't do anything. You can simply just not include them in the file.

Also, the INI file doesn't have to be organized, so don't worry about it!

Step 5: Send It to Roxy

Once you have a good input mapping, send it to me! The easiest way is to join the Shield Cat discord and show me in Shield Cat Feedback. Click the link below to join:

https://discord.gg/NdYQXJUwRd

Otherwise, you can send me a DM on Twitter at CyanSorcery or on Mastodon at @Roxy@vulpine.club You can also reach out to me if you have any questions or need help with remapping.

I have no way to verify if your INI is good, so I'm just gonna have to trust that you sorted it all out. I will include it with the game with credits to you, and it will help out other players to not have to do the same thing. It's greatly appreciated!!

IMPORTANT: DO NOT RENAME THE INI

Whatever name Shield Cat gives to the INI, keep it with that name or it wont work!!!

Roxy That's Too Technical But I Still Wanna Help

That's cool! One day I'll include an in-game remapper that will help with a lot of this, and it'll be easier to create INIs. For now though, this is not possible and we gotta do it the hard way haha sorry!!!

Patch Notes

Here is a list of all changes since the last build release:

IMPORTANT

  • Please see the included Install and Config file for details about how to change options, as well as specific instructions for running it on Raspberry Pi.

===== NEW =====

  • The game can now load SDL Gamepad mapping strings from the SDL Gamepad database. A copy of the database has been included for convenience. This should NOT be used for remapping controls; instead, the action remapper should be used. However, it can be used to set up default controls for many more controllers.
  • The screen now dims if you leave the game alone for a while (default time is 5 minutes.)
  • Improved power consumption settings on mobile.
  • An option has been added to the INI to reduce or eliminate particles spawned. This is mainly for use with the upcoming HTML 5 mini-demo that will be available to play sometime soon.
  • Currently active Actions will now be drawn on the debug screen.
  • With the Debug Overlay on, you can press F5 to reload all Gamepad/Keyboard INI files.
  • With the Debug Overlay on, you can now press F6 to reload config/main.ini

===== IMPROVED =====

  • Since there is now a lot of Debug information available, they are now separated into groups. You can change which page you're on by using F7 while the Debug Overlay is on.

===== RESTORED FEATURES =====

  • Camera shake has been re-implemented and improved! Now in addition to turning the shake on and off, you can adjust the precise strength of the effect (and even increase it if that's your thing.)
  • Touch controls are back! Click and drag to move Lance, use the left mouse to spin, and use the right mouse to throw his shield.
  • Keyboard remapping is back! You'll have to edit config/keyboard.ini to change the options.
  • Gamepad remapping also returns! It works a bit differently now, as each gamepad is stored in its own ini. See the included instructions for details.
  • All connected and enabled input devices now show on the Debug Overlay. You can see stats about gamepads as well as how many inputs are mapped to each device.

===== BUG FIXES =====

  • Game will no longer spam "Resizing swap chain..." to the debug console when minimized (or perform the associated extra calculations.)
  • Fixed depth issues causing the grass and certain other objects to disappear when changing windows or to other apps (mainly an issue on mobile.)

===== KNOWN BUGS =====

  • Marcus gets stuck on walls and can't smoothly walk along them.
  • When going to Marcus' Adventure and then to the Mode 7 Test Room, the floor is no longer drawn.
  • Marcus' screen transition doesn't work in certain scenarios.
  • Lance's shield does not attack enemies.
  • When Lance runs out of health, nothing happens.
  • When Lance is moving between screens, certain animations don't play correctly.
  • The CRT Glow is broken in certain configurations.

Thank you!

Thanks to the following Patrons, the rest of my Patrons, and everyone who makes this possible:

Accalia, Shadow8t4, BeepSterr, BenTheDragon, Bizarre Machinist , Caliburn Absolute, Chris Badger, Clover Arizona, David Wolfpaw, Spyduck, Cloud Hop, Fao, FaultBat, Flake, FoxyDude, Nutalie Frost, Gri, Goronhead, Holly Hoppet, Jyrki, Hulex Fox, Kirbizard, Kaypar, Trash, LF, LexiTheTT, Lorxus, Luna, Luna Moona the Little Kahuna , Durk Vash, Markus Joseph Kitsinger , Marlyn, Maxine Red, Mello the Ferret, Midori, Nenekiri Bookwyrm, Axel Husky , NovaSquirrel, Otarine, Ripp_, Rix, Cam D'Arcy, Saiai, Saxxon Fox, Ansel Geisel, Susan Tolias, Tabby Cromarty, Vivee, meerm, megaRammy, raine, SUSHiCLAWS

(Don't see your name here? DM me!!)

DEMO DOWNLOAD

Remember, this demo is INCOMPLETE and many things are MISSING! The purpose of this demo is to allow people to test out the new Shield Cat, as well as create INIs for gamepads that I can include with the game. If you want a fully featured demo, download the SAGE demo linked at the top of the page. Thank you!!!!

Comments

No comments found for this post.