English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Contest

 
 
Thread Tools
Old 28 July 2018, 22:02   #21
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 459
Oh my gosh ! Stimulating project.

Edit : Ok, found the discussion thread.

Last edited by LeCaravage; 28 July 2018 at 22:09.
LeCaravage is offline  
Old 29 July 2018, 11:34   #22
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
Great news and good luck with the project. Looking forward to watching the youtube videos of progress.
redblade is offline  
Old 29 July 2018, 15:22   #23
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
I took a little break from the sprite extraction stuff and decided to test my theory on the scrolling with 8 bit planes.

The video below is a simple scroll test which is blitting the back 3 bit planes to show that the engine would actually work, what is in front is just a simple 32 colour bit map in the front 5 bit planes.

There's no double buffering or anything going on so it appears a bit jerky but the important thing is that I can scroll 2 playfields, 1 at 32 colours and the other at 8 colours... dual playfield mode in 16/16 colours just won't do the game justice.

[ Show youtube player ]
mcgeezer is offline  
Old 29 July 2018, 18:27   #24
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
that's awesome. Your work makes me wonder why arcade conversions were so lame at the time (except for a few ones), when people were actually PAID to do the stuff

Well, sometimes they were provided with the arcade cabinet in free play and "figure the rest out"... Now there's MAME. Makes a difference in the gfx section. The gfx rip from ROM still needs work though. For having tried on a few games, it's far from obvious, even in amiga games.

Are you sure you want to use native development tools for your games? Since I migrated to VASM for whdload slaves, JST & CD32load, asm development became way easier. The only drawback is that you have to switch between winuae and notepad++ (but you can add a hotkey to notepad++ to run a makefile to call vasm)
jotd is offline  
Old 29 July 2018, 19:38   #25
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by jotd View Post
that's awesome. Your work makes me wonder why arcade conversions were so lame at the time (except for a few ones), when people were actually PAID to do the stuff

Well, sometimes they were provided with the arcade cabinet in free play and "figure the rest out"... Now there's MAME. Makes a difference in the gfx section. The gfx rip from ROM still needs work though. For having tried on a few games, it's far from obvious, even in amiga games.
Having the graphics for a game makes a big difference, especially if you're a coder and crap at drawing like me. My thoughts on the arcade ports are when the license was granted from the original creators to do the ports, it didn't matter what shit they churned out...as long as it looked good on the back of the game box people were going to buy it. Then there were the bribes that went to the magazine reviewers too whcih didn't help.

Quote:
Originally Posted by jotd View Post
Are you sure you want to use native development tools for your games? Since I migrated to VASM for whdload slaves, JST & CD32load, asm development became way easier. The only drawback is that you have to switch between winuae and notepad++ (but you can add a hotkey to notepad++ to run a makefile to call vasm)
I actually use both. If I want to knock up something quick I'll use Devpac/MonAM as it's faster, however as the project grows I'll move to VASM/Notepad++ toolchain.
mcgeezer is offline  
Old 29 July 2018, 20:40   #26
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,773
Quote:
Originally Posted by jotd View Post
that's awesome. Your work makes me wonder why arcade conversions were so lame at the time (except for a few ones), when people were actually PAID to do the stuff
as you must know games weren't made with large bitmaps they used a tiles map .
Retro1234 is offline  
Old 30 July 2018, 01:43   #27
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
excellent work mcgeezer. How much ram is free with that?
redblade is offline  
Old 30 July 2018, 13:56   #28
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
Quote:
Originally Posted by jotd View Post
that's awesome. Your work makes me wonder why arcade conversions were so lame at the time (except for a few ones), when people were actually PAID to do the stuff
One of the reasons could be time. I read an interview over on Codetapper's site with Dave Semmens, who converted some non-arcade games to the Amiga (notably the Lion King). He tended to get one or two months to do the job. That doesn't leave much time for nice stuff!

Of course, I'm assuming here that Arcade conversions where no different here (partly because I saw the end titles for R-Type on the C64 bragging about how it was converted in just six weeks). But it would answer a lot.
roondar is offline  
Old 30 July 2018, 14:08   #29
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
Yeah. Conversions were rushed. Not a labor of love like some other games. And not having access to the original material didnt help.

BTW what did you plan in the audio department? AFAIR the music could be remade by sampling 3 or 4 parts and loop them together. It's not like it's changing a lot.

Last edited by jotd; 30 July 2018 at 18:53.
jotd is offline  
Old 30 July 2018, 19:04   #30
SteveMoody
Registered User
 
SteveMoody's Avatar
 
Join Date: Jan 2017
Location: South Wales
Age: 51
Posts: 42
I don't know if it would be of any use to you but i can extract the tiles from the gfx view in MAME. Depending on how the game handles palettes it can be a pain to find the right colours but could be useful in extracting the tiles and sprites.
Attached Thumbnails
Click image for larger version

Name:	gfxset0 tiles 8x8 colors 16 set 0_0000.png
Views:	352
Size:	16.2 KB
ID:	59038   Click image for larger version

Name:	gfxset1 tiles 8x8 colors 16 set 0_0000.png
Views:	294
Size:	73.4 KB
ID:	59039   Click image for larger version

Name:	gfxset2 tiles 16x16 colors 16 set 0_0000.png
Views:	352
Size:	92.4 KB
ID:	59040   Click image for larger version

Name:	tilemap_0_of_2_size_512x256_0000.png
Views:	328
Size:	7.7 KB
ID:	59041   Click image for larger version

Name:	tilemap_1_of_2_size_512x256_0000.png
Views:	317
Size:	5.2 KB
ID:	59042  

SteveMoody is offline  
Old 30 July 2018, 19:04   #31
dlfrsilver
CaptainM68K-SPS France
 
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 46
Posts: 10,412
Send a message via MSN to dlfrsilver
Quote:
Originally Posted by SteveMoody View Post
I don't know if it would be of any use to you but i can extract the tiles from the gfx view in MAME. Depending on how the game handles palettes it can be a pain to find the right colours but could be useful in extracting the tiles and sprites.
I did it already, it took me 3 days to get all the level tiles with the right palette.
dlfrsilver is offline  
Old 30 July 2018, 19:06   #32
SteveMoody
Registered User
 
SteveMoody's Avatar
 
Join Date: Jan 2017
Location: South Wales
Age: 51
Posts: 42
Quote:
Originally Posted by dlfrsilver View Post
I did it already, it took me 3 days to get all the level tiles with the right palette.

I'm doing it with a much smaller game and it is rather time consuming.
SteveMoody is offline  
Old 30 July 2018, 19:39   #33
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by SteveMoody View Post
I don't know if it would be of any use to you but i can extract the tiles from the gfx view in MAME. Depending on how the game handles palettes it can be a pain to find the right colours but could be useful in extracting the tiles and sprites.
Thanks for this. Unfortunately they are useless without the game level maps.

The maps are not easy to extract from the ROM either, for example, each 16x96 block of pixels is referenced by a single byte that is interleaved to draw the upper and lower portion of the display.

So the bytes might go something like this...

Code:
Pixels offset into the screen: 	0     16    32    48    64
Bytes to draw upper and lower blocks:	00,43,00,43,00,43,01,43,00,43

Byte 00 would draw 16x96 of nothing,
Byte 43 would draw 16x96 of ground/platform
Byte 01 would draw 16x96 of a tree
Even with this it goes off on a tangent and does weird things... I may take another look at it later to see if I can reverse engineer it.

There is another way I can do it but even that is a bit tedious, but it means the levels will be accurate which is what is important.

Last edited by mcgeezer; 30 July 2018 at 19:55.
mcgeezer is offline  
Old 30 July 2018, 20:44   #34
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
I used a technique when remaking gods. Identify the tile size and recognize the tile from picture and rebuild the map. Of course it needs a perfect copy of the background image.
jotd is offline  
Old 30 July 2018, 20:52   #35
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,773
I can turn the picture into a map if it helps but I tried it before with Rygar and felt the tiles don't align correctly like you say in your above post.

Its a map and then trees on top or rocks etc.
Retro1234 is offline  
Old 30 July 2018, 21:18   #36
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by jotd View Post
I used a technique when remaking gods. Identify the tile size and recognize the tile from picture and rebuild the map. Of course it needs a perfect copy of the background image.
This is the technique I'll be using. The trick is getting that perfect background image - very time consuming.
mcgeezer is offline  
Old 30 July 2018, 21:20   #37
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
Is it me or the japanese have a very special way of coding? I've reverse-engineered a lot of (simple) games, all french-coded or english-coded and I wasn't that lost. On the other hand, when I tried to reverse some japanese titles I had a tough time (moon patrol, pang)
jotd is offline  
Old 30 July 2018, 21:25   #38
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by jotd View Post
Is it me or the japanese have a very special way of coding? I've reverse-engineered a lot of (simple) games, all french-coded or english-coded and I wasn't that lost. On the other hand, when I tried to reverse some japanese titles I had a tough time (moon patrol, pang)
You have to admire their game designers, when you start to look at their games you realise just how well they are designed and the software engineers and artists are brilliant at memory efficiency.
mcgeezer is offline  
Old 30 July 2018, 21:35   #39
Tsak
Pixelglass/Reimagine
 
Tsak's Avatar
 
Join Date: Jun 2012
Location: Athens
Posts: 1,031
Cool project mate! Best of luck!
Tsak is offline  
Old 30 July 2018, 21:47   #40
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
Yes, their games are very good, also more difficult to reverse engineer. They're also very secretive with their source code. They NEVER provide their code to sub-contractors. All home conversions of arcade ports don't have the original code. Mortal Kombat has some original code from the arcade (but I think the company is american)

For the tiles, one technique I was using was to paste one image onto the other with overlap. If the image moves when pasting, then there's a problem. but one error and the tile recognition system is toast. TBH I used that on pixel-perfect game maps, probably ripped from original logical tile data
I also used that on custom-made levels done with paintshoppro with grid lock on 32x16
jotd is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Entry: Rygar AGA Edition mcgeezer Coders. Entries 75 28 February 2019 20:41
On the Ball - World Cup Edition AGA djcasey request.Old Rare Games 4 25 January 2013 12:39
On The Ball League Edition AGA , Player Manager 2 StarEye Games images which need to be WHDified 11 22 January 2010 18:21
The Vague #1 AGA-RTG edition is released ! kas1e Amiga scene 12 30 October 2007 00:27
On The Ball: World Cup Edition AGA CodyJarrett request.Old Rare Games 11 27 May 2003 06:14

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 18:21.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.16922 seconds with 14 queries