2008-07-14, 21:51
To be fair I think I might give it ago, just making it pretty will be the problem, anyways thanks once again, I knew i wasn't wrong.
Quote:just making it pretty will be the problem
rwparris2 Wrote:if you make it a plugin instead of a script, that won't be a problem
hotzenpl0tz Wrote:You can make python scripts and pyton plugins in xbmc - scripts need their own window and layout etc. while python plugins sort of use the xbmc gui to display - in your case - the rom listing you hand over with your plugin. Most of the streaming plugins found in the python section of the forum use this principle, they never had to write code for a gui, they would more or less just pass xbmc a list of video links and xbmc lists those like it would list movies or music.
Quote:...was going to look into writing plugins for launching emulators.Leo2 has written a plugin aptly named "Launcher" that not only launches ROMs from within XBMC, but any other executable you might have. Oh yeah, it also works on all platforms. Check it out here:
iRoNBiLL Wrote:It would be much faster and simpler to just get the bigger hard drive and rename your files down to something "less lengthy". I don't have the FATX problem your talking about with my ROMs, so I'm confused why it wouldn't be working for you.
The idea you have is interesting, but very time consuming, as you seem to be describing a customized emulator. I'll be shocked if you find someone up to creating a new emulator. Try contacting programmers in readme.txt files for Xbox emulators and see if they can add your beloved "Samba" support to an existing emulator. This would be more likely to happen.
Quote:<shortcut>
<path>f:\emulators\NeoGenesis\default.xbe</path>
<label>Sonic the Hedgehod</label>
<thumb>f:\thumbs\sonic.png</thumb>
<custom>
<game>f:\emulators\NeoGenesis\sgenroms\Sonic the Hedgehog.smd</game>
</custom>
</shortcut>
Quote:Q:\Scriptname\temp
Quote:Q:\emulators\NeoGenesis\sgenroms\
TrentLane Wrote:Good Day All,
I have asked about this before (well if it was possible) and I have been told yes. I have even been told it is easy to do. I have no scripting / coding knowledge and attempted but failed miserably. I suppose this is due to (other than the concept of the one script) I don’t have any interest in python.
Anyways I thought I might request it on the off chance someone would be kind enough / up to the challenge.
My concept was an emulator script that worked with samba. Obviously the emulators would be local (on the Xbox) but the roms would be held on your computer. (Yes I appreciate you could just install a bigger HD in your Xbox and store them there but then we come into issues with FATX and file name length.)
The idea would be you searched through your games/roms folder over the network and when you see a game you want to play the script would copy this over the network and store it to a temp folder on your Xbox. Once the transfer was completed the script would run a command line for the emulator to run that game.
As not all emulators on the Xbox support the feature where games could be run from a command, what I thought would be best is to still have the samba search feature but instead of running it straight off there would be an 'install game' option that would transfer the game to the relevant folder (relevant to the emulator, ie NES would be something like Q:\Apps\Emulation\Nes\InstalledGames\). Then the emulator would then be ran once the file has finished being transferred. You would then select the game manually from within the emulators GUI. This feature could also be an alternate option for even when running the game directly though a command is available, as sometimes your samba shares aren’t always available. (May be a share off a USB drive you don’t always use)
Just some further notes: (sorry if these are obvious they’re just my “two cents”)
- Where the file is transferred to a temp folder, this could be generic throughout.
By this I mean regardless of the emulator being used they could all be sent to something like Q:\TempGames. (Unless this causes a problem to run them.)
- There may be issues with save states / screen shots but I’d presume that would have more to do with the actual emulators themselves.
- Games could be renamed to game.extention to resolve any FATX file name length problems (also why I would think it would be best to stick to a direct folder on a drive letter, as I believe the directory name affects the name length.
- Would it be hard to implement an image per game, by using .tbn files?
Well that’s about it from me. Sorry for any ignorance or misconception I have.
Anybody willing to take this challenge up or perhaps be willing to say “You’re an idiot, this is simple. Just use this bit of code here and there and your done”.