DC-SWAT Forum
hydra castle - Версия для печати

+- DC-SWAT Forum (http://www.dc-swat.ru/forum)
+-- Форум: Sega Dreamcast (/forum-2.html)
+--- Форум: English section (/forum-29.html)
+--- Тема: hydra castle (/thread-3607.html)



hydra castle - fafadou - 20.07.2019 13:46

Hi,

I have a request too, I like the homebrew game hydra castle you can find here in cdi and .iso format :
https://mega.nz/#!FrojgCxA!XaDFY7Bx6EHU9B-FFyz6pEgQyMgetKnqXwDtBfEoBwY

But there is a problem, the throwing weapons are disabled because it's a PC convert I guess and there is no controller button for using them...
And it's impossible to finish it.

I tried to contact those who made it, but they didn't want or didn't how to change the allocation.

The four buttons A,B,X,Y are used but it remains the up of cross pad (up is also used for shield but it be can used for throwing too) the 3 others directions are used for moving (left, right, down and climbing ladders).
For me the more "simple" things to do is to allocate the throwing to a trigger L, or R.
I tried to have a look, but I found nothing...

thanks for your help.


RE: hydra castle - Anthony817 - 05.08.2019 20:41

You said you tried hex editing the game over at Assembler in another thread correct?


RE: hydra castle - fafadou - 06.08.2019 00:31

Thanks for answering :-)

Yeah, I did. But there is no comment in the file.
I'm a beginner in assembler, I don't know what I have to look for and the file is quite huge..


RE: hydra castle - Anthony817 - 06.08.2019 01:44

I played this game on my OG Xbox and it is quite fun. Hopefully somebody could help take a look at this one.


RE: hydra castle - Anthony817 - 01.09.2019 01:31

Hey fafadou, I had an idea. Maybe try asking Ian Michael over at Dreamcast-Talk, he has been pumping out a lot of updates to older homebrew titles recently. This one would be right up his alley!

https://dreamcast-talk.com/forum/memberlist.php?mode=viewprofile&u=9844


RE: hydra castle - fafadou - 01.09.2019 12:12

Thanks I ask him now :-)


RE: hydra castle - fafadou - 28.01.2020 12:15

Hydra castle labyrinth is patched, the throwing weapons are available and we can finish the game.

https://www.youtube.com/watch?v=qvod685JpKs

There is a gdemu version and a ready cd burn version around 700Mo
Thanks to youtube chanel : "oldschool is beautiful"



Here the sd dreamshell version :

https://mega.nz/#!IrQiSIzB!n7ChWhRgSZOLP3H3bfJ8rGOFWg6h92l1kVStuw1rHVs


RE: hydra castle - megavolt85 - 07.02.2020 09:05

I don't understand why he didn't use triggers


RE: hydra castle - fafadou - 07.02.2020 11:55

For me the triggers are not available with this game.
In the input.c file there is only commands with one byte 0 or 1.
I guess triggers give more than byte when you press them.
It's not a SDK problem.


RE: hydra castle - megavolt85 - 07.02.2020 12:20

Код:
void Input_JoyAxisEvent(SDL_Event* evt)
{
    if(evt->jaxis.which != 0)
        return;
    
#define DEADZONE 32

    if(evt->jaxis.axis == 0)
    {
        int v = evt->jaxis.value;
        
        if ((v>-DEADZONE) & (v<DEADZONE))
        {
            axisX = 0;
        }
        else if (v < 0)
        {
            axisX = -1;
        }
        else
        {
            axisX = 1;
        }
    }
    else if(evt->jaxis.axis == 1)
    {
        int v = evt->jaxis.value;
        
        if ((v>-DEADZONE) & (v<DEADZONE))
        {
            axisY = 0;
        }
        else if (v < 0)
        {
            axisY = -1;
        }
        else
        {
            axisY = 1;
        }
    }
    else if(evt->jaxis.axis == 2)
    {
        jR = (evt->jaxis.value > DEADZONE) ? 1 : 0;
    }
    else if(evt->jaxis.axis == 3)
    {
        jL = (evt->jaxis.value > DEADZONE) ? 1 : 0;
    }
}



RE: hydra castle - fafadou - 09.02.2020 15:52

Many thanks for your help :-)
I'm asking to the modder to send me the sources patched with the good input.c file.

Hope I can inject inside your patch.


RE: hydra castle - megavolt85 - 09.02.2020 23:16

i'm look source code, may be i create update for this game
need create optimisation for dreamcast version


RE: hydra castle - fafadou - 10.02.2020 12:13

Here the source :
http://perso.numericable.fr/michel.louvet/files/hydra-src.zip


RE: hydra castle - megavolt85 - 10.02.2020 21:54

i use this source
https://github.com/ptitSeb/hydracastlelabyrinth


RE: hydra castle - fafadou - 11.02.2020 02:04

Probably in your source there is no input.c from Dreamcast version.
I guess you don't need it ;-)