Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

[WIP|SA] Menu Background Hook


Seemann
 Share

Recommended Posts

1. ----- About Menu Background Hook a.k.a. HUME 2

 

GTA 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. ----- Installation

 

Installation 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 \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 \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

 

version US

 

and change it to

 

version EUR

 

 

If you done this correctly, when you launch the game you will something like this:

 

user posted image user posted image

 

 

3. ----- Settings

 

If 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 US

 

version of the game you have. The parameters are US or EUR

 

 

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.

 

 

random 0

 

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.

 

 

# ----- 0	Stats  15

 

 

this line says to the hook to display back4.txd at the Stats screen, and stretch it to full screen. Say, if you write:

 

 

# ----- 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. ----- Credits

 

Thanx to listener for his help and support. Peace, ya wink.gif

 

Enjoy.

 

  • Like 3
Link to comment
Share on other sites

i have one question why the video dont correct play(have lot of bugs for example dont play)

Edited by P.I.M.P_PL
Link to comment
Share on other sites

I tested a lot of video files on my PC and all of them are played correctly at the background. It may depend on the current video-codecs, version of Direct X and probably on videocard. Try to check with another video format (avi, asf, mov, etc).

I'm trying to make it so the videofile will be rendered normally on any config, it's only a beta version so far.

Link to comment
Share on other sites

 

I tested a lot of video files on my PC and all of them are played correctly at the background. It may depend on the current video-codecs, version of Direct X and probably on videocard. Try to check with another video format (avi, asf, mov, etc).

I'm trying to make it so the videofile will be rendered normally on any config, it's only a beta version so far.

ok all of the video formats work but the sound not coming;/(when i add in format wmv)i try in the avi(but in mpg dont work yet) and i take the answer.

 

and one answer about the videos some times the videos(and the menu)have pinch when video playing;)

 

And i have one question maybe you can edit your program to can see the images when video playing for example yo can scale your video or other options you can choose in this;)

Edited by P.I.M.P_PL
Link to comment
Share on other sites

Nice! I had the idea of this, looks good.

 

The vid is looped?

 

Can you try to set as background a scene ingame? like saying a camera position and a camera angle, that would be awesome.

Link to comment
Share on other sites

 

all of the video formats work but the sound not coming

The audio streams aren't supported yet.

 

 

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.

 

 

The vid is looped?

Yes.

 

 

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.

 

 

Link to comment
Share on other sites

all of the video formats work but the sound not coming

The audio streams aren't supported yet.

 

maybe you can support audio stream??smile.gif

Link to comment
Share on other sites

 

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.

my un-asked question, answered biggrin.gif

 

very impressive, nice work.

Link to comment
Share on other sites

  • 3 months later...

This really is a fantastic project, I wonder if you would consider making in game video objects the same way (overwriting textures with video renders) for TV's etc?

Link to comment
Share on other sites

This really is a fantastic project, I wonder if you would consider making in game video objects the same way (overwriting textures with video renders) for TV's etc?

That'd be hard. I can imagine it by adding an extra material to models and implementing a big pile of code in the game to render the video on that surface... But it'd be cool!

Link to comment
Share on other sites

  • 1 year later...
  • 6 months later...

ÄHHHM how to Display the video in the background´??

############################################################   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 supportedversion US#version EUR# 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 beginningrandom 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.019# ----- 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 Settings19# ----- 41	Pause Menu19# ----- 42	unused-1# ----- 43	unused-1

IS that wrong????

Link to comment
Share on other sites

Riden0001 I think you need to delete the "#" that has been placed before "movies\MENU.mpg". The "#" symbol typically disables lines that it is placed in front of.

Link to comment
Share on other sites

Riden0001 I think you need to delete the "#" that has been placed before "movies\MENU.mpg". The "#" symbol typically disables lines that it is placed in front of.

wooooooow THANK YOU^^It works now here some cookies cookie.gifcookie.gifcookie.gifcookie.gif

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...
  • 2 years later...

Hey, I just installed this and no matter what I do, I get this error before the main menu comes up:

 

user posted image

Link to comment
Share on other sites

  • 2 years later...
  • 3 months later...
  • 8 months later...

Look, There are bugs the HUME in Mod Loader Menu.

Fix it.

Roger that.

  • Like 4
Link to comment
Share on other sites

Is it fixed yet?

 

 

How about now?

 

How about now?

 

How about now?

 

How about now?

 

How about now?

 

How about now?

Link to comment
Share on other sites

Igor Bogdanoff

Hour later and still no fix.

Link to comment
Share on other sites

  • 2 years later...

unknown.png?width=994&height=560
Help guys, anyone can fix this problem? The image not full likescreen, they just left black thing in right.

Edited by lascha2nd
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.