Thread: Obtain "romname" in userfunctions

Results 1 to 17 of 17
  1. Collapse Details
    Obtain "romname" in userfunctions 
    #1
    Junior Member
    MainSecondary
    Join Date
    May 2015
    Posts
    17
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site
    Question
    Is there any way to get romname passed to userfunctions? I am trying to unrar my ps3 games into my rpcs3 game folder. I currently am able to do this by making a userfunction file per rom and hardcoding the paths. I was wondering if there was a way to obtain the romname so I wouldn't have to hardcode paths and make a file per rom. This is an example of what I'm working with right now:

    Code:
    class GlobalEmulatorUserFunction extends UserFunction {
    
    	; Use this function to define any code you want to run on initialization
    	InitUserFeatures() {
    		Global dbName,systemName
    		RLLog.Info(A_ThisFunc . " - Starting")
    		SplitPath, A_ScriptDir,,,,,DRIVE
    		Run, %DRIVE%\Emulation\Utilities\UnRAR.exe x -y "G:\Extra Roms\Sony Playstation 3\%romName%.rar" "%DRIVE%\Emulation\Emulators\RPCS3\dev_hdd0\game",,Hide
    
    }
    %romname% would normally be a hardcoded name in my current method.
     

  2. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #2
    RocketLauncher Developer

    MainSecondary
    Join Date
    Apr 2014
    Posts
    4,743
    You must declare it in the Global line before you can use it, like:
    Global dbName, systemName, romName
     

  3. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #3
    Junior Member
    MainSecondary
    Join Date
    May 2015
    Posts
    17
    Ugh, can't believe I didn't catch that. I just used dbName and works as expected, thank you so much!
     

  4. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #4
    Senior Member
    MainSecondary
    Join Date
    May 2015
    Posts
    223
    Quote Originally Posted by HotBox420 View Post
    Ugh, can't believe I didn't catch that. I just used dbName and works as expected, thank you so much!
    Can you give more details on this or start a new thread detailing how you have this all setup? The current RPCS3 thread has a lot of people trying their own things and it's getting a bit confusing. I'd like to get my PS3 setup going soon. Thank you
     

  5. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #5
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Новости медицины тут griskomed.ru
     

  6. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #6
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Последние модные стрижки здесь chyolka.ru
     

  7. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #7
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Последние женские секретики здесь www.foto-volos.ru
     

  8. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #8
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Последние новости строительства здесь distroy.ru
     

  9. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #9
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Новости строительного мира тут lakkk.com
     

  10. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #10
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Последние женские новости здесь phpua.net
     

  11. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #11
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Автомобильные новости здесь drive-land.net
     

  12. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #12
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Женский журнал здесь laform.ru
     

  13. Collapse Details
    taboo porn tube 
    #13
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Tune in for some of the top rated and most wanted porn clips online by simply browsing pornmd.pro, the number one place where you can watch any style of cartoon porn videos your mind desires in seconds. The horny porn stars, the finest students and many more, all available to rock your sexual dreams with mind blowing cartoon porn videos. Only top rated adult content in HD image and with the best options you can get, all for free at pornmd.pro, the only place to fulfill your dreams in proper modes.
     

  14. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #14
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Последние женские новости здесь logwoman.ru
     

  15. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #15
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Модные женские советы здесь malipuz.ru
     

  16. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #16
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Последние мировые новости здесь www.planetoday.ru
     

  17. Collapse Details
    Re: Obtain "romname" in userfunctions 
    #17
    Junior Member
    MainSecondary
    Join Date
    Apr 2018
    Posts
    1
    Последние новости мира тут novorossia-news.com
     

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •