Results 1 to 4 of 4
  1. #1
    Moderator _Zack_'s Avatar
    Join Date
    Nov 2005
    Posts
    801

    Way to approach hle emulation?

    how would i approach hle emulation?

    For instance, say i wanted to emulate only super mario64 on the pc, or in other words only emulate what the individual rom needs rather than the whole system....kinda like ultra hle?



    Im not doing a n64 emu yet...but it was the best way to explain what i would like to know

    Thanks guys
    Proud Moderator Of Emutalk.net

    My iPhone / iPod Touch Games :



    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    EmuTalk Member
    Join Date
    Jan 2006
    Posts
    192
    HLE is more likely to emulating what the libraries used by the game are supposed to do.

    If you want only to support one game, look for patterns in the code you are supposed to emulate but ignore (in the case of the Nintendo64, there wasn't much RDP documentation, so the best way, was rather than emulating it, looking for RDP patterns, and just make whatever they were supposed to do), and just fake what the game is supposed to do on that code block.

  3. #3
    Gekko Developer ShizZy's Avatar
    Join Date
    Feb 2005
    Location
    RI, USA
    Posts
    760
    You basically replace sdk library/game engine functions with your own code that does the same. To do that, detect where the function is in the rom by scanning through the instructions. Look for the first 10 or so, and when you find a patch, patch them to call your own function instead. It's pretty simple in theory, though quite tedious as times..
    ~ShizZy

    6Bit.net Emulation & Gaming | Forums
    Gekko GameCube Emulator

  4. #4
    A lowdown dirty shame blueshogun96's Avatar
    Join Date
    Aug 2005
    Location
    Puyallup, WA
    Posts
    196
    Yeah, it's pretty much like Shizzie says. I don't know how it's done in N64 emus because I don't know jack s@#% about N64. I'm only familiar with how it's done with Xbox (so forgive me if I am wrong). These functions are often found at specific locations within the library. What you do is when the emu calls that function, you instead use a function you have written yourself.
    This is me and my PC everyday

    Need a good tutorial on emu programming? Click here. (Link Updated)
    Dynarec article
    Misc emu programming tidbits

Similar Threads

  1. emuScene 2004
    By Lynx in forum Talk of the Town
    Replies: 29
    Last Post: January 2nd, 2005, 13:50
  2. "The First Ever Emulation Radio Talk Show!"
    By GameCop in forum Talk of the Town
    Replies: 18
    Last Post: July 26th, 2004, 16:29
  3. Googlism (funny)
    By Smiff in forum Talk of the Town
    Replies: 54
    Last Post: April 8th, 2004, 16:17
  4. NoA vs. The Emulation Scene
    By FliPsk8r in forum Talk of the Town
    Replies: 22
    Last Post: July 18th, 2003, 04:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •