Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

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.
post-2333-127030313304_thumb.jpg


Select the folder that contains the files that you want to use to replace the static image.
post-2333-12703031424_thumb.jpg


Choose your options, and select the files that you want to use as replacements.
post-2333-0-21003200-1364055928_thumb.jp


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.txt

Run 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

  • Like 5
Posted

Theres no stoppin you is there ;)

Another keeper :)

Thanks Tom. I got a few good ideas from cleaning up the feature requests thread. smile.gif

Posted

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

Posted

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

AFAIK, 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.

  • 4 months later...
Posted

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 directory
that 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|3

options=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

post-6251-128303351726_thumb.png

post-6251-128303352654_thumb.png

  • 2 years later...
Posted

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.

  • Like 2
Posted

Nice one Tempest! :)

This will add a nice touch to the cab. :D

Posted

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!

  • Like 1
  • 1 year later...
Posted

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#post346929

I 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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...