Time |
Nickname |
Message |
03:15
🔗
|
|
DopefishJ has joined #jsmess |
03:16
🔗
|
|
DFJustin has quit IRC (Ping timeout: 260 seconds) |
08:55
🔗
|
|
godane has quit IRC (Read error: Operation timed out) |
09:34
🔗
|
|
godane has joined #jsmess |
16:40
🔗
|
SketchCow |
OK, I got sidelined with the whole "Citizen Radio" thing, going back to handhelds. |
17:38
🔗
|
SketchCow |
Handhelds over, also adding more driver |
17:38
🔗
|
SketchCow |
DopefishJ: Might need help with some resolution determining |
17:40
🔗
|
|
DopefishJ is now known as DFJustin |
18:06
🔗
|
SketchCow |
hh_merlin |
18:06
🔗
|
SketchCow |
Can't find resolution request |
18:08
🔗
|
SketchCow |
https://github.com/mamedev/mame/blob/839f9632027fae231edf355bb4b059e169b5de27/src/mame/drivers/hh_tms1k.cpp |
18:08
🔗
|
SketchCow |
Searching |
18:08
🔗
|
DFJustin |
it's in the layout file and not the cpp |
18:11
🔗
|
DFJustin |
it's a vector layout so you have to actually run mame to render it and find out what aspect ratio it is I think |
18:11
🔗
|
SketchCow |
E-fucking gad |
18:12
🔗
|
SketchCow |
https://archive.org/details/hh_merlin |
18:14
🔗
|
DFJustin |
looks like 400x980 or anything proportional to that |
18:14
🔗
|
SketchCow |
https://archive.org/details/hh_f2pbball |
18:15
🔗
|
DFJustin |
it might be easier to turn keepaspect back on for the hh systems (we have it turned off so that it does integer scaling on bitmap systems but that doesn't matter here) |
18:16
🔗
|
DFJustin |
that would be an emularity change I think |
18:17
🔗
|
DFJustin |
then you could just say 640x480 or whatever and let mame figure it out from there |
18:19
🔗
|
DFJustin |
db48x: can we have like a vector: "1" flag in the json |
18:20
🔗
|
DFJustin |
or keepaspect: |
19:42
🔗
|
SketchCow |
Hey, so, can we make touch work for the Merlin? |
20:11
🔗
|
db48x |
DFJustin: sure |
20:12
🔗
|
db48x |
keepaspect: true or vector: true, whichever you prefer |
20:14
🔗
|
DFJustin |
SketchCow: should Just Work (tm) |
20:16
🔗
|
DFJustin |
I guess keepaspect is better |
20:27
🔗
|
SketchCow |
https://archive.org/details/hh_simon |
20:28
🔗
|
SketchCow |
That one's a mess. |
20:28
🔗
|
SketchCow |
Won't light up |
20:29
🔗
|
DFJustin |
the artwork is probably from an older version |
21:08
🔗
|
db48x |
I guess it would actually be keepaspect: false |
21:08
🔗
|
db48x |
since the current default is to add -nokeepaspect to the mame command line |
21:08
🔗
|
db48x |
(I hate negative options though) |
21:16
🔗
|
db48x |
if ('keepAspect' in modulecfg) { |
21:16
🔗
|
db48x |
cfgr.keepAspect(modulecfg.keepAspect); |
21:16
🔗
|
db48x |
} else { |
21:16
🔗
|
db48x |
cfgr.keepAspect(true); |
21:17
🔗
|
db48x |
} |
21:18
🔗
|
db48x |
that's not right |
21:20
🔗
|
db48x |
the current default is -nokeepaspect, so if it's not specified in the json, that's the same as keepaspect: false, and we don't need the if/else at all |
21:25
🔗
|
bai |
oh, this discussion reminds me - is there an equivalent set of options for DosBoxLoader? it seems whenever there's a mode change, the canvas is changing size by default too |
21:25
🔗
|
db48x |
isn't that a feature? :) |
21:28
🔗
|
bai |
normally yes....but when I'm using the image as a texture in webgl, it would be preferable if I could force it to a power-of-two canvas |
21:28
🔗
|
* |
db48x nods |
21:29
🔗
|
db48x |
we really ought to be running everything in higher-resolution canvases anyway, so that MAME's in-game menus are legible |
21:30
🔗
|
bai |
yeah |
21:31
🔗
|
SketchCow |
So, I'm dealing with my mistake of screenshotting the handhelds |
21:31
🔗
|
SketchCow |
I'm then going to go through and think if I want to add too many more handhelds. |
21:31
🔗
|
SketchCow |
This is, not surprisingly, a huge pain and a lot of manual work I'm doing. |
21:33
🔗
|
db48x |
while you think, let me know which json files you've uploaded so far |
21:34
🔗
|
SketchCow |
I ended up pulling them over and putting them into the glowing box |
21:34
🔗
|
SketchCow |
I mean, maybe some slipped between the cracks |
21:34
🔗
|
SketchCow |
But I think they're mostly all added |
21:36
🔗
|
SketchCow |
https://archive.org/details/hh_packmon |
21:44
🔗
|
DFJustin |
the problem is if we run in a higher-resolution canvas, mame scales up the game bitmap in software, and we're already fighting for cycles as it is |
21:45
🔗
|
db48x |
indeed |
21:45
🔗
|
SketchCow |
Yeah |
21:45
🔗
|
db48x |
the right way to do it, of course, would be to compile MAME without any of that UI at all |
21:45
🔗
|
db48x |
and then reimplement it in JS+HTML, around or on top of the canvas |
21:46
🔗
|
DFJustin |
well the right way to do it would be to compile with mame's old pixel font which is on my to-do list |
21:46
🔗
|
DFJustin |
oh that would be even better |
21:46
🔗
|
db48x |
but a lot more work |
22:49
🔗
|
SketchCow |
https://archive.org/details/hh_cpacman |