OpenTH Forums Forum Index
Return to the website
FAQ  FAQ   Search  Search   Memberlist  Memberlist   Usergroups  Usergroups
Register  ::  Log in Log in to check your private messages


Post new topic  Reply to topic
 Art Exporter « View previous topic :: View next topic » 
Author Message
Jack
PostPosted: Sat Apr 11, 2009 4:09 pm    Post subject: Art Exporter Reply with quote   

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
View user's profile Send private message MSN Messenger
vommie
PostPosted: Sat Apr 11, 2009 4:30 pm    Post subject:  Reply with quote   



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
View user's profile Send private message
Jack
PostPosted: Sat Apr 11, 2009 4:34 pm    Post subject:  Reply with quote   

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
View user's profile Send private message MSN Messenger
vommie
PostPosted: Sat Apr 11, 2009 4:41 pm    Post subject:  Reply with quote   



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
View user's profile Send private message
Jack
PostPosted: Sat Apr 11, 2009 4:46 pm    Post subject:  Reply with quote   

Administrator

Joined: 20 Feb 2009
Posts: 266
Location: Cambridge, UK

Ah probably the fault of it being a debug version
_________________
- Jack
Back to top
View user's profile Send private message MSN Messenger
vommie
PostPosted: Sat Apr 11, 2009 4:54 pm    Post subject:  Reply with quote   



Joined: 09 Mar 2009
Posts: 99
Location: Berlin

Jack wrote:
Ah probably the fault of it being a debug version

This means..? Shocked

It also doesn't work for me in XP x32.
Back to top
View user's profile Send private message
Jack
PostPosted: Sat Apr 11, 2009 4:59 pm    Post subject:  Reply with quote   

Administrator

Joined: 20 Feb 2009
Posts: 266
Location: Cambridge, UK

I'm fixing it, hold on Smile
_________________
- Jack
Back to top
View user's profile Send private message MSN Messenger
Jack
PostPosted: Sat Apr 11, 2009 5:41 pm    Post subject:  Reply with quote   

Administrator

Joined: 20 Feb 2009
Posts: 266
Location: Cambridge, UK

Updated, same link as before. Does it work now?
_________________
- Jack
Back to top
View user's profile Send private message MSN Messenger
vommie
PostPosted: Sat Apr 11, 2009 5:46 pm    Post subject:  Reply with quote   



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
View user's profile Send private message
Jack
PostPosted: Sun Apr 12, 2009 12:56 am    Post subject:  Reply with quote   

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
View user's profile Send private message MSN Messenger
Lego3
PostPosted: Wed Apr 15, 2009 8:40 am    Post subject:  Reply with quote   



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
View user's profile Send private message
Jack
PostPosted: Wed Apr 15, 2009 10:27 am    Post subject:  Reply with quote   

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
View user's profile Send private message MSN Messenger
Lego3
PostPosted: Wed Apr 15, 2009 11:47 am    Post subject:  Reply with quote   



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
View user's profile Send private message
Jack
PostPosted: Wed Apr 15, 2009 1:06 pm    Post subject:  Reply with quote   

Administrator

Joined: 20 Feb 2009
Posts: 266
Location: Cambridge, UK

Good point! We'll have to use it.
_________________
- Jack
Back to top
View user's profile Send private message MSN Messenger
Sjoerd
PostPosted: Sat Feb 27, 2010 11:44 am    Post subject:  Reply with quote   



Joined: 27 Feb 2010
Posts: 1

Hello,

The link is dead now. Does someone have the files?

Regards,
Sjoerd
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1




You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forumdesign by Dustin Baccetti & Joey Saddal
Powered by phpBB © 2001, 2009 phpBB Group