[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
|
- DigiTech - 2011-10-18 Knut Anderson Wrote:Hello Malte, Maybe i can help you a little, with those shorter names i was able to scrape all my neo geo roms but instead of adding a collection of neo geo games i added those roms to my MAME collection everything went ok, maybe the mame scraper recognizes the roms with the original short names, btw all my neo geo-mame roms has short names TMNT.zip TMNTW2.zip etc etc, maybe this tip can help you. - malte - 2011-10-18 Knut Anderson Wrote:Hello Malte,DigiTech is right. You should use MAME as platform and MAWS as scraper. Maybe I should remove Neo Geo from the platform list or directly link it with the MAME scraper. This should reduce confusion. Domina Wrote:About the savestate, the idea is it to make to use easier and more functional with this shortcut, because by not need press "c", edit rom collection and go to disable the configuration RCB savestate all of the time who want to not use the savestate except for one game.Yes, I could add a general option to turn savesate on/off. But configuration of savestate params still has to be done the way it is today. Domina Wrote:One question, rom collection, has its own interface?Yes and no. RCB uses skin xml files and skinning structure as all other skins in XBMC. The difference between Advanced Launcher and RCB is that RCB is a script and ALA is a plugin. This means ALA uses the default views that the skins provide for their (I think) Program section. Every skin is able to launch ALA out of the box without changing one line of code. The skin just have to add a little more code to display things like game description, fanart, etc (although it will work without). RCB is a script and needs to provide its own views for everything. So if a skin wants to provide support for RCB it needs to provide the complete xml file from scratch. Thats why a lot of skinners don't add support for RCB because it is much more work than adding some lines for ALA. Additionally RCB has some features included that go away from XBMC standards. On the other hand RCB is much more flexible with this mechanism. All things like game info view, configuration dialogs etc. are not possible in a plugin. Here is a little guide how to start skinning RCB. It is valid for version 0.8.7 (the current in repo) but a little bit outdated for 0.9.1. The main features of 0.9.x are skinning related so I will update the guide as soon as 0.9.x is finished. Btw, in next version you will be able to select the skin independent of your XBMC skin. So you could use RCBs Night or Simplicity skin even if your default skin is Aeon MQ3. Maybe one of these is better for you than my default Confluence skin. - Domina - 2011-10-18 malte Wrote:Yes, I could add a general option to turn savesate on/off. But configuration of savestate params still has to be done the way it is today. Thanks, that would be excellent Quote:Yes and no. RCB uses skin xml files and skinning structure as all other skins in XBMC. The difference between Advanced Launcher and RCB is that RCB is a script and ALA is a plugin. This means ALA uses the default views that the skins provide for their (I think) Program section. Every skin is able to launch ALA out of the box without changing one line of code. The skin just have to add a little more code to display things like game description, fanart, etc (although it will work without). RCB is a script and needs to provide its own views for everything. So if a skin wants to provide support for RCB it needs to provide the complete xml file from scratch. Thats why a lot of skinners don't add support for RCB because it is much more work than adding some lines for ALA. Additionally RCB has some features included that go away from XBMC standards. Interesting, I did not know the differences between script and plugin, I spent the link you gave me to him. The skin selector would be cool too. Thanks again - malte - 2011-10-18 Thanks. But if he really wants to start skinning RCB he should have a look at the new 0.9.1 skin files. I converted the skin files to 720p so that it will be easier to adopt for him. Also I changed some things in the code that won't work anymore if he uses the old 0.8.7 structure. I hope that 0.9.x will be ready for repo in the near future.. If he waits some more days I may also update the guide to reflect those changes. - Angelscry - 2011-10-18 Hi, Malte here is the bunch of .nfo files generated by Advanced Launcher for N64 games: http://www.gwenael.org/tmp/ala_nfo_files.zip They are relatively simple, and I think RCB will be able to import them. If not, tell me what is going wrong. - malte - 2011-10-18 Thanks a lot. All imported fine. - Angelscry - 2011-10-18 malte Wrote:Thanks a lot. All imported fine.Do you have try to import an .nfo file with some empty tags like : Code: <genre></genre> - Domina - 2011-10-18 malte Wrote:Thanks. But if he really wants to start skinning RCB he should have a look at the new 0.9.1 skin files. I converted the skin files to 720p so that it will be easier to adopt for him. Also I changed some things in the code that won't work anymore if he uses the old 0.8.7 structure. I hope that 0.9.x will be ready for repo in the near future.. Hi malte, he said he can now see how the view modes works and has a notion of work to do already, but he wants to mess with the RCB after the final release of Aeon MQ3, because have enough work already pending for completed to 30/10/2011 and wants to do good work with rcb. There is still time! Thank you again! - malte - 2011-10-18 Angelscry Wrote:Do you have try to import an .nfo file with some empty tags like :Yes, this works also. Domina Wrote:Hi malte, he said he can now see how the view modes works and has a notion of work to do already, but he wants to mess with the RCB after the final release of Aeon MQ3, because have enough work already pending for completed to 30/10/2011 and wants to do good work with rcb.Great! Looking forward to this... - maseatx - 2011-10-19 Thanks for this browser. Is there anyway to speed up the time it takes to access the mame collection? Other emulators game sellections pop up instantly but when I try to access the mame "all" category it locks up xbmc. So i can only pull mame selections off by doing a search or breaking down the groups by genre. Is there any way to fix it so I can scroll through my full mame selection. Also my pc is runing winows7 x64 , 4gig mem ,with 2 intel 2.7ghz dual core so I think i should have enough computer to do this - malte - 2011-10-19 maseatx Wrote:Thanks for this browser.I guess it is really a performance problem due to the size of the mame collection. The way RCB and XBMC are creating the list is not optimal atm so it could take some time to display thousands of items even on a fast machine. You could check if you can improve it with changing the caching settings: link. I will also check how to improve performance in the future... - maseatx - 2011-10-19 well I deleted the collection and then let it rescrape everything from the local mame .nfo then let it sit on the mame screen over night while it was scraping and when I woke up it is scrolling through all the rom files with no lag. so i guess it just takes a long time to process even if it locks up for a minute. malte do you think it would speed things up to store .nfo files in a different folder than where the roms are just to divide the 20,000+ files up a lil bit? - malte - 2011-10-20 I don't really understand. Is it the scraping or the list loading that takes a long time? And how long does it take to load the list for how many games? If you want to know it for sure you can find the info in the log. It looks like this: Code: 07:14:36 T:4536 M:706662400 NOTICE: load games from db in 1599 ms I want to store nfo files in a different place later anyway. But I don't think that it really slows down the browsing of games. All info that is shown in the UI comes from the database, nothing is read from file system. Only artwork is read from file system but this is separated in different folders by default. - maseatx - 2011-10-20 well now there is a new problem I wanted to start from a fresh install of rcb and when i went to scrape my mame roms im getting "error: Could not creat artwork file" here is some of the log file where i think the error is taking place 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: Filetypeboxfront : 'Filetypeboxfront' 02:47:39 T:1888 NOTICE: RCB_INFO: using scraper: mobygames.com 02:47:39 T:1888 NOTICE: RCB_INFO: description file (tokens replaced): http://www.mobygames.com/search/quick?game=alpinerd&p=0 02:47:39 T:1888 NOTICE: RCB_WARNING: Encoding: utf-8 02:47:39 T:1888 NOTICE: RCB_INFO: Searching for game: alpinerd 02:47:39 T:1888 NOTICE: RCB_INFO: 4 results found. Try to find best match. 02:47:39 T:1888 NOTICE: RCB_INFO: Comparing alpinerd with Alpiner 02:47:39 T:1888 NOTICE: RCB_INFO: Try normalized names. Comparing ALPINERD with ALPINER 02:47:39 T:1888 NOTICE: RCB_INFO: Try with replaced sequel numbers. Comparing ALPINERD with ALPINER 02:47:39 T:1888 NOTICE: RCB_INFO: No result found. Try to find game by ratio. Comparing ALPINERD with ALPINER, ratio: 0.933333333333 02:47:39 T:1888 NOTICE: RCB_INFO: Comparing alpinerd with Alpine Games 02:47:39 T:1888 NOTICE: RCB_INFO: Try normalized names. Comparing ALPINERD with ALPINEGAMES 02:47:39 T:1888 NOTICE: RCB_INFO: Try with replaced sequel numbers. Comparing ALPINERD with ALPINEGAMES 02:47:39 T:1888 NOTICE: RCB_INFO: No result found. Try to find game by ratio. Comparing ALPINERD with ALPINEGAMES, ratio: 0.631578947368 02:47:39 T:1888 NOTICE: RCB_INFO: Comparing alpinerd with Alpine Racer 02:47:39 T:1888 NOTICE: RCB_INFO: Try normalized names. Comparing ALPINERD with ALPINERACER 02:47:39 T:1888 NOTICE: RCB_INFO: Try with replaced sequel numbers. Comparing ALPINERD with ALPINERACER 02:47:39 T:1888 NOTICE: RCB_INFO: No result found. Try to find game by ratio. Comparing ALPINERD with ALPINERACER, ratio: 0.736842105263 02:47:39 T:1888 NOTICE: RCB_INFO: Comparing alpinerd with Alpine Skiing! 02:47:39 T:1888 NOTICE: RCB_INFO: Try normalized names. Comparing ALPINERD with ALPINESKIING 02:47:39 T:1888 NOTICE: RCB_INFO: Try with replaced sequel numbers. Comparing ALPINERD with ALPINESKIING 02:47:39 T:1888 NOTICE: RCB_INFO: No result found. Try to find game by ratio. Comparing ALPINERD with ALPINESKIING, ratio: 0.6 02:47:39 T:1888 NOTICE: RCB_WARNING: Ratio != 1.0 and scraping option is set to "Accurate". Result will be skipped 02:47:39 T:1888 NOTICE: RCB_INFO: using url from previous scraper: 02:47:39 T:1888 NOTICE: RCB_WARNING: description file for game alpinerd could not be found. Check if this path exists: 02:47:39 T:1888 NOTICE: RCB_INFO: using url from previous scraper: 02:47:39 T:1888 NOTICE: RCB_WARNING: description file for game alpinerd could not be found. Check if this path exists: 02:47:39 T:1888 NOTICE: RCB_INFO: using url from previous scraper: 02:47:39 T:1888 NOTICE: RCB_WARNING: description file for game alpinerd could not be found. Check if this path exists: 02:47:39 T:1888 NOTICE: RCB_INFO: using url from previous scraper: 02:47:39 T:1888 NOTICE: RCB_WARNING: description file for game alpinerd could not be found. Check if this path exists: 02:47:39 T:1888 NOTICE: RCB_INFO: using url from previous scraper: 02:47:39 T:1888 NOTICE: RCB_WARNING: description file for game alpinerd could not be found. Check if this path exists: 02:47:39 T:1888 NOTICE: RCB_INFO: using url from previous scraper: 02:47:39 T:1888 NOTICE: RCB_WARNING: description file for game alpinerd could not be found. Check if this path exists: 02:47:39 T:1888 NOTICE: RCB_INFO: using scraper: thegamesdb.net 02:47:39 T:1888 NOTICE: RCB_INFO: description file (tokens replaced): http://thegamesdb.net/api/GetGame.php?name=alpinerd&platform=Arcade 02:47:39 T:1888 NOTICE: RCB_WARNING: Encoding: utf-8 02:47:39 T:1888 NOTICE: RCB_INFO: No results found with current scraper 02:47:39 T:1888 NOTICE: RCB_INFO: Insert data 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: Publisher : 'Publisher' 02:47:39 T:1888 NOTICE: RCB_INFO: Result Genre = ['Sports / Skiing'] 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: Publisher : 'Publisher' 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: Reviewer : 'Reviewer' 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: Region : 'Region' 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: Media : 'Media' 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: Rating : 'Rating' 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: Votes : 'Votes' 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: URL : 'URL' 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: Perspective : 'Perspective' 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: OriginalTitle : 'OriginalTitle' 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: AlternateTitle : 'AlternateTitle' 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: TranslatedBy : 'TranslatedBy' 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: Version : 'Version' 02:47:39 T:1888 NOTICE: RCB_INFO: Romdir: C:\Hyperspin\Emulators\Mame\roms 02:47:39 T:1888 NOTICE: RCB_INFO: NfoFile already exists. Wont overwrite file: C:\Hyperspin\Emulators\Mame\roms\alpinerd.nfo 02:47:39 T:1888 NOTICE: RCB_INFO: FileType: boxfront 02:47:39 T:1888 NOTICE: RCB_INFO: Get thumb from online source 02:47:39 T:1888 NOTICE: RCB_INFO: using key: Filetypeboxfront 02:47:39 T:1888 NOTICE: RCB_WARNING: Error while resolving item: Filetypeboxfront : 'Filetypeboxfront' 02:47:39 T:1888 NOTICE: RCB_INFO: resolve path: C:\Hyperspin\Emulators\Mame\roms\boxfront\%GAME%.* 02:47:39 T:1888 NOTICE: RCB_INFO: resolved path from rom file name: C:\Hyperspin\Emulators\Mame\roms\boxfront\alpinerd.* 02:47:39 T:1888 NOTICE: RCB_INFO: resolved files: [] 02:47:39 T:1888 NOTICE: RCB_INFO: resolved path from game name: C:\Hyperspin\Emulators\Mame\roms\boxfront\Alpine Racer (Rev. AR2 Ver.D).* 02:47:39 T:1888 NOTICE: RCB_INFO: resolved files: [] 02:47:39 T:1888 NOTICE: RCB_INFO: resolved path from rom folder name: C:\Hyperspin\Emulators\Mame\roms\boxfront\C:\Hyperspin\Emulators\Mame\roms.* 02:47:39 T:1888 NOTICE: RCB_INFO: resolved files: [] 02:47:39 T:1888 NOTICE: RCB_WARNING: No files found for game "Alpine Racer (Rev. AR2 Ver.D)" at path "C:\Hyperspin\Emulators\Mame\roms\boxfront\%GAME%.*". Make sure that file names are matching. 02:47:39 T:1888 NOTICE: RCB_INFO: FileType: action 02:47:39 T:1888 NOTICE: RCB_INFO: Get thumb from online source 02:47:39 T:1888 NOTICE: RCB_INFO: using key: Filetypeaction 02:47:39 T:1888 NOTICE: RCB_INFO: Get thumb from url: http://maws.mameworld.info/img/ps/snap/alpinerd.png 02:47:39 T:1888 NOTICE: RCB_INFO: resolved files: ['C:\\Hyperspin\\Emulators\\Mame\\roms\\action\\alpinerd.png'] 02:47:39 T:1888 NOTICE: RCB_INFO: Download file to: C:\Hyperspin\Emulators\Mame\roms\action\alpinerd.png 02:47:39 T:1888 NOTICE: RCB_INFO: File already exists. Won't download again. 02:47:39 T:1888 NOTICE: RCB_INFO: resolve path: C:\Hyperspin\Emulators\Mame\roms\action\%GAME%.* 02:47:39 T:1888 NOTICE: RCB_INFO: resolved path from rom file name: C:\Hyperspin\Emulators\Mame\roms\action\alpinerd.* 02:47:39 T:1888 NOTICE: RCB_INFO: resolved files: ['C:\\Hyperspin\\Emulators\\Mame\\roms\\action\\alpinerd.png'] 02:47:39 T:1888 NOTICE: RCB_INFO: FileType: title 02:47:39 T:1888 NOTICE: RCB_INFO: Get thumb from online source 02:47:39 T:1888 NOTICE: RCB_INFO: using key: Filetypetitle 02:47:39 T:1888 NOTICE: RCB_INFO: Get thumb from url: http://maws.mameworld.info/img/ps/titles/alpinerd.png 02:47:39 T:1888 NOTICE: RCB_INFO: resolved files: ['C:\\Hyperspin\\Emulators\\Mame\\roms\\title\\alpinerd.png'] 02:47:39 T:1888 NOTICE: RCB_INFO: Download file to: C:\Hyperspin\Emulators\Mame\roms\title\alpinerd.png 02:47:39 T:1888 NOTICE: RCB_INFO: File already exists. Won't download again. 02:47:39 T:1888 NOTICE: RCB_INFO: resolve path: C:\Hyperspin\Emulators\Mame\roms\title\%GAME%.* 02:47:39 T:1888 NOTICE: RCB_INFO: resolved path from rom file name: C:\Hyperspin\Emulators\Mame\roms\title\alpinerd.* 02:47:39 T:1888 NOTICE: RCB_INFO: resolved files: ['C:\\Hyperspin\\Emulators\\Mame\\roms\\title\\alpinerd.png'] 02:47:39 T:1888 NOTICE: RCB_INFO: FileType: cabinet 02:47:39 T:1888 NOTICE: RCB_INFO: Get thumb from online source 02:47:39 T:1888 NOTICE: RCB_INFO: using key: Filetypecabinet 02:47:39 T:1888 NOTICE: RCB_INFO: Get thumb from url: http://maws.mameworld.info/img/tafa/flyers/alpinerd.png">flyer | 02:47:39 T:1888 NOTICE: RCB_INFO: resolved files: [] 02:47:39 T:1888 NOTICE: RCB_INFO: Download file to: C:\Hyperspin\Emulators\Mame\roms\cabinet\alpinerd.png">flyer | 02:47:39 T:1888 NOTICE: RCB_INFO: File does not exist. Starting download. 02:47:56 T:1888 NOTICE: RCB_ERROR: Could not create file: 'C:\Hyperspin\Emulators\Mame\roms\cabinet\alpinerd.png">flyer |'. Error message: '[Errno 22] invalid mode ('wb') or filename: 'C:\\Hyperspin\\Emulators\\Mame\\roms\\cabinet\\alpinerd.png">flyer\n |'' 02:47:56 T:1888 NOTICE: RCB_INFO: Update finished 02:47:56 T:1888 NOTICE: RCB_INFO: Begin showGames 02:47:56 T:1888 NOTICE: RCB_INFO: helper.buildLikeStatement 02:47:56 T:1888 NOTICE: load games from db in 10 ms i have tried all site configurations for scraping and still get the error. any clues as to what the problem is? p.s. let me know if you need more of the log - malte - 2011-10-20 @maseatx: Problem is this: Code: Could not create file: 'C:\Hyperspin\Emulators\Mame\roms\cabinet\alpinerd .png">flyer The url to the artwork is not read correctly and so it becomes an invalid filename while downloading artwork. This problem occurs from time to time and I already made a change to the scraper that I had to revert some weeks later because things have changed again. I have to check this when I am back home. Anyway, I have to think about options to make this more reliable before I have the time to rewrite the whole parser. In the meantime you could try if this helps: old post. |