Tempest Posted April 3, 2010 Share Posted April 3, 2010 The 'Randomizer' can be used to randomize files for which GameEx would normally only use one static file. E.G. startup video, ambience.mp3 files, background images, etc.Run - Randomizer.exe and choose the static file that you want to randomize.Select the folder that contains the files that you want to use to replace the static image.Choose your options, and select the files that you want to use as replacements.Click 'Save'A Random.ini file will be created, open it and you will see something like this:[Randomize1]Option=1Folder=C:\Users\Matt\Desktop\Random\Random FilesFileToRandomize=C:\Users\Matt\Desktop\Random\File to Randomize.txtFileList=File to Randomize.txt|File1.txt|File2.txtRandomList=File2.txt|File1.txt|File to Randomize.txtRun the exe and setup the paths, click save.Setup The randomizer to run in the launch before, OR the the launch after in the emulator config.Usage: X:\Path to randomizer\Randomizer.02.exe "1|H:\AHK\My AHK\GameEx Scripts\Randomizer\Existing Files\[ROM].png"The number 1 is the section number as shown above [Randomize1]The path after the 1 is optional, but if used and a file that matches is found, that file will be used and NOT a random file. Make sure to enter YOUR path and extension.Muliple files can be randomized like this:x:\Path to randomizer\Randomizer.02.exe "1|H:\AHK\My AHK\GameEx Scripts\Randomizer\Existing Files\[ROM].png" "2|H:\AHK\My AHK\GameEx Scripts\Randomizer\More Files\[ROM].bmp"There MUST BE A SPACE between parameters!Randomizer.02.7z 5 Quote Link to comment Share on other sites More sharing options...
Tom Speirs Posted April 3, 2010 Share Posted April 3, 2010 Theres no stoppin you is there Another keeper Quote Link to comment Share on other sites More sharing options...
celly Posted April 3, 2010 Share Posted April 3, 2010 Awesome! Thanks Tempest! Quote Link to comment Share on other sites More sharing options...
Tempest Posted April 3, 2010 Author Share Posted April 3, 2010 Theres no stoppin you is there Another keeper Thanks Tom. I got a few good ideas from cleaning up the feature requests thread. Quote Link to comment Share on other sites More sharing options...
Tempest Posted April 3, 2010 Author Share Posted April 3, 2010 Awesome! Thanks Tempest!Your Welcome. As I always say, appreciation is appreciated. Quote Link to comment Share on other sites More sharing options...
starbuck Posted April 5, 2010 Share Posted April 5, 2010 Another great program Tempest.Could you use a random theme with a particular emulator? A different theme for each emualtor or maybe movies, or jukebox would be a neat feature.Also have you looked at my request as a way to display all games in a database under a system and match with what you have and by color coding show what a user has that matches the database, what they are missing and what game they have that is not in the database.Starbuck Quote Link to comment Share on other sites More sharing options...
Tempest Posted April 5, 2010 Author Share Posted April 5, 2010 Another great program Tempest.Could you use a random theme with a particular emulator? A different theme for each emualtor or maybe movies, or jukebox would be a neat feature.Also have you looked at my request as a way to display all games in a database under a system and match with what you have and by color coding show what a user has that matches the database, what they are missing and what game they have that is not in the database.StarbuckAFAIK, the only one who could do something like this is Tom. GameEx reads everything in at startup, and there is no way for me to change what GameEx does after it is running. If I am wrong, someone please correct me.I could modify The Randomizer to replace entire folders, so that each time you restarted GameEx, you would have a random theme, Or maybe even better to have The Randomizer modify the gameex.ini file itself. Again, I would like to hear thoughts about this as well. Quote Link to comment Share on other sites More sharing options...
chillinwater Posted August 28, 2010 Share Posted August 28, 2010 Hey Tempest, Great Program! (as always!)I think I found a small bug in "Randomizer".Here are a couple of ways to re-proceduce, there are others.-Setup "Randomizer" any other way than the default radio buttons (see "capture.png" attachment)(see "capture1.png" attachment)-Setup "Randomizer" the first time to randomize (1) file, when asked to setup another file. (see "capture1.png" attachment)It doesnt seem to affect saving the settings or usage.---------------------------------------------------------Also Ive been tinkering with it and made a little script to compile and place in the randomizer directorythat adds a button press(es) to launch "Randomizer".This would need to be launched before the fe and the it remains resident.While resident you can press some user configured buttons to re-randomise your files.I also needed to add these lines to the "random.ini" file, so you can run multiple options at once...during startup and then thru a key(s) press.[Settings]options=1|2|3options=1|2|3 (if using randomize1, randomize2, randomize3)I have it set up below for a (2 button combo) "ctrl & 6" for x-arcade (p1 btn1 p2 btn8) but you can change it to whatever you want.-dont press the button while the art is being displayed or it wont change and windows may have a fit.[Randomizer-(Button-Press)]#SingleInstance force#persistent#InstallKeybdHook#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.SendMode Input ; Recommended for new scripts due to its superior speed and reliability.SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.SetTitleMatchMode, 3DetectHiddenWindows, OnIniRead, Options, %A_ScriptDir%\Random.ini, Settings, Options;msgbox, 1, , The options are=%Options%run, %A_ScriptDir%\Randomizer.exe "%Options%"^6::run, %A_ScriptDir%\Randomizer.exe "%Options%" ;\\\ for Hyperspin \\\IfWinNotExist, ahk_class ThunderRT6FormDC, exitapp ;\\\ for gameex \\\ ???IfWinNotExist, GameEx.exe, exitappreturn Quote Link to comment Share on other sites More sharing options...
Tempest Posted August 31, 2010 Author Share Posted August 31, 2010 I fixed the bug reported by Chillinwater. Updated 1st post. Quote Link to comment Share on other sites More sharing options...
chillinwater Posted September 2, 2010 Share Posted September 2, 2010 Awesome!...Thanks Tempest Quote Link to comment Share on other sites More sharing options...
Tempest Posted March 23, 2013 Author Share Posted March 23, 2013 Updated first post to reflect new version that will check a folder for a matching file first.EG: Mame\Bezels\[ROM].png. If found, use the matching bezel, If not use a random bezel. 2 Quote Link to comment Share on other sites More sharing options...
Adultery Posted March 23, 2013 Share Posted March 23, 2013 Nice one Tempest! This will add a nice touch to the cab. Quote Link to comment Share on other sites More sharing options...
Tempest Posted March 23, 2013 Author Share Posted March 23, 2013 I haven't had any feedback so let me know if it works as it should, or as you would want it to. Quote Link to comment Share on other sites More sharing options...
ClassicGMR Posted March 23, 2013 Share Posted March 23, 2013 Oh my... I didn't even know I needed this until now! I have a ton of ambiance files I want to randomize! Woo! Thank you! 1 Quote Link to comment Share on other sites More sharing options...
jthompson Posted October 23, 2014 Share Posted October 23, 2014 I could modify The Randomizer to replace entire folders...I know I'm late to the party but I just discovered your randomizer. I can't test it out here at work but I see a potential use for it if it could randomize between a small set of folders. This would be awesome. Not sure how you feel about it but I know it would fill a void for some other users... http://www.hyperspin-fe.com/forum/showthread.php?2741-jukebox_main_menu(ACE-04-04-09)&p=346929&viewfull=1#post346929I bet this would be a big help for Evo too once it comes out, if of course it doesn't have some sort of randomization built in already. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.