Brian Hoffman Posted September 12, 2007 Share Posted September 12, 2007 These are two launchers for the only games that work with this emu. (Hey they work well though)Rave racer world B AND Ridge Racer japan APlace the two EXE's (Located in attachment) in the root directory of the vivanonno.exeCreate a LINK folder in the same directory.Create Two shortcuts (one for each file) into the LINKS directory.Configure gameex to use the Romfilter *.lnkBoth rompath and workingpath are the links folder.command is "[rompath]/[romfile]"Im also including a sample config.Special thanks go out to Lucas Barton.Vivanonno.zip 1 Link to comment Share on other sites More sharing options...
Nologic Posted September 12, 2007 Share Posted September 12, 2007 Okay not to steal anyones thunder...cause frankly I don't know if my method works better or not...just not into the use of shortcuts.Well I'm going to go hide now. *Update*Added a formated settings.xml below in code tags...VivaNonno didn't generate a readable one...so<?xml version="1.0" encoding="UTF-8"?><root version="2"> <general> <graphics texture_format="2" texture_reduction="0" gamma_correction="0.648000" black_level="0.000000" white_level="1.000000" frame_skip="0" no_wait="1" show_fps="0" interlace="1" interlace_level="96" texture_filtering="1" depth_bias="1" texture_mipmap="0"/> <sound enable_sound="1" playback_freq="44100" buffer_size="100" volume="0.500000"/> <control> <joystick> <axis handle="X" gas="2" brake="3"/> <button coin1="8" coin2="9" clutch="4" shift1="12" shift2="14" shift3="15" shift4="13" shift_up="7" shift_down="6" test="0" service="1" view_change="5" pause="11"/> </joystick> <keyboard> <axis/> <button/> </keyboard> </control> </general> <game> <RidgeRacer/> <RidgeRacer2 no_time_up="0" system_type="0"/> <RaveRacer/> </game></root> Link to comment Share on other sites More sharing options...
LucasBarton Posted September 12, 2007 Share Posted September 12, 2007 Brian, it's almost there. The only problem is that when I go to load one of the games, after the Vivanonno emu opens up it still requires me to use the mouse to click file and load game. After I do that, it automatically selects whichever game I had wanted and boots it. Is there any way to make it select file>load game>rave racer(world automatically, without having to manually click anything? Thanks again for your help. Link to comment Share on other sites More sharing options...
Brian Hoffman Posted September 12, 2007 Author Share Posted September 12, 2007 Brian, it's almost there. The only problem is that when I go to load one of the games, after the Vivanonno emu opens up it still requires me to use the mouse to click file and load game. After I do that, it automatically selects whichever game I had wanted and boots it. Is there any way to make it select file>load game>rave racer(world automatically, without having to manually click anything? Thanks again for your help.It should do that... It does for me..and so did the previous loaders...right?Can you try running without gameex... Maybe gameex cause the emu to launch slower on your pc.. If it works outside gameex after a fresh rebbot Ill add a sleep statment..This should buy some time.Please let me know...Nologic,Your loader is probably better than mine... Mine can also just use the exe's but then my rom filter has to be *.exe and then I have a choice of the emu on my selection screen. Unless I filter that rom.. My coding is very limited.Here is my script; <COMPILER: v1.0.47.4>Run, vivanonno.exeWinWait, viva nonno,IfWinNotActive, viva nonno, , WinActivate, viva nonno,WinWaitActive, viva nonno,MouseClick, left, 49, 41Sleep, 100MouseClick, left, 49, 56Sleep, 100WinWait, Select System,IfWinNotActive, Select System, , WinActivate, Select System,WinWaitActive, Select System,MouseClick, left, 66, 123MouseClick, left, 66, 123Sleep, 100WinWait, viva nonno - ,IfWinNotActive, viva nonno - , , WinActivate, viva nonno - ,WinWaitActive, viva nonno - ,Send, {ALTDOWN}{ENTER}{ALTUP}Process, WaitClose, vivanonno.exeExitAppIt basicly says run vivanonno, click file load.. uses mouse to click Rom and ok. then sends ALT+Enter to go fullscreen..Waits for the process to end then closes script. Link to comment Share on other sites More sharing options...
LucasBarton Posted September 12, 2007 Share Posted September 12, 2007 It should do that... It does for me..and so did the previous loaders...right?Can you try running without gameex... Maybe gameex cause the emu to launch slower on your pc.. If it works outside gameex after a fresh rebbot Ill add a sleep statment..This should buy some time.Please let me know...It does the same thing with and without Gameex running. Vivanonno opens, then the cursor arrow automatically moves below the file option then sits there and does nothing. I have to manually move the arrow up to click file, then select load game, and then it automatically goes down the list to the game and starts. Sorry about the hassle. It's almost there though. Link to comment Share on other sites More sharing options...
Brian Hoffman Posted September 12, 2007 Author Share Posted September 12, 2007 It does the same thing with and without Gameex running. Vivanonno opens, then the cursor arrow automatically moves below the file option then sits there and does nothing. I have to manually move the arrow up to click file, then select load game, and then it automatically goes down the list to the game and starts. Sorry about the hassle. It's almost there though.Its no hassle.. maybe instead of mouse movments ill use hot keys... like CTRL F for file...I think the mouse movment are buggy anyways due to the fact people can be running diffrent resolutions or if the winow pops up somewhere else it will got to the wrong spot. (It does work for me)I do have it installed on my work pc..but when I get home Ill make those changes.If you want you can make it eaiser and tell me IF there are any hot keys to bring up the file/load window.That should shave a minute off.. Honestly the fix will only take a min once I know wheat keys do what.Thanks for the bug report and your continued patients. Link to comment Share on other sites More sharing options...
LucasBarton Posted September 12, 2007 Share Posted September 12, 2007 Its no hassle.. maybe instead of mouse movments ill use hot keys... like CTRL F for file...I think the mouse movment are buggy anyways due to the fact people can be running diffrent resolutions or if the winow pops up somewhere else it will got to the wrong spot. (It does work for me)I do have it installed on my work pc..but when I get home Ill make those changes.If you want you can make it eaiser and tell me IF there are any hot keys to bring up the file/load window.That should shave a minute off.. Honestly the fix will only take a min once I know wheat keys do what.Thanks for the bug report and your continued patients.I couldn't find any hot keys for Vivanonno that pertain to the menus and loading the games. I looked in the readme file and tried pressing alt+f, shift+f, and a bunch of other things. Sorry I can't be of more help. Thanks again for your efforts. Link to comment Share on other sites More sharing options...
bkenobi Posted September 12, 2007 Share Posted September 12, 2007 If things don't work, you could try checking that the mouse is clicking in the right spot. You might be running in a different resolution from Brian so AHK might be clicking the wrong spot. As I recall, if you enable the mousehook you can open AHK and when you click somewhere, there is a way to display the location where you clicked. I haven't done this so I can't be more specific though (I always just guess and check the location). Link to comment Share on other sites More sharing options...
Nologic Posted September 12, 2007 Share Posted September 12, 2007 Okay I'm guessing you're using AutoHotKey.Using the mouse is generally fine....IF the window is always on top & the window is always the same distance from X & Y axises of the Desktop regardless of monitor resolution.Other wise you need to be able to use the X & Y axises of the window rather than the Desktop...this can be defined in AutoIt with the following Option:Opt ( 'MouseCoordMode' , 0 ) ; Active WindowOpt ( 'MouseCoordMode' , 1 ) ; DesktopOpt ( 'MouseCoordMode' , 2 ) ; Client Area of Active WindowThere is likely the same type options in AutoHotKey...if not then time to use AutoIt. If the Window is not on top of the Z axis of the Desktop...then you should force it prior to using the Mouse.In AutoIt you can use the following code:WinSetOnTop ( 'title' , 'text' , 1 )Blind SendKeys should never be used, keyboard accelerator's or not, unless your certain the window will always have focus. Its better if SendKeys isn't blind but actually being directly sent to a window, and ideally a named control...then it doesn't matter if the window has focus or topmost Z axis...or hell even hidden.In AutoIt the three available SendKeys functions:Send ( 'Sending this text' , 0 ) ; Blind (Focus & TopMost required)ControlSend ( 'title' , 'text' , 'Edit1' , 'Sending this text' , 0 ) ; DirectControlSetText ( 'title' , 'text' , 'Edit1' , 'Sending this text' , 0 ) ; Direct & InstantIn AutoIt you can adjust the amount of time between sending key strokes:Opt ( 'SendKeyDelay' , 1 ) ; 1 millisecond delayOpt ( 'SendKeyDelay' , 5 ) ; 5 millisecond delayThe reason for those options is one to save time...and secondly ControlSetText doesn't always play well with all edit controls...so ControlSend is required.Also using keyboard accelerator's is a mild improvement over navigation keys...namely a little faster, and a little bit more accurate...but still prone to failing if sent blindly.Really its better to directly interact with a given control...however I'm not going to cover all the possible commands available in AutoIt...but in our case the only two that really matter per my script.Now WinMenuSelectItem deals directly with Menu Items...this doesn't always work with all Menu's as there are a LOT of costume menu controls out there. Keep in mind this is near instant, and should be totally accurate no matter of focus, z-axis, or hidden.WinMenuSelectItem ( 'title' , 'text' , 'menuitem1' , 'menuitem2' , 'menuitem...' )As for ControlCommand this actually has a LOT of options...in our case we are looking to select an item out of a ListBox. Which is near instant and should be totally accurate no matter of focus, z-axis, or hidden.ControlCommand ( 'title' , 'text' , 'ListBox1' , 'SelectString' , 'this string' )Anyways dig through my code and get it all to make sense...then see if you can do the same thing in AutoHotKey...should be able to more or less...if anything you should have a mildly better understanding of how to write a loader. Link to comment Share on other sites More sharing options...
LucasBarton Posted September 12, 2007 Share Posted September 12, 2007 Nologic, thanks, but you obviously know a lot more about this stuff than I do. All that is way over my head. If Brian can't get the thing he made to work for me, I'll just have to wait until the MAME code is better optimized or something. Link to comment Share on other sites More sharing options...
Nologic Posted September 12, 2007 Share Posted September 12, 2007 Well don't be dazzled because its not over your head...you just simply haven't been exposed to it prior.I'm sure Brian will get every thing figured out...if not there is my script posted in my first reply...tho somewhat hidden. Only reason I posted is that I had this half way coded up prior...but got side tracked and never finished it...till I seen Brian's required shortcuts...hehe which prompted to finish up mine.Anyways don't be scared to get your hands dirty with AutoIt or AutoHotKey both are fairly direct and to the point...tho I do feel AutoIt is more easy to pick up. In ether case they are both a godsend to emulation users. Well stick with Brian's handywork...if it wasn't for him nether of these would be here...plus I don't know if mine works for others...since no one has confirmed it. Main issue with mine is that I'm identifying windows by their Class...which I'm not sure if they maintain the same Class if different builds of Windows is used...or different regional settings are used. Basically its an attempt to make the script Vista use able. Link to comment Share on other sites More sharing options...
Brian Hoffman Posted September 12, 2007 Author Share Posted September 12, 2007 Well don't be dazzled because its not over your head...you just simply haven't been exposed to it prior.I'm sure Brian will get every thing figured out...if not there is my script posted in my first reply...tho somewhat hidden. Only reason I posted is that I had this half way coded up prior...but got side tracked and never finished it...till I seen Brian's required shortcuts...hehe which prompted to finish up mine.Anyways don't be scared to get your hands dirty with AutoIt or AutoHotKey both are fairly direct and to the point...tho I do feel AutoIt is more easy to pick up. In ether case they are both a godsend to emulation users. Yeah after looking at your cone I can port that to autohotkey... I just need time to learn exactly whats needed.Thanks so much for all your suggestions and example as they help me very much...Back to the drawing board. Link to comment Share on other sites More sharing options...
Nologic Posted September 12, 2007 Share Posted September 12, 2007 Your welcome, and its good to see you becoming a more incredible asset by expanding your knowledge. Link to comment Share on other sites More sharing options...
Brian Hoffman Posted September 13, 2007 Author Share Posted September 13, 2007 Your welcome, and its good to see you becoming a more incredible asset by expanding your knowledge.Im trying... Just coming along very slowly... I know what i want to do its just converting my thoughts to logical code thats the problem.. Then finding the right syntax. Link to comment Share on other sites More sharing options...
Nologic Posted September 13, 2007 Share Posted September 13, 2007 Shit who says it has to be logical...lord knows I'm not. Link to comment Share on other sites More sharing options...
Brian Hoffman Posted September 13, 2007 Author Share Posted September 13, 2007 Shit who says it has to be logical...lord knows I'm not. hence the user name "nologic" Link to comment Share on other sites More sharing options...
Nologic Posted September 13, 2007 Share Posted September 13, 2007 Link to comment Share on other sites More sharing options...
LucasBarton Posted September 13, 2007 Share Posted September 13, 2007 Thanks to Brian Hoffman, I finally have Vivanonno running good with GameEX. He created some great little files to make it all work. I've attached those files so that they're available to anyone who may need them. Thanks again, Brian.vivanonno_files.zip Link to comment Share on other sites More sharing options...
popcorrin Posted January 15, 2008 Share Posted January 15, 2008 Thanks to Brian Hoffman, I finally have Vivanonno running good with GameEX. He created some great little files to make it all work. I've attached those files so that they're available to anyone who may need them. Thanks again, Brian.I've tried both of these files and they try to launch to wrong games. They try to launch the 1st and 4th games on the list(which don't work) rather than the 2nd and 5th like they need to. Link to comment Share on other sites More sharing options...
Nologic Posted January 15, 2008 Share Posted January 15, 2008 Did you try my version? Link to comment Share on other sites More sharing options...
LucasBarton Posted January 15, 2008 Share Posted January 15, 2008 There is actually a rebuilt set of Vivanonno files that were made using the Mame dumps, so now all the games listed for Vivanonno work. Plus, the textures look a lot better now. Link to comment Share on other sites More sharing options...
popcorrin Posted January 15, 2008 Share Posted January 15, 2008 Did you try my version?I tried your version but it only gets me to the point where it shows the list of games and I have to manually select the game to play. Link to comment Share on other sites More sharing options...
popcorrin Posted January 15, 2008 Share Posted January 15, 2008 There is actually a rebuilt set of Vivanonno files that were made using the Mame dumps, so now all the games listed for Vivanonno work. Plus, the textures look a lot better now.I never heard anything about this. Could you clue me in on where you found out about this? Link to comment Share on other sites More sharing options...
Nologic Posted January 16, 2008 Share Posted January 16, 2008 Hell I'd just be happy with a dat file so I can build a set just to try it out. Link to comment Share on other sites More sharing options...
LucasBarton Posted January 16, 2008 Share Posted January 16, 2008 Sorry but I'm not trying to get banned from this forum for linking to roms or anything. They are out there if you know where to look. Sorry. Link to comment Share on other sites More sharing options...
Recommended Posts