Cave Story
  • Caterpillar
    Caterpillar
    dirkvl123
    Posts: 33 from 2014/5/27
    Hello everyone. Small question about a great game called cave story, ported for Morphos:

    http://morphos-files.net/download/Cave_Story


    I like this platform game very much. But there is a beauty thing that bothers me.
    It has no controller support. You have to use the ZXASQW and arrow keys, which is default to
    play this game. I assume this is because this game was intented to be ported to almost all
    thinkable o.s. platforms, which is a great idea on itself.

    Still, I use ps2 controllers on my morphos G4 minimac with a special dual ps2 controller usb convertor.
    This works for all games on Morphos. Great device if you already own ps2 controllers and look for a cheap controller solution for morphos. For key only games it doesn't work obviously.

    This is my question. What I need is a tool to map controller pad pulses to keyboard keys on morphos. A sort of remapper. Special for games that have no controller settings.
    I looked around on the sites I know about morphos stuff, but unsuccesful.
    Anybody knows such a mophos tool to download?
    Maybe I overlooked some morphos native solution, in that case give me the instructions .

    Thanks!
  • »06.11.14 - 22:20
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    The original layout is YXASQW, but since PowerSDL remaps the keys on international layouts, you end up with Z instead on QWERTZ keyboards.
    This is just like television, only you can see much further.
  • »07.11.14 - 05:39
    Profile Visit Website
  • MorphOS Developer
    Henes
    Posts: 507 from 2003/6/14
    Check http://aminet.net/package/misc/emu/MacJoy13
  • »07.11.14 - 09:13
    Profile Visit Website
  • Caterpillar
    Caterpillar
    dirkvl123
    Posts: 33 from 2014/5/27
    Thanks guys!


    Henes, thanks for the link, it looked exactly what I need. I downloaded the tool in great hope.
    Reading the manual it should do exactly what I need. I should use the Macjoy application. The other one is for cd32 specific (Also very interesting for other users..)
    According to the manual for "Macjoy" i should click the link and wait till a window opens , where I can configure the keyboard keys. Even a keymap.iff picture was added to show the right codes for the keys.
    Unfortunately, nothing happens when I click the Macjoy icon. I opened taskmanager to see what happens in background. I can see a task shows up when i click the icon, but I don't see any window or UI.

    Any tips?

    Thanks again.
  • »07.11.14 - 10:11
    Profile
  • Butterfly
    Butterfly
    Condor
    Posts: 99 from 2005/9/1
    From: Zagreb/Croatia
    Macjoy, when started will show only window bar with name Macjoy (not full window). After that you can use your joypad with games. To configure keys, open icon tooltype window of Macjoy and enter numbers for selected keys from keymap.iff.
  • »07.11.14 - 11:33
    Profile
  • Caterpillar
    Caterpillar
    dirkvl123
    Posts: 33 from 2014/5/27
    Hi Condor,



    I understand what you mean. When I start the Macjoypad icon, I does exactly what you describe. A menu top appears. But clicking the macjoy icon, nothing is popping up. No response.

    I use morphos 3.7,minimac G4.
  • »07.11.14 - 12:18
    Profile
  • Caterpillar
    Caterpillar
    dirkvl123
    Posts: 33 from 2014/5/27
    update:


    When I use the right mouse button and choose 'information'
    I can indeed see the key menu in 'tooltypes' and change the key numbers following the keymap.iff picture. However if i click the macjoy icon afterwards, nothing comes up. If I start this cave story game afterwards, there is no control with my controller. Seems macjoy is not active.
  • »07.11.14 - 12:29
    Profile
  • Caterpillar
    Caterpillar
    dirkvl123
    Posts: 33 from 2014/5/27
    Anybody?


    This must be a very simple problem. How do I get that tool to work?
    I managed to configure that Macjoy tool, but it doesn't run after clicking on the icon.
    Is Macjoy13 the wrong version? Just a link that works for morphos would help.
    I bed it is not only my system, it must be something easy to simulate.

    "Just looking around " in a not supported o.s. leads nowhere. i was very surprised
    nobody asked to re install my morphos installation, which is number 1 support solution here on the forum."....Do you use software on your Morphos system? Don't do that if you like to keep a stable Morphos system!..."


    [ Edited by dirkvl123 08.11.2014 - 11:41 ]
  • »08.11.14 - 10:41
    Profile
  • MorphOS Developer
    Henes
    Posts: 507 from 2003/6/14
    Use MacJoyPad only.
    It's not for CD32. As written in the README.FIRST file, it is for CD32 joypad and uses lowlevel.library.
    So, on MorphOS, it should work with any USB game controller.
  • »08.11.14 - 11:13
    Profile Visit Website
  • Caterpillar
    Caterpillar
    dirkvl123
    Posts: 33 from 2014/5/27
    Henes, Thank you for that hint!! Works perfect!!
    I should have worked that one out myself.
    I was focused on the macjoy tool too much.
    This program is a great help for all key controlled morphos games.

    I didn't know lowlevel.library was already on my system so, it worked at once.

    [ Edited by dirkvl123 08.11.2014 - 13:42 ]
  • »08.11.14 - 12:39
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    koszer
    Posts: 1250 from 2004/2/8
    From: Poland
    OK, not really related to control problems, nevertheless still on Cave Story, so I won't be opening a new subject.

    There are some graphic glitches in Labyrynth levels (just before and during the fight with Core). It seems that the background isn't refreshed properly. In the end everything looks like that:

    QXHaZno.png

    aeLeOUv.png

    As you can imagine, it does not help in the fight itself. I've managed to finish the game once, but I'm doing a second round (going for the Spur and rescuing Curly), and this time it's even harder. Had anyone experienced such odd behaviour? Or maybe knows how to fix it? My saved game is here:

    profile.dat
  • »18.11.14 - 17:00
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    This is some PowerSDL issue, so hopefully itix will be able to tell what's causing it.
    This is just like television, only you can see much further.
  • »18.11.14 - 18:13
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    koszer
    Posts: 1250 from 2004/2/8
    From: Poland
    Quote:

    BSzili wrote:
    This is some PowerSDL issue, so hopefully itix will be able to tell what's causing it.


    I've replaced PowerSDL with ver 14, but with no luck. Can anyone confirm that it's not only my issue?
  • »22.11.14 - 05:34
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    I can confirm it, but there isn't much I can do about it. If you can get itix to look at it, maybe he can tell why you have HOM on the background there.
    This is just like television, only you can see much further.
  • »25.11.14 - 06:12
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    I have no idea. It could have something to do with colorkeying if it is used in this game.
    1 + 1 = 3 with very large values of 1
  • »27.11.14 - 05:43
    Profile
  • Just looking around
    Amile
    Posts: 6 from 2008/8/3
    I can confirm the issue as well. The graphical glitches become introduced in the Dark Room and stay visible in the Core (as seen in the pictures koszer posted). I can't tell if the screen restores to normal behavior after the Core, because i wasn't able to defeat the Core yet due to the graphical distortion.
    It restores to normal if you leave the Dark Room by the front door to the previous room. The difference of these two rooms to all the other rooms before is a somewhat floating waterlayer in front of the screen. The graphic errors are all drawn to the background layer, the layers in between are drawn correctly. So to me it seems like a refreshing error of the background layer due to the additional layer in front of the sceenery, more likely a bug in the game than in powersdl.

    Would be nice if someone could fix it, so the Core would become defeatable to me ;-)
  • »28.11.14 - 23:32
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    I need to know how graphics are rendered there. I could run it through debug enabled SDL but it is going to be difficult to analyze what the game is trying to do and if PowerSDL works correctly or not.
    1 + 1 = 3 with very large values of 1
  • »29.11.14 - 15:40
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    The sources are on aminet. It might not be the latest though.
    This is just like television, only you can see much further.
  • »29.11.14 - 17:05
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Downloading archive now. It is going to be hit and miss but maybe I can find something or get ideas where to add debug without getting flooded by unimportant data...
    1 + 1 = 3 with very large values of 1
  • »29.11.14 - 17:37
    Profile