.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old September 28th, 2011, 01:20 AM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Modifying the TRS files possible?

Used to, people would do sprite dumps every once in a while of all the unit graphics.

I am curious how they were able to do it, and if it is possible to replace graphic files in the game by inserting new graphics into the .trs files.

This would be useful for doing things such as changing icons for effects in unit screens, replacing site images etc.

Anyone know how to do this? And if so, can you give us a brief overview.

Thanks!
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #2  
Old September 28th, 2011, 08:06 AM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: Modifying the TRS files possible?

lch wrote some code for extracting the unit sprites. I can probably find it if it's needed. I don't know anything about it myself though.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #3  
Old September 28th, 2011, 09:11 AM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Modifying the TRS files possible?

That would be awesome. If you are able to find it, please post .
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #4  
Old September 29th, 2011, 02:54 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Modifying the TRS files possible?

I've delved a bit deeper since first posting this thread. It seems that the graphics are saved in some archaic format used on the old Atari Falcon ST using a program that Johan wrote called "Spooky Sprites". I've tried emulating the Atari Falcon and launching Spooky Sprites, but I've had no luck at this point.

In an old post for Dominions 2, I read that there is a windows version of this program as well, but it was never released. Maybe we can talk the devs into releasing Spooky Sprites for Windows .
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #5  
Old October 7th, 2011, 01:02 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Modifying the TRS files possible?

Yes, this "Spooky Sprites" program is indeed what produces the TRS files and it is something that JK has programmed over a dozen years ago on an Atari Falcon ST when he was still in college. When I tried to find out how to do sprite dumps, I tried to get every version that has been released of said program; and I did manage to still find archives that contained version 2, 4, 5 and 6 of the Atari Falcon program on old BBS and Usenet archives, together with nice documentation about the file format. I went as far as getting the programs to run on an emulator, but they were of no use as they crashed on everything from the games that I tried to load, with the exception of the original CoE game files, maybe.

Although many of the original Atari Falcon ST hardware restrictions are still in use in the current sprite format(!) which leads to funny code you have to create in order to make those sprites usable, JK has ported the program to Linux, which is what KO is using now, commenting that it'd be the "least user-friendly graphics program one can possibly imagine" and of course the file format has since had a few additions to it as well. Which is why I couldn't get a "perfect" sprite extraction (Ulm's national flag still looks strange when I extract it), but something which works well enough to be of some use. The code that I came up with was a little messy and didn't receive any cleanup when I sent it to llamabeast, I'll pass it to you via mail as well now if you want to play with it.

Here's a screenshot that KO supplied from the Linux version:


And here are a few very old threads that were concerned with the original software, which might interest you to read them:
- Updated graphics?
- I can't extract the sprites from the .exe
- Question about Dom 3 development
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
The Following User Says Thank You to lch For This Useful Post:
  #6  
Old October 7th, 2011, 02:35 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Modifying the TRS files possible?

That would be great. I will PM you my email address .
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
Reply

Bookmarks


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 On

Forum Jump


All times are GMT -4. The time now is 09:54 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.