xboxscene.org forums

Pages: 1 ... 6 7 [8] 9 10 ... 12

Author Topic: Xbmc Shortcut Creator  (Read 1289 times)

ressurectionx

  • Archived User
  • Hero Member
  • *
  • Posts: 2778
Xbmc Shortcut Creator
« Reply #105 on: April 20, 2010, 09:06:00 AM »

There are many different sub-folders.  How would you get them all to go to the right place with that command?  Wouldn't you somehow have to use the directory listing file to do so?
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Xbmc Shortcut Creator
« Reply #106 on: April 21, 2010, 01:02:00 AM »

... Sub-folders of what? Systems? Genres? Or do you mean art?
Logged

ressurectionx

  • Archived User
  • Hero Member
  • *
  • Posts: 2778
Xbmc Shortcut Creator
« Reply #107 on: April 21, 2010, 11:40:00 AM »

A while back you altered the program so if you used the batch on the PC instead of the python script on the box, it would also scan all sub-directories and make cuts for them.  Depending on the system, there can be about 20 sub-folders (licensed, unlicensed, pirate, etc.) that these cuts are located in, as well as pointing to.

The trouble, is that I had to move all of the TBN files into the correct folders by hand, using the Compare feature in FlashFXP.  This added quite a long time to the process.


I was hoping that there could be a way that we could use the directory listing file to move these TBN files into the correct folders where the .CUT files exist with a click of a button instead of doing this all by hand every time.  It would make sense if we could somehow use the directory listing file to do this, since the TBN images share the exact same name as the games in that file, except they have the .TBN extension.


It's too late for me, since I've already completed this work, but maybe it would be useful to others who don't want their file structure as rigid as mine and would rather make their own .CUT files without all the hassle.
Logged

ressurectionx

  • Archived User
  • Hero Member
  • *
  • Posts: 2778
Xbmc Shortcut Creator
« Reply #108 on: April 21, 2010, 09:15:00 PM »

I know what I'm asking is complicated BB, so please let me know if you need any clarification for what I'm attempting to have automated here.

Thanks a ton,
~Rx
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Xbmc Shortcut Creator
« Reply #109 on: April 22, 2010, 04:00:00 AM »

No, my memory's been jogged and I understand now. Reckon I'll scribble something out tomorrow.
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Xbmc Shortcut Creator
« Reply #110 on: April 24, 2010, 06:25:00 AM »

'scuse the delay.

"GenerateDirectoryListing.bat" now accepts a third parameter, the path to your art directory (be it filled with wide thumbs, box art, screencaps, whatever - just so long as the filenames match those of your ROMs, and use JPG or PNG extensions).

When provided with this parameter, it'll create a secondary listing file ("Thumbs.lst") in addition to the usual "listing.txt". "CutCreator.bat" will use this to copy your art into the Output folder, while renaming the images to use TBN extensions as it goes.

Hence you could create a new "automated" batch file that reads like this:

QUOTE
call GenerateDirectoryListing.bat "PCROMPath" "X-BoxROMPath" "PCArtPath"
call CutCreator.bat /defaults "SystemSpecificINI.ini"
Logged

ressurectionx

  • Archived User
  • Hero Member
  • *
  • Posts: 2778
Xbmc Shortcut Creator
« Reply #111 on: April 25, 2010, 03:08:00 PM »

Cool man... no worries on the delay.  I've moved on to other things at the moment but plan to check this out and see if we need to do anything else.  I'm going to try to make a package of TBN files and configs with the instructions to change any directories if people have my stuff but haven't stayed true to the layout.

Thanks,
~Rx
Logged

ressurectionx

  • Archived User
  • Hero Member
  • *
  • Posts: 2778
Xbmc Shortcut Creator
« Reply #112 on: April 29, 2010, 09:23:00 PM »

Hey BB,

For that "PC Art Path" what would be the variable I would put so that it ran the commands from the current directory, no matter where it is?

What would be the one if I wanted it to run from a folder called "Thumbnails" in the current directory?


Kinda like how "D:\" is the signifier for the current directory on the XBox.



EDIT:  Figured it out...

"%CD%\Thumbnails\"

I still haven't gotten anything to work with the new code yet, but I'll let you know how it goes.




EDIT 2:  I'm using the following code for the A7800.bat

CODE
call GenerateDirectoryListing.bat "F:\XBox\F\Media\A7800\Roms" "F:\Media\A7800\Roms" "%CD%\Thumbnails"
call CutCreator.bat /defaults "A7800.ini"


Now when it runs, instead of automatically doing the generate directory listing, it asks:

Type the parent folder you wish to scan:  




Did I do something wrong with the .bat file code, or is something broke since the new code to handle the thumbnail files has been added?



Nevermind.... I screwed some things up.  I think I know what happened.  Let me work on it some more.

This post has been edited by ressurectionx: Apr 30 2010, 04:57 AM
Logged

ressurectionx

  • Archived User
  • Hero Member
  • *
  • Posts: 2778
Xbmc Shortcut Creator
« Reply #113 on: April 30, 2010, 12:13:00 AM »

Wow.... this works great now that I got it working.

Only question is, will this work on Windows 7?   I'm trying to get somebody else to use it and test that it works and they can follow the instructions to alter directories, but it keeps telling them that it doesn't understand the command "java" even though I had him install java and reboot.

That's the only answer he could come up with as to why it doesn't recognize java.



EDIT:  Nevermind.... nytmar3 figured it out:  INSTRUCTIONS TO FIX JAVA IN WINDOWS 7 AND VISTA




So..... no questions at this point.  Everything is working PERFECT!   Great job man.  

Thanks,
~Rx

Edit by BB: Attempted & failed to fix the broken hyperlink. Seems the forum software just doesn't like the apostraphes.

This post has been edited by Bomb Bloke: Apr 30 2010, 11:18 AM
Logged

ressurectionx

  • Archived User
  • Hero Member
  • *
  • Posts: 2778
Xbmc Shortcut Creator
« Reply #114 on: April 30, 2010, 02:49:00 AM »

Yes.  smile.gif

Everything works perfect for all .CUT files for all XPORT emulators.  I've verified them and everything is good.   Even when you launch a PSX game that uses a different core, it will work properly.



Now I need to figure out N64 and CoinOPS.  I also need to get 3D boxart done for N64 since we never did that.  I forgot about the .CUT files, even though the emu doesn't display anything really.



Does anybody know if FBL 1.3 supports command line launching?
Logged

ressurectionx

  • Archived User
  • Hero Member
  • *
  • Posts: 2778
Xbmc Shortcut Creator
« Reply #115 on: April 30, 2010, 04:19:00 AM »

Okay bud.... one more thing and it looks like we're home free on this finally.....


FBL 1.3 does indeed have .CUT file support.... unfortunately, it is in a slightly different format for some reason.



According to the readme:

QUOTE
-Command line support. The first parameter should be the path to the
emulator (E:\games\Final Burn Legends\default.xbe etc...). The second
parameter should be ONLY the name of the rom without the extension (i.e.
sf2). Not sf2.zip. Not E:\games\Final Burn Legends\roms\sf2.zip.


If you've got a good idea about how to do that, could you send it to me?  Don't replace the old .CUT creator or link above as it's basically perfect.  I just need a slightly different version for FBL on the side that doesn't put ".zip" or ".iso" or whatever after the file name.

THANKS!!!!
~Rx
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Xbmc Shortcut Creator
« Reply #116 on: April 30, 2010, 04:22:00 AM »

Regarding the "can't find Java" thing, it has to do with 64bit versions of Windows - they like to store all their apps in different folders depending on whether it decides they're 32 or 64bit. Somehow this messes up the path to Java. Not sure whether it's Microsoft's or Sun's fault - it's either or both...

Regarding the FBL paths, just tell the CUT creator to use ROM-path-type "C". Should work fine like that.

This post has been edited by Bomb Bloke: Apr 30 2010, 11:24 AM
Logged

ressurectionx

  • Archived User
  • Hero Member
  • *
  • Posts: 2778
Xbmc Shortcut Creator
« Reply #117 on: April 30, 2010, 04:29:00 AM »

Cool and CRAP at the same time.... (IMG:style_emoticons/default/smile.gif)




Cool: That totally worked on the .CUT files.

Crap:  The game label for every game is the zipfile name, which really sucks.  Can you think of a way to make Arcade games have the full names, based off of any ini files or whatever from CoinOPS and FBL?






EDIT:  If you don't have these files and it would make it easier for you, I could provide you with files with the full rom name for each system.  I figure you already have them, but thought that I could offer them up.  In fact, my Favorite's list for FBL has "fixed" names.... most of the names in that system are very undesirable for me, so I'll get them to you.

This post has been edited by ressurectionx: Apr 30 2010, 11:36 AM
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Xbmc Shortcut Creator
« Reply #118 on: April 30, 2010, 04:46:00 AM »

The only question would be which such game index file to use.

The closest thing I have to hand is "gamelist.txt" (included with FBA-XXX Pro v1.28), which seems perfect for the job - but I don't know if that would be suitable for use with FBL (which I don't currently have a copy of). If you have a different file in mind, pastebin it or something and I'll take a look.
Logged

ressurectionx

  • Archived User
  • Hero Member
  • *
  • Posts: 2778
Xbmc Shortcut Creator
« Reply #119 on: April 30, 2010, 04:51:00 AM »

I'll post it sometime tonight in the PM (US), hopefully.

I know exactly which file to send you on FBL, but I'll have to investigate CoinOPS.  



I'm a little burnt out at the moment.  Going to need a nice long sleep soon.   I'll get it to you tomorrow and we'll figure it out. smile.gif
Logged
Pages: 1 ... 6 7 [8] 9 10 ... 12