[RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291) +---- Thread: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs (/showthread.php?tid=70115) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
|
- Enverex - 2011-04-16 Ok, manually copying my own compiled python2.6 lib fixed the other scripts, but not this one, error still remains: 19:14:05 T:140033868510976 M:3489304576 NOTICE: -->Python Interpreter Initialized<-- 19:14:05 T:140033868510976 M:3489153024 ERROR: Error Type: <type 'exceptions.IOError'> 19:14:05 T:140033868510976 M:3489153024 ERROR: Error Contents: (10, 'No child processes') 19:14:05 T:140033868510976 M:3489153024 ERROR: Traceback (most recent call last): File "/home/htpc/.xbmc/addons/script.games.rom.collection.browser/default.py", line 42, in <module> env2 = platform.machine() File "/usr/lib/python2.6/platform.py", line 1332, in machine return uname()[4] File "/usr/lib/python2.6/platform.py", line 1262, in uname processor = _syscmd_uname('-p','') File "/usr/lib/python2.6/platform.py", line 1019, in _syscmd_uname rc = f.close() IOError: (10, 'No child processes') This is XBMC 10.1 btw. - Fyzzle - 2011-04-16 I hope this is a quick question, but is the config.xml auto generated? Or do i have to create it myself? I have already imported a bunch of collections but need to manually add some emulator launch switches. I'm using ubuntu 10.10 if that matters. Edit: I did a search on the whole volume and can't find a config.xml, but everything is working. - Ferdnand - 2011-04-16 Hello, I have set up my rom collection to tell the program where my mame.exe is and my roms folder, but when i go and look for them they are not listed.. any help would be appreciated.... Little Problem Using RCB in solo mode - DigiTech - 2011-04-17 Im having a little trouble making using a emulator in solo mode, RCB exits XBMC fine then i can play the emulated rom but when i decide to go back to RCB menu i have an XBMC error and cant continue selecting roms in RCB as normal. Next is the error log from XBMC in the last part when it says launch emu is when XBMC gives the error doesnt letting me go back as normal. What could it be? Thanks! Quote:16:22:58 T:3900 M:1866096640 NOTICE: RCB_INFO: End showGameInfo - DigiTech - 2011-04-17 Ferdnand Wrote:Hello, I have set up my rom collection to tell the program where my mame.exe is and my roms folder, but when i go and look for them they are not listed.. any help would be appreciated.... Maybe this can help you? Digitech Wrote:Like thecookieaddict said just add the first letter of the drive you want to use internal or external drive path (C:,E:,D;etc) in the files manager then in RCB you'll be able to see that letter and then specify your folders route. TheCookieAddict Wrote:Originally Posted by TheCookieAddict View Post - TheCookieAddict - 2011-04-17 malte Wrote:Did you check if there was a boxfont on the scraped site? Just to find out if it is an error in RCBs scraper or if it is just lacking content at mobygames. I actually checked and they're not on the site, which is really why I don't wanna be dependent on these scrapers for the artwork of my ROMS, just use it for game matching but I'll get to that in a bit. malte Wrote:Did you add a new file or changed an existing one? If you add new files you also have to do a game import to grab the new files. If you changed an existing file it may be that you have to delete XBMCs image cache to make the change happen. I only changed existing artwork that's in the artwork folder you have to select during adding of a ROM collection, so for instance I used another image as boxfront but I kept the name of the image the same because I knew otherwise it wouldn't work. I haven't tried deleting XBMCs image cache, but somehow some ROMs have updated artwork, very weird. malte Wrote:Again, I will improve this scenario in one of the next versions. I think there will be an option to skip scraping game info and just check for new images available on your local HD. I think adding such an option would be fantastic for a lot of users messing around with the artwork, like me, because then you'd only have to do the adding of a ROM collection once, and make sure all the game matching is done correctly by RCB and change the artwork manually (which I was gonna do anyway). The only thing I'd need then is the actual artwork, because I've been searching around for quite a while now, and I haven't found any complete SNES (or any other console for that matter) artwork sites or downloads (which I think is odd as more people then me must have wanted a complete artwork collection). Again, if someone DOES know any sites or complete downloads with SNES artwork be sure to let me know, I would appreciate all the help I can get. oxyris Wrote:Thanks to you both! No problem man! Ferdnand Wrote:Hello, I have set up my rom collection to tell the program where my mame.exe is and my roms folder, but when i go and look for them they are not listed.. any help would be appreciated.... Sounds kinda like what I had, is your ROM folder on the same PC as XBMC? Because I had them on another PC which meant I had to some stuff that's explained in this post. Let me know if it works, I hated having that problem but luckily now it's solved, now I just need all the matching artwork :confused2: - malte - 2011-04-17 @Enverex: I will have to digg deeper into this. As a work around you can try to replace this code in default.py (line 39-44): Code: # Check to see if using a 64bit version of Linux Code: env = "Linux" Fyzzle Wrote:I hope this is a quick question, but is the config.xml auto generated? Or do i have to create it myself? I have already imported a bunch of collections but need to manually add some emulator launch switches.1. You can edit Emulator launch switches with the UI since version 0.8.3 (check this wiki page) 2. You will find the config.xml in "~/.xbmc/userdata/addon_data/script.games.rom.collection.browser". Note that ".xbmc" is hidden by default and may not be shown in your file browser and found during a search. Ferdnand Wrote:Hello, I have set up my rom collection to tell the program where my mame.exe is and my roms folder, but when i go and look for them they are not listed.. any help would be appreciated....You already walked through the wizard and selected the paths or does the wizard not offer the paths that you needed? If it is the first option, please post your config.xml here. If it is the second option then you might follow DigiTechs suggestion. DigiTech Wrote:Im having a little trouble making using a emulator in solo mode, RCB exits XBMC fine then i can play the emulated rom but when i decide to go back to RCB menu i have an XBMC error and cant continue selecting roms in RCB as normal.It does not launch XBMC or it does not launch RCB? If the log that you attached is from xbmc.log then it seems that XBMC is not starting after you close the emulator. Did you check the command at the end of "applaunch.bat"? You must be able to start XBMC with this command. What you can try to debug this situation: 1. Open cmd.exe in Windows 2. Launch XBMC from the cmd window (with the command from applaunch.bat) 3. Start RCB and launch the emulator 4. Quit the emulator --> If there is an error restarting XBMC, you should see the error message in the cmd window. TheCookieAddict Wrote:Again, if someone DOES know any sites or complete downloads with SNES artwork be sure to let me know, I would appreciate all the help I can getNot sure if the links in this post are still valid: link. And I don't know how complete/accurate the sets are. - DigiTech - 2011-04-17 malte Wrote:It does not launch XBMC or it does not launch RCB? If the log that you attached is from xbmc.log then it seems that XBMC is not starting after you close the emulator. It seems it doesnt launch XBMC again, in cmd it dont send an error message just the one in the ScreenCap that i attached? http://img688.imageshack.us/i/soloxbmc.png/ - malte - 2011-04-17 @DigiTech: Seems to be the same problem that Schorsches had some time ago: link. Maybe his workaround helps you too? - DigiTech - 2011-04-17 malte Wrote:@DigiTech: Thanks to Schorsches and you Malte, had to edit applaunch.bat and add -explorer- before the XBMC path, explorer "C:\Program Files (x86)\XBMC\XBMC.exe" Then everything is ok, XBMC launches then it goes to RCB. Awesome! - oxyris - 2011-04-17 DigiTech Wrote:Like thecookieaddict said just add the first letter of the drive you want to use internal or external drive path (C:,E:,D;etc) in the files manager then in RCB you'll be able to see that letter and then specify your folders route. Still can't get it working. I added the paths C:\ and E:\ to the file manager (is this what you meant?) in the first screenshot. When it comes to selecting the emulator I'm not able to choose anything besides my DVD drive G:\ as in the second screenshot. 1st: http://img812.imageshack.us/i/scrn1y.png/ 2nd: http://img849.imageshack.us/i/scrn2k.png/ - malte - 2011-04-17 @oxyris: Try to remove the disc from your dvd-drive and restart XBMC. This should work. - malte - 2011-04-17 New test version available: 0.8.5 Note: This is an intermediate release. I am currently working on some refactoring of the game import and launching code and restructuring parts of the configuration. While doing this, I added lots of little improvements to the functionality and also some new features that I had in mind for a long time. Now I would like to release it in this early state to get some feedback before I start to polish everything. But if you want to test this version you have to make some changes to config.xml by hand (final version will do this automatically). General:
Changes in detail: useEmuSolo per Rom Collection On most small machines you will only need some of the more ressource intensive emulators to be launched in solo mode (like psX). All others can be launched side by side. Thats why I decided to move this option from global Addon settings to the RomCollection entry in config.xml. You have to add this line to every Rom Collection that should be launched in solo mode (default is False): Code: <useEmuSolo>True</useEmuSolo> direct launching of savestates Some emulators (I tested with zsnes(w) and (Win)uae) support launching savestates from command line. RCB is now able to detect the saved files and directly launch into the saved version of your game (try it out, its really cool). How it works: There are two new parameters available in config.xml: "saveStatePath" and "saveStateParams". With "savestatePath" you specify where the emulator saves its statefiles. If RCB finds a statefile for the game that you want to launch, it will use the "saveStateParams" to launch the game. Example zsnes: Zsnes saves its statefiles at the path that you specify in zsnes configuration ("SRAMPath" in zsnes*.cfg or Config->Paths->Saves in the UI). While playing the game you can select a save slot in zsnes with "F3" (there are 10 slots available per game) and save to this slot with "F2". The statefiles are named like the romfile with an extension ".zs*" (zst, zs1, zs2, ...). You can launch a saved state with the command line option "-zs #" (where # is the number of the slot (0-9)). The config in RCB looks like this: Code: <RomCollection id="1" name="SNES"> Example (Win)uae: In uae you can select the path and the name of the statefile every time you save the state. You can directly launch the file with the option -statefile=pathtofile. In RCB this looks like this: Code: <RomCollection id="2" name="Amiga"> Edit Game Command "Edit Game Command" is a new option in context menu. It will launch the XBMC keyboard and the text that you enter will be saved with the selected game in db. This text will be used to replace the string %GAMECMD% in "emuParams" or "saveStateParams" before you launch the game. E.g. lots of Amiga games need special parameters for joyports etc. My uae config looks like this: Code: <emulatorParams>{-%I% "%ROM%"} -s use_gui=no %GAMECMD%</emulatorParams> This is not very handy atm and I only use it for games that I play quite frequently. But I think this is a start for having per game configurations. Later on I will think about import/export options for these commands etc. new placholders in launchEmu %ROMFILE% - will be replaced with the rom filename without path (MyGame.smc) %ROMNAME% - will be replaced with the rom filename without path and extension (MyGame) %GAME% - will be replaced with the name of the game that you see while browsing games in RCB %ASKNUM% - select numbers from 0-9 (specially build for zsnes savestate handling but may be useful in other scenarios - who knows) %ASKTEXT% - will launch the XBMC keyboard and then replaced with the text that you enter (useful for playing around with special settings like selecting graphic or sound drivers etc. - just edit the game command on every single game launch) regular expressions in diskPrefix configuration This is useful if you have rom names like "MyGame (Disk 1).zip", "MyGame (Disk 2).zip" and you want RCB to detect that it is a multi rom game (e.g. to pass all files to uae on command line). You can now use a regular expression to tell RCB which part of the rom filename should be detected as disk prefix. For the above example the disk prefix would look like this in config.xml: Code: <diskPrefix>\(Disk .*\)</diskPrefix> Restructuring config.xml Some scraper related properties have been moved from "RomCollection" entry in config.xml to "Scrapers/Site". If you need one of these properties in your scenario, you have to move them manually to the right place. old config: Code: <config> new config: Code: <config> Ok, thanks for reading all this. As you may have seen most of these features are quite special and not all users will benefit from it. But some of them really made my XBMC gaming experience a lot better. I hope some of you like to try it out and report any issues and suggestions here. Have fun, malte - oxyris - 2011-04-17 malte Wrote:@oxyris: Try to remove the disc from your dvd-drive and restart XBMC. This should work. Cool, that worked! Also, what is the recommended N64 emulator to use with RCB? I've been using project64 on my laptop but it doesn't seem to have a commandline? edit: Is there some option in RCB to purge the game data base and the RCB settings (i.e. remove a ROM collection)? - benlen10 - 2011-04-18 I am enjoying RCB a lot but I just have a few questions about it. 1. Is there a way to view images like boxback, screenshot, cartridge in fullscreen in the info mode? 2. Is there a way to scrape extra info from sites like mobygames like reviews, rating, advertising, players, etc...? 3. Is RCB compatible with night purity? Thanks for your time! |