lfnetwork.com mark read register faq members calendar

Thread: Decompile script: donrobe.ncs
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 10-13-2012, 02:22 AM   #1
SimonKTemplar
Rookie
 
SimonKTemplar's Avatar
 
Join Date: Apr 2010
Location: Serbia, Outer Rim
Posts: 94
Current Game: Star Wars: The Old Republic
Decompile script: donrobe.ncs

Hello, I'd like to have a script decompiled for the sake of changing a single line in it. It's a short script, and has to do with the endgame cutscene (light side)

I tried decompiling it myself using deNCS but it keeps failing for unknown reasons. Maybe it's the current java runtime. Maybe not. In any case, can someone also tell me which software can decompile ncs files nowadays, so I'll be able to do it myself?

Code:
00000008 42 00000084              T 00000084
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 02 06                    RSADDO
00000017 04 03 00000001           CONSTI 00000001
0000001D 05 00 0224 00            ACTION GetFirstPC(0224), 00
00000022 04 05 000E str           CONSTS "g_a_jedirobe01"
00000034 05 00 001F 03            ACTION CreateItemOnObject(001F), 03
00000039 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000041 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000047 04 03 00000000           CONSTI 00000000
0000004D 04 06 00000000           CONSTO 00000000
00000053 04 03 00000001           CONSTI 00000001
00000059 05 00 009B 02            ACTION GetItemInSlot(009B), 02
0000005E 05 00 0021 02            ACTION ActionUnequipItem(0021), 02
00000063 04 03 00000001           CONSTI 00000001
00000069 04 03 00000001           CONSTI 00000001
0000006F 03 01 FFFFFFF4 0004      CPTOPSP FFFFFFF4, 0004
00000077 05 00 0020 03            ACTION ActionEquipItem(0020), 03
0000007C 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000082 20 00                    RETN
This, I think, is the script that equips a Jedi Robe on the player during the end credits. Only line I wished to change was g_a_jedirobe01 to g_a_mstrrobe08. If this isn't the script that does what i think it does, please do point me in the right direction.


I'm more of a '3d fabricator' than a '3d modeller', meaning I prefer to construct things from reference, blueprints or schematics rather than to design stuff of my own.
SimonKTemplar is offline   you may: quote & reply,
Old 10-13-2012, 03:26 AM   #2
Darth DeadMan
Rookie
 
Darth DeadMan's Avatar
 
Join Date: Sep 2005
Location: Russia
Posts: 119
Current Game: StarCraft II
Your item tags have same number of characters, so you should be able to do it with simple hex-editing the *.ncs file (without decompiling).


Stay metal, live forever, never die!

My mods @ DeadlyStream
Darth DeadMan is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Modding requests > Decompile script: donrobe.ncs

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:39 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.