![]() |
[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 - Solid One - 2014-03-20 (2014-03-20, 14:48)malte Wrote: You can edit the skin files directly to change the delay. In RCBs addon directory open the file: "resources/skins/Default/720p/script-Rom_Collection_Browser-main.xml" and search for these lines: It didn't worked. Changed delay from 300 to 1000 on both lines, and nothing has changed. Tried putting 3000 too, but still I couldn't see no changes. Tried changing delay from 300 to 900, and edited "start" and "end" attributes to 450 each one, but still no change. Am I missing something? Aww sorry. I forgot that I've changed RCB skin to Simplicity, and I had to edit its respective XML file for changing delay attribute. Anyway, I've edited "script-Rom_Collection_Browser-main.xml" files from all skins, and now It's working. Thanks for the help, and sorry for the misunderstanding. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Malakesher - 2014-03-20 Is there any good way to exit from emulators with a remote press? Basically I am looking for something that when I run a game from RCB it sets a remote button to be ALT+F4 then after I press the button and go back to XBMC it removes this feature so that I do keep accidentally closing XBMC etc. Would it be possible to do this something like a bat file and run it with the pre-launch command? I'm using windows 7 btw. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Solid One - 2014-03-20 (2014-03-20, 19:08)Malakesher Wrote: Is there any good way to exit from emulators with a remote press? I guess you can't do it directly from XBMC. You'll have to see if each emulator has this feature implemented. Some emulators have an option that can open ROMs directly in fullscreen, automatically mapping "Esc" key to force close the emulator when pressed. This way, you won't need to map ESC key to a remote button, since most remotes already have this key mapped to a button. This way, "Esc" will only close emulators, and won't do nothing on XBMC besides going back to previous menu or option. MAME (arcade emulator) already have this: All games are opened on fullscreen, and you can close it by simply pressing Escape key. Kega Fusion (emulator for sega consoles and handhelds) have this too, but you'll have to pass a few command-line parameter for it to work. Examples: Code: fusion gamename.ext -sms -fullscreen // For Sega Master System games If you don't like Kega Fusion, the same can be done on Gens or Gens/GS by passing "--quickexit" parameter (two traces). A good thing about Gens is that you don't need to specify the platform you want to emulate. Simply pass rom path with these parameter and you're good to go. Examples: Code: gens --quickexit gamename.ext ZSNES (Super Nintendo emulator) is the same as Kega Fusion and Gens: Load ROMs in command-line by passing "-m" and -"c" parameters before game name. The first one will disable GUI and force close emulator on Esc keypress, and the second one will force fullscreen. Example: Code: zsnes -m gamename.ext Of course, If you need to change emulator configs, such as controller mappings, you'll need to open emulator without these parameters, since you'll need to exit fullscreen mode first, and sometimes the only way to exit fullscreen is by pressing Esc. Neither "Alt + Enter" will work. However, there's some exceptions: on Kega Fusion, you can simply press mouse right button and go to settings window from there. On Snes9x, you can press Alt+F7 (or Alt+F8, don't remember), and you'll be redirected to command settings window. For another emulators, if there's no way to force close on Escape key, you'll have to use AutoIt or AutoKey scripts. Here's an example for Snes9x, that don't have this feature implemented by default. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Peristarkawan - 2014-03-21 I've just done a fresh install of XBMC 12.3 and Rom Collection Browser 2.0.10, and I'm unable to get past the first run wizard. When it asks me for the emulator path, the only drive that shows up to be browsed is the DVD drive. Neither of my hard drives are listed. Any suggestions? RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - ragedogg69 - 2014-03-21 (2014-03-21, 05:20)Peristarkawan Wrote: I've just done a fresh install of XBMC 12.3 and Rom Collection Browser 2.0.10, and I'm unable to get past the first run wizard. When it asks me for the emulator path, the only drive that shows up to be browsed is the DVD drive. Neither of my hard drives are listed. Any suggestions? yeah that is annoying. you may have to go to your file manager and add a source there. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2014-03-21 IncognitoMan Wrote:If you need any help lemme know...As a start I just want to be able to launch a game on my Android phone. I made some changes to RCBs source files so that I am sure that it reaches the "os.system(cmd.encode('utf-8'))". In the log I can see that the cmd is this: Code: "/system/bin/am" start -n com.explusalpha.Snes9xPlus/com.imagine.BaseActivity -a android.intent.action.VIEW -eu Uri "file:///storage/sdcard0/Games/SNES/3 Ninjas Kick Back.smc" And one more question: In your guide you mention to edit applaunch.sh but you never set RCB to "Use solo mode". In this case applaunch.sh should not be executed anyway. Did you do your launching tests in solo mode? Should I send you some logs or more info about my setup? Solid One Wrote:It didn't worked. Changed delay from 300 to 1000 on both lines, and nothing has changed. Tried putting 3000 too, but still I couldn't see no changes.Strange. Just tested it here and it works fine. When I set the delay to 3000, it waits 3 secondes before the video starts to play. I am editing this file: "C:\Users\YourName\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser.dev\resources\skins\Default\720p\script-Rom_Collection_Browser-main.xml" and it looks like this now: Code: line 113: Malakesher Wrote:Is there any good way to exit from emulators with a remote press?There are external tools like XPadder or eventghost that could do this. Not 100% sure if they work with a remote or only with gamepads. Peristarkawan Wrote:I've just done a fresh install of XBMC 12.3 and Rom Collection Browser 2.0.10, and I'm unable to get past the first run wizard. When it asks me for the emulator path, the only drive that shows up to be browsed is the DVD drive. Neither of my hard drives are listed. Any suggestions?Read here RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Solid One - 2014-03-21 (2014-03-21, 09:07)malte Wrote: Strange. Just tested it here and it works fine. When I set the delay to 3000, it waits 3 secondes before the video starts to play. Aww sorry. I forgot that I've changed RCB skin to Simplicity, and I had to edit its respective XML file for changing delay attribute. Anyway, I've edited "script-Rom_Collection_Browser-main.xml" files from all skins, and now It's working. Thanks for the help, and sorry for the misunderstanding. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2014-03-21 No problem, glad that it worked. I will also think about a config option. Until now I thought the 300ms will suffice for all devices. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Solid One - 2014-03-21 Another question that came to my mind: On Confluence, can I add custom item menus for each rom collection? Let me elaborate: I have four rom collections (Master System, Genesis, NES and SNES). On XBMC main menu, I want to add four custom items, one for each rom collection, and when I open one of them, RCB will show only the games specific to the selected console. I know I can add a custom menu item that open RCB, simply by changing <onclick> function this way (or something like that): Code: <item id="3"> However, I don't know how to pass parameters to the <onclick> function, in order to specify which rom collection to show. Is it possible to do? RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - djm1319 - 2014-03-22 I'm having trouble launching Project 64 2.1 with Glide64 final through RCB. My main goal is to launch games through xbmc with hd textures from Project 64 but when I try to do so I get an error message from P64. Help is very much appreciated and if this is not the right place for this I'll make a thread. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - IncognitoMan - 2014-03-22 (2014-03-21, 09:07)malte Wrote:IncognitoMan Wrote:If you need any help lemme know...As a start I just want to be able to launch a game on my Android phone. I made some changes to RCBs source files so that I am sure that it reaches the "os.system(cmd.encode('utf-8'))". In the log I can see that the cmd is this: Hmm if the command is working in adb it *should* work just fine in RCB. At the moment I'm mucking around with linux on ouya but I'll get back to trying the android build later today... iirc my tests were not in solo mode and solo mode actually broke launching... the reason for the change on applaunch.sh was because of OS detection ( ouya doesnt have uname so it will just return with unsupported device... hence why i commented it out ) If you could send me logs and more info I'd love to take a look RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2014-03-22 Solid One Wrote:However, I don't know how to pass parameters to the <onclick> function, in order to specify which rom collection to show.Basically you should be able to pass arguments like this: Code: RunAddon(script.games.rom.collection.browser,name=value) But this feature is requested quite frequently and I hope that I will find some time to implement this or something similar in the near future. djm1319 Wrote:I'm having trouble launching Project 64 2.1 with Glide64 final through RCB. My main goal is to launch games through xbmc with hd textures from Project 64 but when I try to do so I get an error message from P64.I need your IP address. Then I can hack your computer and check the error message. Or you could just tell me what error message you get ![]() If the error occurs inside XBMC please upload an xbmc.log file to xbmclogs.com and post the link here. IncognitoMan Wrote:Hmm if the command is working in adb it *should* work just fine in RCB.Woohoo, got it. Just wanted to send you a logcat and found the error myself. I had the same issue as user Anorax in the other thread and I also had to add --user 0 to the parameters. Now I am able to launch emulators on my Android phone! I will upload a new RCB version that does not need any manual code changes soon. In the next step I will try to add some more configuration support. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - djm1319 - 2014-03-22 http://i.imgur.com/gE9FWZp.jpg RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2014-03-22 Did you try to run it outside XBMC? You should also check configuration hints here. Also, in this thread user Loftoman had the same issue as you. On the second page it seems that he found a solution. RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2014-03-22 New test version available: 2.0.13 List of changes: Launch Games
With this release you should be able to launch games on Android devices without any manual changes to RCBs code files. For more info about setting up your emulators see this thread (skip the part about the code changes). When you have issues launching games you should also make sure that you disable following options in RCB: - Addon Settings -> Launch Games -> Minimize XBMC - Edit Rom Collection -> Launch Games -> Use Emulator in solo mode Note: this is still very experimental. You will need to edit your config.xml manually as it may be hard (or impossible) to enter the required emulator params via RCBs config dialogs. Previous version: 2.0.12 |