| Author |
Message
|
| Jack |
Posted: Sat Apr 11, 2009 4:09 pm Post subject: Art Exporter |
|
|
 Administrator
Joined: 20 Feb 2009 Posts: 266 Location: Cambridge, UK
|
Download Here
The source is on SVN. The executable here is a Windows debug version (so I hope it runs okay on your computers. You might need certain libraries, hm...). It is command-line and so I enclosed a little helper program to use it.
Note it cannot handle any paths with spaces in it. _________________ - Jack |
|
| Back to top |
|
 |
| vommie |
Posted: Sat Apr 11, 2009 4:30 pm Post subject: |
|
|

Joined: 09 Mar 2009 Posts: 99 Location: Berlin
|
Moah, it doesn't work for me. The tools start and anything, but it doesn't export stuff.
I start "OpenTH Graphics Exporter.exe", then I choose the DATA-Folder (C:\Spiele\Dosbox\Hospital\Data) and click on "Output all". Then a "Output"-named folder is created in "Hospital"-folder and the log shows "C:\Spiele\Dosbox\HOSPITAL\DATA Output - ....... ". But nothing more happens (no files in "Output".) |
|
| Back to top |
|
 |
| Jack |
Posted: Sat Apr 11, 2009 4:34 pm Post subject: |
|
|
 Administrator
Joined: 20 Feb 2009 Posts: 266 Location: Cambridge, UK
|
Hmm... Can you use the program directly. Open the command prompt and type either:
SrpiteExtractor.exe DATAPATH OUTPUTPATH -
to exact all or
SrpiteExtractor.exe DATAPATH OUTPUTPATH 99
to export 99 (say) in detail.
DATAPATH and OUTPUTPATH should have no spaces and the former should exist. _________________ - Jack |
|
| Back to top |
|
 |
| vommie |
Posted: Sat Apr 11, 2009 4:41 pm Post subject: |
|
|

Joined: 09 Mar 2009 Posts: 99 Location: Berlin
|
"The specified program can't be executed"
I'll try it in a Virtual Machine (XP x32). |
|
| Back to top |
|
 |
| Jack |
Posted: Sat Apr 11, 2009 4:46 pm Post subject: |
|
|
 Administrator
Joined: 20 Feb 2009 Posts: 266 Location: Cambridge, UK
|
Ah probably the fault of it being a debug version _________________ - Jack |
|
| Back to top |
|
 |
| vommie |
Posted: Sat Apr 11, 2009 4:54 pm Post subject: |
|
|

Joined: 09 Mar 2009 Posts: 99 Location: Berlin
|
| Jack wrote: | | Ah probably the fault of it being a debug version |
This means..?
It also doesn't work for me in XP x32. |
|
| Back to top |
|
 |
| Jack |
Posted: Sat Apr 11, 2009 4:59 pm Post subject: |
|
|
 Administrator
Joined: 20 Feb 2009 Posts: 266 Location: Cambridge, UK
|
I'm fixing it, hold on  _________________ - Jack |
|
| Back to top |
|
 |
| Jack |
Posted: Sat Apr 11, 2009 5:41 pm Post subject: |
|
|
 Administrator
Joined: 20 Feb 2009 Posts: 266 Location: Cambridge, UK
|
Updated, same link as before. Does it work now? _________________ - Jack |
|
| Back to top |
|
 |
| vommie |
Posted: Sat Apr 11, 2009 5:46 pm Post subject: |
|
|

Joined: 09 Mar 2009 Posts: 99 Location: Berlin
|
Works!
Really cool, thanks. But I've never thought that sprites in TH get handled that primitive (without any overlays).
Edit: Argh, i think there's a bug. Images following on other images don't get extracted new, so the previos image is still in background often.
(See this f.e.) |
|
| Back to top |
|
 |
| Jack |
Posted: Sun Apr 12, 2009 12:56 am Post subject: |
|
|
 Administrator
Joined: 20 Feb 2009 Posts: 266 Location: Cambridge, UK
|
Is that when exporting in detail, or overall, or both?
Edit: 100th post in the art forum, already! _________________ - Jack |
|
| Back to top |
|
 |
| Lego3 |
Posted: Wed Apr 15, 2009 8:40 am Post subject: |
|
|

Joined: 09 Mar 2009 Posts: 124 Location: Göteborg, Sweden
|
It's actually quite interesting to look at what's there... For example there are a few patient poses not in the final game when they seem to be impatient, and there's actually a General Diagnosis Unit seen from the back! _________________ For the End-Of-The-World spell, press Ctrl-Alt-Delete. |
|
| Back to top |
|
 |
| Jack |
Posted: Wed Apr 15, 2009 10:27 am Post subject: |
|
|
 Administrator
Joined: 20 Feb 2009 Posts: 266 Location: Cambridge, UK
|
True! I'd noticed that but hadn't thought of its significance.
What poses are these, I hadn't noticed them... _________________ - Jack |
|
| Back to top |
|
 |
| Lego3 |
Posted: Wed Apr 15, 2009 11:47 am Post subject: |
|
|

Joined: 09 Mar 2009 Posts: 124 Location: Göteborg, Sweden
|
Take a look at 686. Where is that used? _________________ For the End-Of-The-World spell, press Ctrl-Alt-Delete. |
|
| Back to top |
|
 |
| Jack |
Posted: Wed Apr 15, 2009 1:06 pm Post subject: |
|
|
 Administrator
Joined: 20 Feb 2009 Posts: 266 Location: Cambridge, UK
|
Good point! We'll have to use it. _________________ - Jack |
|
| Back to top |
|
 |
| Sjoerd |
Posted: Sat Feb 27, 2010 11:44 am Post subject: |
|
|
Joined: 27 Feb 2010 Posts: 1
|
Hello,
The link is dead now. Does someone have the files?
Regards,
Sjoerd |
|
| Back to top |
|
 |
|
|