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)
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.
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??
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.