#jsmess 2018-04-09,Mon

↑back Search

Time Nickname Message
00:35 🔗 oscar has joined #jsmess
02:55 🔗 godane has joined #jsmess
03:36 🔗 oscar has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:44 🔗 oscar has joined #jsmess
04:30 🔗 LordNigh2 has joined #jsmess
04:34 🔗 Lord_Nigh has quit IRC (Ping timeout: 268 seconds)
04:34 🔗 LordNigh2 has quit IRC (Ping timeout: 252 seconds)
04:34 🔗 Lord_Nigh has joined #jsmess
08:50 🔗 Lord_Nigh has quit IRC (Read error: Operation timed out)
08:52 🔗 Lord_Nigh has joined #jsmess
08:56 🔗 Lord_Nigh has quit IRC (Read error: Operation timed out)
09:02 🔗 Lord_Nigh has joined #jsmess
13:00 🔗 LordNigh2 has joined #jsmess
13:05 🔗 Lord_Nigh has quit IRC (Ping timeout: 268 seconds)
13:05 🔗 LordNigh2 is now known as Lord_Nigh
13:49 🔗 SketchCow Playstation update: Duncan continues his non-stop addition of covers, enough that I'm not even going to try to go after them anymore.
13:50 🔗 SketchCow I'm going to figure out how there's images that don't have a region setting.
13:50 🔗 SketchCow Then I'm going to verify that the psxj or whatever is working, then set things over to it.
15:54 🔗 azakai_ has quit IRC (Ping timeout: 255 seconds)
16:49 🔗 SketchCow Metadata Machine just flung another 117 covers in
16:49 🔗 SketchCow We're rapidly towards "what hasn't he gotten a covere"
19:15 🔗 SketchCow DFJustin: Do you have a suggestion for which Macintosh model we should be trying?
19:17 🔗 SketchCow maciix ?
19:17 🔗 balrog SketchCow: mame?
19:17 🔗 balrog I'd try maciici
19:26 🔗 SketchCow Let's see if I can dream up a .json
19:32 🔗 SketchCow [2018-04-09 19:32:26] Building src/mame/drivers/mac.cpp into mamemac.js.gz
19:32 🔗 SketchCow Naturally this will work perfectly the first time out
19:32 🔗 SketchCow Zero issues
19:35 🔗 SketchCow Ok, so, I did a build, it didn't tell me anything, it finished
19:36 🔗 SketchCow It's starting to feel like the only way forward is I request: db48x - please build mamemac
19:37 🔗 SketchCow Like, me being in there is resulting in 1. It doesn't get built 2. I'm probably actually adding another cook
19:37 🔗 SketchCow Once the DRIVER is built, I can add additional machines along that driver.
19:43 🔗 ted has quit IRC (Ping timeout: 260 seconds)
19:44 🔗 db48x has quit IRC (Read error: Operation timed out)
19:45 🔗 db48x has joined #jsmess
19:46 🔗 ted has joined #jsmess
20:15 🔗 db48x well, let's take a look
20:16 🔗 db48x yea, tooling problems
20:16 🔗 db48x Compiling src/mame/machine/egret.cpp...
20:16 🔗 db48x ERROR:root:Emscripten, llvm and clang repo versions do not match, this is dangerous (1.37.33, 1.37.36, 1.37.36)
20:17 🔗 db48x SketchCow: I am going to edit your .bashrc file
20:21 🔗 SketchCow DO IT
20:21 🔗 SketchCow Let me know when I have THE POWER
20:22 🔗 db48x SketchCow: you have THE POWER now
20:22 🔗 db48x I tested it in my .bashrc, seems to work
20:22 🔗 db48x now when you log in it will activate the correct version of the emscripten sdk
20:31 🔗 SketchCow Loged in
20:31 🔗 SketchCow Logged
20:31 🔗 SketchCow Building
20:31 🔗 SketchCow It's taking forever on mac
20:31 🔗 SketchCow A good sign
20:31 🔗 db48x a very good sign
20:38 🔗 SketchCow Bonus is it's now building seattle
20:38 🔗 SketchCow even if seattle is brokeass
20:38 🔗 db48x :)
20:44 🔗 SketchCow OK, they're in
20:46 🔗 SketchCow First, let's see Crazy Taxi blow up
20:46 🔗 SketchCow Next, let's get that Mac booting.
20:47 🔗 DFJustin I never figured out what was wrong with dreamcast
20:48 🔗 SketchCow Oh, I know
20:48 🔗 SketchCow I just want it to at least start up and explode
20:48 🔗 SketchCow Before we weren't even compiling
20:49 🔗 SketchCow Next, we now have a mac_hdd_mac750
20:51 🔗 SketchCow OK, https://archive.org/details/dc_crzytaxi blew up as predicted
20:51 🔗 SketchCow Now, trying to think of a piece of software we can use to boot in mac
20:57 🔗 SketchCow https://archive.org/details/OregonTrailMacintosh_color
20:57 🔗 SketchCow PLACE yer bets PLACE yet bets
20:57 🔗 SketchCow Likely I didn't pack the bios
20:59 🔗 DFJustin you're giving it a 5MB file and claiming it's a floppy
20:59 🔗 SketchCow https://archive.org/details/OregonTrailMacintosh works fine
21:00 🔗 SketchCow Suggested step?
21:03 🔗 SketchCow I mean, obviously I'm just trying to get it to boot
21:05 🔗 SketchCow Pce_drive_hd1 could be set
21:05 🔗 SketchCow Whatever the name is
21:05 🔗 SketchCow To swap it to the hard drive image
21:09 🔗 DFJustin yeah you need a boot chd as -hard1
21:10 🔗 DFJustin the oregon trail is a raw hfs image so you need to slot in a fake image-reader addon card: -nbe image
21:10 🔗 SketchCow Well, let's not go crazy
21:11 🔗 DFJustin then you can pass in the oregon trail image as -disk
21:11 🔗 SketchCow What's a good set to set up to make it like a boot
21:11 🔗 SketchCow {
21:11 🔗 SketchCow "name": "Macintosh IIci",
21:11 🔗 SketchCow "js_filename": "mamemac.js.gz",
21:11 🔗 SketchCow "bios_filenames": [
21:11 🔗 SketchCow "maciici.zip"
21:11 🔗 SketchCow ],
21:11 🔗 SketchCow "peripherals": [
21:11 🔗 SketchCow "flop1"
21:11 🔗 SketchCow ],
21:11 🔗 SketchCow "native_resolution": [
21:11 🔗 SketchCow 640,
21:11 🔗 SketchCow 480
21:11 🔗 SketchCow ],
21:11 🔗 SketchCow "extra_args": [
21:11 🔗 SketchCow ],
21:11 🔗 SketchCow https://archive.org/details/mac_hdd_mac750 exists
21:12 🔗 SketchCow http://ia801906.us.archive.org/7/items/emularity_engine_v1/maciici.json
21:14 🔗 DFJustin with native this works: mame maciici -hard1 mac750.chd -nbe image -disk OregonTrail.img
21:14 🔗 DFJustin I'm not sure how to get it to see the chd from another item with emularity
21:14 🔗 DFJustin but you'll want peripherals to be "disk" instead of "fop1" and then put the extra stuff in extra_args
21:15 🔗 DFJustin and you'll need nb_image.zip as an additional bios file
21:17 🔗 SketchCow nb_image uploaded and added to the json
21:18 🔗 SketchCow json not updating... yet
21:20 🔗 SketchCow updated
21:21 🔗 DFJustin yeah then you'll want extra_args to have "-nbe image", "-hard1 mac750.chd" except for that second part won't work because it won't know where to find mac750.chd
21:21 🔗 * DFJustin pokes db48x
21:22 🔗 SketchCow https://archive.org/details/mac_hdd_mac750
21:23 🔗 SketchCow http://ia801906.us.archive.org/7/items/emularity_engine_v1/maciici.json is in the process of getting nbe image
21:24 🔗 SketchCow I'm trying to remember how we do the pce thing
21:25 🔗 SketchCow Oh
21:25 🔗 SketchCow it's mame_peripheral_sdhjfsdkjfhskdjfhskdjfhsdf
21:27 🔗 DFJustin it looks like there is actually a System Folder on the oregon trail image so pce just boots off that directly, but it looks like that doesn't work with mame
21:27 🔗 SketchCow exception thrown: 12123064 mamemac_wasm.js.gz:17095:4
21:27 🔗 SketchCow failed to asynchronously prepare wasm: 12123064
21:27 🔗 DFJustin so we may not have done anything quite like this yet
21:27 🔗 SketchCow I'm sticking with https://archive.org/details/mac_hdd_mac750 so it's coherent.
21:28 🔗 DFJustin well that would need a different json because it's a chd
21:28 🔗 DFJustin with the peripheral set to "hard1"
21:28 🔗 SketchCow Well, let's get a .dsk image or something for mac
21:28 🔗 SketchCow Shove it in there
21:31 🔗 SketchCow https://archive.org/details/mac_hdd_mac750
21:31 🔗 SketchCow Now with .dsk and a 800k .dsk file
21:32 🔗 SketchCow exception thrown: 12123064
21:35 🔗 DFJustin driver is "mac", should be "maciici"
21:36 🔗 DFJustin at that point it should boot to a floppy disk question icon
21:36 🔗 * db48x tries to catch up
21:36 🔗 DFJustin because you've given it an empty disk and no other boot device
21:37 🔗 SketchCow db48x: The emularity has become sentient
21:37 🔗 SketchCow And wants to find you
21:37 🔗 SketchCow It calls you "diskfather"
21:37 🔗 SketchCow It is demanding diskfather
21:37 🔗 SketchCow 3 people have been killed
21:38 🔗 DFJustin db48x: I'm thinking we need a way to load a hard disk image with macos from a specified archive.org item plus the software image from the current item
21:39 🔗 db48x mame_peripheral_hard1 mac_hdd_mac750/mac750.chd is correct
21:39 🔗 SketchCow https://archive.org/details/mac_hdd_mac750 is now updated
21:40 🔗 db48x but you should put it on the item that needs the hard drive, not on the hard drive's item
21:40 🔗 SketchCow I'm just trying to make it boot for now
21:40 🔗 SketchCow So we have a blank 800k disk image
21:40 🔗 SketchCow And the hard drive
21:40 🔗 SketchCow And just make it boot before we get triiiiiicksy
21:40 🔗 db48x ok, then you also need a mame_peripheral_flop1
21:40 🔗 DFJustin do the extra args go before or after the peripheral parameters? they need to be before in this case
21:40 🔗 db48x to specify what floppy drive image to use
21:41 🔗 db48x DFJustin: good question, one moment
21:41 🔗 DFJustin I don't think we need mame_peripheral_flop1 just for this
21:42 🔗 DFJustin it'll load with the -disk
21:42 🔗 db48x naturally we put the extra_args right at the end
21:42 🔗 SketchCow https://archive.org/details/mac_hdd_mac750 is now pumped
21:42 🔗 DFJustin yeah the addon card loadout affects which peripheral types are available
21:44 🔗 DFJustin I can't think of a reason why the args would need to be at the end so putting them at the beginning should be safe although they need to be after the driver name
21:44 🔗 db48x DFJustin: should I add another option (extra_args_pre?), or should the extra_args always come first, or is there a better solution?
21:46 🔗 db48x https://archive.org/details/mac_hdd_mac750&external_js=1
21:47 🔗 db48x SketchCow: looks like you forgot to do word breaking
21:47 🔗 SketchCow where what
21:47 🔗 db48x "extra_args": [
21:47 🔗 db48x "-nbe", "image"
21:47 🔗 db48x ],
21:48 🔗 DFJustin does that matter?
21:48 🔗 db48x it expects to see an array where each word is separate, just like bash would do when you type it in
21:48 🔗 SketchCow This is how rockets crash into buildings
21:48 🔗 DFJustin also take out the mame_peripheral_flop1 thing
21:50 🔗 db48x also it looks like there's an additional bug
21:50 🔗 db48x which DFJustin will probably laugh at me for
21:52 🔗 DFJustin ok it's getting further now
21:53 🔗 db48x ok, I fixed that minor detail
21:53 🔗 db48x and yes, it does look like it gets further
21:54 🔗 SketchCow Removing the flop1 just in case
21:55 🔗 DFJustin yeah having the same file for both blows it up with native
21:55 🔗 SketchCow exception thrown: 16146632
22:02 🔗 db48x oh, I guess for this one it should have been mame_peripheral_disk instead of mame_peripheral_flop1
22:03 🔗 db48x if you specify them both explicitly like that, then you don't have to use the emulator_ext property
22:03 🔗 DFJustin FS.stat('/emulator/mac_hdd_mac750')
22:03 🔗 DFJustin Object { dev: 0, ino: 0, mode: 16384, nlink: 1, uid: 0, gid: 0, rdev: 0, size: 2, atime: Date 2018-04-09T21:57:57.800Z, mtime: Date 2018-04-09T21:57:57.800Z, … }
22:03 🔗 DFJustin FS.stat('/emulator/mac_hdd_mac750/mac750.chd')
22:03 🔗 DFJustin Error: Permission denied
22:03 🔗 DFJustin db48x: don't confuse him
22:03 🔗 db48x (except that you do, because if you leave it out you won't get the emularity at all; it's a bug we have to fix)
22:03 🔗 db48x DFJustin: hmm
22:04 🔗 SketchCow Just give me instructions, prefaced by Sketchcow
22:04 🔗 SketchCow And I'll do them
22:04 🔗 DFJustin I think the setup is ok now and we have a bug somewhere
22:04 🔗 SketchCow I don't understand much of this, except lightly, and I feel bad for all the people
22:05 🔗 db48x DFJustin: very curious
22:06 🔗 db48x 15:06:20.100 FS.readFile('/emulator/mac_hdd_mac750/mac750.chd')
22:06 🔗 db48x 15:06:20.050 Error: No such file or directory
22:09 🔗 db48x DFJustin: loader.js line 1087 is where I create the file after I download it
22:09 🔗 db48x jvilk: ping?
22:15 🔗 SketchCow DFJustin: If I wanted to generate a list of all MAME arcade machines up to now, is there an easy way to do that
22:15 🔗 SketchCow I want to compare against all the arcade_* ones we have, get things going
22:20 🔗 DFJustin it's a bit tricky without making an ARCADE compile
22:21 🔗 DFJustin running this from the mame source tree is probably pretty close: grep -R GAME src/mame/drivers
23:05 🔗 SketchCow https://archive.org/details/arcade_crusnusa
23:05 🔗 SketchCow It boots enough to crash!
23:05 🔗 SketchCow Take that!!
23:08 🔗 DFJustin oh that's a fun one
23:08 🔗 DFJustin exception thrown: RuntimeError: invalid conversion to integer,__ZN17midvunit_renderer15render_textransEiRKN12poly_managerIf20midvunit_object_dataLi2ELi4000EE8extent_tERKS1_i@https://cors.archive.org/cors/emularity_engine_v1/mamemidvunit_wasm.js.gz:7051738:1
23:10 🔗 DFJustin that's regular ass C code too
23:12 🔗 DFJustin wasm thing apparently https://github.com/kripken/emscripten/issues/4625
23:15 🔗 DFJustin probably needs to be fixed in mame
23:25 🔗 SketchCow DFJustin: How about just the parents
23:25 🔗 SketchCow I figure arcade + parents
23:25 🔗 SketchCow I can run mame64 in glowing machine if needed
23:28 🔗 SketchCow found a solution, focus elsewhere
23:28 🔗 SketchCow like the mac

irclogger-viewer