[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
|
- malte - 2011-03-22 @fallenae: sounds like a configuration error. Can you show me your config.xml? @jubal1: This is a known problem on windows. Do you have a Disc inserted in your drive or mounted a virtual drive? Remove it and try again. - fallenae - 2011-03-22 - <config> - <RomCollections> - <RomCollection id="1" name="MAME"> <emulatorCmd>F:\Roms\MAME Plus + 6000 Roms + Extras Deluxe [http://www.SpaTorrent.com]\MAME Plus + 6000 Roms + Extras Deluxe [www.SpaTorrent.com]\MameUI32.exe</emulatorCmd> <emulatorParams>"%ROM%"</emulatorParams> <romPath>F:\Roms\MAME Plus + 6000 Roms + Extras Deluxe [http://www.SpaTorrent.com]\MAME Plus + 6000 Roms + Extras Deluxe [www.SpaTorrent.com]\roms\*.zip</romPath> <mediaPath type="boxfront">F:\Roms\MAME Plus + 6000 Roms + Extras Deluxe [http://www.SpaTorrent.com]\MAME Plus + 6000 Roms + Extras Deluxe [www.SpaTorrent.com]\artwork\boxfront\%GAME%.*</mediaPath> <mediaPath type="action">F:\Roms\MAME Plus + 6000 Roms + Extras Deluxe [http://www.SpaTorrent.com]\MAME Plus + 6000 Roms + Extras Deluxe [www.SpaTorrent.com]\artwork\action\%GAME%.*</mediaPath> <mediaPath type="title">F:\Roms\MAME Plus + 6000 Roms + Extras Deluxe [http://www.SpaTorrent.com]\MAME Plus + 6000 Roms + Extras Deluxe [www.SpaTorrent.com]\artwork\title\%GAME%.*</mediaPath> <mediaPath type="cabinet">F:\Roms\MAME Plus + 6000 Roms + Extras Deluxe [http://www.SpaTorrent.com]\MAME Plus + 6000 Roms + Extras Deluxe [www.SpaTorrent.com]\artwork\cabinet\%GAME%.*</mediaPath> <mediaPath type="marquee">F:\Roms\MAME Plus + 6000 Roms + Extras Deluxe [http://www.SpaTorrent.com]\MAME Plus + 6000 Roms + Extras Deluxe [www.SpaTorrent.com]\artwork\marquee\%GAME%.*</mediaPath> <ignoreOnScan>False</ignoreOnScan> <descFilePerGame>True</descFilePerGame> <useFoldernameAsGamename>False</useFoldernameAsGamename> <searchGameByCRC>True</searchGameByCRC> <maxFolderDepth>99</maxFolderDepth> <doNotExtractZipFiles>True</doNotExtractZipFiles> <imagePlacing>gameinfomamecabinet</imagePlacing> <scraper name="maws.mameworld.info" /> </RomCollection> </RomCollections> - malte - 2011-03-22 Sorry, this is an error with [] in the path name. I tested it here and it behaves the same when I add [] to the path. Can you remove it and try again (you need to remove it in the file system and your config.xml)? I will try to fix this error with one of the next releases. - fallenae - 2011-03-23 Thank you, my next plan was acctually to clean up that file path tonight. I did notice it was a little messy. I didn't think it would be a problem though. thanx for pinpointing the issue. - kruuth - 2011-03-23 Ok I had a freeze again, and this time I got the log....when I tried to start version .81 I got this: 19:09:06 T:3460 M:705957888 NOTICE: RCB_INFO: Init Rom Collection Browser: C:\Users\xbmc-user\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser 19:09:06 T:3460 M:705949696 NOTICE: C:\Users\xbmc-user\AppData\Roaming\XBMC\userdata\addon_data\script.games.rom.collection.browser\MyGames.db 19:09:06 T:3460 M:705937408 NOTICE: RCB_INFO: Path to configuration file: C:\Users\xbmc-user\AppData\Roaming\XBMC\userdata\addon_data\script.games.rom.collection.browser\config.xml 19:09:06 T:3460 M:705937408 NOTICE: RCB_INFO: Path to configuration file: C:\Users\xbmc-user\AppData\Roaming\XBMC\userdata\addon_data\script.games.rom.collection.browser\config.xml 19:09:06 T:3460 M:705888256 DEBUG: LoadLibraryExA called with flags: - LOAD_WITH_ALTERED_SEARCH_PATH 19:09:06 T:3460 M:705888256 DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\pyexpat.pyd) 19:09:06 T:3460 M:705761280 NOTICE: RCB_INFO: Begin cacheItems 19:09:07 T:3460 M:705642496 NOTICE: RCB_INFO: End cacheItems 19:09:13 T:2044 M:705765376 DEBUG: Thread 2044 terminating (autodelete) 19:09:13 T:3044 M:705789952 DEBUG: Thread 3044 terminating (autodelete) 19:09:18 T:1856 M:705789952 DEBUG: Thread 1856 terminating (autodelete) What's going on here? - kruuth - 2011-03-23 Oh, on another note, I can't seem to get it to differentiate between the Atari 5200 Roms and the MAME roms. - malte - 2011-03-23 Sorry, I can't see whats hapenning in the log. Did the log end with the "Thread terminating" stuff? What do you mean with differentiating between MAME and Atari? During import or browsing? Do you have your roms in different locations? - kruuth - 2011-03-23 Yes, that's where it ended. Also, it's hung looking up 5200 games. - fallenae - 2011-03-24 God damn MAME. Ohk so I've managed to import my whole rom collection. All consoles are working well, however; I'm still having problems with mame. As I said the other day my mame roms are multiple files within zip folders. RCB has scanned and added them to database correctly however when I try to run a ROMs the emulator fails and says that files are missing. All of these roms are mounted in the emulator and run fine when loaded from the emulator. Any help would be much appreciated. - Digital Vortex - 2011-03-24 fallenae Wrote:God damn MAME. I think I spot your issue from your above config. You're trying to use Mame UI, not the Mame 'command line' version. Go to the Mame Dev site and download that version http://mamedev.org/release.html You can extract it wherever you like, and just copy the mame.exe file into your MameUI directory.. change your config to point to this .exe rather the the UI version. Did that work? - DigiTech - 2011-03-24 fallenae Wrote:God damn MAME. Which version on mameui32 are you using? Are you using the mame.ini file inside the "ini" folder in mameui32 directory and pointing the exact location of it in your arguments? You need to indicate into the arguments the path where is located the mame.ini file like this (in mameui32 the path is inside the mame directory,it's inside a folder called ini) It should be like this. -inipath "C:\Program Files\mame32\ini" "%rom%" You also need to configure the mame.ini file to express the exact location of the configuration files of mameui own folders: rompath "C:\Program Files\mame32\roms" (It doesnt matter where they are as long as you specify the correct location, you need to set the same location in mameui too) cfg_directory "C:\Program Files\mame32\cfg" nvram_directory "C:\Program Files\mame32\nvram" memcard_directory "C:\Program Files\mame32\memcard" input_directory "C:\Program Files\mame32\inp" state_directory "C:\Program Files\mame32\sta" snapshot_directory "C:\Program Files\mame32\snap" I asked you that because i just finished scrapping my 8,000 roms with mameui32 v0.39 and working with no problems following this parameters using MameUI32 V0.39. Mameui and Mame command version has esentially the same code so mameui can be configured with no big problems. Hope i can be of any help, pls tell me if that worked out your situation. - Digital Vortex - 2011-03-25 DigiTech Wrote:Which version on mameui32 are you using? fallenae:- This is what you need to put in your emulator params in the Config.xml file so that the whole code looks like: <emulatorParams>-inipath "F:\Roms\MAME\" "%ROM%"</emulatorParams> I took the liberty with your Directory code The config.xml is in C:\Users\YOURNAME\Appdata\Roaming\XBMC\userdata\addon_data \script.games.rom.collection browser Digitech is right, and in my case, I have both Mame and MameUI in the base directory, and there's no problem. My .ini files for both programs are in the same directory as the .exe. http://www.gwenael.org/xbmc/index.php?title=MAME_-_Windows#Windows When you're using the command line version of mame, you'll have to run the -createconfig switch. Put the full path (as in F:\Roms..etc.) in the newly created mame.ini file in the CORE SEARCH PATH OPTIONS and CORE OUTPUT DIRECTORY sections Working yet? Saturn Emulator for RCB in Win. - DigiTech - 2011-03-25 Anyone has sucessfully used a Sega Saturn Emulator in RCB in Windows.?, I havent been able to get one working yet, even at the pc scenario, if you have any tips with that matter pls share with us. - twotone8 - 2011-03-25 @DigiTech if you're using SSF, you're probably going to need to write a batch file which will mount an .iso image (in daemon tools or something similar), then wait half a moment for the .iso to get cozy, and THEN launch the emulator in fullscreen. I've been meaning to do the same for quite some time, but haven't got around to it. edit: just spent a bit of time on it. here's my batch script for launching ssf C: CD "C:\GameEx\Emulators\SSF" "C:\Program Files (x86)\DAEMON Tools Lite\dtlite.exe" -mount 0,"%~1" PING 1.1.1.1 -n 1 -w 6000 >NUL ssf.exe "C:\Program Files (x86)\DAEMON Tools Lite\dtlite.exe" -unmount 0 i would open up a text file, copy and past something similar to this (depending on your paths and mounting utility and stuff) and then change the file extension from .txt to .bat. then you would have to point RCB to the .bat file instead of the ssf.exe. effectively, what it's doing is opening whatevernamehere.bat "rompath/romname.cue" and the batch file handles the rest. after you're done playing, it'll unmount the image. if you're curious, the "%~1" part of the batch file is substituted with whatever you put after the batch file in the command line or shortcut. the PING 1.1.1.1 -n 1 -w 6000 >NUL part just stalls for a moment after mounting the image to avoid errors before starting the .exe - malte - 2011-03-25 New test version available: 0.8.2 General:
Background scraping The background scraping option is still experimental. You can activate it in the Addon settings. Once activated you must launch RCB and it will create an autoexec.py file that is launched at every XBMC startup. This autoexec starts the scraping process while you can do everything else in XBMC (but not start RCB). Progress of the current import is only shown in the home window. If you want to cancel the current import, just launch RCB and it will ask you to cancel the current import. After this you are able to launch RCB again. If you want to disable autmatic import on XBMC startup, disable it in Addon settings and launch RCB once. Then it will remove the autoexec.py again. The progress dialog is designed for Confluence skin. It may look a bit off for other skins. This is a todo for one of the next releases. Edit Rom Collection The "Edit Rom Collection (Basic)" dialog offers most common edit options for your Rom Collections. The missing options will be added to a new dialog in one of the next releases. In this dialog you can edit all available properties for all your Rom Collections and they will be saved all together if you select "Save Config". When saving your configuration RCB will delete and recreate the Rom Collection configuration section in config.xml. Not nice but easier to implement. Because of this it can happen that the ordering of Rom Collections changes after you have edited the config via this dialog. Note: With this dialog RCB only supports 1 Rom path (with several extensions) per Rom Collection! If you have edited your config manually and added different paths to your roms per Rom Collection, all pathes besides the first one will be lost. Please leave any comments on the new features here. Thank you for testing and have fun with it! |