ROM Hack Asm Rendering [theory]

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,846
Trophies
3
Location
Gaming Grotto
XP
29,930
Country
Poland
There's always libnds, why browse through some decompiled code? if you want to "render your own stuff", you may just as well "program it from scratch".
 

Rydian

Resident Furvert™
Member
Joined
Feb 4, 2010
Messages
27,880
Trophies
0
Age
36
Location
Cave Entrance, Watching Cyan Write Letters
Website
rydian.net
XP
9,111
Country
United States
If you're talking about modding a retail ROM... unlike older ROMs (NES, SNES, etc.) that lumped all the data into one chunk, NDS ROMs actually use a filesystem of sorts, and there's tools out there that can extract the ROM into all the various parts, which include the ARM9 and ARM7 binaries and also all the resource files for the game. This means all the text in the games and stuff like that can be edited without modifying the program itself (assuming you're just doing simple resource swapping).
 

gudenau

Largely ignored
OP
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,493
Country
United States
Well I don't want animations, and my base for mods is mkds, so that means that I want to render my stuff above the map and players for mods, I always wanted a mod that had controlls on the touch screen, I know it will be hard, but I think it will be neat at the end, I do understand c and asm, I just need a push in the right direction.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,403
Country
United Kingdom
Ahh it becomes clearer- the phrasing was enough to attract my attention but not convey quite what you were going for

Graphics wise- if you have seen subtitles on a video within a game that has been translated then chances are the subs you see are floating on top of the video itself (there are no encoders, public or otherwise, available for any of the DS codecs/video standards that I am aware of). Bonus for you is MKDS is largely 3d so you might have less of a hard time fiddling with priorities (3d is rendered outside the normal VRAM and kicked to a BG layer for the most part).

Your main problems as I see it will be
1) Trying to get your code in there. Personally I would look at hooking the 2d display routine and adding it there.
2) Trying to find the space in VRAM. The DS graphics system can do a lot but it is far from effectively unlimited* and certainly no stranger to having to be optimised to get things to work.
*It is for the GBA but http://pineight.com/gba/managing-sprite-vram.txt is worth a read and http://gbatemp.net/topic/295053-resize-sprites/ has a tiny bit (mainly a lack of VRAM issue). If you nuke the map and such it will probably be a bit easier.

2a) would be that there might not be enough space in the vblank timeframe to get things done but cross that bridge when you come to it.

As for controls what you probably want to be looking at is the Arkanoid paddle for MKDS hack http://gbatemp.net/topic/75311-control-mario-kart-ds-with-arkanoid-paddle/ and http://crackerscrap.com/docs/sfchacktut.html but in reverse.
Personally I would ignore graphics for now and do the controls as that would be the harder thing and also a good proof of concept to see if it is worth pushing forward.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    My biggest prob is alcohol, definitely is fattening
  • K3Nv2 @ K3Nv2:
    I know when to stop at least honestly don't get those that go and go with food
  • BigOnYa @ BigOnYa:
    Or those that order 2 big macs , large fry, ice cream sundie, then a diet coke
  • K3Nv2 @ K3Nv2:
    I might get downing two big macs but nah that's it
  • BigOnYa @ BigOnYa:
    Ok that will be $15.99, cash or charge?
  • K3Nv2 @ K3Nv2:
    My go to orders usually a mcdouble and a mcchicken and I'm happy rarely mess with fries
  • K3Nv2 @ K3Nv2:
    Pro tip ask for that clowns jizzmac sauce on your mcdouble
    +1
  • BigOnYa @ BigOnYa:
    Do they charge extra when you add sauce,etc? I know burger king used to not, but don't know nowadays
  • K3Nv2 @ K3Nv2:
    They may squrit it for free if you ask nice
    +1
  • K3Nv2 @ K3Nv2:
    Last time I got bk it was 35c per sauce fuck you king of my nutsack
    +1
  • K3Nv2 @ K3Nv2:
    I'll buy a bottle of baby rays BBQ for $2 and add it from home out of spite
    +1
  • BigOnYa @ BigOnYa:
    I like baby rays, my favorite is KC masterpiece tho. Figured all you could buy is that there.
  • K3Nv2 @ K3Nv2:
    The metro doesn't discriminate good sauce
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Baby Rays isn't that what killed the crocodile hunter?
  • Psionic Roshambo @ Psionic Roshambo:
    If only he had done an endorsement for them....
  • Psionic Roshambo @ Psionic Roshambo:
    Oy mate don't let a bad bbq sauce kill your party! Baby Rays are killing it!! The flavor hits you right in the chest!
    +1
  • Xdqwerty @ Xdqwerty:
    My phone only has 13% battery so i don't have much time left
  • Xdqwerty @ Xdqwerty:
    Now 12%
  • BigOnYa @ BigOnYa:
    Happy birthday, btw
  • Psionic Roshambo @ Psionic Roshambo:
    Time is running out for your phone!
  • Psionic Roshambo @ Psionic Roshambo:
    Sign up with Emperor Phone plan for unlimited power!!! And minutes!!!
  • AdenTheThird @ AdenTheThird:
    https://youtu.be/JmSqorj-EC0?si=vYqR8D7FZeO4N-TH
    At 1 AM, this video is the funniest thing in the world
    +1
  • K3Nv2 @ K3Nv2:
    Notes on Android got some cool new features like dropping a image in
    K3Nv2 @ K3Nv2: Notes on Android got some cool new features like dropping a image in