|
 |
|
|
|
|
|
GTA Modification Forums
[WIP|SA] Menu Background Hook manipulating textures | video background
 |
|
 |
| |
Seemann  |
|
Ruhe

Group: Members
Joined: Sep 3, 2004



|
1. ----- About Menu Background Hook a.k.a. HUME 2GTA SA menu has a texture drawn in the top-right corner of the screen. These textures are stored in the models\fronten2.txd file. Using this CLEO 3 plugin allow you to manipulate the menu background of GTA SA in several ways. Using it you can: * set what texture is displayed on each menu screen, or even remove it * change its position and size (stretching texture at full screen is supported too) * use a video file as menu background Only version 1.0 is supported (tested with US cracked Hoodlum) and EUR). 2. ----- InstallationInstallation package: http://cleo.sannybuilder.com/plugins/hume.rar - (v2 RC1) Some ways to install the plugin: 1. (recommended) If you have the CLEO 3 library installed, just place the files hume.cleo and hume.ini at the <SA>\CLEO directory. 2. If you have the ASI loader installed, rename hume.cleo to hume.asi and place it to the game root directory. But hume.ini must be at the CLEO folder anyway. 3. If you have SA limiter adjuster installed, place the files hume.cleo and hume.ini at the <SA>\CLEO directory (create it if not exists), open file saloader.ini and write path to the file hume.cleo Attention! If you have the euro version, before launch the game, open the file hume.ini, find the line and change it to If you done this correctly, when you launch the game you will something like this: 3. ----- SettingsIf you open the file hume.ini, you will see some settings there. The lines beginning with the # sign are the comments. Other lines have different meaning: version of the game you have. The parameters are US or EUR| CODE | | video movies\GTAtitles.mpg |
a video file which will be rendered at background of the menu. If you commented out this line, the textures will be displayed instead. Note that this option is disabled by default due to video rendering could cause a crash on some configs. To check if your system support it correctly, uncomment this line.how to play video when enter the menu. 0 - start playing from the first frame, 1 - play from the random time. After these, there is a textures block. Each line of it sets what texture will be displayed, and its size and position. If size and position do not specified, the texture will be stretched. this line says to the hook to display back4.txd at the Stats screen, and stretch it to full screen. Say, if you write: | CODE | # ----- 0 Stats 15, 0.0, 0.0, 100.0, 100.0 |
the texture will be positioned at the lower-left corner, with width and height of 100.0. Every coord is scaled to the current screen resolution. The bounds of the width/height are 640.0/448.0 4. ----- CreditsThanx to listener for his help and support. Peace, ya  Enjoy.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Seemann  |
Posted: Tuesday, Oct 30 2007, 08:41
|
Ruhe

Group: Members
Joined: Sep 3, 2004



|
| QUOTE (P.I.M.P_PL @ Oct 29 2007, 23:57) | | all of the video formats work but the sound not coming |
The audio streams aren't supported yet. | QUOTE (P.I.M.P_PL @ Oct 29 2007, 23:57) | | And i have one question maybe you can edit your program to can see the images when video playing |
You mean, make both video and original texture visible? For the moment it's impossible, as I use the original texture surface to render a video on it. | QUOTE (Jost_Vice @ Oct 30 2007, 04:20) | | The vid is looped? |
Yes. | QUOTE (Jost_Vice @ Oct 30 2007, 04:20) | | Can you try to set as background a scene ingame? like saying a camera position and a camera angle, that would be awesome. |
Too hard. All game processes are stopped while in menu. At now, I'm not sure I can circumvent this and make real-time menu background.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Riden0001  |
|
Agent

Group: Members
Joined: Jul 11, 2010


|
ÄHHHM how to Display the video in the backgroundŽ?? | CODE | ####################################################### ##### GTASA 1.0 Menu Background Hook by Seemann ##### ##### version 2 RC 1 (27 oct 2007) ##### #######################################################
### ATTENTION!!####
# if you have EURO version, replace line 'version US' with 'version EUR', otherwise you game will crash!! #
# specify what version of the game you have here. Only version 1.0 (either US or EUR) is supported version US #version EUR
[video] # use this to specify path to a video file in order to render it as the menu background instead of textures. #video movies\MENU.mpg
# set random to 1 to start video playback from the random frame, 0 - start video from the beginning random 1
[textures] ####################### # # LINE FORMAT: # # textureID,LowerLeftX,LowerLeftY,UpperRightX,UpperRightY # # if the coords are not set, the texture is stretched at full screen (0.0, 0.0, 640.0, 448.0) # # textureID textureName (from models\fronten2.txd) # 13 back2.txd # 14 back3.txd # 15 back4.txd # 16 back5.txd # 17 back6.txd # 18 back7.txd # 19 back8.txd # -1 no texture
# ----- 0 Stats 15
# ----- 1 Game(new, load, delete) 14
# ----- 2 Brief 13
# ----- 3 Audio 16
# ----- 4 Display (main) 18
# ----- 5 Map # do not change, the texture is not drawn there at all -1
# ----- 6 New Game (new game w/out mpack) 19
# ----- 7 New Game (new game with mpack) 19
# ----- 8 Load Mission (mission pack) 19
# ----- 9 Load Game (list of saves) 13
# ----- 10 Delete Game (list of saves) 13
# ----- 11 Load Game (loading confirmation) 19
# ----- 12 Delete Game (deleting confirmation) 19
# ----- 13 Load Game (unused) 19
# ----- 14 Delete Game (unused) 19
# ----- 15 Delete Game (unused) 19
# ----- 16 Save Game (list of slots) 13
# ----- 17 Save Game (saving confirmation) 19
# ----- 18 Save Game (unused) 19
# ----- 19 Save Game (unused) 19
# ----- 20 Save Game (unused) 19
# ----- 21 Load Game (unused) 19
# ----- 22 Save Game (unused) 19
# ----- 23 Display (restore defaults) 19
# ----- 24 Audio 19
# ----- 25 Controller Setup (restore defaults) 19
# ----- 26 User Track Options 14
# ----- 27 Display (advanced settings) 18
# ----- 28 Language 15
# ----- 29 Save Game (unused) 19
# ----- 30 Save Game (unused) 19
# ----- 31 Load Game (unused) 19
# ----- 32 Load Game (unused) 19
# ----- 33 Options 14
# ----- 34 Main Menu (at startup) #19, 50.0, 50.0, 400.0, 400.0 19
# ----- 35 Quit Game 15
# ----- 36 Controller Setup (main) 17
# ----- 37 Controller Setup (redefine controls) 19
# ----- 38 Controller Setup (foot, vehicle controls) # do not change, the texture is not drawn there at all -1
# ----- 39 Mouse Settings 17
# ----- 40 Joypad Settings 19
# ----- 41 Pause Menu 19
# ----- 42 unused -1
# ----- 43 unused -1
|
IS that wrong????
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Riden0001  |
Posted: Thursday, Aug 5 2010, 11:23
|
Agent

Group: Members
Joined: Jul 11, 2010


|
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(2) [1] 2
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|