ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Jan 20, 2019 6:49 pm

All times are UTC




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Hitman Silent Assasin
PostPosted: Sun Dec 30, 2018 2:40 am 

Joined: Tue Nov 13, 2018 5:10 pm
Posts: 2
Hi!

How to posibbly exract/repack these files?


Attachments:
mainmenu.rar [13.56 KiB]
Downloaded 13 times
Top
   
PostPosted: Sun Dec 30, 2018 5:28 am 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 401
Hitman: Contracts .LOC Tool v1.1
By Elbereth
Download

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Tue Jan 01, 2019 6:54 pm 

Joined: Tue Jan 01, 2019 6:51 pm
Posts: 5
Hi, I was wondering something about this LOC tool. How are we going to actually export or import Hitman's text files with this tool? There is a some sort of web site that tells me how to do it but I can't even understand a single word. http://hitman.gram.pl/viewpage.php?page_id=303 This is the site I'm talking about. If you can somehow help me about this "export and import" thing, I'd be glad. Thank you.


Top
   
PostPosted: Tue Jan 01, 2019 7:03 pm 
User avatar

Joined: Wed Dec 03, 2014 12:44 pm
Posts: 61
KederliLahmacun wrote:
Hi, I was wondering something about this LOC tool. How are we going to actually export or import Hitman's text files with this tool? There is a some sort of web site that tells me how to do it but I can't even understand a single word. http://hitman.gram.pl/viewpage.php?page_id=303 This is the site I'm talking about. If you can somehow help me about this "export and import" thing, I'd be glad. Thank you.


Export command
loctool.exe x mainmenu.LOC mainmenu.xml

Import command
loctool.exe c mainmenu.xml mainmenu.loc

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<HitmanLOC>
  <MainPart name="AllLevels">
    <Item name="Actions">
      <Item name="Activate">Activate</Item>
      <Item name="Basement">Basement</Item>
      <Item name="CallAgency">Call agency</Item>
      <Item name="CallElevator">Call elevator</Item>
      <Item name="ChangeClothes">Change clothes</Item>
      <Item name="ClimbOverWall">Climb over wall</Item>
      <Item name="ClimbThroughWindow">Climb through window</Item>
      <Item name="Close">Close</Item>
      <Item name="CloseDoor">Close door</Item>
      <Item name="Deactivate">Deactivate</Item>
      <Item name="DeactivateLaser">Deactivate laser</Item>
      <Item name="Drag">Drag</Item>
      <Item name="DropBody">Drop body</Item>
      <Item name="DropItemDownChute">Drop item in chute</Item>
      <Item name="FirstBasement">1st basement</Item>
      <Item name="FirstFloor">1st floor</Item>
      <Item name="Holster">Holster</Item>
      <Item name="NotEquipped"/>
      <Item name="Open">Open</Item>
      <Item name="OpenDoor">Open door</Item>
      <Item name="PeekHole">Look through keyhole</Item>
      <Item name="PickLock">Pick lock</Item>
      <Item name="Pickup">Pick up %s</Item>
      <Item name="PlaceBomb">Place bomb</Item>
      <Item name="PlaceItem">Place here</Item>
      <Item name="PlaceX">Place %s</Item>
      <Item name="PoisonTarget">Poison target</Item>
      <Item name="PoisonWater">Poison water</Item>
      <Item name="PressButton">Press button</Item>
      <Item name="RunToggle">Toggle running</Item>
      <Item name="SecondBasement">2nd basement</Item>
      <Item name="TakeClothes">Take clothes</Item>
      <Item name="ToggleGenerator">Toggle Generator</Item>
    </Item>


Top
   
PostPosted: Sun Jan 13, 2019 8:50 am 

Joined: Tue Jan 01, 2019 6:51 pm
Posts: 5
Oh, okay. I was kinda busy so I couldn't reply. Thanks for the info.


Top
   
PostPosted: Sun Jan 13, 2019 4:44 pm 

Joined: Tue Jan 01, 2019 6:51 pm
Posts: 5
Everything went as it should for MainMenu.LOC and InventoryMenu.LOC files but, in other files like C0-1__LOAD.LOC or C0-1__MAIN.LOC some kinda error started to pop-up from the command prompt. It was something like this:

Exception EJclSimpleXMLError in module loctool.exe at 0002463A.
Invalid Document: Unexpected text in file prolog.

I don't know what it means. But seems like something recoverable, I hope?


Top
   
PostPosted: Sun Jan 13, 2019 4:57 pm 

Joined: Tue Jan 01, 2019 6:51 pm
Posts: 5
Ah, never mind. I think I got it.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC


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 post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited