English Amiga Board


Go Back   English Amiga Board > abime.net - Hosted Projects > project.Sprites

 
 
Thread Tools
Old 10 February 2010, 00:19   #1
EreWeGo
Registered User
 
EreWeGo's Avatar
 
Join Date: Apr 2008
Location: Tauranga/New Zealand
Posts: 202
Help! Editing "GOAL!" pitches?

Hi everyone,

not sure if this is the right forum, but I'm hoping someone knows how we might be able to edit some of the graphics in "GOAL!" - I've managed to use the Dino Dini File System tools to extract the files from disk2, (where most of the player sprites are, and the football pitches), but I can't get much further.

I end up with the .iff files for the player sprites, which is great, but the pitches appear to be in 16 "*.pit" files, eg: vmuddy1.pit, hnorm2.pit etc.
The game has 4 pitch types: normal, wet, muddy, and wembley. It also has horizontal and vertical views, and two different zoom levels, meaning a total of 16 options, so the 16 ".pit" files extracted makes sense.

However, I can't seem to do anything with these files - I can't extract them further, as they don't appear to be compressed, I can't directly open them with any image editing/manipulation software, and a Hex editor doesn't help much...

I can rip the images using "RipIT", which saves the file to disk first, then searches the saved image for relevant files. I can view, and save the pitches, (which RipIt detects as IFF/ILBM 320x256 8 colors), but there doesn't seem to be a way to edit them directly in the program, or import edited versions...

Any ideas on what I can try woul be awesome - it'd be fun to have a play and give this game a bit of a "makeover".
EreWeGo is offline  
Old 11 February 2010, 20:11   #2
Joe Maroni
Moderator
 
Joe Maroni's Avatar
 
Join Date: Feb 2003
Location: Germany
Age: 44
Posts: 1,303
Send a message via MSN to Joe Maroni
can you please put those "PIT" files in the zone or somewhere else where i can download them ????
Joe Maroni is offline  
Old 11 February 2010, 21:45   #3
EreWeGo
Registered User
 
EreWeGo's Avatar
 
Join Date: Apr 2008
Location: Tauranga/New Zealand
Posts: 202
Hey Joe, the 16 "*.pit" files in the zone now
EreWeGo is offline  
Old 11 February 2010, 22:18   #4
EreWeGo
Registered User
 
EreWeGo's Avatar
 
Join Date: Apr 2008
Location: Tauranga/New Zealand
Posts: 202
Hmmm, actually, I played around some more and found using a Hex editor that I could find the data fro one of the ripped iff files inside one of the "pit" files - so they are in there - just not sure what the extra "padding" does... I think I'll test editing one of the iffs, then manually copying the hex data over the corresponding data inside the pit file, and see if it works...

I know the "Dino Dini File System" sometimes "hides" files inside other files, and with KickOff 2 you can extract the data if you know the filename of the hidden file...I've tried this with the Goal data, but after many guess attempts didn't have any luck...

Ah well, I'll look into the hex a bit more...
EreWeGo is offline  
Old 14 February 2010, 09:30   #5
lolafg
Registered User
 
lolafg's Avatar
 
Join Date: Jan 2008
Location: Tours/France
Age: 52
Posts: 1,233
Have you find how to do ?

That would be fantastic to have new graphics in Goal!
lolafg is offline  
Old 14 February 2010, 11:22   #6
EreWeGo
Registered User
 
EreWeGo's Avatar
 
Join Date: Apr 2008
Location: Tauranga/New Zealand
Posts: 202
Hey lolafg mate,
should be able to get round to testing a little this week, had a busy weekend so couldn't get near my computer!

I'll definitely let you know if I have any luck!
EreWeGo is offline  
Old 14 February 2010, 11:43   #7
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
There are iff files inside the *.pit files. The header most probably just contains the definition of the ball behaviour and stuff. Anyway, I extracted the iff files and uploaded them to The Zone. Creating valid *.pit files shouldn't be a problem either as long as you only change the graphics and keep the resolution etc.
StingRay is offline  
Old 14 February 2010, 12:03   #8
lolafg
Registered User
 
lolafg's Avatar
 
Join Date: Jan 2008
Location: Tours/France
Age: 52
Posts: 1,233
Quote:
Originally Posted by StingRay View Post
There are iff files inside the *.pit files. The header most probably just contains the definition of the ball behaviour and stuff. Anyway, I extracted the iff files and uploaded them to The Zone. Creating valid *.pit files shouldn't be a problem either as long as you only change the graphics and keep the resolution etc.
happy to see you here Sting , was sure that this thread would interest you !!
lolafg is offline  
Old 14 February 2010, 19:12   #9
EreWeGo
Registered User
 
EreWeGo's Avatar
 
Join Date: Apr 2008
Location: Tauranga/New Zealand
Posts: 202
Quote:
Originally Posted by StingRay View Post
There are iff files inside the *.pit files. The header most probably just contains the definition of the ball behaviour and stuff. Anyway, I extracted the iff files and uploaded them to The Zone. Creating valid *.pit files shouldn't be a problem either as long as you only change the graphics and keep the resolution etc.
Thanks Sting, yeah, that's what I figured once I saw that the IFF data was inside the pit files, the only pain is using a Hex editor to get them back in - not a major, just not as easy as it is extracting them

Not sure about any images on disk 1 yet - that's a different problem altogether - you can use the Dino Dini File System tools to extract the disk data, edit them, but because it's the cracked version, the tools won't let you recompile the disk... I'll look at that one later I think!
EreWeGo is offline  
Old 15 February 2010, 01:14   #10
EreWeGo
Registered User
 
EreWeGo's Avatar
 
Join Date: Apr 2008
Location: Tauranga/New Zealand
Posts: 202
Actually, to answer my own question above - I think I'll be fine if I use the WHDLoad version - I just did a very quick test and was able to extract, and write back data to "disk 1", so we might be ok!

I had another look at the .pit files, and found that there's actually two IFFs inside them - if you look at the 16 IFF files we extracted/ripped from the pit files, all the "Zoomed-in" pitches, (vmuddy1.pit, hwet1.pit etc), are missing nets and other features. So, inside the *1.pit files there are two IFFs, one for the "main" pitch, and one with other parts! Now it makes sense why I eneded up with 24 IFFs when I used RIPit, 16 for the "main" pitches, (4 pitches x 2 zoom levels, and horizontal and vertical versions of each), plus 8 extra IFFs for the "extra" parts of the *1.pit files...

Anyway, at least with some effort we can edit and test them...
EreWeGo is offline  
Old 15 February 2010, 06:25   #11
lolafg
Registered User
 
lolafg's Avatar
 
Join Date: Jan 2008
Location: Tours/France
Age: 52
Posts: 1,233
Yes , with Dino dini file system you must work with the original or SPS to be able to recreate the disk , I did that when i edited the teams and added extra teams directly to disk 1.

Great to see that there are posibilities with graphics , well done EreWeGo
lolafg is offline  
Old 15 February 2010, 09:44   #12
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by EreWeGo View Post
the only pain is using a Hex editor to get them back in - not a major, just not as easy as it is extracting them
I can hack a small program which creates valid pit files, shouldn't be much work.

Quote:
Originally Posted by EreWeGo View Post
Not sure about any images on disk 1 yet - that's a different problem altogether - you can use the Dino Dini File System tools to extract the disk data, edit them, but because it's the cracked version, the tools won't let you recompile the disk... I'll look at that one later I think!
I guess you are using the Dynamix release of Goal!, that's a translated preview version AFAIR, you should use the TRSI version, that one is the final sales version and you can recompile the disk as well since there is no crack intro loaded in the bootblock. =)
StingRay is offline  
Old 15 February 2010, 12:06   #13
EreWeGo
Registered User
 
EreWeGo's Avatar
 
Join Date: Apr 2008
Location: Tauranga/New Zealand
Posts: 202
Thanks for the info Sting, you're a regular fountain of knowledge my friend!

I'll have a look at the TRSI version, as well as using the WHDLoad version I have.

The little app sounds great mate, would definitely make thngs a LOT easier - one question though, would it work with the pit files I mentioned where there appear to be two IFF files inside them? If not, no worries, just being greedy!

If you have a spare moment and can whip something up, that'd be fan-bloody-tastic, but don't do anything at the expense of your other great whdload projects etc!
EreWeGo is offline  
Old 15 February 2010, 23:25   #14
EreWeGo
Registered User
 
EreWeGo's Avatar
 
Join Date: Apr 2008
Location: Tauranga/New Zealand
Posts: 202
@ Sting - sorry to be a pain mate, would you be able to put the TRSi versions in The Zone?
EreWeGo is offline  
Old 16 February 2010, 00:49   #15
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
No problem, in The Zone for you. I also started to code the tool to rip/insert the pitches, first beta should be ready tomorrow I think (depends on how much I have to do at work ;D). And yes, it'll work with ANY *.pit file, also those with 2 iff files inside.
StingRay is offline  
Old 16 February 2010, 01:02   #16
EreWeGo
Registered User
 
EreWeGo's Avatar
 
Join Date: Apr 2008
Location: Tauranga/New Zealand
Posts: 202
Hey Sting, thanks mate, you - are a legend!

Many thanks!
EreWeGo is offline  
Old 16 February 2010, 15:28   #17
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Attached is the first beta version of "PitchMaster". It can rip all pitches from the Goal! disk and the (modified) pitches can also be written back to the disk. To rip all *.pit files use this command line:
PitchMaster path_to_goal_disk destdir split

If you omit destdir RAM: is used.

To write back the pitches to the Goal! disk use:
PitchMaster path_to_goal_disk2 dir wp

At the moment the modified pitches must NOT be larger than the original files, I might change that in a later version if that should be a problem (will require a complete rewrite of the Goal! disk.2 file but shouldn't be much of a problem).

Anyway, test and report any problems you'll definitely find as this is just a quick hack which was not much tested. Source attached too for those interested.
Attached Files
File Type: lha PitchMaster.lha (1.9 KB, 432 views)
File Type: txt PitchMaster.s.txt (21.2 KB, 368 views)
StingRay is offline  
Old 01 March 2015, 18:35   #18
lolafg
Registered User
 
lolafg's Avatar
 
Join Date: Jan 2008
Location: Tours/France
Age: 52
Posts: 1,233
Hello Sting !!

resurecting this thread , i know long time ago but if after all things you are doing you could have a look again to this one , that would be very apreciated !!!!!!!!!!!!!!!!!!!!

Thanks in advance !!!!!!!!!!!!!!!!!
lolafg is offline  
Old 01 November 2016, 23:06   #19
Fillo82
 
Posts: n/a
I'm resurrecting the thread hoping someone has made progress on this.. I really would like to get into modifying graphics and teams for Goal! (and share it with anyone interested) but I've got 0 skills in playing around with anything that hasn't a graphic interface (i.e. hex/command line editors).

Does anybody know/has made an editor with GUI to be used to open/modify Goal! content on adf files?

Thanks!
 
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Clean Goal adf " lolafg request.Other 26 05 August 2016 02:44
"Lincs Amiga User Group aka "LAG" Meeting Confirmed for Sat 2nd of March" rockape News 2 21 February 2013 22:46
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" rockape News 4 30 January 2013 00:06
CD32 Image-Name-Bug: "...(bla)[!].zip" -> "...(bla)[" / "...[test].zip" -> "...[tes" cfTrio support.WinUAE 8 18 December 2012 16:31
Problems with "Thespywholovedme", "Flood", "Shinobi" sareks support.Games 12 03 May 2006 14: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 13:01.

Top

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