EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: 1 [2]   Go Down

Author Topic: Rename Wizard wip  (Read 29139 times)

s_bastian

  • Karma: 0
  • Offline Offline
  • Posts: 769
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Chrome 2.0.172.39 Chrome 2.0.172.39
    • View Profile
    • www.progettoemma.net
Re: Rename Wizard wip
« Reply #20 on: 19 August 2009, 14:24 »

AFAIK DatWorkshop is already doing this....

http://www.emulab.it/simone/?page_id=7
Logged
Prima di chiedere cosa pu? fare MAME per te, chiediti cosa puoi fare TU per MAME...
Mame 0.1 full set
Gestore del primo ed unico motore di ricerca MAME COMPLETAMENTE in italiano:

Per ricordare che MAME è un progetto italiano...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows Vista Windows Vista
  • Browser:
  • Firefox 3.5.2 Firefox 3.5.2
    • View Profile
Re: Rename Wizard wip
« Reply #21 on: 19 August 2009, 23:30 »

http://mamedev.emulab.it/clrmamepro/binaries/cmpro32_update_20090820.rar
http://mamedev.emulab.it/clrmamepro/binaries/cmpro64_update_20090820.rar

today's features:
- fixed the double rename issue
- replaced ? with ""
- changed progress window slightly
- fixed some index stuff
- added check of "replaced sets" (aka the mentioned mshvsf thingie...)...well..what it does is: check new dat names against old ones...if there is a match and that old name is not in the list of renames (where kept names are included), show the set as "replaced".

Go and test a bit :)
« Last Edit: 20 August 2009, 07:48 by Roman »
Logged

f205v

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 100
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Opera 9.62 Opera 9.62
    • View Profile
    • EMMA dumping team
Re: Rename Wizard wip
« Reply #22 on: 20 August 2009, 13:09 »

AFAIK DatWorkshop is already doing this....

http://www.emulab.it/simone/?page_id=7
OH, yes! I'm using it, and it's good. But everything in one single tool would be marvelous!
Logged
-------------
ciao
f205v

s_bastian

  • Karma: 0
  • Offline Offline
  • Posts: 769
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Chrome 2.0.172.39 Chrome 2.0.172.39
    • View Profile
    • www.progettoemma.net
Re: Rename Wizard wip
« Reply #23 on: 20 August 2009, 13:42 »

mmm sounds like people wanting to play everything with only MAME..... :P :P :P

Anyway:
Code: [Select]
*|glass|glass10|matched by unique set hash
*|glassa|glass10a|matched by unique set hash
*||glass|replaced set

:D :D :D
* s_bastian is happy :)

Now, let's go back hunting for more bugs, but I believe they will be very hard to find now.... :)
Logged
Prima di chiedere cosa pu? fare MAME per te, chiediti cosa puoi fare TU per MAME...
Mame 0.1 full set
Gestore del primo ed unico motore di ricerca MAME COMPLETAMENTE in italiano:

Per ricordare che MAME è un progetto italiano...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 3.5.2 Firefox 3.5.2
    • View Profile
Re: Rename Wizard wip
« Reply #24 on: 21 August 2009, 11:54 »

wow..more than a day and no reports yet ... :)
Logged

s_bastian

  • Karma: 0
  • Offline Offline
  • Posts: 769
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Chrome 2.0.172.39 Chrome 2.0.172.39
    • View Profile
    • www.progettoemma.net
Re: Rename Wizard wip
« Reply #25 on: 21 August 2009, 13:52 »

busy at work, that's the reason! :P

(only half true, I made some more, also making some redundancy checks with some of my scripts, and still nothing strange appeared :)
This is the tool I needed to rollback all the catlist, thanks man! :)
Logged
Prima di chiedere cosa pu? fare MAME per te, chiediti cosa puoi fare TU per MAME...
Mame 0.1 full set
Gestore del primo ed unico motore di ricerca MAME COMPLETAMENTE in italiano:

Per ricordare che MAME è un progetto italiano...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 3.5.2 Firefox 3.5.2
    • View Profile
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows Vista Windows Vista
  • Browser:
  • Firefox 3.5.2 Firefox 3.5.2
    • View Profile
Re: Rename Wizard wip
« Reply #27 on: 23 August 2009, 22:33 »

well....some more coding on it...however no wip exe this time...

- moved rename wizard to profiler
- windowpos/columnswidth and options are saved now
- "diff" buttons checks if a re-parsing of dats is needed
- added 3rd dat mode which allows you to load a dat and apply the found changes on it. This can be in set or/and in rom mode.

Rom Mode: Each rom in each set is checked for an old name match (without taking extensions into account) and the name is updated to the new one (replaced sets and new sets don't play a role here).

Set Mode: Each set name is checked for a match and the name is being updated (again, replaced sets and new sets don't play a role here).

Modified dat is saved to *_new.dat/.xml.

So you can e.g. load a MAME 133 dat and a MAME 133u3 dat and apply the renames on the flyer datfile.
Parsing + diff the 2 dats only has to be once....after that you can exchange the dats to mod.

Open things:

- optionally don't ignore extensions in "apply on rom" mode
- "apply on set" mode is not that easy as you might think....currently it only updates the name. I plan to include description, year, manufacturer, sourcefile and cloneof/romof.....but still, this isn't the full set defintion, so the modified dat has to be handled with care....

Anyway...I started this thing because I didn't want to rename the artwork dats manually.....and something which is a bit more accurate than mamediff....looks like it becomes reality soon....
Logged

s_bastian

  • Karma: 0
  • Offline Offline
  • Posts: 769
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • MS Internet Explorer 7.0 MS Internet Explorer 7.0
    • View Profile
    • www.progettoemma.net
Re: Rename Wizard wip
« Reply #28 on: 25 August 2009, 16:06 »

Here I am again, did you miss me??? :P

from 103u2 to 103u3:
Code: [Select]
*|sf2049se||double rename
*|sf2049te||double rename
*||sf2049se|replaced set
*||sf2049te|replaced set
These should be two "matched by unique set hash", set is composed by 1 rom + 1 chd and nothing changes from one version to the other, unless I overloocked something in the dats...
Logged
Prima di chiedere cosa pu? fare MAME per te, chiediti cosa puoi fare TU per MAME...
Mame 0.1 full set
Gestore del primo ed unico motore di ricerca MAME COMPLETAMENTE in italiano:

Per ricordare che MAME è un progetto italiano...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows Vista Windows Vista
  • Browser:
  • Firefox 3.5.2 Firefox 3.5.2
    • View Profile
Re: Rename Wizard wip
« Reply #29 on: 25 August 2009, 19:46 »

The sets do differ...the u2 ones all had a bad dump listed (which influences the set hash).
However there was a little mistake in handling bad dumps which is now fixed.

|sf2049|sf2049|matched by description
|sf2049se|sf2049se|matched by description
|sf2049te|sf2049te|matched by description
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows Vista Windows Vista
  • Browser:
  • Firefox 3.5.2 Firefox 3.5.2
    • View Profile
Re: Rename Wizard wip
« Reply #30 on: 25 August 2009, 21:47 »

Open question...
...does it make sense to apply (besides setname) description/year/cloneof/romof/manufacturer from the new dat to the 3rd dat....

hmmm....
Logged

s_bastian

  • Karma: 0
  • Offline Offline
  • Posts: 769
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • MS Internet Explorer 7.0 MS Internet Explorer 7.0
    • View Profile
    • www.progettoemma.net
Re: Rename Wizard wip
« Reply #31 on: 26 August 2009, 06:41 »

The sets do differ...the u2 ones all had a bad dump listed (which influences the set hash).
However there was a little mistake in handling bad dumps which is now fixed.

Missed the "bad dump" thing, anyway, good it is settled :)

Now waiting for next beta... :D

Quote
...does it make sense to apply (besides setname) description/year/cloneof/romof/manufacturer from the new dat to the 3rd dat....

Mmmm I would make an option, OR check if these informations are already present in the 3rd dat and apply only if they are already there. EG, a dat made with dir2dat, like most of the snap ones are, have no such informations and they are not mandatory because in snap collection there is no actual dependency. So these informations will be redundant. In case of ROM/SAMPLE dats some of these infos ARE actually useful, so it should be important to report there too.
« Last Edit: 26 August 2009, 06:50 by s_bastian »
Logged
Prima di chiedere cosa pu? fare MAME per te, chiediti cosa puoi fare TU per MAME...
Mame 0.1 full set
Gestore del primo ed unico motore di ricerca MAME COMPLETAMENTE in italiano:

Per ricordare che MAME è un progetto italiano...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 3.5.2 Firefox 3.5.2
    • View Profile
Re: Rename Wizard wip
« Reply #32 on: 26 August 2009, 09:37 »

yeah..maybe another option to rename the other tags....that should be possible.

...and I don't think there will be another beta, I more think of a release this week since my new home's internet will be hopefully active next week and my old one will be shutdown.....I expect a much worse scenario with no access for some days :)

Time to moooove.....
Logged

s_bastian

  • Karma: 0
  • Offline Offline
  • Posts: 769
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • MS Internet Explorer 7.0 MS Internet Explorer 7.0
    • View Profile
    • www.progettoemma.net
Re: Rename Wizard wip
« Reply #33 on: 26 August 2009, 11:57 »

Hope you will not have the problem I had with the last move... it took my ISP 2 weekd to try to arrange the move, he continued to re-activate the line on the old number. I solved changing ISP..... :P
Logged
Prima di chiedere cosa pu? fare MAME per te, chiediti cosa puoi fare TU per MAME...
Mame 0.1 full set
Gestore del primo ed unico motore di ricerca MAME COMPLETAMENTE in italiano:

Per ricordare che MAME è un progetto italiano...
Pages: 1 [2]   Go Up
 

Page created in 0.166 seconds with 20 queries.

anything
anything