Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Neverwinter Nights: Enhanced Edition has been released! Visit nwn.beamdog.com to make an order. NWN:EE FAQ is available.
Soundtracks for BG:EE, SoD, BG2:EE, IWD:EE, PST:EE are now available in the Beamdog store.
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

fully modded IWDEE... on an iPad

subtledoctorsubtledoctor Member Posts: 9,054
edited March 2015 in IWD:EE Mods
EDIT - how do I include images in a post??

Just want to share the success I had today, and the method with which I achieved it. Now that my mod is in a semi stable state (fingers crossed!) I decided to play. I've taken a bunch of mods from around here, and I want to show that they all work great together. Here's my modlist (in order of installation):
1) Minor NPC Portraits for IWD
2) Icewind Dale NPCs (joinable, with personalities, like BG2 NPCs)
3) More Style for Mages (wizards' staffs, circlets, better robes, etc.)
4) Item Revisions v4 (install the first component here, and the rest as #12 after House Rules)
5) Faerunian Monastic Orders (monk revisions, items, and kits)
6) Frosty Journey IWDEE Kitpack (many great new kits for almost every class)
7) Divine Remix (new spells and new kits for clerics, rangers and druids)
8) Song and Silence (items, kits and tweaks for bards and thieves)
9) Tome and Blood (kits and tweaks for mages and sorcerers)
10) Rogue Rebalancing (tweaks for bards and thieves)
11) House Rules for IWDEE (item and game tweaks specifically for this game)
13) BG2Tweaks (many many item, cosmetic and game tweaks)
14) Scales of Balance (my own mod, many game tweaks and many new kits)
15) aTweaks (more great game tweaks and convenience tweaks)

First, I got all these working together on my computer, a Macbook running OS X (10.8). Then today, I got them installed on my iPad. I'll describe the method below. Note, this method is specific to OS X... Windows users can probably adapt it and do something similar, I just can't tell you how. Note also, my iPad is jailbroken; that's necessary for these mods. That is very unfortunate, and at the end of the post I'll discuss this a bit more. Just know that I'm running iOS 8.1, with the Pangu jailbreak. I'll leave you to decide for yourself whether you want to, and to google methods for doing so.

Before I get into the method, here's a few screenshots. They are of the character generation screens, showing some of the many new kits since that's a nice and visible demonstration of the mod content:
imagehttps://dl.dropboxusercontent.com/u/86011511/iwdios1.jpg
imagehttps://dl.dropboxusercontent.com/u/86011511/iwdios2.jpg
imagehttps://dl.dropboxusercontent.com/u/86011511/iwdios3.jpg[/spoiler]
THE METHOD:

1) Enable SSH. This is very easy, there is an instruction guide on the main page in Cydia. Once ssh was installed, I logged in from Terminal on my Macbook and immediately changed the root password for the iPad, to a new password that is really, really good.

2) Install FUSE and SSHFS. Then I installed FUSE for OS X on my Macbook, as well as the SSHFS filesystem (Google them, they are free and open-source and available together). I created a folder named "mount" in my Documents folder (but this can be any name, and in any location, it just has to match the command below). I restarted, opened Terminal again and entered this command:
sshfs root@xx.xx.xx.xx://var/mobile/Containers/Bundle/Application/ ~/Documents/mount/
The xx.xx.xx.xx is my iPad's local IP address, I found it by going to Settings-->Wifi-->IP Address on the iPad. Terminal asked for the iPad's password (the new one I just made for it) and once I entered it a new drive appeared on my desktop.

3) Copy the game from iPad to computer. Inside that new drive image are dozens of folders with crazy long strings of alphanumeric characters. These are the "UUIDs" for all of the apps in my iPad. I checked inside each one, looking for IWDEE. Eventually I found it, inside a folder starting with "6A88..." but that can change every time they update the app so you might have to search the hard way.

Once you find the IWDEE app, copy it to a folder on your computer. This is over 2 GB, over wifi, via SSH... it will not be quick, probably about 5-10 minutes. Once the copy is done, right-click on the copy on your iPad and select "show package contents." Keep that window open.

4) Mod the game. Now select the copy on your own computer and do the same thing: "show package contents." This is the IWDEE game folder, and this is where you will install mods just like with the normal game. I dropped a copy of my "Mac Weidu Launcher" here, along with a copy of Weidu v237 called simply "weidu", along with the mod folders for the 14 mods listed above. Then I just ran the Weidu Launcher 14 times, installing the mods in the order described above.

5) Copy the modded game from computer to iPad. Now that the copy on my computer was modded, I had to get the mod files back into my iPad. This was simple, if painstaking. First I opened the "lang" folder in both windows, and then opened the "EN_US" folder since my game is in English. I copied the dialog.tlk file from my modded folder on my computer into the folder on the iPad, overwriting the original one.

Then I hit 'back' twice in both windows to get to the game folder, and I opened the "override" folder in both windows. The override folder in my iPad was empty; the folder on my Mac had ~6,500 files into it. I did a CMD-A to select all the files, and simply dragged them into the other override folder, and then waited. And waited. And waited. I watched two episodes of House of Cards and the copy finished sometime during the second episode... luckily neither device lost power. Be very very patient during this part of the process!

6) Profit Play! Once the copy was finished I unmounted/ejected the SSHFS drive from my desktop. Then restarted my iPad. Then I started the IWDEE app, and there was the mod content. Everything seems to have worked!

Post edited by subtledoctor on
JuliusBorisovlunarCrevsDaakmeagloth

Comments

  • elminsterelminster Member, Developer Posts: 15,637

    A NOTE TO BEAMDOG:

    Just a few things:

    1) It's really, really a shame that people have to jailbreak to do this. I can't update my iPad now, which creates a real security risk. The only reason jailbreaking I s necessary is to get access to the dialog.tlk file. I seriously can't fathom that Apple won't let you put a simple text file in a user-accessible directory! Please, I beg you, try to figure out if you can move it. Or put a symlink of it in the Portraits folder, or *something.* Many many people will thank you.

    2) There has been much discussion of the touch UI used in these game ports. The original games make use of a keyboard, and a mouse with five possible inputs: 1) left-click, 2) right-click, 3) left-click-and-drag, 4) right-click-and-drag, and 5) double-left-click. The tablet version is already missing a keyboard, so those five mouse inputs are that much more important. Yet, only the first three work in iOS. Fully 40% of the possible inputs are not implemented. It's been for sale for a long time, and we've seen zero improvement in this regard. You guys have seen great critical praise lately, and had strong sales. You deserve all that success... but by the same token, your loyal customers deserve more progress in the tablet UI.

    3) Externalize concentration check on damage! Yeah, it has nothing to do with the iOS games in particular :P... but I want to be able to mod it, and so do other people, and if you give us these three things I will quite happily buy and mod the other two games on iOS, and help other people do so as well, and also buy and mod all of your future games.

    Cheers!

    *Bows down in total agreement*

    CrevsDaakGrammarsalad
  • lunarlunar Member Posts: 3,339

    A NOTE TO BEAMDOG:

    Just a few things:

    1) It's really, really a shame that people have to jailbreak to do this. I can't update my iPad now, which creates a real security risk. The only reason jailbreaking I s necessary is to get access to the dialog.tlk file. I seriously can't fathom that Apple won't let you put a simple text file in a user-accessible directory! Please, I beg you, try to figure out if you can move it. Or put a symlink of it in the Portraits folder, or *something.* Many many people will thank you.

    2) There has been much discussion of the touch UI used in these game ports. The original games make use of a keyboard, and a mouse with five possible inputs: 1) left-click, 2) right-click, 3) left-click-and-drag, 4) right-click-and-drag, and 5) double-left-click. The tablet version is already missing a keyboard, so those five mouse inputs are that much more important. Yet, only the first three work in iOS. Fully 40% of the possible inputs are not implemented. It's been for sale for a long time, and we've seen zero improvement in this regard. You guys have seen great critical praise lately, and had strong sales. You deserve all that success... but by the same token, your loyal customers deserve more progress in the tablet UI.

    3) Externalize concentration check on damage! Yeah, it has nothing to do with the iOS games in particular :P... but I want to be able to mod it, and so do other people, and if you give us these three things I will quite happily buy and mod the other two games on iOS, and help other people do so as well, and also buy and mod all of your future games.

    Cheers!

    Oh yeah, Please, allow us to modify dialog.tlk on ios. It is such a simple and trivial thing but this makes ultimate modding a no-go for many users.

    CrevsDaak
  • ScottBrooksScottBrooks Administrator, Developer Posts: 687
    Want to try dropping this beside your Baldur.ini on your iPad(do not extract it, just put the lang.zip there)? If it works then you should see the game text in German.

    The steps are a little convoluted, but it's basically as follows
    1: create the directory structure that matches where the game would find dialog.tlk
    2: drop the dialog.tlk in the correct location. In the above zip file file I created lang/en_US, and then copied the german dialog.tlk into it.
    3: When you create the zip, make sure you specify STORE compressions(aka: no compression).
    4: Download http://www.scottbrooks.ca/centralfix.exe and drag/drop your zip on it, or run it from the command line.
    5: Copy that zip file beside your Baldur.ini on your ipad.

    JuliusBorisovCrevsDaaklunartaclane
  • WhiteAgnusWhiteAgnus Member Posts: 111
    edited April 2015
    Holy cow... that worked great, also for BG1/2EE... :smile:

    Could you give access to the source code for the centralfix, maybe someone could integrate this in WeiDu... ;)

  • meaglothmeagloth Member Posts: 3,806
    edited April 2015
    You have GOT to be kidding me. I removed the jailbreak on my iPad LAST WEEK. goddamnit.

    JuliusBorisovCrevsDaak
  • subtledoctorsubtledoctor Member Posts: 9,054
    I can't make heads or tail of that... and I'm on OS X so can't run .exe files without heavy workarounds.

    Is the point that, following those steps, we can apply Weidu mods that edit dialog.tlk without jailbreaking? If so, excellent.

    I'll take a closer look in a few weeks when I have some free time.

    CrevsDaak
  • ScottBrooksScottBrooks Administrator, Developer Posts: 687
    edited April 2015
    Thankfully, it's in go, so it builds pretty easy. If you download go from https://golang.org/dl/
    You'll want the go1.4.2.darwin-amd64-osx10.8.pkg
    Then if you run

    go build centralfix.go
    Then you should have a centralfix binary that you can do

    ./centralfix myfile.zip

    JuliusBorisovCrevsDaakAstroBryGuytaclane
  • Brer_RabbitBrer_Rabbit Member Posts: 159

    Want to try dropping this beside your Baldur.ini on your iPad(do not extract it, just put the lang.zip there)? If it works then you should see the game text in German.

    The steps are a little convoluted, but it's basically as follows
    1: create the directory structure that matches where the game would find dialog.tlk
    2: drop the dialog.tlk in the correct location. In the above zip file file I created lang/en_US, and then copied the german dialog.tlk into it.
    3: When you create the zip, make sure you specify STORE compressions(aka: no compression).
    4: Download http://www.scottbrooks.ca/centralfix.exe and drag/drop your zip on it, or run it from the command line.
    5: Copy that zip file beside your Baldur.ini on your ipad.

    Sorry for super-necroing a post, but can people confirm this working with any present mods? I'm getting mixed messages about whether .tlks can be worked around.

    And is Scott Brooks a part of the Beamdog team?

  • Troodon80Troodon80 Member, Developer Posts: 4,110
    @Brer_Rabbit,

    And is Scott Brooks a part of the Beamdog team?

    Yes, he's one of the leading team members doing engine programming.

    JuliusBorisov
  • ckweezyckweezy Member Posts: 1
    any chance someone could reupload the centralfix.exe? :)

  • catch6229catch6229 Member Posts: 26
    edited February 2016
    Hey guys, quick question. I followed the exact process detailed here for a BG2 install. All of the actual gameplay features installed correctly - I installed multiple strongholds, WeiDu item mods, few new NPC, etc. And I see all the new characters. However, something screwed up with the language file. For some reason none of the dialog shows up. Whenever I click to chat with a character I always get a string of "invalid XXXXXXXX" dialog boxes.

    First I tried to replace the Dialog.tlk file simply - just by copying over the "modded" dialog.tlk file from my modded directory to my Ipad one. Didn't work. Then i followed the instruction above, zipped the dialog.tlk file in my en_US folder (Store Compression). and I put that file in the main directory where the Baldur.ini file should be on the Ipad (for safe measure i also put the zip inside the Lang folder and in the en_US folder) - still didn't work.

    Kinda lost as to what to do going forward, any advice?

    Post edited by catch6229 on
  • subtledoctorsubtledoctor Member Posts: 9,054
    It's probably a misalignment between the game's language and Weidu's language. (Choose carefully, sometimes the choice of languages Weidu gives you changes, and is sometimes in weird order.)

    Sorry, it probably needs a fresh install. :( And make sure Weidu.conf is deleted so a new one can be generated - that file has the language choice in it.

  • catch6229catch6229 Member Posts: 26
    ugh. Well, if its gotta be done its gotta be done. I thought i was good about just selecting English but maybe I screwed up.

    Do you still recommend the zip version of Dialog.tlk or can i just replace the file on my ipad via IFunBox (thats how I've been uploading)? If its the zip, definitively I put in (in zipped format), in the main subfolder of the Ipad BG2 (where, on the PC copy, the Baldur.ini file is located).

Sign In or Register to comment.