Am I to simplistic for you fancy coders
I use this method and it works great.
First you make a folder in the ongameskin root folder in my case "C:\Program Files\EuroBet" name the folder "mod" and then put the two modded files P5-data.xml and TableImages.swf in the modfolder
Then you just make a simple .bat file to copy from the mod folder to original ongame root folder like this. I then place the .bat file in the ongame root folder.
@echo off
StartEurobetPoker.exe
echo Please Wait for Eurobet Client to Load...
pause
copy .\mod\* .\
Just write this in a txt file and rename it to ongameskin.bat or whatever
modify the StartEurobetPoker.exe to your ongame skin specific name and thats it.
This starts the software and copys the files, be sure not to "hit any key to continue" until you are at the login otherwise you replace the files to fast . Then just create a shortcut on the desktop to the batfile and replace your old ongamelink. As always runs as admin, works for me under Windows 7 so it will work on any platform
If pressing one key is to much for you then so be it. Simple is good sometimes.
Quote:
Originally Posted by Willett72
Ok the script i made will open the client but not copy and delete out the files... so i made a 2nd one with just the last 4 lines that will do what I want but then it won't revert back and when I close and try to reopen the client it gives won't open until i manually replace the original files...
I'm using windows vista and have UAC turned off, even if I right click and tell it to open as administrator it still won't work...
I'm not sure what I'm doing wrong, my first script looks like this
****
#NoEnv
#SingleInstance force
SkinName=Eurobet
TableImageSourceFile=C:\TableImages.swf
DestinationFileName=TableImages.swf
Run, startEurobetpoker.exe, C:\Eurobet
WinWait, Eurobet - Welcome
FileDelete, C:\Eurobet\TableImages.swf
FileCopy, C:\TableImages.swf, C:\Eurobet\TableImages.swf
FileDelete, C:\Eurobet\P5-data.xml
FileCopy, C:\P5-data.xml, C:\Eurobet\P5-data.xml
****
It will start the program but not perform the last 4 lines of code, I made one that looks like this but it will permanently delete the originals and then my client won't open the next time...
****
FileDelete, C:\Eurobet\TableImages.swf
FileCopy, C:\TableImages.swf, C:\Eurobet\TableImages.swf
FileDelete, C:\Eurobet\P5-data.xml
FileCopy, C:\P5-data.xml, C:\Eurobet\P5-data.xml
****
Any help appreciated, it's probably something simple but I'm just learning how to use scripts....
Last edited by petram; 09-19-2009 at 07:03 PM.