Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - tschak909

Pages: 1 ... 7 8 [9] 10 11 12
121
Developers / Filter Buttons in Show File List
« on: February 08, 2008, 09:42:08 am »
very odd, would like some extra pairs of eyes... I've not managed to get my games file list to show any entries in the Sort, Genre, Source, or More filter options when selecting a file. I have added stuff to all the MediaType and AttributeType tables all over pluto_media, yet, can't seem to find the issue as to why they aren't showing for my media type. I am using media type 29, and the appropriate code for this, seems to be in MediaList_Grids.cpp, under Media_Plugin...but what am I missing? ... anyone got an idea?

-Thom

122
Users / COMING SOON: MAME Media Type
« on: January 30, 2008, 07:39:02 am »
Coming soon (no determinate date yet, I am working on this in my spare time), a new media type for LinuxMCE: MAME.

What does it do?


Simply? it allows for you to play games from MAME inside LinuxMCE by copying them to the games folder in your public or private user directories, and then selecting Games from your Media scenario menu.

So, are there screenies, or what?

Why, yes. I hope these are self explanatory. I used the game 10 Yard Fight as an example. Yes, it also works under UI1 just fine, I tested it.

http://www.localeconcept.com/pub/scratch/games/game_playing_with_menu.png
http://www.localeconcept.com/pub/scratch/games/game_playing_with_media.png
http://www.localeconcept.com/pub/scratch/games/game_playing_on_floorplan.png
http://www.localeconcept.com/pub/scratch/games/from_orbiter.png


Why are you doing this?


Honestly? I have an X-Arcade Tank Stick that has been collecting dust in the corner of my main room for quite some time now, since I moved over from a MythTV-only installation almost a year ago.

This is dumb, why don't you just compile MythGame and bolt it on?

Because quite frankly, I like things that are nicely integrated. Making games a first class media type inside LinuxMCE allows for some really cool possibilities that the other game emulator front-ends are not capable of doing, and it allows me to select games using the same stream-lined UI for selecting audio and video.

What can it currently do?


It can currently launch a game from the games list, they can be serially selected like audio or video into playlists, which can then be saved and shown in the Playlists. There is no joystick configuration, so the /root/.mame/mame.ini file currently must be modified to switch on joysticks, etc..

What's Left to do?

Well gee, if it can do that? why don't you just release it?

Heh, it barely does this. There is still so much to _do_.

* finish process management, thread monitoring mame process which will fire CMD_Stop_Media() when mame dies.
* Event Processing
* Proper media identification, so that game snapshots will be placed in the thumbnails, and game titles will properly be identified.
* Proper Attribute creation, so that typical media filtering can be done. (i.e. filtering by game type, manufacturer, year, etc.)
* new Orbiter UI made in Designer, I am currently using the remotes for Stored Video, this is not exactly a correct fit.
* CMD_Move_Media implemented so that games can be moved from one media director to another via floor plan.
* CMD_Leave_Room/CMD_Enter_Room implemented so that Follow Me will work correctly.
* CMD_Get_Video_Frame - so that I can get screen captures to use both in Thumbnail and for using the video display view on the orbiters normally used to display DVD Menus
* CMD_Simulate_Mouse_Click/Keypress - Need this for a LOT of reasons, too many to list.
* Create DCE devices for Joysticks and Gamepads, so that they can be used to control BOTH LinuxMCE and the MAME plugin. This is especially important for the features described in the REALLY HARD SECTION below.
* Create package definitions, so that they can be included in the LinuxMCE build process..the end result is to have something that can be enabled in the Install Additional Software screen in the Setup Wizard.

In addition, there are some HARD ones that I will ATTEMPT to implement, I have no idea if they will actually WORK in practice... Hell, this whole THING is a proof of concept exercise!, Particularly:

* Implementing the ability to stream a game to multiple media directors, replicating DCE joystick events across them, assigning them to player slots as needed, so that you can play the same game in different rooms in a house by assigning it on the floorplan.
* Implementing transport control, so that if you use the rewind/fast forward, it will pause the game and rewind a captured stream of the game that you can pause and fast forward through (yes, I've contemplated every single possible question you may ask to that. Please just let me try to get the basic transport control implemented!)

What version of MAME are you basing this on?

I am using SDLMAME 0.122u7, currently, it is currently not modified, and god I hope it can stay that way!

When are you gonna release this sucker?

When I think it's ready. I am under no obligations of any kind to release this. I am doing this as my primer into creating advanced Pluto/LinuxMCE functionality.

Are you doing more media types?

Hopefully, but let me get this one done first! Are you impatient? either (a) help me code it, or (b) ask me for my code, and use it as a pattern to create your own set of wrapper devices.

What version will this run under?

I am developing it for 0710 and above. I am developing this currently on 0710 beta 3, using the SVN sources from the primary LinuxMCE trunk.

Can I get the code?

Yes, PM me and I will give you a tarball with the current code. When it is more ready, I will ask for permission to shift it into the development tree. You will need a development environment to unpack it into and compile. There is also a lengthy set of database additions which must be made in order for it to work. A Scenario also must be created in the web admin, the games directory created, and roms put into it in zip format.

Anything else?

Not at the moment, I will paste more as time progresses. I do have a development thread over here in the Developers forum. This is just an announcement thread.

http://forum.linuxmce.org/index.php?topic=3433.0 --- start of the thread.

Out for now, fellas.

-Thom

123
Developers / people who have made a media plugin, ANSWER!
« on: December 16, 2007, 09:50:36 pm »
Okay,

I am at the end of my @#)$#@$)#@ rope.

I've even gone as far as trying to track down the guy who wrote the Xine Player/Plugin for Pluto.....message delivery failure...typical pluto

I AM PISSED!

CAN ANYONE HELP ME WITH A FEW VERY FUNDAMENTAL YET NOT INTUITIVE ASPECTS OF THE MEDIA PLUGIN?!?!?!

I'm to the point where i'm ready to start throwing chairs.

-Thom

124
Developers / MAME Plugin Progress Thread
« on: December 10, 2007, 07:47:59 am »
I am starting this thread to detail my progress with the MAME Plugin/Player pair that I am coding for LinuxMCE (and perhaps PlutoHome too).

I have made the first bits of necessary database changes in order to make the File list and UpdateMedia daemon start to index and list the files inside the games/ directory in the LinuxMCE structure.

I currently have to manually set attributes for now, but it does index the filename as title currently, and I am able to add pictures, and it does display on a file list on all of my orbiters.

I have assigned a MediaType of 8 (because it was available...) I hope I haven't trampled on anyone's toes for this. I will need to figure out how to use sql2cpp effectively to get the proper media ID (because I know under sqlcvs the PK_ fields will most likely change, I can't assume that they will be constant!).

There is no plugin/player combination yet, so while the new games scenario, file list, and single file/attribute views work properly, it doesn't do anything after that except say, "I have no devices in this entertainment area capable of playing this file!", and the DCERouter file currently gives the message:

Code: [Select]

08      12/10/07 1:20:00.560            Received Message from 80 (Windows XP PC/tablet (Horiz) / Bedroom (Master) #1) to 10 (Media Plug-in / Bedroom (Master) #1), type 1 id 43 Command:MH Play Media, retry none, parameters: <0x727a8b90>
08      12/10/07 1:20:00.560              Parameter 2(PK_Device): 0 <0x727a8b90>
08      12/10/07 1:20:00.560              Parameter 13(Filename): !F50880 <0x727a8b90>
08      12/10/07 1:20:00.560              Parameter 29(PK_MediaType): 0 <0x727a8b90>
08      12/10/07 1:20:00.560              Parameter 44(PK_DeviceTemplate): 0 <0x727a8b90>
08      12/10/07 1:20:00.560              Parameter 45(PK_EntertainArea): 1 <0x727a8b90>
08      12/10/07 1:20:00.560              Parameter 116(Resume): 0 <0x727a8b90>
08      12/10/07 1:20:00.560              Parameter 117(Repeat): 0 <0x727a8b90>
05      12/10/07 1:20:00.561            Play media type 8 in entertain area 1 but nothing to handle it <0x917e6b90>
01      12/10/07 1:20:00.561            Couldn't find any media handlers for type 8 <0x917e6b90>


so, at least the messages are being routed...

I need to finish putting together a stable dev environment now, so I can work on the plugin/player pairs.

I do figure out from the DCERouter logs, that I will need the Plugin AND the Player... the DCE router sends messages to the Plugin first, to determine how to route things... I suspected this, but I would like more information as to why it is separated in this manner...the source code is a little bit foggy in this area, and I am using Xine_Player/Plugin as a reference.... Does anyone know what is going on?

But for now, I am pasting the following screenshots:

http://www.localeconcept.com/pub/scratch/games/media_scenarios.png
http://www.localeconcept.com/pub/scratch/games/file_list.png
http://www.localeconcept.com/pub/scratch/games/single_game.png

more later!  ;D ;D ;D ;D ;D

-Thom

125
Developers / Trying to add a new media type for games
« on: December 09, 2007, 09:57:43 pm »
I am so close on this, but I seem to fall a bit short....

(all nouns in this post refer to database tables in pluto_main and pluto_media)

I have added a new mediatype.. 8.. for stored games into MediaType...this allowed UpdateMedia to properly scan and find my mame roms, and they are now in the database.

I have added an entry into MediaType_DesignObj to map design objects and file list screens to the new media type, in the end all referencing the FK_MediaType of 8. I am using the designobjs and screens from the Stored Video for now, until I make new DesignObj's in HADesigner...

I have added necessary bits to the MediaSubType and its associated join tables....

but when I try to send a command "Show File List" to the on-screen orbiter, the file list does not appear, and I get the following from the log:

01      12/09/07 15:26:01.160           No way to show file list for 8 <0xb4cb3b90>


help? anybody? what am I missing?

-Thom

126
Users / MASSIVE HARDWARE ALERT - BEWARE SEAGATE 750GB DRIVES!
« on: November 28, 2007, 02:13:37 pm »
Stay away from these things like the plague!

I just had a unit which was storing archived movies off the RAID fail on me after 3 and a half weeks of use! Similar stories all over the net, extremely high failure rate! DO NOT TOUCH!

-Thom

127
Developers / Building New Media Player Device - Bizarre Compile Snafu
« on: November 25, 2007, 05:52:19 am »
After filling in the appropriate data in the web admin area, and running DCEGen to generate an appropriate set of files, I did a dependency make, and did a make bin, and got back the following spewage from GCC, I haven't injected any code into it yet... it should compile as is, right?

-Thom

Code: [Select]

dcerouter_41349:/home/src/lmce/src/MAME_Player# make bin
g++ -c -I.. -I../DCE -I/usr/include/mysql   -Wall -fPIC -ggdb3  Main.cpp -o Main.o
../Gen_Devices/MAME_PlayerBase.h: In constructor ‘DCE::MAME_Player_Event::MAME_Player_Event(int, std::string, bool)’:
../Gen_Devices/MAME_PlayerBase.h:35: error: ‘DEVICETEMPLATE_MAME_Player_CONST’ was not declared in this scope
../Gen_Devices/MAME_PlayerBase.h: In member function ‘virtual int DCE::MAME_Player_Data::GetPK_DeviceList()’:
../Gen_Devices/MAME_PlayerBase.h:72: error: ‘DEVICETEMPLATE_MAME_Player_CONST’ was not declared in this scope
../Gen_Devices/MAME_PlayerBase.h: In member function ‘virtual bool DCE::MAME_Player_Command::GetConfig()’:
../Gen_Devices/MAME_PlayerBase.h:167: error: ‘DEVICETEMPLATE_MAME_Player_CONST’ was not declared in this scope
../Gen_Devices/MAME_PlayerBase.h: In member function ‘virtual int DCE::MAME_Player_Command::PK_DeviceTemplate_get()’:
../Gen_Devices/MAME_PlayerBase.h:181: error: ‘DEVICETEMPLATE_MAME_Player_CONST’ was not declared in this scope
../Gen_Devices/MAME_PlayerBase.h: In static member function ‘static int DCE::MAME_Player_Command::PK_DeviceTemplate_get_static()’:
../Gen_Devices/MAME_PlayerBase.h:182: error: ‘DEVICETEMPLATE_MAME_Player_CONST’ was not declared in this scope
make: *** [Main.o] Error 1


128
Developers / HADesigner: Has anyone successfully made it work?
« on: November 18, 2007, 03:18:16 am »
Sorry, I accidentally posted in Users... fingers outrunning brain it seems....

but, basically I have managed to successfully create a DSN To my LinuxMCE database on my core....and I tried to run HADesigner.. It connects...and starts reading tables..but it errors out saying it can't find the table Criteria_D. I am assuming this is a table with schema pointers to be used inside HA Designer...

has anyone been able to use HA Designer?

Has anyone run into this?

-Thom

129
Users / HADesigner: Has anyone successfully made it work?
« on: November 18, 2007, 03:11:39 am »
I have managed to successfully make a connection to HADesigner by creating a system DSN to my mysql database....

however I get an error that it can't find the table Criteria_D ... has anyone had this problem? and knows how to get past it?

-Thom

130
Developers / Anyone have experience with a new Media Plugin?
« on: November 15, 2007, 05:25:38 am »
I am currently researching into making a new media player/plugin pair, and would like to know if anyone here has made one? There is almost no documentation on this part of the system....

-Thom

131
Users / Mobile Orbiter Will not Set House Mode
« on: November 15, 2007, 04:07:31 am »
Oddly enough, when I am in offline mode (outside of house), I can't set the house mode, although I can trigger house scenarios just fine. I see the requests getting to the web server, and I see "House Mode Change Successful" on the mobile browser, but the house mode doesn't change...it's very strange...what could be causing this?

-Thom

132
Users / utility to strip the ID3 tags off oggs for using elsewhere?
« on: November 12, 2007, 06:52:30 am »
Has anyone attempted this yet? I'm THIS close to throwing something together that can rip the ID3 tags off of a set of oggs (and store them elsewhere) so that I can bring them into my software to put on my ipod...

-Thom

133
Is there a suitable replacement for these displays which were discontinued this year?

I need something with RS-232, with varying sizes from 26" to 65" ... I don't care if I have to write RS-232 for them.. but would be nice if they did work with the existing Acquos GSD template.... any ideas on suitable displays?

-Thom

134
Users / upnp madness.
« on: November 06, 2007, 04:13:49 am »
I'm having a situation where upnp file entries from my mythtv recordings keep popping up like crazy. has anyone been able to permanently resolve this issue? I am getting very tired of removing the database entries when they crop up. can I just lobotomise djmount? or is it being used for other purposes?

-Thom

135
I am trying to create a media scenario as a test for my alarm.

Previously, I had used LiveTV to create a scenario that did the following:

* Tune the Cable box (DCT6412) to channel 47 (Weather Channel)
* MH Media Play media type 11 (LiveTV)

This has worked well, but I wanted to try the same thing using MythTV's functionality...

So,

I created a new scenario basically:

* MH Media Play Device 24, for LiveTV. (Triggering the MythTV Player)
* Send command to MythTV Player to Tune to Channel 47

However, while the MH Media Play works correctly, the Tune to Channel command does not work at all... I have tried sending this command from the Devices menu, and nothing happens...very odd... However... I CAN send individual digits, and do ENTER/GO from the Devices menu, and the digits and enter register...

however, when i put these into the scenario, they do not work.. probably because it is taking too long for mythtv to start up.. UGGHHH..

Am I doing something wrong? or is this a bug?

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