English Amiga Board Amiga Lore


Go Back   English Amiga Board > Other Projects > project.CARE

 
 
Thread Tools
Old 26 December 2008, 04:40   #1
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere
Posts: 329
MAME + tile saving edition

I modified MAME v0.128 (debug version) to allow to save the tiles and palettes:

http://pagesperso-orange.fr/franck.charlet/mamed_ts.zip

In the palette view using 'S' key will create a directory (if necessary) with the current game name & save the current palette into it as a .pal file.

In the tiles view using 'S' key will create a directory (if necessary) with the current game name & save all the tiles with all the possible palettes.

I also added a 'windowzoom' option in mame.ini to allow to magnify the window when it's not maximized or in full screen mode, this can be used to obtain a bigger window without the distorted pixels.

Here is an example with tiles and sprites from the game Side Arms (converted to .png):

http://pagesperso-orange.fr/franck.charlet/sidearms.zip

As you can see, all different possibilities are saved side by side as .bmp format (files are optimized during saving but can become pretty big anyway, so beware), the layout (number of tiles/row) follows the one chosen by the user.

Notice that the files can be saved several times during a session without the older ones being overwritten (new ones will be created with different numbers), i implemented it that way because sometimes it's necessary due to changes in the palette (mostly between game levels).

What's left is to spot in games which tiles or sprites are used with what palette and to keep the right ones, it's not perfect but it makes ripping gfx from arcade games it a lot easier than before.

Last edited by hitchhikr; 26 December 2008 at 10:25.
hitchhikr is offline  
AdSense AdSense  
Old 26 December 2008, 16:06   #2
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 37
Posts: 5,372
Send a message via MSN to dlfrsilver
absolutely great !!! thank you very much !!!!
dlfrsilver is offline  
Old 27 December 2008, 06:52   #3
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 37
Posts: 5,372
Send a message via MSN to dlfrsilver
hi again, could it be possible for you to modify a bit this mame custom ?

In order to make a save PER palette change made ?

This would make editable tiles
dlfrsilver is offline  
Old 27 December 2008, 11:14   #4
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere
Posts: 329
What do you mean ?
hitchhikr is offline  
Old 27 December 2008, 16:30   #5
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 37
Posts: 5,372
Send a message via MSN to dlfrsilver
the files are huge, because all series of sprites are put in the files with all palettes possibilities.......

I asked if you could make this mame version save each paletted series of sprites apart
instead of having them in the same file ?

it would make it easier to get the tiles
dlfrsilver is offline  
Old 27 December 2008, 18:53   #6
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere
Posts: 329
Separate files are what i did at first but after some considerations i opted for that grouped solution as browsing through all the tiles scattered in multiple files to find the one with the right palette can really be a pain.

Note that if you're dealing with games that are bigger than 2 megabytes it may be very hard to correctly rip the tiles & sprites as there probably will be too many of them anyway.

I'll consider re-introducing the option, tho.
hitchhikr is offline  
Old 30 December 2008, 00:07   #7
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere
Posts: 329
'Left Shift'+'S' added to save tiles as several files. Also 'G' key support added to turn the gap between tiles on/off. See readme.txt for more infos.
hitchhikr is offline  
Old 02 January 2009, 02:06   #8
musashi9
Registered User

musashi9's Avatar
 
Join Date: Jul 2003
Location: Japan
Posts: 119
Send a message via ICQ to musashi9
Excellent new feature !
I must say keeping the Shift + S options was a good idea
(Pang gave me a 400mb Bitmap file without it ) :P


BTW I get an error when trying to save the tiles from Street Fighter II The World Warrior
I guess this is because the game is bigger than 2MB ?

------------------------------------------------
Exception at EIP=00B3AB77: ACCESS VIOLATION
While attempting to read memory at 07194000
------------------------------------------------
EAX=7191000 EBX=7194000 ECX=00000000 EDX=FFFF2244
ESI=7191000 EDI=00000000 EBP=0022EF88 ESP=0022EAA0

Last edited by musashi9; 02 January 2009 at 11:12.
musashi9 is offline  
Old 03 January 2009, 13:44   #9
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere
Posts: 329
Nope, it's because there's a bug in MAME's tiles viewer itself if you try the left arrow when in palette 0 it will crash in some games. It occurs in the regular MAME too when the debugger is available (mamed).
hitchhikr is offline  
Old 03 January 2009, 15:25   #10
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere
Posts: 329
There, it should be fixed now (same url). I also added a couple of commands:

'LEFT CONTROL'+'S' to save the current page of tiles with all the possible palettes within a single big (sometimes huge) file.

'LEFT CONTROL'+'LEFT SHIFT'+'S' to save the current page of tiles with all the possible palettes scattered as many files as there are possible palettes.
hitchhikr is offline  
Old 03 January 2009, 19:27   #11
Photon
Moderator
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Age: 100
Posts: 4,079
Some interesting stuff you have there. Consider your webpage bookmarked.
Photon is offline  
Old 08 January 2009, 23:38   #12
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere
Posts: 329
Adapted my modifications to mame v0.129, same url.
hitchhikr is offline  
Old 09 January 2009, 23:21   #13
jotd
Cat freak
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 43
Posts: 859
Excellent stuff! Be careful: the bastards from Orange have a tendency to disable webpages when files are not referenced in the index.html start page (or recursively).
It happened to me, I thought I should warn you. Just put the link on your tool on your main page if not already done.
jotd is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga 500 Limited Edition (Stefanie special edition) alkis21 Nostalgia & memories 59 27 March 2013 04:11
Tile map sample Blip Coders. General 1 18 July 2007 14:53
Tile Map Editor stainy request.Apps 4 04 April 2007 02:09
Harlequin Special Edition and Limited Edition Galaxy HOL contributions 1 20 December 2005 11:02
ALIEN BREED (Special Edition) - SAVING/LOADING GAMES alienbreedrules Retrogaming General Discussion 6 19 November 2005 22:52

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:06.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Page generated in 0.15855 seconds with 13 queries