The NEW Build Your Own Arcade Controls
Main => Driving & Racing Cabinets => Topic started by: Nuexzz on March 04, 2019, 11:06:06 pm
-
Hello everyone, it really bothers me to have to do many steps to configure my favorite game, then I started to add some features for Daytona and started adding functions until I finished adding all the games.
Keep in mind that if you have errors is because I'm not a programmer (just a curious) which I consider a Hobby, I have no trouble for the aggregates I plan to do.
in a few words, I publish it to not keep it for me, as I did with many things.
(https://i.imgur.com/eQ1GUxJ.jpg)
This is a simple UI for the "GREAT EMULATOR" By ElSemi SEGA Model 2 Emulator. v1.1a
http://nebula.emulatronia.com/ (http://nebula.emulatronia.com/)
-------------------------------------------------- ---------
Sega Model 2 UI - by Nuexzz (c) 2019 Nuexzz@gmail.com
-------------------------------------------------- ---------
Features
-------------------------------------------------- ---------
Added - list view of all the supported games of version 1.1a of m2emulator.
Added - preview of each game (snaps).
Added - 3 buttons of the roms directories.
Added - check Antialiasing.
Added - check Bilinear.
Added - check Trilinear.
Added - check FilterTilemaps.
Added - check Wireframe.
Added - check ForceSync.
Added - check FakeGouraud.
Added - check MeshTransparency.
Added - check ForceManaged.
Added - check AutoMip.
Added - check Fullscreen (now with the shooting games the window will not be minimized when shooting in the upper corner).
Added - check Sound.
Added - check Widescreen .
Added - check Resolution (Native).
Added - check Force Feedback.
Added - check HoldGears.
Added - check Joy Xbox360 (xinput).
Added - check (Cursor) Show / Hide.
Added - check DrawCross.
Added - check UseRawInput.
Added - check RawDevP1.
Added - check RawDevP2.
Added - check Load button (Load Rom).
-------------------------------------------------- ---------
Priorities for future versions
Add - Widescreen (correctly) to all the missing games.
Add - support of the games that use system links, in simple steps so that everything is configured automatically "same pc", "pc in network", "online".
"Maybe" add - Model1 (MAME).
"Maybe" add - Model3 (Supermodel).
-------------------------------------------------- ---------
http://uploaded.net/file/ryc0vp4f (http://uploaded.net/file/ryc0vp4f)
Update 02/04/19
add - new font and color in the gui
add - volume control
Add - drop-down menu in case of adding some hacks :)
add - many games with widescreen support (correct)
fix - writing code that if it was not the key it wrote ERROR
fix - the first resolution option was left blank
games with widescreen (correct) so far
daytona
dayton93
daytonas
daytonase
daytonat
daytonata
daytonagtx
daytonam
desert
doaa
pltkidsa
srallyc
srallycb
srallyp
vf2o
vf2a
vf2b
vf2
doa
fvipers
indy500d
indy500
indy500to
pltkids
sgt24h
vstrikro
vstriker
hotd
skisuprg
-
Cool! :cheers:
-
Thanks for sharing. We are now waiting for a supermodel GUI ;)
-
Thanks! My friend! Can you add a feature to adjust the volume to preset level, and then restore the volume after the game?
-
Thanks! My friend! Can you add a feature to adjust the volume to preset level, and then restore the volume after the game?
if now that I think that is a good function to add, since I am looking for the wide screen hacks of the games and I have to reduce the volume from windows.
added (you can try it and tell me if everything works correctly then I will update to the first post )
thanks :applaud:
-
Add - Widescreen (correctly) Dead or Alive (Model 2B)
Add - Widescreen (correctly) Dead or Alive (Model 2A)
require("model2")
function Init()
end
function Frame()
local gameState = I960_ReadByte(0x54F9D5)
if gameState==0x1
then
Model2_SetWideScreen(1)
Model2_SetStretchBLow(1)
Model2_SetStretchBHigh(1)
else
Model2_SetWideScreen(0)
Model2_SetStretchBLow(0)
Model2_SetStretchBHigh(0)
end
end
Add - Widescreen (correctly) Desert Tank
require("model2")
function Init()
end
function Frame()
Model2_SetWideScreen(1)
Model2_SetStretchBLow(1)
Model2_SetStretchBHigh(1)
end
-
I've got a lot of scripts I wrote... maybe if I can ever get motivated to get ts2 out the door we can merge them into an all in one solution. I just added some basic stuff like widescreen, scanlines ect.
-
it could be .. I would also like to implement sweetfx (only for the curvature mode) because I could not configure it without the scanlines, I think it loses a lot of quality
-
I just test the program. The volume can be adjust in real time.
But the function I need is reduce the volume to a "preset" level" (For example If I can set it at 10%). After exit, the game I played, it should "restore" to original volume level (The volume level before I run the game).
The process should be like this:
1) My current computer volume is 75% (could be any volume)
2) The program should record the current volume when double click the game
3) Before it run the game, reduce the volume to the "preset" level (For example, 10%)
4) Enjoy playing the game at 10% volume.
5) When exit the game, the volume should be restore to 75%
Sorry for asking too much! :notworthy:
Thanks! My friend! Can you add a feature to adjust the volume to preset level, and then restore the volume after the game?
if now that I think that is a good function to add, since I am looking for the wide screen hacks of the games and I have to reduce the volume from windows.
added (you can try it and tell me if everything works correctly then I will update to the first post )
thanks :applaud:
-
Add - Widescreen (correctly) Indianapolis 500 (Rev A, Deluxe)
Add - Widescreen (correctly) Indianapolis 500 (Rev A, Twin, Newer rev)
Add - Widescreen (correctly) Indianapolis 500 (Rev A, Twin, Older rev)
add - new GUI style
require("model2")
function Init()
end
function Frame()
Model2_SetWideScreen(1)
Model2_SetStretchBLow(1)
Model2_SetStretchBHigh(1)
local gameState = I960_ReadByte(0x54C224)
if gameState==0x5
or gameState==0x6
then
Model2_SetStretchAHigh(1)
Model2_SetStretchALow(1)
else
Model2_SetStretchAHigh(0)
Model2_SetStretchALow(0)
end
end
-
Add - Widescreen (correctly) Virtua Fighter 2
Add - Widescreen (correctly) Virtua Fighter 2 (Rev A)
Add - Widescreen (correctly) Virtua Fighter 2 (Rev B)
Add - Widescreen (correctly) Virtua Fighter 2.1
require("model2")
function Init()
end
function Frame()
local gameState = I960_ReadByte(0x50002B)
if gameState==0x7
then
Model2_SetWideScreen(0)
Model2_SetStretchBLow(0)
Model2_SetStretchBHigh(0)
else
Model2_SetWideScreen(1)
Model2_SetStretchBLow(1)
Model2_SetStretchBHigh(1)
end
end
-
Add - Widescreen (correctly) House of the Dead
require("model2")
function Init()
end
function Frame()
Romset_PatchDWord(ROMBASE,0x18610,0xa000000)--no flash screen (by_egregiousguy)
local gameState = I960_ReadByte(0x51EE14)
if gameState==0x2
then
Model2_SetWideScreen(0)
Model2_SetStretchBLow(0)
Model2_SetStretchBHigh(0)
else
Model2_SetWideScreen(1)
Model2_SetStretchBLow(1)
Model2_SetStretchBHigh(1)
end
end
-
Add - Widescreen (correctly) Fighting Vipers
require("model2")
function Init()
end
function Frame()
local gameState = I960_ReadByte(0x50002A)
if gameState==0x7
then
Model2_SetWideScreen(0)
Model2_SetStretchBLow(0)
Model2_SetStretchBHigh(0)
else
Model2_SetWideScreen(1)
Model2_SetStretchBLow(1)
Model2_SetStretchBHigh(1)
end
end
-
some games resist :banghead:
-
Thanks for sharing. We are now waiting for a supermodel GUI ;)
Yeah... like that will ever happen. Unfortunately I already died from holding my breath while waiting for a Super Model GUI and I am now a ghost.
I have been thinking of trying to use macros in Windows to allow me to select and load games with a mouse click instead of using command line (which is usually enough to make me skip model 3 games altogether).
-
Thanks for sharing. We are now waiting for a supermodel GUI ;)
Yeah... like that will ever happen. Unfortunately I already died from holding my breath while waiting for a Super Model GUI and I am now a ghost.
I have been thinking of trying to use macros in Windows to allow me to select and load games with a mouse click instead of using command line (which is usually enough to make me skip model 3 games altogether).
Well yes, I was thinking about (pausing) model 2 UI and starting with model 3, a year ago I did not update my supermodel.
tell me one thing, why did I stop working model 3 UI? if you can post your supermodel.ini.
So we started
-
This GUI looks great, but I get a serious virus warning for the zip file with my antivirus (Trojan:Win32/Zpevdo.b).
Is that a false positive or a real undetected threat?
-
I updated my DirectX 9... I cant to run fine the M2 emulator.
BUT... running the Nuexzz "Volume" GUI it ask me to d3d9.dll (no problem I have it in my system...)
But I puuting it in my dicectory...
It now ask me to "encdr.dll", encof.dll, snbar.dll... and I can't find it on my system (Windows 7 - 32bits) or on Internet!
Please, hat's the matter?
Is my DirectX 9 incomplet yet?
Best regards, Ali
-
friend are you confused, these files are in the first post of this thread
also, tonight I think I'm going to upload some updates
-
updated the first post
add - new font and color in the gui
add - volume control
Add - drop-down menu in case of adding some hacks :)
add - many games with widescreen support (correct)
fix - writing code that if it was not the key it wrote ERROR
fix - the first resolution option was left blank
games with widescreen (correct) so far
daytona
dayton93
daytonas
daytonase
daytonat
daytonata
daytonagtx
daytonam
desert
doaa
pltkidsa
srallyc
srallycb
srallyp
vf2o
vf2a
vf2b
vf2
doa
fvipers
indy500d
indy500
indy500to
pltkids
sgt24h
vstrikro
vstriker
hotd
skisuprg
-
friend are you confused, these files are in the first post of this thread
also, tonight I think I'm going to upload some updates
Now there are files in the first link!
Until yesterday "File removed copyrights violation"...
Many thanks to the update!
-
Hi and thanks for your work
But I can not download the file (connected to onedrive or not) :dunno
-
thank you uploaded
-
thanks.
Item0,1,2,3.dll are detected as viruses. I imagine that they are false positives...
https://www.virustotal.com/fr/file/e1e84b3b42ca633c1e22ff3494578536240a4ec2b3f1773da7e6e53fcf223555/analysis/1553423285/
https://www.virustotal.com/fr/file/988c1dcb5c2c458dec5ae3085ce276e2d00393c4bc4a64f4ca91fd372f1b1aeb/analysis/1553423287/
https://www.virustotal.com/fr/file/795322e73024612e0c782d60120146674c7122b33302c43b5500147d97e1ec1f/analysis/1553423287/
https://www.virustotal.com/fr/file/cbed4294f29883bb7f767b577cd53e6df5b01e7d5e6f3feec2bbcd27a549ab27/analysis/1553423287/
-
They are false positives, we already made claims that they scan it in depth, but ... I guess it takes time.
-
Nice looking UI.
Any chance of an upload at www.zippyshare.com? I have troubles with the reCAPTCHA showing up at uploaded.
Thanks for any assistance you can provide.
-
Print.dll included in this program is copying not only the window of UI but also the screenshot of the whole screen being displayed to the clipboard.
What is this required for?
Please tell me.
-
it's actually a little dirty trick, because when I started the emulator in window mode it always showed the native resolution of the emu (640x480) then.
Take this resource to show the desktop for 1 second and wait for the window to be resized in background mode from behind.
you can prove that print only works when you launch the game.
Maybe I should remove it if someone seems suspicious, I have no problems
edit:
Here I leave the print disabled, so you can see the difference
-
it's actually a little dirty trick, because when I started the emulator in window mode it always showed the native resolution of the emu (640x480) then.
Take this resource to show the desktop for 1 second and wait for the window to be resized in background mode from behind.
you can prove that print only works when you launch the game.
Maybe I should remove it if someone seems suspicious, I have no problems
edit:
Here I leave the print disabled, so you can see the difference
Mine wont load it, says the d3d9dll is missing???
-
it's actually a little dirty trick, because when I started the emulator in window mode it always showed the native resolution of the emu (640x480) then.
Take this resource to show the desktop for 1 second and wait for the window to be resized in background mode from behind.
you can prove that print only works when you launch the game.
Maybe I should remove it if someone seems suspicious, I have no problems
edit:
Here I leave the print disabled, so you can see the difference
Can you ever make it possible to add in networking settings into this GUI as well and the ability to turn on lagfix or other things like that?
-
hello, when finished with sega model 3UI I plan to add those network functions and clean a little sega model 2UI
-
hello, when finished with sega model 3UI I plan to add those network functions and clean a little sega model 2UI
That would be great :)
Can you use a better place to upload the file? Chrome blocks that one, never had that issue before. I cant stop it blocking the file.
-
hello, when finished with sega model 3UI I plan to add those network functions and clean a little sega model 2UI
Do you have a link to your Model 3 GUI thread??
-
https://www.supermodel3.com/Forum/viewtopic.php?f=3&t=1636
-
https://www.supermodel3.com/Forum/viewtopic.php?f=3&t=1636
Thanks mate ;)
Ill check it out now.
Ive been struggling to get the G29 controls working well in the Daytona 3 and Sega Racing Classic, they work so well in M2 Emu. Seems very non-linear in SRC and Daytona 3.
-
Now im not able to download it at all because it says ive reached the limit.
Is there another download mirror?
-
https://www.supermodel3.com/Forum/viewtopic.php?f=3&t=1636
Finally got to download that, and it is awesome :) Makes it so much better!!
Thanks mate :)
-
Am i correct in thinking that this is just passing the command switches to the emulator? It would be nice if you added an additional button to save out an ini file with the settings in. It has been a while since i looked at this but I have put an emulation machine together and so I am starting to dig into the emulators a little. I can't remember it uses on ini with settings for each game or separate ini files...
I am just thinking if you offered the ability to output to the ini file it would make your tool useful for configuring the emulator when calling it from a front end.
-
Am i correct in thinking that this is just passing the command switches to the emulator? It would be nice if you added an additional button to save out an ini file with the settings in. It has been a while since i looked at this but I have put an emulation machine together and so I am starting to dig into the emulators a little. I can't remember it uses on ini with settings for each game or separate ini files...
I am just thinking if you offered the ability to output to the ini file it would make your tool useful for configuring the emulator when calling it from a front end.
One .ini for the whole emulator, and each game saves a file in the config folder for settings and buttons.
-
thanks, but getting a virus detected from the download, so deleted.
later
-1
-
thanks, but getting a virus detected from the download, so deleted.
later
-1
Its not a virus, its a false detection.
The reason it detects as that is it has the ability to manipulate other files on the computer, the whole idea of a visual user interface.
-
Thank you so much for this release.
May I know if this can be used with Hyperspin/Rocketlauncher?
-
Thank you so much for this release.
May I know if this can be used with Hyperspin/Rocketlauncher?
Hi, I have no experience in Hyperspin or Rocketlauncher, but if I remember correctly, you can use ahk modules.
1) Set the game at ease with Sega Model 2 UI
2) try to launch the module.
so you could try
Run Sega Model2 UI.exe, , hide
sleep 250
Run Emulator.exe Daytona
-
Thank you so much I will try this UI soon
-
Hi,
I'm struggling to download your mod as Windows 10 checks the file as a trojan and automatically deletes it, whatever I disable the quarantine afterwards. Is there another way to get the mod? Thanks.
Edit: Never mind. Go to Windows 10 settings > Security > Real-time protection > Uncheck the real-time protection.
-
after turning off the virus protection, i was able to download the UI program finally.
However, now the virus protection keeps deleting the files. oh well.
later
-1
-
after turning off the virus protection, i was able to download the UI program finally.
However, now the virus protection keeps deleting the files. oh well.
later
-1
Have you guys tried adding the program to your exclusion list? I haven't used windows defender in a while but I'm sure there's an option to do this. I switched from Defender to MalwareBytes and couldn't be happier.
-
after turning off the virus protection, i was able to download the UI program finally.
However, now the virus protection keeps deleting the files. oh well.
later
-1
i tried that. but for some reason, whenever it runs its realtime protection,
it still flags it, and deletes it anyways.
later
-1
Have you guys tried adding the program to your exclusion list? I haven't used windows defender in a while but I'm sure there's an option to do this. I switched from Defender to MalwareBytes and couldn't be happier.
-
Does this one default to optimized settings for each game or does it just give you a convenient interface for selecting those options?
-
How do I get sega model 2 ui? I have searched everywhere but everyone I find has virus in them.
-
Finally a widescreen solution :)
I see the program requires some scripts for example -
daytonas.lua
require("model2")
function Init()
end
function Frame()
local gameState = I960_ReadByte(0x5010A4)
if gameState==0x16
or gameState==0x03
or gameState==0x04
or gameState==0x05
or gameState==0x06
or gameState==0x07
then
Model2_SetStretchBLow(1)
Model2_SetWideScreen(1)
else
Model2_SetStretchBLow(0)
Model2_SetWideScreen(0)
end
end
but I'm already using a script called daytonas.lua written by sailorsat that grabs the lamp and ffb data -
daytonas.lua
require("model2"); -- Import model2 machine globals
function Init()
Patch_SpecialInputs();
Patch_LampOutputs();
end
function Patch_SpecialInputs()
-- first, disable old read
Romset_PatchDWord(0, 0x1E504, 0x5CA01E00); -- MOV g4,0x00 (NOOP?)
-- now jump to our patched read
Romset_PatchDWord(0, 0x1E508, 0x090219F8); -- CALL 0x0003FF00
-- read io port
Romset_PatchDWord(0, 0x3FF00, 0x80A03000);
Romset_PatchDWord(0, 0x3FF04, 0x01C00012); -- LDOB g4,0x01C00012
-- read patched mask
Romset_PatchDWord(0, 0x3FF08, 0x80B83000);
Romset_PatchDWord(0, 0x3FF0C, 0x00500820); -- LDOB g7,0x00500820
-- and em
Romset_PatchDWord(0, 0x3FF10, 0x58A50097); -- AND g4,g4,g7
-- restore old mask
Romset_PatchDWord(0, 0x3FF14, 0x8CB800FF); -- LDA g7,0xff
-- return
Romset_PatchDWord(0, 0x3FF18, 0x0A000000); -- RET
end
function Patch_LampOutputs()
-- reroute 0x01C0001E to 0x00500824
for offset = 0x00000000, 0x0003FFFF, 4 do
if Romset_ReadDWord(0, offset) == 0x01C0001E then
Romset_PatchDWord(0, offset, 0x00500824);
local opcode = offset - 1;
if Romset_ReadByte(0, opcode) == 0x80 then
Romset_PatchByte(0, opcode, 0x90) -- replace LDOB with LD
end
if Romset_ReadByte(0, opcode) == 0x82 then
Romset_PatchByte(0, opcode, 0x92) -- replace STOB with ST
end
end
end
end
function PostDraw()
if I960_ReadByte(RAMBASE + 0x00000820) == 0x00 then
I960_WriteByte(RAMBASE + 0x00000820, 0xFF);
end
-- 0xFF = normal
-- 0xFD = force beginner
-- 0xFB = force advanced
-- 0xF9 = force expert
-- 0xF7 = emergency/remote start
-- 0x7F = ex.start; found in schematics but don't yet know what it does
-- 0x3E = DIK_F4
-- 0x3E = DIK_F5
local data = 0xFF;
data = XOR(SHL(Input_IsKeyPressed(0x3E), 0x07), data); -- F4 for ex.start
data = XOR(SHL(Input_IsKeyPressed(0x3F), 0x03), data); -- F5 for emergency/remote start
I960_WriteByte(RAMBASE + 0x00000820, data);
Video_DrawText(0,0,HEX8(I960_ReadByte(0x00500824)),0xFFFFFF);
end
I know very little about scripting and was wondering if the two can be combined?
-
I think something like this should work.
require("model2"); -- Import model2 machine globals
function Frame()
local gameState = I960_ReadByte(0x5010A4)
if gameState==0x16
or gameState==0x03
or gameState==0x04
or gameState==0x05
or gameState==0x06
or gameState==0x07
then
Model2_SetStretchBLow(1)
Model2_SetWideScreen(1)
else
Model2_SetStretchBLow(0)
Model2_SetWideScreen(0)
end
end
function Init()
Patch_SpecialInputs();
Patch_LampOutputs();
end
function Patch_SpecialInputs()
-- first, disable old read
Romset_PatchDWord(0, 0x1E504, 0x5CA01E00); -- MOV g4,0x00 (NOOP?)
-- now jump to our patched read
Romset_PatchDWord(0, 0x1E508, 0x090219F8); -- CALL 0x0003FF00
-- read io port
Romset_PatchDWord(0, 0x3FF00, 0x80A03000);
Romset_PatchDWord(0, 0x3FF04, 0x01C00012); -- LDOB g4,0x01C00012
-- read patched mask
Romset_PatchDWord(0, 0x3FF08, 0x80B83000);
Romset_PatchDWord(0, 0x3FF0C, 0x00500820); -- LDOB g7,0x00500820
-- and em
Romset_PatchDWord(0, 0x3FF10, 0x58A50097); -- AND g4,g4,g7
-- restore old mask
Romset_PatchDWord(0, 0x3FF14, 0x8CB800FF); -- LDA g7,0xff
-- return
Romset_PatchDWord(0, 0x3FF18, 0x0A000000); -- RET
end
function Patch_LampOutputs()
-- reroute 0x01C0001E to 0x00500824
for offset = 0x00000000, 0x0003FFFF, 4 do
if Romset_ReadDWord(0, offset) == 0x01C0001E then
Romset_PatchDWord(0, offset, 0x00500824);
local opcode = offset - 1;
if Romset_ReadByte(0, opcode) == 0x80 then
Romset_PatchByte(0, opcode, 0x90) -- replace LDOB with LD
end
if Romset_ReadByte(0, opcode) == 0x82 then
Romset_PatchByte(0, opcode, 0x92) -- replace STOB with ST
end
end
end
end
function PostDraw()
if I960_ReadByte(RAMBASE + 0x00000820) == 0x00 then
I960_WriteByte(RAMBASE + 0x00000820, 0xFF);
end
-- 0xFF = normal
-- 0xFD = force beginner
-- 0xFB = force advanced
-- 0xF9 = force expert
-- 0xF7 = emergency/remote start
-- 0x7F = ex.start; found in schematics but don't yet know what it does
-- 0x3E = DIK_F4
-- 0x3E = DIK_F5
local data = 0xFF;
data = XOR(SHL(Input_IsKeyPressed(0x3E), 0x07), data); -- F4 for ex.start
data = XOR(SHL(Input_IsKeyPressed(0x3F), 0x03), data); -- F5 for emergency/remote start
I960_WriteByte(RAMBASE + 0x00000820, data);
Video_DrawText(0,0,HEX8(I960_ReadByte(0x00500824)),0xFFFFFF);
end
-
Regarding your virus issue guys...,
Your checker should have a exception list where you can set folders in your computer that the AV will ignore.
Bullguard users for instance I can tell you its under settimgs/av/tuning.
Once you have excluded a folder you can put anything you like in it without the AV deleting or quarantining it.
-
Finally a widescreen solution :)
I see the program requires some scripts for example -
daytonas.lua
require("model2")
function Init()
end
function Frame()
local gameState = I960_ReadByte(0x5010A4)
if gameState==0x16
or gameState==0x03
or gameState==0x04
or gameState==0x05
or gameState==0x06
or gameState==0x07
then
Model2_SetStretchBLow(1)
Model2_SetWideScreen(1)
else
Model2_SetStretchBLow(0)
Model2_SetWideScreen(0)
end
end
but I'm already using a script called daytonas.lua written by sailorsat that grabs the lamp and ffb data -
daytonas.lua
require("model2"); -- Import model2 machine globals
function Init()
Patch_SpecialInputs();
Patch_LampOutputs();
end
function Patch_SpecialInputs()
-- first, disable old read
Romset_PatchDWord(0, 0x1E504, 0x5CA01E00); -- MOV g4,0x00 (NOOP?)
-- now jump to our patched read
Romset_PatchDWord(0, 0x1E508, 0x090219F8); -- CALL 0x0003FF00
-- read io port
Romset_PatchDWord(0, 0x3FF00, 0x80A03000);
Romset_PatchDWord(0, 0x3FF04, 0x01C00012); -- LDOB g4,0x01C00012
-- read patched mask
Romset_PatchDWord(0, 0x3FF08, 0x80B83000);
Romset_PatchDWord(0, 0x3FF0C, 0x00500820); -- LDOB g7,0x00500820
-- and em
Romset_PatchDWord(0, 0x3FF10, 0x58A50097); -- AND g4,g4,g7
-- restore old mask
Romset_PatchDWord(0, 0x3FF14, 0x8CB800FF); -- LDA g7,0xff
-- return
Romset_PatchDWord(0, 0x3FF18, 0x0A000000); -- RET
end
function Patch_LampOutputs()
-- reroute 0x01C0001E to 0x00500824
for offset = 0x00000000, 0x0003FFFF, 4 do
if Romset_ReadDWord(0, offset) == 0x01C0001E then
Romset_PatchDWord(0, offset, 0x00500824);
local opcode = offset - 1;
if Romset_ReadByte(0, opcode) == 0x80 then
Romset_PatchByte(0, opcode, 0x90) -- replace LDOB with LD
end
if Romset_ReadByte(0, opcode) == 0x82 then
Romset_PatchByte(0, opcode, 0x92) -- replace STOB with ST
end
end
end
end
function PostDraw()
if I960_ReadByte(RAMBASE + 0x00000820) == 0x00 then
I960_WriteByte(RAMBASE + 0x00000820, 0xFF);
end
-- 0xFF = normal
-- 0xFD = force beginner
-- 0xFB = force advanced
-- 0xF9 = force expert
-- 0xF7 = emergency/remote start
-- 0x7F = ex.start; found in schematics but don't yet know what it does
-- 0x3E = DIK_F4
-- 0x3E = DIK_F5
local data = 0xFF;
data = XOR(SHL(Input_IsKeyPressed(0x3E), 0x07), data); -- F4 for ex.start
data = XOR(SHL(Input_IsKeyPressed(0x3F), 0x03), data); -- F5 for emergency/remote start
I960_WriteByte(RAMBASE + 0x00000820, data);
Video_DrawText(0,0,HEX8(I960_ReadByte(0x00500824)),0xFFFFFF);
end
I know very little about scripting and was wondering if the two can be combined?
I'm glad it works well for you :o
-
Nuexzz thanks a lot for your work, I like it a lot. Do you know if it's possible to get the sound in 5.1?
Envoyé de mon LEX722 en utilisant Tapatalk
-
There is a fix to this UI for it to work in windows 10 , all you have to do is archive the source folder files with Peazip or 7zip and leave it in the folder zipped and windows defender won't delete the files but the UI can still detect them
-
i know i am very noob with computers and programming so i'm sorry if my question looks stupid. I deactivated all my security settings but i still can't go to the link bc it says that i can't reach the site (google tells me that the link may be mispelled). can you tell me why this happens?
-
hi I have installed the program in windows 10 and disabled antivirus but the UI program does not work. if i try to start emulator.exe i get this error: unable to start the application correctly (0xc0007b)
-
Is there a way to change the windowed mode resolution for the Model 2 application.
Daytona starts in a small windowed box. If I select switch to full screen its fine goes to full screen and the resolution is like 1080p, perfect.
However, if I leave it in windowed mode but enlarge the window so it takes up the whole screen the resolution is like 620p or something. Is there a way to make the resolution 1080p in the windowed mode so when I enlarge the window I get 1080p.
You might say just run it in full screen mode, but I can't. I am running two screens, and two players. So I need to drag one windowed application over to my second monitor. You can not run two full screen applications on one pc with two monitors.
It seems like it should be an easy fix but I can't figure out why the windowed mode is lower resolution.
Please, I know there must be a tech genius out there who knows how to do this.
-
em ... if you don't trust me or the application, don't download or use it (simple)keep using the emu like you did before ... I'm not interested
-
P.S By the way the download link from Nuexzz is very buggy and suspicious, its got red flags all over it and my browser will not download it. Nuexzz does not respond to private messages so I would not trust him or the link.
He's a known, long-time member of this community. If you're worried i would suggest hanging around a bit longer or going back through his posts and seeing for yourself.
-
em ... if you don't trust me or the application, don't download or use it (simple)keep using the emu like you did before ... I'm not interested
I just could not understand why you would not respond when you are probably the only one who knows how to do this. I did wait for a while for a response.
If you could please tell me if there is a way to edit the .ini file to make the windowed resolution larger, not the full screen resolution that would be great. It would help out more people than just me, as I know there are others who are asking me to let them know when a solution has been found.
Thank you
-
Is there a way to change the windowed mode resolution for the Model 2 application.
To be honest, the same question for me. ::)
I hope that one day I can use higher windowed mode resolutions for two or more Model 2 applications on one screen, playing Daytona USA with my friend(s). :)
-
Why is my computer saying the GUI provided by Nuexzz has a trojan virus in it please
-
Why is my computer saying the GUI provided by Nuexzz has a trojan virus in it please
It's almost certainly a false-positive virus report. That explanation has already been offered in this thread. Threat can be assumed for unrecognised/unpopular software that interacts with file system. It it works for you then please submit a false-positive report to Windows Defender to help Nuexzz reputation.
-
Is there a way to change the windowed mode resolution for the Model 2 application.
To be honest, the same question for me. ::)
I hope that one day I can use higher windowed mode resolutions for two or more Model 2 applications on one screen, playing Daytona USA with my friend(s). :)
Thank you for your support. The more people asking for this the more chance we have that somebody might help
-
Thank you for your support. The more people asking for this the more chance we have that somebody might help
Wrong response. Dude, this isn't reddit. Or some other gigantic, faceless, nameless community where some other anon is going to rock up and help. This is a specialised piece of free software on a niche hobby subforum. Your best shot was undoubtedly the author, whose integrity you indirectly and perhaps unwittingly questioned. Alright, flagging a virus warning wasn't completely unreasonable, but the author did not take it well. Then, instead of playing nice, maybe explaining your misstep, you proceeded to double down and get cranky.
I just could not understand why you would not respond when you are probably the only one who knows how to do this. I did wait for a while for a response.
Nuexzz doesn't owe anything to you or anyone else in this situation.
https://www.youtube.com/watch?v=b97zJxKEqAk
-
Thank you for your support. The more people asking for this the more chance we have that somebody might help
Wrong response. Dude, this isn't reddit. Or some other gigantic, faceless, nameless community where some other anon is going to rock up and help. This is a specialised piece of free software on a niche hobby subforum. Your best shot was undoubtedly the author, whose integrity you indirectly and perhaps unwittingly questioned. Alright, flagging a virus warning wasn't completely unreasonable, but the author did not take it well. Then, instead of playing nice, maybe explaining your misstep, you proceeded to double down and get cranky.
Nuexzz doesn't owe anything to you or anyone else in this situation. - what the.. I just asked for some help?
I take it you are referring to this comment I made - "I just could not understand why you would not respond when you are probably the only one who knows how to do this. I did wait for a while for a response.
If you could please tell me if there is a way to edit the .ini file to make the windowed resolution larger, not the full screen resolution that would be great. It would help out more people than just me, as I know there are others who are asking me to let them know when a solution has been found."
I politely asked for a response. Then I asked the same question again, how is that bad? And I retracted my original comment that may have caused some offense.
If those sorts of comments are enough to get me black listed and shunned forever because I hurt somebodies feeling over a mildly worded comment then I don't want help from that person anyway. I politely asked for some help which did not come and I would still be waiting for a response now if I didn't mention the virus, so I don't really care anymore. I will find somebody else who can help me, who is not so easily offended, then I will help the community out by simply posting the answer and not make people jump through hoops or making a huge deal about it.
-
Alright, lets try again. Internet forums are human communication at sevral removes. We can't cue off each other's body language and tone of voice, so other nuances are much more important. The smaller the community you're interacting with is, the more important this becomes. And when you're dealing with second languages it's even more critical.
You waited three days. For a response to a question about a niche software tool on a slow board in a subforum for a relatively obscure hobby. Then, in netiquette terms, you stomped your little foot and rubbed the software author's nose in the fact you were so patient and it was unthinkable they wouldn't help you, all the while completely ignoring the fact you'd inadvertently aggravated them in the first place.
How do you not get this? You're acting like an entitled little princess. You probably aren't one. But you need to work on how you're acting here.
I don't want help from that person anyway.
I would advise backpedalling, fast, and coming at this again. But it's your choice, bud.
-
Ok. I am sorry for any offence that was caused. I will try to be more respectful in the future.
@buttersoft can you please do me a favor. Download the GUI from here http://uploaded.net/file/ryc0vp4f load some roms into it and run a game and tell me how you get on, because I can't get it to run on my PC. Even if I disable all my anti virus stuff, I still get error messages with various different reasons why this application can't run. I do have it running on an old laptop, so yes I am sure any virus concerns are just unrecognized files, but even though this does run I get an error message saying that
I don't know if Nuexzz would be so kind as to perhaps have another look at this and update it for us.
I don't really need a GUI though, I just thought I could tweak the .ini file to allow for a higher windowed resolution, that is all I want to do.
Thank you
-
(https://i.imgur.com/x6kfBZN.png)
-
Ok. I am sorry for any offence that was caused. I will try to be more respectful in the future.
@buttersoft can you please do me a favor. Download the GUI from here http://uploaded.net/file/ryc0vp4f load some roms into it and run a game and tell me how you get on, because I can't get it to run on my PC. Even if I disable all my anti virus stuff, I still get error messages with various different reasons why this application can't run. I do have it running on an old laptop, so yes I am sure any virus concerns are just unrecognized files, but even though this does run I get an error message saying that
I don't know if Nuexzz would be so kind as to perhaps have another look at this and update it for us.
I don't really need a GUI though, I just thought I could tweak the .ini file to allow for a higher windowed resolution, that is all I want to do.
Thank you
See child .. send me the directory where you have the emulatorm2 working and tell me what stretched resolution you want in windowed mode.
there is no option in m2emulator's ini that can do this, but there are external tools
-
See if someone can guide me in which files are virus detected? maybe i can overwrite and update a bit ..
-
See if someone can guide me in which files are virus detected? maybe i can overwrite and update a bit ..
For me Windows defender flagged xsy.dll, item1.dll. item3.dll, Snbar.dll, print.dll and Sega Model 2UI.exe :) Online virus detectors flagged them as well.
-
Ok. I am sorry for any offence that was caused. I will try to be more respectful in the future.
@buttersoft can you please do me a favor. Download the GUI from here http://uploaded.net/file/ryc0vp4f load some roms into it and run a game and tell me how you get on, because I can't get it to run on my PC. Even if I disable all my anti virus stuff, I still get error messages with various different reasons why this application can't run. I do have it running on an old laptop, so yes I am sure any virus concerns are just unrecognized files, but even though this does run I get an error message saying that
I don't know if Nuexzz would be so kind as to perhaps have another look at this and update it for us.
I don't really need a GUI though, I just thought I could tweak the .ini file to allow for a higher windowed resolution, that is all I want to do.
Thank you
See child .. send me the directory where you have the emulatorm2 working and tell me what stretched resolution you want in windowed mode.
there is no option in m2emulator's ini that can do this, but there are external tools
Thank you Nuexzz, and sorry for my behavior.
I'm not sure if this is what you want but here is the directory path I am using D:\Games\Model 2
My native screen resolution is 2560x1440, if that is possible. Otherwise I would be happy with 1920x1080 but I'm not sure if that will work with my native resolution.
Thank you
-
Ok. I am sorry for any offence that was caused. I will try to be more respectful in the future.
@buttersoft can you please do me a favor. Download the GUI from here http://uploaded.net/file/ryc0vp4f load some roms into it and run a game and tell me how you get on, because I can't get it to run on my PC. Even if I disable all my anti virus stuff, I still get error messages with various different reasons why this application can't run. I do have it running on an old laptop, so yes I am sure any virus concerns are just unrecognized files, but even though this does run I get an error message saying that
I don't know if Nuexzz would be so kind as to perhaps have another look at this and update it for us.
I don't really need a GUI though, I just thought I could tweak the .ini file to allow for a higher windowed resolution, that is all I want to do.
Thank you
See child .. send me the directory where you have the emulatorm2 working and tell me what stretched resolution you want in windowed mode.
there is no option in m2emulator's ini that can do this, but there are external tools
I realize that this stuff takes time so I am happy to put some money towards the work that you are doing. I don't have alot of money, but if you can figure out how to change the windowed resolution I will be happy to put some money forward.
-
It would really be great to change the resolution in windowed mode. Another interesting option would be to open two windows in full, on separate screens for linked racing games.
-
Ok. I am sorry for any offence that was caused. I will try to be more respectful in the future.
@buttersoft can you please do me a favor. Download the GUI from here http://uploaded.net/file/ryc0vp4f load some roms into it and run a game and tell me how you get on, because I can't get it to run on my PC. Even if I disable all my anti virus stuff, I still get error messages with various different reasons why this application can't run. I do have it running on an old laptop, so yes I am sure any virus concerns are just unrecognized files, but even though this does run I get an error message saying that
I don't know if Nuexzz would be so kind as to perhaps have another look at this and update it for us.
I don't really need a GUI though, I just thought I could tweak the .ini file to allow for a higher windowed resolution, that is all I want to do.
Thank you
See child .. send me the directory where you have the emulatorm2 working and tell me what stretched resolution you want in windowed mode.
there is no option in m2emulator's ini that can do this, but there are external tools
I realize that this stuff takes time so I am happy to put some money towards the work that you are doing. I don't have alot of money, but if you can figure out how to change the windowed resolution I will be happy to put some money forward.
Don't make a problem for money, I don't want it, I do this just for hoobie, wait for me a few days please, because I have a lot of work in my life. if you can send your "emulator.ini"
-
Cool thank you Nuexzz. Very much appreciated!
-
Ok. I am sorry for any offence that was caused. I will try to be more respectful in the future.
@buttersoft can you please do me a favor. Download the GUI from here http://uploaded.net/file/ryc0vp4f load some roms into it and run a game and tell me how you get on, because I can't get it to run on my PC. Even if I disable all my anti virus stuff, I still get error messages with various different reasons why this application can't run. I do have it running on an old laptop, so yes I am sure any virus concerns are just unrecognized files, but even though this does run I get an error message saying that
I don't know if Nuexzz would be so kind as to perhaps have another look at this and update it for us.
I don't really need a GUI though, I just thought I could tweak the .ini file to allow for a higher windowed resolution, that is all I want to do.
Thank you
See child .. send me the directory where you have the emulatorm2 working and tell me what stretched resolution you want in windowed mode.
there is no option in m2emulator's ini that can do this, but there are external tools
I realize that this stuff takes time so I am happy to put some money towards the work that you are doing. I don't have alot of money, but if you can figure out how to change the windowed resolution I will be happy to put some money forward.
Don't make a problem for money, I don't want it, I do this just for hoobie, wait for me a few days please, because I have a lot of work in my life. if you can send your "emulator.ini"
Hey Nuexzz, just wondering if you have the emulator.ini file I sent you. You are probably just busy. Would be nice to know if you have it though.
I know people are busy this time of year, but I keep checking here every week for a response.
Any quick response like - "I am too busy at the moment will need to wait until next year" would be appreciated just so I know.
I'll just keep checking here I guess, hopefully next year?
I'm happy to chip in if there is anything I can do to help with this.
Thanks very much and Merry Christmas to those who read this thread. Looking forward to the day we can play two full screens on the same PC!
-
Hey Nuexzz,
Sorry I forgot to tell you. You can stick that .ini file right up your :censored:
Now you guys watch how quickly I get a response. As soon as I say something like that they respond straight away. But when I say please and wait patiently they don't respond. I don't want help from ---punks--- like this. They can stick it.
-
Hey Nuexzz,
Sorry I forgot to tell you. You can stick that .ini file right up your :censored:
Now you guys watch how quickly I get a response. As soon as I say something like that they respond straight away. But when I say please and wait patiently they don't respond. I don't want help from ---punks--- like this. They can stick it.
(https://i.kym-cdn.com/photos/images/newsfeed/000/030/403/YouMad.jpg)
-
(https://img.memecdn.com/Oh-He-mad_o_122667.webp)
-
As predicted, see how fast the replies came :applaud:
Next thing Nuexzz will say he was just about to get back to me too, but now I've blown it :laugh2:
I'm not mad. I just think it's very rude and unnecessary what he done. If you can't do it, just say you can't do it, or its going to take 2 -3 months because he's so busy.
Anyway, I don't care anymore I'm over it.
-
I bet you're a delight at parties.
-
As predicted, see how fast the replies came :applaud:
Next thing Nuexzz will say he was just about to get back to me too, but now I've blown it :laugh2:
I'm not mad. I just think it's very rude and unnecessary what he done. If you can't do it, just say you can't do it, or its going to take 2 -3 months because he's so busy.
Anyway, I don't care anymore I'm over it.
I am rude? or you a clown who thinks I'm an employee of yours? Not for all the gold in the world would I help him... Is that clear? okay bye
-
I can't believe they are so ignorant that they can manipulate an emulator with (ini) options which were not implemented, but hey these guys are the new generation who grew up using a smartphone without knowing what it's like to use a Windows XP" poor children" :blah:
-
in the model2ui user interface the requested options are available, now if the antivirus says that it is doubtful. don't be fearful If you are scared, it will be a big problem for you. This life is not for the scared! it's just one! he has :laugh2:
-
@Nuexzz The issue I had with your UI was my antivirus kept quarantine the .dll files. It is sorted now.
Thank you, your UI does allow a maximized window at 1080p. Got there in the end.
Daytona hacks allows infinite time. Is there a way to run the hack application through your UI to allow infinite time? I can't use the hack because it doesn't allow two instances of the same game with maximized windows at 1080p
-
Hello everyone, it really bothers me to have to do many steps to configure my favorite game, then I started to add some features for Daytona and started adding functions until I finished adding all the games.
Keep in mind that if you have errors is because I'm not a programmer (just curious) which I consider a Hobby, I have no trouble with the aggregates I plan to do.
in a few words, I publish it to not keep it for me, as I did with many things.
I have an important question.
Can I use my Xbox One controller as an alternative to an Xbox 360 controller? And if so, does it have to be wired or can it be wireless?
Please answer :)
Update: I learned that you can, but it is best that you either use a wired controller or use a USB to make it wired. :cheers:
I'm still looking into wireless play.
-
Hi thanks for the patch, i got widescreen to work on virtua cop 1 & 2 but the bullets still only can be shot within the 4:3 size window, if i try and shoot on the outer edge of the screen the bullets wont reach that far although the crosshair will be in that area it's like the bullets are locked into the original 4:3. is there a fix for that or it's just the way it is?
-
Hi, I had no idea about this error. I'm going to look at it in a month or so to be honest, I don't have a pc yet
-
could try modifying some of these for the time being.
[Model2_SetWideScreen(1)
Model2_SetStretchBLow(1)
Model2_SetStretchBHigh(1)]
-
is it possible to patch original eeprom for widescreen for example sega rally ?
-
is it possible to patch original eeprom for widescreen for example sega rally ?
hardware i cant help you :dunno
-
Thank you for this. The widescreen looks fantastic. My only issue is that I can’t get DemulShooter to play nice with your version of the emulator.exe. No matter what I won’t get two guns. Works fine on the 1.1a. Are they different emulators in a sense of the coding you wrote for the widescreen hacks, or are they the same? The INI for both yours and the 1.1 are relatively the same. Does anyone have DemulShooter working with this version? Thanks in advance.
-
To be honest, the same question for me. ::)
I hope that one day I can use higher windowed mode resolutions for two or more Model 2 applications on one screen, playing Daytona USA with my friend(s). :)
I mean, now the game is like this:
https://youtu.be/-lvNTcNq1ek (https://youtu.be/-lvNTcNq1ek)
If you don't mind, Nuexzz, could you please help to adapt resolutions to window sizes? :)
-
I can't help you at the moment, sorry
-
I can't help you at the moment, sorry
Take your time. :)
-
Where is the link for the latest version of the UI? Im not sure I'm running the latest version
-
hello to everyone, I have a problem with Sega Model 3 UI -r886, when I double click it to open an error occurs:
"The file LibreriaIconos.dll is missing".
Do you know how to solve it ?
Thanks
-
hello to everyone, I have a problem with Sega Model 3 UI -r886, when I double click it to open an error occurs:
"The file LibreriaIconos.dll is missing".
Do you know how to solve it ?
Thanks
Check the title, buddy. This discussion is about the Model 2, not 3. Open a new one or ask elsewhere :dunno
-
Link is broken?