Página 1 de 1
[SA] Load emulator/rom ingame?
Enviado: 19 Nov 2018, 12:46
por Zeneric
When u approach a console or an arcade cabinet in gta sa it prompts you asking if u want to play gta sa's own mini game. Is it possible to make it load an emulator/rom instead? Have a script load an emulator on your pc and make the emulator load a specific rom, automatically. And then when u exit the emulator, go back to GTA SA ingame automatically.
Re: [SA] Load emulator/rom ingame?
Enviado: 19 Nov 2018, 13:15
por Um_Geek
interessante desta forma.
eu tinha pensado em uma forma de jogar jogos do NES ou SNES desta forma, mas nunca procurei maneiras de fazer.
interesting in this way.
I had thought of a way to play NES or SNES games this way, but never looked for ways to do it.
Re: [SA] Load emulator/rom ingame?
Enviado: 19 Nov 2018, 21:33
por Zeneric
So you think the idea's possible?
Would be very interesting.
Então você acha que a ideia é possível?
Seria muito interessante.
Re: [SA] Load emulator/rom ingame?
Enviado: 20 Nov 2018, 00:49
por Um_Geek
Deve dar para fazer algo usando o emulador
zsnesw ou o
NEStron.
You should be able to do something by using the emulator zsnesw or NEStron .
Re: [SA] Load emulator/rom ingame?
Enviado: 20 Nov 2018, 09:31
por Junior_Djjr
Good idea
Re: [SA] Load emulator/rom ingame?
Enviado: 21 Nov 2018, 01:37
por Um_Geek
Se alguém souber como voltar ao jogo sem estar no menu após abrir um programa externo da para fazer.
codigo de teste que abre a calculadora.
Código: Selecionar tudo
local ffi = require "ffi"
ffi.cdef [[
void* __stdcall ShellExecuteA(void* hwnd, const char* op, const char* file, const char* params, const char* dir, int show_cmd);
uint32_t __stdcall CoInitializeEx(void*, uint32_t);
]]
local shell32 = ffi.load 'Shell32';
function main()
while true do
wait(40)
if testCheat('test') then -- L
local process = shell32.ShellExecuteA(nil, 'open', 'calc', nil, nil, 0)
end
end
end
Re: [SA] Load emulator/rom ingame?
Enviado: 21 Nov 2018, 14:02
por Junior_Djjr
I watched your video...
I know how to load a .png and use it as a texture.
If someone open an "invisible" game and take screenshots of each frame, saving in a .png file instead of showing on screen, I can make a mod to load each .png and put it as texture.
So you will play a real game in real time on game tv screen.
Re: [SA] Load emulator/rom ingame?
Enviado: 21 Nov 2018, 18:39
por Zeneric
Junior_Djjr escreveu: ↑21 Nov 2018, 14:02
I watched your video...
I know how to load a .png and use it as a texture.
If someone open an "invisible" game and take screenshots of each frame, saving in a .png file instead of showing on screen, I can make a mod to load each .png and put it as texture.
So you will play a real game in real time on game tv screen.
Even better! Wouldn't the input lag be bad though?
Melhor ainda! O atraso de entrada não seria ruim?
Re: [SA] Load emulator/rom ingame?
Enviado: 21 Nov 2018, 18:53
por Zeneric
Um_Geek escreveu: ↑21 Nov 2018, 01:37
Se alguém souber como voltar ao jogo sem estar no menu após abrir um programa externo da para fazer.
codigo de teste que abre a calculadora.
Código: Selecionar tudo
local ffi = require "ffi"
ffi.cdef [[
void* __stdcall ShellExecuteA(void* hwnd, const char* op, const char* file, const char* params, const char* dir, int show_cmd);
uint32_t __stdcall CoInitializeEx(void*, uint32_t);
]]
local shell32 = ffi.load 'Shell32';
function main()
while true do
wait(40)
if testCheat('test') then -- L
local process = shell32.ShellExecuteA(nil, 'open', 'calc', nil, nil, 0)
end
end
end
Have gta sa set on windowed mode, so gta sa doesn't pause / take you to menu after u alt-tab out of gta sa. Yes, not ideal but probably the only way.
Ter gta sa definido no modo de janela, então gta sa não pausa / levá-lo ao menu após u alt-tab fora de gta sa. Sim, não ideal, mas provavelmente o único caminho.
Re: [SA] Load emulator/rom ingame?
Enviado: 22 Nov 2018, 01:52
por Um_Geek
Junior_Djjr escreveu: ↑21 Nov 2018, 14:02
I know how to load a .png and use it as a texture.
If someone open an "invisible" game and take screenshots of each frame, saving in a .png file instead of showing on screen, I can make a mod to load each .png and put it as texture.
So you will play a real game in real time on game tv screen.
o problema seria controlar o emulador enquanto estivesse na janela do gta
the problem would be to control the emulator while in the gta window
Achei isto, não sei se poderia servir para fazer algo dentro do jogo mesmo.
https://github.com/taurheim/knaves-nes
Re: [SA] Load emulator/rom ingame?
Enviado: 22 Nov 2018, 05:16
por Junior_Djjr
Zeneric escreveu: ↑21 Nov 2018, 18:39
Wouldn't the input lag be bad though?
I think it will be 1 frame delay.