Alt-Miria Mod Updated for Restoration Project 2.3

Discussion in 'Fallout General Modding' started by Endocore, Dec 26, 2013.

  1. Nick Dahl

    Nick Dahl First time out of the vault

    15
    Jan 1, 2014
    Unfortunately, all I get when I try to open a .int file or compile a .ssl file is this error message:

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.


    ************** Exception Text **************
    System.ComponentModel.Win32Exception: The system cannot find the file specified
    at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    at System.Diagnostics.Process.Start()
    at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
    at ScriptEditor.Compiler.Compile(String infile, String& output, List`1 errors, Boolean preprocessOnly)
    at ScriptEditor.TextEditor.Compile(TabInfo tab, String& msg, Boolean showMessages, Boolean preprocess)
    at ScriptEditor.TextEditor.compileToolStripMenuItem1_Click(Object sender, EventArgs e)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5472 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    ScriptEditor
    Assembly Version: 2.10.0.0
    Win32 Version: 2.10.0.0
    CodeBase: file:///C:/Users/Nick/Downloads/modderspack%203.1/Script%20editor/ScriptEditor.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    ICSharpCode.TextEditor
    Assembly Version: 3.2.0.5777
    Win32 Version: 3.2.0.5777
    CodeBase: file:///C:/Users/Nick/Downloads/modderspack%203.1/Script%20editor/ICSharpCode.TextEditor.DLL
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------


    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.


    For example:







    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
     
    Last edited: Jan 23, 2014
  2. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Try running the included compile.exe in Command Prompt to compile .ssl, with -p parameter. e.g. compile.exe -p myscript.ssl
     
    Last edited: Jan 23, 2014
  3. Nick Dahl

    Nick Dahl First time out of the vault

    15
    Jan 1, 2014
    Unless I'm doing that entirely wrong, all I get is a message saying it can't find the file, even when I drag and drop the file into the command prompt which adds the location to the command line.
     
  4. Endocore

    Endocore Look, Ma! Two Heads!
    Modder

    365
    Mar 14, 2010
    I was rereading the discussion with Nick, and wanted to first make two corrections:

    1) Math isn't my thing. :oops: I can count to ten fairly well (to twenty if I take my socks off), but beyond this any advice of mine in matters involving numbers should be closely scrutinized. So for example when I said 149 + 16777216 = 16777361, that was wrong. The correct answer is 16777365. Likewise with all the other spots where I tried to add something to 16777216.

    2) I didn't initially notice a couple of posts ago when you said you made your entries in critters.lst on the model:

    hrfjmpaa,11,1

    You want to leave off the last two letters before .frm for each general series (primitive, leather, vault suit, etc). For example:

    hrfjmp,11,1

    is the correct format for entries in critters.lst.

    *****

    I can't give much advice on these how these script compilers work, since I only know about the one I use. This would be way too frustrating to have Nick do a great job of following along with several pretty complicated techniques and then not be able to complete a mundane last step to get his work into his game. I suggest the following:

    1) Get this script compiler from the NMA files section.

    2) Get these support files that allow the above to run.

    Decompile Miria's script mcmiria.int again using these tools (this time the code will look identical to what I've posted in my examples), make your changes, then recompile the .ssl. Since this is the tool I use, I could answer any questions that may arise during the process.

    For everyone else, you may want to look into Nirran's Ruby compiler (available at his site) for your long-term needs if you want to go the Noid/Ruby route as I have done.
     
  5. Nick Dahl

    Nick Dahl First time out of the vault

    15
    Jan 1, 2014
    @Endocore,
    Downloaded the compiler and support files. Now, what do I do with them? The instructions for installation and use aren't very clear, so I'm left doing the coding equivalent of banging rocks together.
     
    Last edited by a moderator: Jan 9, 2016
  6. Endocore

    Endocore Look, Ma! Two Heads!
    Modder

    365
    Mar 14, 2010
    Basically ruby-1.6.8-1-i386-mingw32 is a generic or basic scripting language, and the files from the Noid's compiler are an add-on to use or adapt these files with Fallout and Fallout 2 scripts. Unzip both archives. Put the first one into a folder called usr at the root level of your hard drive or partition. For example if you have one hard disk, C:, then you want to have some folders that look like this:

    C:
    --usr
    ----local
    ------bin

    or C:\usr\local\bin etc. Then copy the files from the Noid's compiler set to C:\usr and overwrite any existing files (from the first or Ruby download).

    I use Windows XP, so I don't know if your newer Windows still has a config.sys file. If not, no big deal. You can put a path in there to use Ruby from any directory, but it's not necessary. You can just take any script you want to decompile (for example, mcmiria.int) and copy it to \usr\local\bin.

    Ruby works from a command prompt (what used to be called a DOS prompt or DOS window); there's no gui involved. If you're into emulating, I'm pretty sure you could also use DOSbox to run (this old version of) Ruby, but that's just an option rather than anything necessary.

    Once the script you want to compile is in the folder usr\local\bin, bring up a command prompt ("browse" to folder usr\local\bin if necessary) and type (for example):

    ruby decompile mcmiria.int

    The result will be a text file called (in this case) mcmiria.ssl in \usr\local\bin\. You can then open the ssl with a plain text editor (for example, Windows Notepad-- but don't use fancy text editors like MS Word or Open Office Writer as they leave all kinds of invisible formatting characters in a file that will confuse the script compiler later). At this point, you should probably delete the .int file in this folder to avoid future confusion (making sure you used a copy in \usr\local\bin\ rather than the original). Make any changes you want and save the ssl, keeping it in the folder usr\local\bin the whole time. To recompile the script, bring up a command prompt again and type

    ruby compile mcmiria.ssl

    If there are any problems you may get a notice that the script didn't compile; for example "syntax error" or "expected > after expression." These typically mean you left off a parenthesis somewhere, had a begin or end that didn't match up with the converse, forgot to put a semicolon on the end of a line that needs one, and so forth.

    If there are no problems the script will compile silently, leaving you with a new version of the script (mcmiria.int). Move this to your Fallout2\data\scripts folder.

    If you have more questions or that wasn't what you needed help with, just keep asking and we'll get this thing straightened out.
     
  7. Nick Dahl

    Nick Dahl First time out of the vault

    15
    Jan 1, 2014
    Alright Endocore, I'm with you up until trying to get the command prompt to decompile. I don't think Windows 7 has a config.sys file, so I'm going to have to browse to the location with the prompter. I think. I'm not very savvy with using the command prompt.
    If I type in C:\usr\local\bin\ruby decompile mcmiria.int it gives me a LoadError: no such file
    Typing in C:\usr\local\bin\ruby simply renders the command prompt useless as any thing typed in doesn't actually do anything. It just goes to the next line
     
  8. phobos2077

    phobos2077 Mildly Dipped
    Modder

    596
    Apr 24, 2010
  9. Nick Dahl

    Nick Dahl First time out of the vault

    15
    Jan 1, 2014
    @phobos2077
    I've already tried that. The above error message is what I get every time I try to open or compile a script using this program. Believe me, if it or any of these programs worked as easily as they should, I would have been done a week ago.
     
    Last edited by a moderator: Jan 9, 2016
  10. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    From your posts it seems to me that you're probably not familiar with command prompt. And using Timeslip's sslc (compile.exe) is already easier than Noid's compiler, since you don't need to install extra Ruby stuff and deal with path variables in the system. Here's an easy way to minimize the problem dealing with command prompt, try copy/paste these lines in your notepad:
    Code:
    compile.exe -p %1
    pause
    Save it to a .bat file, e.g. compiler.bat and put it in the same folder as Timeslip's sslc (compile.exe from modder's pack).
    Then you can drag and drop the decompiled ssl script on the bat file, it should automatically compile the script and display the result (maybe some warning or error messages) and a "Press any key to continue".
     
  11. Nick Dahl

    Nick Dahl First time out of the vault

    15
    Jan 1, 2014
    @NovaRain
    After doing that, it gives me an error message of
    'compile.exe' is not recognized as an internal or external command, operable program or batch file
    Mybe I got a corrupted version of compile.exe?
     
    Last edited by a moderator: Jan 9, 2016
  12. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Are you sure the two files (compile.exe and compiler.bat) are in the same place? From the error message the bat file can't find compile.exe.
    What's your OS and where do you put the files? Something isn't quite right.
     
    Last edited by a moderator: Jan 9, 2016
  13. Nick Dahl

    Nick Dahl First time out of the vault

    15
    Jan 1, 2014
    I'm using Windows 7 64 bit, which may be the problem right there.
    compile.exe and compiler.bat are both in C:\modderspack 3.1\Script editor\resources
    mcmiria.ssl is still in the fallout2 folder in my steam directory
     
  14. Nick Dahl

    Nick Dahl First time out of the vault

    15
    Jan 1, 2014
    OK, turns out I needed to move the .ssl file into the same folder as well, now it actually tries to compile.

    It is giving me a couple of scripting errors.
    <mcmiria.ssl>:2860: End of input with no newline, supplemented newline
    end
    <mcmiria.ssl>:107: Undefined symbol op_party_member_obj

    I assume the numbers are line number, telling me were to look for errors? I can look back through the coding to see if a made a typo, but if somebody can inform of what those errors actually mean and how they can be fixed it would be much appreciated
    Edit:
    Apparently those errors show up in the mcmiria.int file even before I started modding it. Maybe it's because I created the ssl file in FSE, but am using sfall to compile? Again, the long error log at the top of the page is what I get if I try to open or compile a .int file in sfall</mcmiria.ssl></mcmiria.ssl>
     
    Last edited: Jan 26, 2014
  15. Endocore

    Endocore Look, Ma! Two Heads!
    Modder

    365
    Mar 14, 2010
    I'll get Nick squared away on this, so his trouble with compiling a script should be resolved by tomorrow.

    phobos mentioned in a round-about way why anyone would bother using Ruby-- and the answer is in his own post. Header files. No meddling with header files is needed or wanted by folks like myself using Ruby. This is, for example, how I've developed a profoundly modded private version of the RP while hardly any other RP mods (not counting weapon mods based on changing protos) are available. I don't need to "wait" for killap's headers, because I don't use headers at all. Actually after so long not using them, I wouldn't want to now-- they're just one more layer of obscurity to promote bugs and mistakes.
     
  16. ThegreatBenDoyle

    ThegreatBenDoyle First time out of the vault

    65
    Apr 10, 2012
    @Nick Dahl, what I'm doing is taking the standard hero female model for leather jacket leather armor and metal armor and reducing them by 10% since miria is smaller framed then I put Miria's vanilla head on them.

    They are going to be original animations only so just knives and smgs, also I'm really thinking about cutting most of the death animations as the are 20 something frames each and youre just gonna reload anyway. It would cut about 30 hours off the workload

    What do you guys think about this?
     
    Last edited by a moderator: Jan 9, 2016
  17. Nick Dahl

    Nick Dahl First time out of the vault

    15
    Jan 1, 2014
    @BenDoyle,
    Wouldn't neglecting the death animations make the game crash if and when Miria gets killed in some way you didn't animate?
     
    Last edited by a moderator: Jan 9, 2016
  18. ThegreatBenDoyle

    ThegreatBenDoyle First time out of the vault

    65
    Apr 10, 2012
    No it'll just use the default death for everything same as vanilla critters that didnt have all death animations.
     
  19. Nick Dahl

    Nick Dahl First time out of the vault

    15
    Jan 1, 2014
    A good way to save time for a first release, but it would leave out iron gamers. You know, the crazy ones that don't use save games.
     
  20. lujo

    lujo Look, Ma! Two Heads!

    334
    Jun 14, 2013
    Hi,

    I'm enjoying your mod a lot, and have a lot of praise for it. It made me play a male chosen one for the first time ever, and that's quite an accomplishment. I'm enjoying it so much, I haven't even picked Cassidy up for a change, and decided to take - Lenny! Also, being married really affects the game nicely, and having the extra factor of you and your wife helping each other out in fights is awesome. Brings a whole new meaning and dimension to the game, and my dislike of the overly muscular male player model which keeps me from ever playing him (it's lampshaded in the caffe of broken dreams by the game devs, even) works in this mods favour. All the gratuitous sex stuff makes her seem slightly shallow (detailed, though, good work), and his ridiculous physique (and the long hair I chose) make him look slightly air-headed (and he's allready a fish-out-of-water tribal) so their romance is actually awesome because they seem like a perfect match! When they're blasting stuff, and stimpacking each other, they really feel like they could be in love with each other ^^

    If I have a complaint is that the frequency of her comments might be a bit too high, so once you've seen all of them (the yellow ones, not your gray ones) she's repeating herself too much. No biggie, though.

    However a small suggestion:

    After you get married, you can't talk to Grisham anymore (Miria's father). So If someone trying out your mod decides to pick Miria up the first thing when he hits town (as I did), it cuts you off from the "Deal with wolves" quest, bartering with him, and the ability to sell the cow Bess to him. If it were possible for you to make it so that you can talk to Grisham after you get married it would be great. Thank you.
     
    Last edited: Feb 15, 2014