Hello, i am currently in the process of porting the ultimate levitation code for driver 2 to driver 2 v1.1. I am almost finished with the code. I am down to the top 4 lines of the code. I cannot seem to get control over the levitation effect no matter how i port the top 4 lines of the original code. Any help would be appreciated.
Announcement
Collapse
No announcement yet.
Code Porting Help
Collapse
X
-
-
What region of the game do you have? Because I ported it to v1.1 for the NTSC version a long time ago. To port the first four lines of code in the beginning requires both files for the game. The guide, dlevere, linked you to does work. It's just that some codes require both versions of the game to get an accurate port of the code.
Comment
-
OK. I posted the code on Codemasters-Project in my code thread (deleted; but will be re-posted in due time) and on the old Codebreaker forums. I wasn't registered here at the time to post it. Here is the code:
Credit to the original hacker (probably CodeMaster aka CMX' doing)
Ultimate Levitation Code
D0056B74 1903
80056B7C 1D80
D0056B74 1903
80056B7E 0C00
80007600 FFFF
80007602 2403
80007604 000B
80007606 3C01
80007608 ABAC
8000760A 8C21
8000760C 0004
8000760E 8CC2
80007610 000C
80007612 3021
80007614 000C
80007616 2404
80007618 000D
8000761A 1020
8000761E 2400
80007620 0007
80007622 1024
80007624 0008
80007626 3024
80007628 0003
8000762A 1480
8000762C 5026
8000762E 0069
80007630 0007
80007632 1540
80007634 0001
80007636 340A
80007638 0005
8000763A 1140
8000763E 2400
80007640 0002
80007642 1069
80007644 0300
80007646 2442
80007648 0300
8000764A 2442
8000764C 0004
8000764E ACC2
80007650 0008
80007652 03E0
80007656 2400
Note: This code is fun. Press L1 and your car levitates. Press R1 and all cars except yours levitates. Press L1+R1 and every car levitates. Very good fun.
Comment
-
Thanks hacc. Also, please ignore the private message i sent you at the CM forum.
Also, i tried the code on my actual console and it locks up on infogrames video and i can hear audio from the other videos in the game playing. The code works just fine on an emulatorLast edited by 1337gamer; 07-07-2010, 08:40:46 PM.
Comment
-
The code above didn't work correctly for me with pSX and CodeBreaker.
I'm pretty sure that I indeed have version 1.1 because I used Hacc's Greatest Hits code (Display Coordinates) and it worked correctly.
The very first line of the code (and the 3rd) hold that value as soon as you load the game, so they are kinda pointless I would think.
Here's the code working great for me: (Red=Changes)
With the red activator edit above, Press Select+Start to make the L1 and R1 buttons function as stated above.Code:Ultimate Levitation Code [COLOR="Red"]D00D93D4 0900 1[/COLOR] 80056B7C 1D80 2 [COLOR="Red"]D00D93D4 0900 3[/COLOR] 80056B7E 0C00 4 80007600 FFFF 5 80007602 2403 6 80007604 000B 7 80007606 3C01 8 80007608 ABAC 9 8000760A 8C21 10 8000760C 0004 11 8000760E 8CC2 12 80007610 000C 13 80007612 3021 14 80007614 000C 15 80007616 2404 16 80007618 000D 17 8000761A 1020 18 8000761E 2400 19 80007620 0007 20 80007622 1024 21 80007624 0008 22 80007626 3024 23 80007628 0003 24 8000762A 1480 25 8000762C 5026 26 8000762E 0069 27 80007630 0007 28 80007632 1540 29 80007634 0001 30 80007636 340A 31 80007638 0005 32 8000763A 1140 33 8000763E 2400 34 80007640 0002 35 80007642 1069 36 80007644 0300 37 80007646 2442 38 80007648 0300 39 8000764A 2442 40 8000764C 0004 41 8000764E ACC2 42 80007650 0008 43 80007652 03E0 44 80007656 2400 45 Note: This code is fun. Press L1 and your car levitates. Press R1 and all cars except yours levitates. Press L1+R1 and every car levitates. Very good fun.
Comment
-
They don't work on the console for me.
Edit: Well i'll be damned. Mez's modification to the levitation code and Code breaker v.3 works on my actual console.
Edit 2: Strangely enough, when i removed the top four lines of the code, the game loads just fine except the game plays normally. So the problem has to be in the top four lines of code.Last edited by 1337gamer; 08-14-2010, 09:55:08 PM.
Comment
-
That's good to hear. The code won't work without lines 2 and 3. They are responsible for executing the code. This is what they are doing in coding:
80056B7C 1D80
80056B7E 0C00
translates to:
80056B7C 0C001D80
then:
80056B7C jal $80007600 (-81247)
jump to address 80007600 and execute subroutine.
Jal = jump and link
Google jal mipsLast edited by Hacc; 08-20-2010, 05:20:56 PM.
Comment
Comment