Modifying MDK2 game/save data help

Technical help for Dreamcast console, accessories and games only. Ask questions and find answers here. For Online help see the Online Forum
MDK2fan
noob
Posts: 1

Modifying MDK2 game/save data help

Post by MDK2fan »

Hey all, new here.
Hope that this an appropriate forum to discuss this kind of thing in. I checked around including the FAQ and didn't find anything that could help me, thus this post.
Basically, I'm a big fan of MDK2, I've played the hell out of it, exploring every corner.
I found ISOs of several prototypes on hiddenpalace.org recently and played through them.
This proto in particular is especially intriguing in that it has fully functional debug menu loaded from the start where you can load levels, spawn objects and characters, change render options etc.
This older one is substantially different but only goes up to level 4 and does not include the debug mode.
Now I'm not much of a programmer but I know enough to look into the game files and I can see in the .LUA script, a command to enable debug mode (F9 key I guess it was on the devkit). I'm excited about this because enemies, objects and levels that never made it to the final are listed.
I tried to have two other people help me enable this debug mode but both kind of disappeared on me so unless someone here is willing to step up to the task I've decided to attempt this myself. My question; would anyone be able to point me in the right direction of what exactly I must learn to do this? From what I talked with one of the people that helped me before, just modifying the .lua should be enough but I'm not sure what exactly to change. Additionally, rebuilding the GDROM image hasn't been working out I've tried to use this guide but I must be doing something wrong because the contents that I change don't remain changed.
I'm Stuck essentially. if someone has resources to help please let me know. Thanks!

User avatar
bbayles
noob
Posts: 4
Contact:

Re: Modifying MDK2 game/save data help

Post by bbayles »

Attached is a patch to re-enable the debug features. Use Universal Dreamcast Patcher to apply it - you'll have to rename the extension to .dcp.
Attachments
mdk2-debug.zip
(26.15 KiB) Downloaded 23 times

User avatar
mistamontiel
Shark Patrol
Posts: 2151
Dreamcast Games you play Online: Errythan except Tetris o.0
Location: Miami, FL, CUBA
Contact:

Re: Modifying MDK2 game/save data help

Post by mistamontiel »

The zip to dcp I was baffled @ first then I reminded myself lol

Anything I need to do on boot? I can't test in MODE until tomorrow

User avatar
bbayles
noob
Posts: 4
Contact:

Re: Modifying MDK2 game/save data help

Post by bbayles »

Should be like the prototype for the debug menu.

Also some new cheats are enabled:

Code: Select all

    ["AAAA"] = function()
        mdkNewGame(2,12)
    end,
    ["AAAB"] = function()
        mdkNewGame(3,12)
    end,
    ["AAAX"] = function()
        mdkNewGame(4,12)
    end,
    ["AAAY"] = function()
        mdkNewGame(5,11)
    end,
    ["AABA"] = function()
        mdkNewGame(6,8)
    end,
    ["AABB"] = function()
        mdkNewGame(7,11)
    end,
    ["AABX"] = function()
        mdkNewGame(8,8)
    end,
    ["AABY"] = function()
        mdkNewGame(9,13)
    end,
    ["AAXA"] = function()
        mdkNewGame(10,7)
    end,
    ["XABY"] = function()
        GodDebugToggle()
    end,
    ["YYYY"] = function()
        showscenegraph = (showscenegraph==1 and 0) or 1

User avatar
mistamontiel
Shark Patrol
Posts: 2151
Dreamcast Games you play Online: Errythan except Tetris o.0
Location: Miami, FL, CUBA
Contact:

Re: Modifying MDK2 game/save data help

Post by mistamontiel »

I never played any betas any protos so I got the gold MDK2 and patched it

Huh I read on TCRF but doesn't say how to debug

EDIT: https://tcrf.net/MDK2_(Windows) Cool guess it's just gonna be on Pause

User avatar
mistamontiel
Shark Patrol
Posts: 2151
Dreamcast Games you play Online: Errythan except Tetris o.0
Location: Miami, FL, CUBA
Contact:

Re: Modifying MDK2 game/save data help

Post by mistamontiel »

Well patch worked but can't do jack hardly anything with controller only

  • Similar Topics
    Replies
    Views
    Last post