Add rayman2 source files

This commit is contained in:
2024-09-18 02:33:44 +08:00
parent bcc093f8ed
commit fb036c54fd
14339 changed files with 2596224 additions and 0 deletions

View File

@@ -0,0 +1,172 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
{InputAction:SpeedUp_Key(Options)
KeyPressed(LeftShift)
}
{InputAction:CamFollow_Pad(Options)
JoyOrPadPressed(0,PadButton5)
}
;;;;;;;;;;;;;;;;;;;;;;;;;
; Actions for the retail version
{InputAction:Button_Start
KeyPressed(Esc)
}
{InputAction:Button_PreviousMenu
Or
JoyOrPadPressed(0,PadButton0)
KeyPressed(Back)
}
{InputAction:Button_Selection
Or
JoyOrPadPressed(0,PadButton1)
KeyPressed(Enter)
}
{InputAction:Button_XAnalogic
JoyAxeValue(0,PadXValue,-110,110)
}
{InputAction:Button_YAnalogic
JoyAxeValue(0,PadYValue,-110,110)
}
{InputAction:Button_LeftAnalogic
JoyAxeValue(0,PadXValue,-110,-20)
}
{InputAction:Button_RightAnalogic
JoyAxeValue(0,PadXValue,20,110)
}
{InputAction:Button_UpAnalogic
JoyAxeValue(0,PadYValue,-110,-20)
}
{InputAction:Button_DownAnalogic
JoyAxeValue(0,PadYValue,20,110)
}
{InputAction:Button_Ghost
Or
Or
JoyOrPadPressed(0,PadButton0)
JoyOrPadPressed(0,PadButton4)
KeyPressed("LeftShift")
}
{InputAction:Button_Paf
Or
JoyOrPadPressed(0,PadButton1)
KeyPressed(" ")
}
{InputAction:Button_Jump
Or
JoyOrPadPressed(0,PadButton2)
KeyPressed(Q)
}
{InputAction:Button_Poing
Or
JoyOrPadPressed(0,PadButton3)
KeyPressed("C")
}
{InputAction:Button_L
Or
JoyOrPadPressed(0,PadButton4)
KeyPressed(J)
}
{InputAction:Button_LateralWalk
Or
JoyOrPadPressed(0,PadButton5)
KeyPressed("J")
}
{InputAction:JoystickMoveOrder
Or
Or
Or
ActionValidated(Button_LeftAnalogic)
ActionValidated(Button_RightAnalogic)
ActionValidated(Button_UpAnalogic)
ActionValidated(Button_DownAnalogic)
}
{InputAction:PAD_BoutonDroit
ActionValidated(CamFollow_Pad)
}
{InputAction:Button_1
KeyPressed(1)
}
{InputAction:Button_2
KeyPressed(2)
}
; Actions for the debug version
{InputAction:Button_Left
KeyPressed(Left)
}
{InputAction:Button_Right
KeyPressed(Right)
}
{InputAction:Button_Up
KeyPressed(Up)
}
{InputAction:Button_Down
KeyPressed(Down)
}
{InputAction:Button_SpeedUp
KeyPressed(LeftShift)
}
{InputAction:KeyboardMoveOrder
Or
Or
Or
ActionValidated(Button_Left)
ActionValidated(Button_Right)
ActionValidated(Button_Up)
ActionValidated(Button_Down)
}
{InputAction:MoveLeft
Or
ActionValidated(Button_LeftAnalogic)
ActionValidated(Button_Left)
}
{InputAction:MoveRight
Or
ActionValidated(Button_RightAnalogic)
ActionValidated(Button_Right)
}
{InputAction:MoveUp
Or
ActionValidated(Button_UpAnalogic)
ActionValidated(Button_Up)
}
{InputAction:MoveDown
Or
ActionValidated(Button_DownAnalogic)
ActionValidated(Button_Down)
}

View File

@@ -0,0 +1,136 @@
;*************************
;*************************
{InputAction:CamLeft_PAD(Options)
JoyOrPadPressed(0,PadButton2)
}
{InputAction:CamRight_PAD(Options)
JoyOrPadPressed(0,PadButton3)
}
;*************************
; Actions for the camera
;*************************
; Actions for the retail version
{InputAction:BT_Camera_Look
Or
KeyPressed(Pad0)
And
ActionValidated(CamLeft_PAD)
ActionValidated(CamRight_PAD)
}
{InputAction:BT_Camera_LookRight
Or
KeyPressed(Right)
ActionValidated(Button_RightAnalogic)
}
{InputAction:BT_Camera_LookLeft
Or
KeyPressed(Left)
ActionValidated(Button_LeftAnalogic)
}
{InputAction:BT_Camera_LookUp
Or
KeyPressed(Up)
ActionValidated(Button_UpAnalogic)
}
{InputAction:BT_Camera_LookDown
Or
KeyPressed(Down)
ActionValidated(Button_DownAnalogic)
}
{InputAction:Cam_Camera_Turn
Or
ActionValidated(CamLeft_PAD)
ActionValidated(CamRight_PAD)
}
{InputAction:Cam_Camera_TurnLeft
And
ActionValidated(CamLeft_PAD)
ActionInvalidated(CamRight_PAD)
}
{InputAction:Cam_Camera_TurnRight
And
ActionValidated(CamRight_PAD)
ActionInvalidated(CamLeft_PAD)
}
{InputAction:Cam_Camera_CutBehind
; And
; JoyOrPadPressed(0,PadButton2)
; JoyOrPadPressed(0,PadButton5)
KeyPressed(Pad5)
}
{InputAction:Cam_Camera_SwitchMode
And
JoyOrPadPressed(0,PadButton5)
Not
JoyOrPadPressed(0,PadButton2)
}
{InputAction:Cam_pad_c
JoyOrPadPressed(0,PadButton5)
}
{InputAction:Cam_pad_d
JoyOrPadPressed(0,PadButton5)
}
{InputAction:Cam_Camera_Quake
KeyPressed(Pad4)
}
; Actions for the debug version
{InputAction:BT_Camera_Num1
KeyPressed(Pad1)
}
{InputAction:BT_Camera_Num2
KeyPressed(Pad2)
}
{InputAction:BT_Camera_Num6
KeyPressed(Pad6)
}
{InputAction:BT_Camera_Num7
KeyPressed(Pad7)
}
{InputAction:BT_Camera_Num8
KeyPressed(Pad8)
}
{InputAction:BT_Camera_Num9
KeyPressed(Pad9)
}
{InputAction:BT_Camera_IncDist
KeyPressed("Pad+")
}
{InputAction:BT_Camera_DecDist
KeyPressed("Pad-")
}

View File

@@ -0,0 +1,57 @@
;**********************************
;*** Cheat code defined actions ***
;**********************************
{InputAction:FlyingMode
KeyJustPressed(B)
}
{InputAction:FlyingModeForward
KeyPressed(Up)
}
{InputAction:FlyingModeBackward
KeyPressed(Down)
}
{InputAction:FlyingModeRight
And
KeyPressed(Right)
KeyReleased(LeftCtrl)
}
{InputAction:FlyingModeLeft
And
KeyPressed(Left)
KeyReleased(LeftCtrl)
}
{InputAction:FlyingModeUp
KeyPressed(Q)
}
{InputAction:FlyingModeDown
KeyPressed(W)
}
{InputAction:FlyingModeStrafeRight
And
KeyPressed(LeftCtrl)
KeyPressed(Right)
}
{InputAction:FlyingModeStrafeLeft
And
KeyPressed(LeftCtrl)
KeyPressed(Left)
}
{InputAction:FlyingModeDoubleSpeed
KeyPressed(LeftShift)
}
{InputAction:MemoryStackLog
And
KeyPressed(LeftCtrl)
KeyJustPressed(A)
}

View File

@@ -0,0 +1 @@
y<EFBFBD>VUTSR7<EFBFBD><02>#<23>8<EFBFBD><0E>O<EFBFBD>)<29>p<EFBFBD><17>Z<EFBFBD>/<2F>O<EFBFBD><17>W<EFBFBD>7<EFBFBD>w<EFBFBD><07>G<EFBFBD>';g<>8<EFBFBD>x<EFBFBD>8<EFBFBD>X<EFBFBD>(<28>H<EFBFBD>w<EFBFBD>h 1<>cC<63>4<EFBFBD>P<EFBFBD>@WK<57>9<EFBFBD>2<EFBFBD>S}<7D><1A>C<EFBFBD>c<EFBFBD>S<EFBFBD>-<2D>4<EFBFBD>t<EFBFBD><74><EFBFBD><17>I<EFBFBD><01> [0<>j<EFBFBD>><3E>'V<>i<EFBFBD><07>c<EFBFBD>5<EFBFBD>Z<EFBFBD>-<2D>S<EFBFBD>R["<22><>L0 B<> <0C>}

View File

@@ -0,0 +1,153 @@
;*****************************
;*** Debug defined actions ***
;*****************************
; All these actions are used only by the engine and not by the AI
; They will have to be removed for the retail version
{InputAction:ClearOptionsDisplayed
KeyJustPressed(<28>)
}
{InputAction:DisplayZDC
KeyJustPressed(Z)
}
{InputAction:ReinitTheMap
Or
KeyJustPressed(F11)
And
And
JoyOrPadPressed(0,PadButton4)
JoyOrPadPressed(0,PadButton5)
{Sequence:
Pad(0, PadButton0)
Pad(0, PadButton1)
}
}
{InputAction:ChooseLevel
Or
KeyJustPressed(F9)
And
And
JoyOrPadPressed(0,PadButton4)
JoyOrPadPressed(0,PadButton5)
{Sequence:
Pad(0, PadButton1)
Pad(0, PadButton0)
}
}
{InputAction:ChooseLevelUp
Or
KeyJustPressed(Up)
JoyOrPadPressed(0,PadButton5)
}
{InputAction:ChooseLevelDown
Or
KeyJustPressed(Down)
JoyOrPadPressed(0,PadButton4)
}
{InputAction:ChooseLevelValidate
Or
KeyJustPressed(" ")
JoyOrPadPressed(0,PadButton0)
}
{InputAction:ChooseLevelInvalidate
Or
KeyJustPressed(Q)
JoyOrPadPressed(0,PadButton1)
}
{InputAction:DisplayRaster
KeyPressed(F10)
}
{InputAction:DisplayRasterMode
KeyJustPressed(F3)
}
{InputAction:DisplayRasterPCU64
KeyJustPressed(F4)
}
{InputAction:DisplayModeToggle
KeyJustPressed(D)
}
{InputAction:DisplayOnlyStatic
KeyJustPressed(O)
}
{InputAction:DisplaySectorInfos
KeyJustPressed(S)
}
{InputAction:DisplayWaypoints
KeyJustPressed(P)
}
{InputAction:DisplayRayTraceSegments
KeyJustPressed(H)
}
{InputAction:DisplayActivatedGendoors
KeyJustPressed(G)
}
{InputAction:DisplayBoundingVolumes
KeyJustPressed(U)
}
{InputAction:DisplayLight
; KeyJustPressed("$")
}
{InputAction:SnapShot
KeyJustPressed("F8")
}
{InputAction:CheatGrappin
KeyJustPressed(3)
}
{InputAction:CheatAccumulation
KeyJustPressed(4)
}
{InputAction:DisplayTextOverScan
KeyPressed("!")
}
{InputAction:AltDisplayTextOverScan
And
KeyPressed(LeftShift)
KeyPressed("!")
}
{InputAction:GliMenu_Activate
KeyPressed(Del)
}
{InputAction:GliMenu_Next
KeyPressed(End)
}
{InputAction:GliMenu_Prev
KeyPressed(Home)
}
{InputAction:GliMenu_Select
KeyPressed(Next)
}
{InputAction:GliMenu_Zoom
KeyPressed(Prior)
}
{InputAction:GliMenu_Goto
KeyPressed(Ins)
}
{InputAction:StartStopStep
KeyPressed(F5)
}
{InputAction:PulseStep
KeyPressed(F6)
}

View File

@@ -0,0 +1,10 @@
;**************************************************
; This file contains the list of the active devices
;**************************************************
{ActivateDevices:
KeyBoard
;Pad(0)
Joystick(0)
}

View File

@@ -0,0 +1,181 @@
;**** NewKeyDefine(Key, French keyword, American keyboard) ***
{KeyDefine:(200)
NewKeyDefine("<22>")
NewKeyDefine("1")
NewKeyDefine("2")
NewKeyDefine("3")
NewKeyDefine("4")
NewKeyDefine("5")
NewKeyDefine("6")
NewKeyDefine("7")
NewKeyDefine("8")
NewKeyDefine("9")
NewKeyDefine("0")
NewKeyDefine(")",")","-")
NewKeyDefine("=","=")
NewKeyDefine("A","A","Q")
NewKeyDefine("Z","Z","W")
NewKeyDefine("E")
NewKeyDefine("R")
NewKeyDefine("T")
NewKeyDefine("Y")
NewKeyDefine("U")
NewKeyDefine("I")
NewKeyDefine("O")
NewKeyDefine("P")
; NewKeyDefine("^","^","[")
NewKeyDefine("$","$","]")
NewKeyDefine("Q","Q","A")
NewKeyDefine("S")
NewKeyDefine("D")
NewKeyDefine("F")
NewKeyDefine("G")
NewKeyDefine("H")
NewKeyDefine("J")
NewKeyDefine("K")
NewKeyDefine("L")
NewKeyDefine("M","M",";")
NewKeyDefine("%","%","'")
NewKeyDefine("*")
NewKeyDefine("<")
NewKeyDefine("W","W","Z")
NewKeyDefine("X")
NewKeyDefine("C")
NewKeyDefine("V")
NewKeyDefine("B")
NewKeyDefine("N")
NewKeyDefine(",",",","M")
NewKeyDefine(";",";",",")
NewKeyDefine(":",":",".")
NewKeyDefine("!","!","/")
NewKeyDefine("F1")
NewKeyDefine("F2")
NewKeyDefine("F3")
NewKeyDefine("F4")
NewKeyDefine("F5")
NewKeyDefine("F6")
NewKeyDefine("F7")
NewKeyDefine("F8")
NewKeyDefine("F9")
NewKeyDefine("F10")
NewKeyDefine("F11")
NewKeyDefine("F12")
; NewKeyDefine("PrintScreen","PrtScr")
; NewKeyDefine("Scroll")
; NewKeyDefine("Pause")
NewKeyDefine(" ","Space","Space")
NewKeyDefine("Esc")
; NewKeyDefine("Tab")
; NewKeyDefine("Caps")
NewKeyDefine("LeftShift","LShift")
NewKeyDefine("RightShift","RShift")
NewKeyDefine("LeftCtrl","LCtrl")
NewKeyDefine("RightCtrl","RCtrl")
NewKeyDefine("LeftAlt","LAlt")
NewKeyDefine("RightAlt","RAlt")
NewKeyDefine("Enter")
NewKeyDefine("Back")
NewKeyDefine("Ins")
NewKeyDefine("Del")
NewKeyDefine("Home")
NewKeyDefine("End")
NewKeyDefine("Prior")
NewKeyDefine("Next")
NewKeyDefine("Up")
NewKeyDefine("Down")
NewKeyDefine("Left")
NewKeyDefine("Right")
; NewKeyDefine("VerrNum","VNum")
NewKeyDefine("Pad/","/")
NewKeyDefine("Pad*","*")
NewKeyDefine("Pad-","-")
NewKeyDefine("Pad+","+")
NewKeyDefine("Pad.",".")
NewKeyDefine("Pad0")
NewKeyDefine("Pad1")
NewKeyDefine("Pad2")
NewKeyDefine("Pad3")
NewKeyDefine("Pad4")
NewKeyDefine("Pad5")
NewKeyDefine("Pad6")
NewKeyDefine("Pad7")
NewKeyDefine("Pad8")
NewKeyDefine("Pad9")
NewKeyDefine("PadEnter")
NewKeyDefine("PadUp","Up")
NewKeyDefine("PadDown","Down")
NewKeyDefine("PadLeft","Left")
NewKeyDefine("PadRight","Right")
NewKeyDefine("PadXValue")
NewKeyDefine("PadYValue")
NewKeyDefine("PadZValue")
NewKeyDefine("PadRValue")
NewKeyDefine("PadUValue")
NewKeyDefine("PadVValue")
NewKeyDefine("PadButton0","B1")
NewKeyDefine("PadButton1","B2")
NewKeyDefine("PadButton2","B3")
NewKeyDefine("PadButton3","B4")
NewKeyDefine("PadButton4","B5")
NewKeyDefine("PadButton5","B6")
; NewKeyDefine("PadButton6","B7")
; NewKeyDefine("PadButton7","B8")
; NewKeyDefine("PadButton8","B9")
; NewKeyDefine("PadButton9","B10")
; NewKeyDefine("PadButton10","B11")
; NewKeyDefine("PadButton11","B12")
; NewKeyDefine("PadButton12","B13")
; NewKeyDefine("PadButton13","B14")
; NewKeyDefine("PadButton14","B15")
; NewKeyDefine("PadButton15","B16")
; NewKeyDefine("PadButton16","B17")
; NewKeyDefine("PadButton17","B18")
; NewKeyDefine("PadButton18","B19")
; NewKeyDefine("PadButton19","B20")
; NewKeyDefine("PadButton20","B21")
; NewKeyDefine("PadButton21","B22")
; NewKeyDefine("PadButton22","B23")
; NewKeyDefine("PadButton23","B24")
; NewKeyDefine("PadButton24","B25")
; NewKeyDefine("PadButton25","B26")
; NewKeyDefine("PadButton26","B27")
; NewKeyDefine("PadButton27","B28")
; NewKeyDefine("PadButton28","B29")
; NewKeyDefine("PadButton29","B30")
; NewKeyDefine("PadButton30","B31")
; NewKeyDefine("PadButton31","B32")
NewKeyDefine("JoyButton0","B1")
NewKeyDefine("JoyButton1","B2")
NewKeyDefine("JoyButton2","B3")
NewKeyDefine("JoyButton3","B4")
NewKeyDefine("JoyButton4","B5")
NewKeyDefine("JoyButton5","B6")
; NewKeyDefine("JoyButton6","B7")
; NewKeyDefine("JoyButton7","B8")
; NewKeyDefine("JoyButton8","B9")
; NewKeyDefine("JoyButton9","B10")
; NewKeyDefine("JoyButton10","B11")
; NewKeyDefine("JoyButton11","B12")
; NewKeyDefine("JoyButton12","B13")
; NewKeyDefine("JoyButton13","B14")
; NewKeyDefine("JoyButton14","B15")
; NewKeyDefine("JoyButton15","B16")
; NewKeyDefine("JoyButton16","B17")
; NewKeyDefine("JoyButton17","B18")
; NewKeyDefine("JoyButton18","B19")
; NewKeyDefine("JoyButton19","B20")
; NewKeyDefine("JoyButton20","B21")
; NewKeyDefine("JoyButton21","B22")
; NewKeyDefine("JoyButton22","B23")
; NewKeyDefine("JoyButton23","B24")
; NewKeyDefine("JoyButton24","B25")
; NewKeyDefine("JoyButton25","B26")
; NewKeyDefine("JoyButton26","B27")
; NewKeyDefine("JoyButton27","B28")
; NewKeyDefine("JoyButton28","B29")
; NewKeyDefine("JoyButton29","B30")
; NewKeyDefine("JoyButton30","B31")
; NewKeyDefine("JoyButton31","B32")
}

View File

@@ -0,0 +1,68 @@
{IptLink
; Warning the order of the following reference
; this order is the same in struct tdst_EntryActions_ (see Gam/Structur/imput_s.h)
; syntax : AddRef ([Text of the referennce], [Type: ForAllVersion or ForPc or ForU64])
AddRef (SnapShot, ForPc)
;//*** Toggle wired/solid rendering ***
AddRef (DisplayModeToggle, ForAllVersion)
;//*** Debug handle ***
AddRef (DisplayRaster, ForAllVersion)
AddRef (DisplayRasterMode, ForAllVersion)
AddRef (DisplayRasterPCU64, ForAllVersion)
AddRef (ReinitTheMap, ForAllVersion)
AddRef (DisplayOnlyStatic, ForAllVersion)
AddRef (DisplayLight, ForAllVersion)
AddRef (DisplayZDC, ForAllVersion)
AddRef (DisplaySectorInfos, ForAllVersion)
AddRef (DisplayWaypoints, ForAllVersions)
AddRef (DisplayBoundingVolumes, ForAllVersions)
AddRef (DisplayRayTraceSegments, ForAllVersions)
AddRef (DisplayActivatedGendoors, ForAllVersions)
AddRef (ClearOptionsDisplayed, ForAllVersions)
;//*** changing map menu
AddRef( ChooseLevel, ForAllVersion )
AddRef( ChooseLevelUp, ForAllVersion )
AddRef( ChooseLevelDown, ForAllVersion )
AddRef( ChooseLevelValidate, ForAllVersion )
AddRef( ChooseLevelInvalidate, ForAllVersion )
;//*** Flying mode cheat code ***
AddRef (FlyingMode, ForAllVersion)
AddRef (FlyingModeForward, ForAllVersion)
AddRef (FlyingModeBackward, ForAllVersion)
AddRef (FlyingModeUp, ForAllVersion)
AddRef (FlyingModeDown, ForAllVersion)
AddRef (FlyingModeLeft, ForAllVersion)
AddRef (FlyingModeRight, ForAllVersion)
AddRef (FlyingModeStrafeLeft, ForAllVersion)
AddRef (FlyingModeStrafeRight, ForAllVersion)
AddRef (FlyingModeDoubleSpeed, ForAllVersion)
; special entry for dreamcast... don't care !
AddRef (FlyingModeDoubleSpeed, ForAllVersion)
AddRef (FlyingModeDoubleSpeed, ForAllVersion)
;// *** Log For Anim Memory Stack ***
AddRef (MemoryStackLog, ForAllVersion)
;// *** display rectangle for text limits ***
AddRef (DisplayTextOverScan,ForAllVersion)
AddRef (AltDisplayTextOverScan,ForAllVersion)
AddRef (GliMenu_Activate,ForPC)
AddRef (GliMenu_Next,ForPC)
AddRef (GliMenu_Prev,ForPC)
AddRef (GliMenu_Select,ForPC)
AddRef (GliMenu_Zoom,ForPC)
AddRef (GliMenu_Goto,ForPC)
;// *** step mode ***
AddRef (StartStopStep,ForAllVersion)
AddRef (PulseStep,ForAllVersion)
}