Forum: Official Open PS2 Loader Forum - Discussion and information on the Official Open PS2 Loader.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: OPLUtil tool (for Art management, and themes preview)
  

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 31
  1. #1 OPLUtil tool (for Art management, and themes preview) 
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    For theme designer

    This tool is a conversion of OPL GUI engine in Java, so it can be used as a pretty accurate preview of your theme (however see the known bugs below).


    To compile the latest sources

    You can get the latest sources in attachment.

    To compile an executable (a JAR file in fact) you will first require a JDK 6 (Java Development Kit):

    Java SE Downloads - Sun Developer Network (SDN)

    Click on "Download JDK". It looks like you need to logon now ?

    And then you also need the "Ant" tool:

    Apache Ant - Binary Distributions

    Get the source on bitbucket, then use the following command line:

    Code:
    > cd oplutil
    > ant clean build exec
    clean option will clean the compiled classes, build will rebuild the sources. exec will launch the tool from the compiled classes.

    Finally you can make a distribution package:

    Code:
    > ant dist
    You will get two zip under the "dist/version/", one containing the whole sources (-src), and one (-bin) which can be used for the usual users. This is the same dist package that I put here in attachment.

    Once compiled, you can use the JAR on every system (linux, mac, windows), only with a JRE 6 (Java Runtime Environment), which you may have already installed.


    To use the binary executable (attachment)

    Save and extract the attachment on your system.

    To launch it on windows:

    * double click on the jar from your windows explorer
    * or in a dos command window enter the following:

    Code:
    cd oplutil
    java -jar oplutil.jar
    To launch it on linux/mac, I guess you should type the following into a terminal (meaning, there may be other ways to do this - GUI ? - but I don't know them):

    Code:
    > cd oplutil
    > java -jar oplutil.jar
    Now, go to the preferences, and configure the path accordingly to your setup:

    • path to your PS2SMB
    • path to your temporary connected USB external HDD)
    • path to your conf_apps.cfg (to have applications displayed)
    • you can specify a custom language file and a custom ttf font file
    • to automatically download Art, you need to define the URL to the psx-scene gallery. Use this value (for the moment): Official OPLv0.8 User Guides


    Use the PC keyboards arrow keys to scroll through the list and change devices list.

    Use I key to display the current game information. In this panel you will see errors concerning your game. Alternatively you can always display the game panel using the option in menu.

    Clicking on the ESR logo will toggle the ESR patch on/off.
    Clicking on the CD/DVD logo will toggle the media type from CD<>DVD.

    Known bugs

    • cover_overlay that use "shear" effect doesn't work nice. Only affine transform is used (java 2D API limitation, to solve this I should use 3D, which is way beyond my will ! Too complicated)
    • no plasma effect (need to completely change the rendering, going from passive to active, and need some help from Volca to convert the perlin algorithm)
    • problem with tooltips ... They don't show up correctly.



    Todo
    • add a rename/delete option for games
    • scan iso/ul game to extract the game_code and rename accordingly the games
    • option to convert a game from ul<->iso
    • try to use hdldump to list game from the internal hdd in PS2 (so you can download art for them too)
    Attached Thumbnails Attached Thumbnails oplutil_screenshot.jpg  
    Attached Files
    Last edited by izdubar; 03-01-2011 at 09:52 AM.
    It's too late to think that we can worship human emotions
    Because we've already evolved into machines in our minds
    Reply With Quote  

  2. #2  
    nemesis01 is offline arrrr...penguins!!!!!!!
    Join Date
    Mar 2003
    Location
    In a house
    Posts
    285
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Nice, any idea when the 'art download' will function? Is it one of the 'missing features', I ask as it doesn't do anything on my system.
    Reply With Quote  

  3. #3  
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    that one works, but you have to enter the "base URL" of the site from where you want to download the ART.

    So enter the same value as in screenshot, to use JNABK's psx-scene gallery.

    Then wait after clicking the "Download Art", as there is no fancy progress bar for now ...
    Reply With Quote  

  4. #4  
    nemesis01 is offline arrrr...penguins!!!!!!!
    Join Date
    Mar 2003
    Location
    In a house
    Posts
    285
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Quote Originally Posted by izdubar View Post
    that one works, but you have to enter the "base URL" of the site from where you want to download the ART.

    So enter the same value as in screenshot, to use JNABK's psx-scene gallery.
    That's odd then as I already did that, the app just freezes when I hit download art. I'm sure I compiled it correctly, also tried the one you posted in the other topic with same result. Maybe it's a windows 7 issue, all I know is that I have to use task manager to end javaw.exe or the app refuses to close when download art is selected.
    Reply With Quote  

  5. #5  
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    Humm ... I would say it is not frozen ... but downloading art ...

    If you hava a huge collection of game, it should take quite a lot of time, as the server doesn't seems to answer very quickly.

    Watch your art folder, you shuold see new files.
    Reply With Quote  

  6. #6  
    nemesis01 is offline arrrr...penguins!!!!!!!
    Join Date
    Mar 2003
    Location
    In a house
    Posts
    285
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Quote Originally Posted by izdubar View Post
    Humm ... I would say it is not frozen ... but downloading art ...

    If you hava a huge collection of game, it should take quite a lot of time, as the server doesn't seems to answer very quickly.

    Watch your art folder, you shuold see new files.
    Yer, just figured that out. Launched oplutil from cmd line and saw what the process was doing, didn't actually want it to download everything as I do have a lot of games installed. I already have art (in jpg format) for most apart from a couple I have not done yet, however it seems not to be able to download art for a specific title unless I am doing something wrong??
    Reply With Quote  

  7. #7  
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    It will only download the missing items (but that means if you have png, it will still try to load jpg, I may change that).

    If you have missing items, it is because they are not in the gallery then.

    There are a lots of NTSC in the gallery, but not so many PAL.
    It's too late to think that we can worship human emotions
    Because we've already evolved into machines in our minds
    Reply With Quote  

  8. #8  
    JNABK's Avatar
    JNABK is offline Member
    Join Date
    Sep 2004
    Location
    <<< I'm right over there!
    Posts
    4,920
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    16
    Quote Originally Posted by izdubar View Post

    So enter the same value as in screenshot, to use JNABK's psx-scene gallery.
    Just so you know, all Art (BG, Cover, Icon) will be in http://openps2loader.info/8/art

    Themes will go into http://openps2loader.info/8/themes/ (currently offline)
    PS2 Consoles:
    SCPH-30001 [V4] - unmodded (2)
    SCPH-30001-R [V5] DMS4 Pro SE
    SCPH-50001-N [V9] CC 2.0 SLE
    SCPH-79001 [V16] Silver - unmodded

    Reply With Quote  

  9. #9  
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    First post updated.

    @JNABK

    Does the Art page still works ? When entering the url we directly come on the root page for OPL.
    Reply With Quote  

  10. #10  
    JNABK's Avatar
    JNABK is offline Member
    Join Date
    Sep 2004
    Location
    <<< I'm right over there!
    Posts
    4,920
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    16
    There is no actual "pages" in the art directory, as its only a directory to store the art files. I put an index.html in all the 'storage' directories that redirects to the main OPL portal, otherwise you would see an ugly "link" listing of filenames.

    But users shouldnt have any issues if they use that url to get art files with your app.
    PS2 Consoles:
    SCPH-30001 [V4] - unmodded (2)
    SCPH-30001-R [V5] DMS4 Pro SE
    SCPH-50001-N [V9] CC 2.0 SLE
    SCPH-79001 [V16] Silver - unmodded

    Reply With Quote  

Page 1 of 4 1 2 3 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •