ok so ive read how emulators basically work. now i wanto make one. ill be taking a java class this year in school so i can learn a good programming language but i got to thinking that is it possible for an emulator to take a video game and rewrite its excutables to lets say .exe or c++/c#. if all an emulator does is tranlate memory address functions so a newpeice of hardware can understand them then isnt it possible to have the emulator translate those same function and save the translated functions to an .exe?
if it was all just loaded into ram then takes the functions for the video/sound/input and translated to something standard such as opengl/directx calls, directsound/openal calls, or directinput calls couldnt it run natively?
besides dont most consoles use variations of opengl/al or directx?
so basically my idea is to make a program to first emulate the games excutable files and translate all its proccesses to standard x86 processes and make a .exe out of those processes. i understand some processes such as hardware checking may need to be removed but is this even remotely possible?
if it was all just loaded into ram then takes the functions for the video/sound/input and translated to something standard such as opengl/directx calls, directsound/openal calls, or directinput calls couldnt it run natively?
besides dont most consoles use variations of opengl/al or directx?
so basically my idea is to make a program to first emulate the games excutable files and translate all its proccesses to standard x86 processes and make a .exe out of those processes. i understand some processes such as hardware checking may need to be removed but is this even remotely possible?