[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
|
RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - trihy - 2020-05-13 (2020-05-13, 10:19)malte Wrote:(2020-05-08, 12:14)Red5ive Wrote: Hi thereI tested this feature with the current code base and it still works. The part of the log that you posted does not contain any info about launching the game. Can you upload the complete log file somewhere and post the link here? Hi @malte I can confirm that too. PC games launch fine. BTW today I´d tried a clean kodi leia and rcb add on. Tried new mame 0.220 and still no luck. I selected mame 0.220 history.dat and on scrapers, selected mame. But results are this: There is a temporary fix for this? To at least have mame working on rcb? Just a few are correctly displayed. Also noticed it creates a nfo file per every game. This doesnt happen with the old method, and think is not necessary since history.dat contains all game info. Maybe they could go to a simple file. Otherwise it will create more than 30.000 additional nfo files. The old method wasnt that bad using a mame txt file, but is not supported anymore by rcb. I got history dat from here https://insertmorecoins.es/mame-history-dat-2-20/ I opened with a text editor, and Im not pretty sure if real names are there. Maybe you can check. Also used mame form mamedev. Thanks. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - trihy - 2020-05-14 If someone could share a newer Synopsis for ROM Collection Parser (It´s a MAME.TXT file) I just could go back to RCB 2.1.3 scrap mame and then go back to newer version. That was the latest one MAME synopsis RCB 201202.zip Antoher good thing about that file was that only contain main games. Not all the clones, region, hacks and other stuff. So the list will be clean and easy to find games. Or at least a little help on how to make one. Thanks. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2020-05-15 (2020-05-13, 22:47)trihy Wrote: Tried new mame 0.220 and still no luck.I think your issue is not related to the current version of the file. I guess it will happen with old files too. I could reproduce your issue that RCB does not scrape the roms 20pacgalr0, 20pacgalr1 etc. This is because RCB only checks the first entry in the $info line. In this case it is "20pacgal", all other entries are ignored. I could try to fix this but this will lead to many games with the same names as the following entries are just clones of the initial rom. Maybe I could try to detect if a rom is a clone of an already imported rom. But I am afraid that will need some time until I can add this. Atm I am working on the launching part and have some other bug fixes on my list. As a temporary fix you could remove the clones from your collection or use RCBs missing info filter to hide games without info. If you have missing roms that are no clones please give me some example names that I can check. In my test setup RCB successfully grabs 392 of 394 files with history.dat 220. (2020-05-13, 22:47)trihy Wrote: I got history dat from here https://insertmorecoins.es/mame-history-dat-2-20/ I opened with a text editor, and Im not pretty sure if real names are there. Maybe you can check.I use the history.dat from https://www.arcade-history.com/index.php?page=download]www.arcade-history.com (2020-05-13, 22:47)trihy Wrote: Also noticed it creates a nfo file per every game. This doesnt happen with the old method, and think is not necessary since history.dat contains all game info. Maybe they could go to a simple file. Otherwise it will create more than 30.000 additional nfo files.Atm there is no option to suppress nfo creation. Could be an option for the future but atm it is not on my list. The old method was very time consuming as there have been lots of issues with different parsers. Also the MAME file needed to be updated regularly. This was done by users and not by me. As you said, this has not happened anymore since 2012. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - trihy - 2020-05-15 Hi @malte Thanks I was thinking about filters the other day. But no luck, tried to filter by many filters, since clone games doesnt have any data at all. But all the filters applied hide the correctly named roms and not the bad one. Even tried to change filter rules, using the first option, but always get the correctly named hiddens. Do you know the correct filter to hide this games? And filter will only affect mame? Maybe the mame scraper could ignore this games when scanning? That could be a partial fix too. If there is no 100% file match, just ignore it and dont put it on the list. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Wintermute0110 - 2020-05-15 @malte @trihy With AML is very easy to export MAME data in the format you want, into XML or JSON or whatever. Please tell me what you need and I can add an utility to export a database that RCB can use. This way, users can generate the RCB offline scrapers in a convenient way. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2020-05-15 (2020-05-15, 14:07)trihy Wrote: Hi @malte ThanksJust tested it and it works for me. In "Filter missing infos" dialog set Filter mode to "Hide games with missing items". In section "Filter games with missing info/ONE of these items missing" select "Add item" and select "Description" for example. Then "Save Config" and you should only see games that have a description. (2020-05-15, 14:10)Wintermute0110 Wrote: @malte @trihy With AML is very easy to export MAME data in the format you want, into XML or JSON or whatever. Please tell me what you need and I can add an utility to export a database that RCB can use. This way, users can generate the RCB offline scrapers in a convenient way.That would be nice. With old Advanced Launcher we used the "nfo" file format to exchange game info between RCB and AL databases. RCB can import and export nfo files and so could AL. This is a simple xml file looking quite similar to Kodis nfo files that are used for movies and other items. As stated above there is no option to import or export one big file for all games, only one file per game. But this could be an option for the future if it would be easier for you to handle. Here is an example file: Code: <?xml version='1.0' encoding='UTF-8'?> A second option would be billyc999s xml format. But RCB can only import this format and not export. And these files haven't changed for 4 years so I think this project is dead. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - trihy - 2020-05-15 I have both rcb and AML installed. In case you need to test something. Also tried billyc999s xml, more games are correctly displayed, but not so different to history.dat. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Wintermute0110 - 2020-05-15 @malte AEL is capable of exporting/importing NFO files. AML does not use NFO files at all because all the metadata is extracted from MAME itself and the MAME DAT/INI files. I changed the AL format because it was too complex and now AEL NFO files are incompatible with RCB. I think we should wait until the Kodi games DB gets developed in order to unify the NFO file format for games. Regarding the billyc999s info files in XML, AEL Offline Scraper still heavily relays on those. Project is dead upstream yes, I have a fork in one of my repositories and I am in the process of cleaning and updating them (but progress is slow... it is a huge amount of work). What I was thinking was on coding an utility to generate a MAME XML file with the information like in a billy999s XMLs. That will be relatively easy codewise and users can use any version of MAME and the DAT/INI files they want to regenerate their offline RCB MAME XML database. So if I output the information with billyc999s format in XML is OK for RCB to use? RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - trihy - 2020-05-15 @malte I made a partial scanning using billyc and applied filters, this is what happened. http://www.filehost.pt/ohhT They are in order so you can check better. Not sure if Im doing something wrong. With description filter all games are gone. With publisher it only show the incorrect ones. As you can see in the pictures, correct displayed games have description and publisher info, incorrect ones doesnt. Tried to change only hide games with missing info to only show games with missing items in case the options were backwards, but same result. Im using rcb leia build from git. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2020-05-15 (2020-05-15, 16:12)Wintermute0110 Wrote: So if I output the information with billyc999s format in XML is OK for RCB to use?Yes, this should work. RCB can import these files but not export them. But right now this should be ok. As you said we can see later if we find a file format that is exchangable between all available Kodi game addons. (2020-05-15, 16:27)trihy Wrote: @malte I made a partial scanning using billyc and applied filters, this is what happened.Sorry, I can't download the file. It gives me an error and I have to wait 60 seconds. Then I get the next error. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - trihy - 2020-05-15 (2020-05-15, 17:12)malte Wrote:Sorry @malte(2020-05-15, 16:12)Wintermute0110 Wrote: So if I output the information with billyc999s format in XML is OK for RCB to use?Yes, this should work. RCB can import these files but not export them. But right now this should be ok. As you said we can see later if we find a file format that is exchangable between all available Kodi game addons. There you go https://www.mediafire.com/file/hvw2hzjntd81aj6 RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2020-05-15 (2020-05-15, 16:12)Wintermute0110 Wrote: @malte AEL is capable of exporting/importing NFO files. AML does not use NFO files at all because all the metadata is extracted from MAME itself and the MAME DAT/INI files. I changed the AL format because it was too complex and now AEL NFO files are incompatible with RCB. I think we should wait until the Kodi games DB gets developed in order to unify the NFO file format for games.Before you put any effort into this, maybe we should wait if this would really solve the issue (unless you plan to add something like this anyway). I think that this issue may be just an error or misbehaviour in RCB that does not deal correctly with MAME clones. If I understand this issue correctly, RCB will need a little bit more intelligence to handle this. RCB can already parse the MAME history.dat file, so most information is already available. Problem is that RCB can't handle clones and I think this will not change if the data is available as xml file. Atm RCB ignores clones completely. When I fix this the easy way, RCB would import all clones with the same game name as the "original" rom. Additionally it would not find any artwork as the artwork files are usually named like the original rom. So I guess I need to detect clones and add some extra logic to handle them correctly. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - trihy - 2020-05-15 But name for clones are on the history.dat file? If names are there could rcb use the names there? Or maybe an extended dat or xml pointing full names for clones. Another fix in the meantime could be making rcb not showing them, if skip the clones, could just dont put them in the list? I think is a good idea having a way to make custom xml files. In case rcb parse the names right, we will still have the problem of a 40.000 game list. Maybe unable to navigate. So allowing to make custom xml with main, parent, clones or whatever you want will be handy. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2020-05-16 (2020-05-15, 21:26)trihy Wrote: But name for clones are on the history.dat file? If names are there could rcb use the names there?Yes, but the names are just the rom names. (2020-05-15, 21:26)trihy Wrote: Another fix in the meantime could be making rcb not showing them, if skip the clones, could just dont put them in the list?There is already a setting "Don't import games without description". This will do the same. Additionally that is what the missing info filter is made for. I have to check why this does not work in your setup. On my system it works as expected. (2020-05-15, 21:26)trihy Wrote: I think is a good idea having a way to make custom xml files. In case rcb parse the names right, we will still have the problem of a 40.000 game list. Maybe unable to navigate. So allowing to make custom xml with main, parent, clones or whatever you want will be handy.You have 40000 games in the database. You don't need to show all of them at once. You can filter by year, publisher, etc. and you can make favorite lists. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - trihy - 2020-05-16 @malte, but filters can be applied per system or will affect the entire RCB collection? Will try to scrape mame again checking the option to not import missing nfo games to see how it goes. |