Difference between revisions of "Category:Oblivion Script Extender"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(updating thread link)
m (Reverted edits by 107.123.5.60 (talk) to last revision by [[User:imported>Shademe|imported>Shademe]])
Tag: Rollback
 
(68 intermediate revisions by 15 users not shown)
Line 3: Line 3:
!style="background:#ffdead;border-bottom:1px solid;"  width="100"  | Description
!style="background:#ffdead;border-bottom:1px solid;"  width="100"  | Description
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
v0002
Oblivion Script Extender v0020
by Ian Patterson
by Ian Patterson, Stephen Abel, and Paul Connelly
(ianpatt, behippo, and scruggsywuggsy the ferret)


This release has some basic useful functionality, but still consider it just an even stronger proof of concept release. As this is an alpha release, scripts using these commands may break in later releases of this tool However, most issues should be solved by simply recompiling the scripts in the Construction Set with the new version, or at worst changing how you use the commands. This problem is fixable, but not very important at such an early stage of development.
Additional contributions from Timeslip, The J, DragoonWraith, SkyRanger-1, badhair, JRoush, shadeMe and kyoma.
 
The Oblivion Script Extender, or OBSE for short, is a modder's resource that expands the scripting capabilities of Oblivion. It doesn't make any modifications to oblivion.exe, TESConstructionSet.exe, or any other files in your oblivion install, so don't worry about permanent side effects. It is compatible with the 1.2.0416 Oblivion patch, as well as the 1.2 version of the Construction Set. Versions of Oblivion downloaded via Steam are supported as well.
 
IMPORTANT: Please note that scripts compiled with OBSE v0018 or greater require the user to be running v0018 (or greater), even if no 0018 commands are used.
|-


This doesn't make any modifications to oblivion.exe or TESConstructionSet.exe, or any other files in your oblivion install, so don't worry about permanent side effects. Note that this was built off of the latest official patch version 1.1.0.511, and won't work with anything else.
|-
|-
!style="background:#ffdead;border-bottom:1px solid;"  width="100"  | Installation
!style="background:#ffdead;border-bottom:1px solid;"  width="100"  | Installation
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
#Copy obse.dll, obse_editor.dll, and obse_loader.exe to your Oblivion directory.
#Copy obse_1_1.dll, obse_1_2.dll, obse_1_2_416.dll, obse_editor_1_0.dll, obse_editor_1_2.dll, and obse_loader.exe to your Oblivion directory.
#Copy scripttest.esp to your Oblivion plugins directory and enable it in the launcher.
#Run oblivion by running obse_loader.exe from the Oblivion directory.
#Run oblivion by running obse_loader.exe from the Oblivion directory.
#Scripts written with these new commands must be written via the TESConstructionSet launched with obse_loader. Open a command prompt window, navigate to your oblivion install folder, and type "obse_loader -editor". The normal editor can open plugins with these extended scripts fine, it just can't recompile them and it will give errors if you try.
To make things easier, it is recommended that you create a shortcut to obse_loader.exe with the argument already supplied, for example:
[[Image:OBSE CS Shortcut.png|center]]
|-
|-
!style="background:#ffdead;border-bottom:1px solid;"  width="100"  | Demo
!style="background:#ffdead;border-bottom:1px solid;"  width="100"  | Suggestions for Modders
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|
Install the plugin via the above directions, enable the .esp, then launch oblivion via the obse_loader.exe. Load or start a new game, and head to the Imperial Palace entry door. You should see a switch and a barrel there. Put an object in the barrel, then push the button. The script on the button will traverse the contents of the barrel, extract the type of the first object in the barrel, and add an object of that type to your inventory. Note that this will reset charge counts, repair armor, etc.
If your mod requires OBSE, please provide a link to the main OBSE website, instead of packaging it with your mod install. Future versions of OBSE will be backwards compatible, so including a potentially old version can cause confusion and/or break other mods that need newer versions. If you're making a large mod with an installer, inclusion of a specific version of OBSE is OK, but please check the file versions of the OBSE files before replacing them, and only replace earlier versions.
 
When your mod loads, use the command GetOBSEVersion to make sure a compatible version of OBSE is installed. In general, make sure you're testing for any version later than the minimum version you support, as each update to OBSE will have a higher version number. Something like:
 
if GetOBSEVersion < 5
  MessageBox "This mod requires a newer version of OBSE."
endif
 
Another alternative that is even more user-friendly is releasing your mod as an OMOD, and adding a script to check the version when installing the mod:


Try pushing the button with the left shift key held down. It should put up a message.
IfNot ScriptExtenderNewerThan #.#.#.#
  Message "Requires Oblivion Script Extender v#### or greater"
  FatalError
EndIf


Scripts written with these new commands must be written via the TESConstructionSet launched with obse_loader. Open a command prompt window, navigate to your oblivion install folder, and type "obse_loader -editor". The normal editor can open plugins with these extended scripts fine, it just can't recompile them and will give errors if you try.
If desired, it is possible to make the same .esp file work for both OBSE and non-OBSE users. See the [[Combine your SI and non-SI mods into one (OBSE, Patch v1.1, Other mods too)]] tutorial for more information.
|-
|-
!style="background:#ffdead;border-bottom:1px solid;"  width="100"  | Troubleshooting
!style="background:#ffdead;border-bottom:1px solid;"  width="100"  | Troubleshooting
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
Oblivion doesn't launch after running obse_loader.exe:
Oblivion doesn't launch after running obse_loader.exe:
* Make sure you've copied the OBSE files to your oblivion folder. That folder should also contain oblivion.exe.
* Check the file obse_loader.log in your oblivion folder for errors.


*Make sure you've copied obse_loader.exe, obse.dll, and obse_editor.dll to your oblivion folder. That folder should also contain oblivion.exe.
obse_loader.log tells me it couldn't find a checksum:
*Check the file obse_loader.log in your oblivion folder for errors.
* You may have a version of Oblivion that isn't supported. I have the english official patch v1.2.0.416. Localized versions with different executables or different patches may not work, but many have been successful. If there's enough legitimate demand for it, I can add support for other versions in the future.
* Your Oblivion install may be corrupt. Hacks or no-cd patches may also change the checksum of the game, making it impossible to detect the installed version.
 
The OBSE loader tells me I need to use the autopatcher:
* Go to to OBSE website and download autopatcher, which will walk you through the update process. You will need the latest patch from Bethesda, as well as your original Oblivion DVD.


obse_loader.log tells me it couldn't find a checksum:
OBSE doesn't launch with the Direct2Drive version:
* The Direct2Drive version of the Oblivion executable is compressed and possibly encrypted. This makes it very difficult to support. Whether or not it is supportable in the future is unknown. Apologies.
** OBSE does work with the Steam direct-download version, though it requires special installation steps. See the readme. The Direct2Drive limitation only applies to direct downloads from the Direct2Drive service, not Steam.


*You may have a version of Oblivion that isn't supported. I have the english official patch v1.1.0.511, localized versions with different executables or different patches will not work. If there's enough legitimate demand for it, I can add support for other versions in the future.
Crashes or other strange behavior:


*Your Oblivion install may be corrupt. Hacks or no-cd patches may also change the checksum of the game, making it impossible to detect the installed version.
- Let me know how you made it crash, and I'll see about fixing it.


Crashes or other strange behavior


*Let me know how you made it crash, and I'll see about fixing it.
|-
|-
!style="background:#ffdead;border-bottom:1px solid;"  width="100"  | Important Note
!style="background:#ffdead;border-bottom:1px solid;"  width="100"  | Contact
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
As this is an alpha release, scripts using these commands may break in later releases of this tool However, most issues should be solved by simply recompiling the scripts in the Construction Set with the new version, or at worst changing how you use the commands. This problem is fixable, but not very important at such an early stage of development.
* Send email to team [at] obse [dot] silverlock [dot] org
|-
|-
!style="background:#ffdead;border-bottom:1px solid;" width="100"  | Contact
!style="background:#ffdead;border-bottom:1px solid;" | Home Page
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
Send email to ianpatt+obse [at] gmail [dot] com. (yes, keep the + symbol, it helps sort email)
[http://obse.silverlock.org/]
|-
|-
!style="background:#ffdead;border-bottom:1px solid;" | Discussion
!style="background:#ffdead;border-bottom:1px solid;" | Discussion
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
[http://www.elderscrolls.com/forums/index.php?showtopic=519703 Release thread on The Elder Scrolls Forums]
[http://forums.bethsoft.com/index.php?/topic/1184481-relz-oblivion-script-extender-obse-0020/ Release thread on The Elder Scrolls Forums]
|-
!style="background:#ffdead;border-bottom:1px solid;" | Download (Rapid Share)
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|
[http://rapidshare.de/files/26258676/obse_0001.zip.html Click here to redirect to download page]
|-
|-
!style="background:#ffdead;border-bottom:1px solid;" | Direct Download (Infoseek)
!style="background:#ffdead;border-bottom:1px solid;" | Direct Download (Silverlock)
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
|style="background:#ffeded;border-bottom:1px solid;" colspan="2"|  
[http://ianpatt.hp.infoseek.co.jp/oblivion/obse/obse_0001.zip Click here to download]
[http://obse.silverlock.org/download/obse_0020.zip Click here to download]
|}
|}


[[Category:Scripting]]
[[Category:Tools]]
[[Category:Tools]]
[[Category:Tools: Misc]]
[[Category:Tools: Misc]]

Latest revision as of 08:58, 20 October 2023

Description

Oblivion Script Extender v0020 by Ian Patterson, Stephen Abel, and Paul Connelly (ianpatt, behippo, and scruggsywuggsy the ferret)

Additional contributions from Timeslip, The J, DragoonWraith, SkyRanger-1, badhair, JRoush, shadeMe and kyoma.

The Oblivion Script Extender, or OBSE for short, is a modder's resource that expands the scripting capabilities of Oblivion. It doesn't make any modifications to oblivion.exe, TESConstructionSet.exe, or any other files in your oblivion install, so don't worry about permanent side effects. It is compatible with the 1.2.0416 Oblivion patch, as well as the 1.2 version of the Construction Set. Versions of Oblivion downloaded via Steam are supported as well.

IMPORTANT: Please note that scripts compiled with OBSE v0018 or greater require the user to be running v0018 (or greater), even if no 0018 commands are used.

Installation
  1. Copy obse_1_1.dll, obse_1_2.dll, obse_1_2_416.dll, obse_editor_1_0.dll, obse_editor_1_2.dll, and obse_loader.exe to your Oblivion directory.
  2. Run oblivion by running obse_loader.exe from the Oblivion directory.
  3. Scripts written with these new commands must be written via the TESConstructionSet launched with obse_loader. Open a command prompt window, navigate to your oblivion install folder, and type "obse_loader -editor". The normal editor can open plugins with these extended scripts fine, it just can't recompile them and it will give errors if you try.

To make things easier, it is recommended that you create a shortcut to obse_loader.exe with the argument already supplied, for example:

OBSE CS Shortcut.png
Suggestions for Modders

If your mod requires OBSE, please provide a link to the main OBSE website, instead of packaging it with your mod install. Future versions of OBSE will be backwards compatible, so including a potentially old version can cause confusion and/or break other mods that need newer versions. If you're making a large mod with an installer, inclusion of a specific version of OBSE is OK, but please check the file versions of the OBSE files before replacing them, and only replace earlier versions.

When your mod loads, use the command GetOBSEVersion to make sure a compatible version of OBSE is installed. In general, make sure you're testing for any version later than the minimum version you support, as each update to OBSE will have a higher version number. Something like:

if GetOBSEVersion < 5
  MessageBox "This mod requires a newer version of OBSE."
endif

Another alternative that is even more user-friendly is releasing your mod as an OMOD, and adding a script to check the version when installing the mod:

IfNot ScriptExtenderNewerThan #.#.#.#
  Message "Requires Oblivion Script Extender v#### or greater"
  FatalError
EndIf

If desired, it is possible to make the same .esp file work for both OBSE and non-OBSE users. See the Combine your SI and non-SI mods into one (OBSE, Patch v1.1, Other mods too) tutorial for more information.

Troubleshooting

Oblivion doesn't launch after running obse_loader.exe:

  • Make sure you've copied the OBSE files to your oblivion folder. That folder should also contain oblivion.exe.
  • Check the file obse_loader.log in your oblivion folder for errors.

obse_loader.log tells me it couldn't find a checksum:

  • You may have a version of Oblivion that isn't supported. I have the english official patch v1.2.0.416. Localized versions with different executables or different patches may not work, but many have been successful. If there's enough legitimate demand for it, I can add support for other versions in the future.
  • Your Oblivion install may be corrupt. Hacks or no-cd patches may also change the checksum of the game, making it impossible to detect the installed version.

The OBSE loader tells me I need to use the autopatcher:

  • Go to to OBSE website and download autopatcher, which will walk you through the update process. You will need the latest patch from Bethesda, as well as your original Oblivion DVD.

OBSE doesn't launch with the Direct2Drive version:

  • The Direct2Drive version of the Oblivion executable is compressed and possibly encrypted. This makes it very difficult to support. Whether or not it is supportable in the future is unknown. Apologies.
    • OBSE does work with the Steam direct-download version, though it requires special installation steps. See the readme. The Direct2Drive limitation only applies to direct downloads from the Direct2Drive service, not Steam.

Crashes or other strange behavior:

- Let me know how you made it crash, and I'll see about fixing it.


Contact
  • Send email to team [at] obse [dot] silverlock [dot] org
Home Page

[1]

Discussion

Release thread on The Elder Scrolls Forums

Direct Download (Silverlock)

Click here to download

Subcategories

This category has the following 14 subcategories, out of 14 total.

0

O

Pages in category "Oblivion Script Extender"

The following 6 pages are in this category, out of 6 total.