Search found 222 matches

by sebdel
Wed Feb 19, 2020 8:00 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

nop. this zip part is where most of zip references are now :) another example: https://github.com/MiSTer-devel/Arcade-Scramble_MiSTer/blob/master/releases/Amidar.mra This is already implemented. You tried and it didn't work? What's the problem exactly? doesnt work. Context: I have a folder with non...
by sebdel
Tue Feb 18, 2020 1:48 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

Why are we doing this then? Is it so you can run more games on the same hardware by externalising the byte-shuffling and other config stuff? When I wrote this code, the MRA tool didn't exist even in imagination, so I had to solve it somehow. But in the future it can be useful (Jotego requested it a...
by sebdel
Tue Feb 18, 2020 12:15 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

Only with modifying the code, the cores do the byte-shuffling in HDL: https://github.com/Gehstock/Mist_FPGA/blob/master/Arcade_MiST/Midway%20MCR%20Scroll/CraterRaider_MiST/rtl/CraterRaider_MiST.sv#L163 Why are we doing this then? Is it so you can run more games on the same hardware by externalising...
by sebdel
Tue Feb 18, 2020 10:15 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

<interleave> node on MiSTer does several tasks. It's not only for interleaving several parts, but also can be used to swap the bytes in a single part. map="21" will swap the bytes of the part. The <group> node does that too. It looks like we implemented the same functionality roughly at t...
by sebdel
Sun Feb 16, 2020 3:08 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

@sedbel, did you implement the list of zip files here? or just in part? i think just in part <rom index="0" zip="alienar.zip|alienaru.zip" md5="342b7d5d91dc2cd81f7f193b076555d2"> No, I only did it for rom. I was under the impression that zip in part was deprecated. Why...
by sebdel
Sun Feb 16, 2020 10:59 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

Re: setname. I cut them to 8 chars and replace a bunch of characters by '_': Just robotron87, robotron12 and robotrontd will still reduced to robotron :) But it's not something you can or should care I think, just mentioned for noticing. bruno proposal is to take the last 8 chars but that would giv...
by sebdel
Sun Feb 16, 2020 7:47 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

@sedbel, did you implement the list of zip files here? or just in part? i think just in part <rom index="0" zip="alienar.zip|alienaru.zip" md5="342b7d5d91dc2cd81f7f193b076555d2"> No, I only did it for rom. I was under the impression that zip in part was deprecated. Why...
by sebdel
Sat Feb 15, 2020 9:49 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

fat32 isn't case sensitive and the tests i already did with rom files (before arc) told me the same (AAA.ROM or aaa.rom are the same for core) Thanks, lower case it is then. No, upper case. MiST's firmware does case sensitive matching, and the FS stores file name as uppercase. The file name case is...
by sebdel
Sat Feb 15, 2020 9:03 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

brunosilva wrote:fat32 isn't case sensitive and the tests i already did with rom files (before arc) told me the same (AAA.ROM or aaa.rom are the same for core)

Thanks, lower case it is then.
by sebdel
Sat Feb 15, 2020 8:47 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

Then <setname> would be good for both NAME= and the ROM's filename, too. Then MRAs can have long filename. And if there's no <setname> it can fall back to the MRA filename (for both NAME and ROM's filename). Quick question: does it matter if the NAME written in the ARC file is in lower case? I'd ra...
by sebdel
Thu Feb 13, 2020 10:08 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

I think I can ommit the md5 sum if all files are referenced to by CRC. I don't know about that merge|unmerged thing. I think it is safe to ignore it. How about the interleave element? I'd like to do things in a compatible way with MiSTer so there is a single .mra file for both MiSTer users and othe...
by sebdel
Thu Feb 13, 2020 7:23 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

I also need the dual zip feature to load unmerged rom sets. For instance: <misterromdescription> <name>Ghouls'n Ghosts (USA)</name> <setname>ghoulsu</setname> <year>1988</year> <manufacturer>Capcom</manufacturer> <rbf>jtcps1</rbf> <rom index="0" zip="ghouls.zip|ghoulsu.zip" md5=...
by sebdel
Thu Feb 13, 2020 12:33 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

brunosilva wrote:i talking about this: <rom index="0" zip="amidar.zip|amidars.zip" md5="22506edd9fb15fc2f5608c0174217753" type="merged|split|nonmerged">

Why choose xml if you're going to put collections in strings... anyway, sure, I'll support that.
by sebdel
Thu Feb 13, 2020 8:35 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

about arc files: should arc file include the rom filename? for example in amidar (creating arc from mra): I get Amidar (Scramble hardware).arc and Amidar.rom how does mist know what rom to load? maybe using setname , core could use this as core name and also as rom filename to load? I just merged a...
by sebdel
Thu Feb 13, 2020 7:16 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

@sebdel - to use mra directly from mister we also need to mra software to read several zip files from zip property. You can find one exame here: https://github.com/MiSTer-devel/Arcade-Scramble_MiSTer/blob/master/releases/Amidar.mra Yes, I'm aware of this one. I was just waiting for someone to ask. ...
by sebdel
Wed Feb 12, 2020 1:54 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

I have a simpler request for a future featue: put the ROM filename (=MRA filename) into a NAME=XXXXXXXX setting in .arc (converted to uppercase). It will allow to override the core name itself, allowing to load different romset for the same mod. Also it will allow to leave the core name empty in th...
by sebdel
Wed Feb 12, 2020 12:08 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

Sebdel, did you add support for recognizing the files inside the zip by the CRC code? I am already running into trouble with my own MAME romset as the names do not match those in MAME source files. If you could add the patch element Sorgelig told us about, that'd be great. Thank you :-) CRC should ...
by sebdel
Tue Feb 11, 2020 12:37 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

I noticed you compute the MD5 before you interleave data to the destination. Is that correct? What is the ROM MD5 exactly? MD5 is calculated at file loading stage, so basically it's MD5 of all used parts in the order they listed in MRA, not MD5 of constructed ROM. The point is to check that rom is ...
by sebdel
Tue Feb 11, 2020 11:13 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

Played with it a bit, some thoughts: - RBF doesn't have to be quoted (no problem, but a bit ugly in my eyes) - ARC file name should be the <name> tag to have a pretty long name - Any solution for the toggle switch? Maybe: <dip bits="15" name="Advance" type="trigger"/> ...
by sebdel
Tue Feb 11, 2020 9:11 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

As I checked several MRAs, the ROM format already differs. Even for Scramble, which was released 2 days ago. I have better things to do than following MiSTer changes when it's a change just because. And surely I won't change all the 19 MRAs now. But if it's already there, you don't have to remove t...
by sebdel
Tue Feb 11, 2020 9:08 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

values main task is not reordering. Some dips may occupy for example 4 bits while only like 2 or 3 values are used from all 16 possible values. So you write only 2 ids and their values. About mod parameter: On MiSTer MRA, this parameter is not really mod. It's just binary data sent with index 1. Ho...
by sebdel
Tue Feb 11, 2020 8:33 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

edit: deleted. sorry, misread what you were saying.
by sebdel
Tue Feb 11, 2020 8:32 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

edit: deleted. sorry, misread what you were saying.
by sebdel
Tue Feb 11, 2020 8:30 am
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

So at the end we can use the data in <rom index="1"> as the mod value if it's a single number. Feels hacky, but it's ok if it won't be changed. As we don't embed any upload data in .ARC files, the actual index and other content never will used. But I starting to feel the best would be to ...
by sebdel
Mon Feb 10, 2020 4:38 pm
Forum: MiST
Topic: HELP WANTED: MRA file converter for MiST
Replies: 137
Views: 5395

Re: HELP WANTED: MRA file converter for MiST

By the way, is there a syntax to patch a file? For example, change some bytes in a file? Just asking, not requesting. You can source a file multiple times and set offset and length as you see fit. So, for example, you can patch 4 bytes at offset 1020 with: <part name="file1.dat" length=&q...

Go to advanced search