Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Seemann

[WIP|SA] Menu Background Hook

Recommended Posts

Seemann

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.

 

Share this post


Link to post
Share on other sites
Labiloute

Awesome project very nice mod thanks man

Share this post


Link to post
Share on other sites
P.I.M.P_PL

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

Share this post


Link to post
Share on other sites
Seemann

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.

Share this post


Link to post
Share on other sites
P.I.M.P_PL

 

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

Share this post


Link to post
Share on other sites
JostVice

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.

Share this post


Link to post
Share on other sites
Seemann

 

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.

 

 

Share this post


Link to post
Share on other sites
P.I.M.P_PL
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

Share this post


Link to post
Share on other sites
DexX

 

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.

Share this post


Link to post
Share on other sites
Sacky

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?

Share this post


Link to post
Share on other sites
Arvis

Good idea Sacky, but IMO too hard to do it.

Very cool hook anyway.

Share this post


Link to post
Share on other sites
GamerShotgun
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!

Share this post


Link to post
Share on other sites
mourad

how to windowed gta sa in c++ language please can you give me a sample source code to do that and thanks

Share this post


Link to post
Share on other sites
Braindawg

wow. 2 year bump.... awesome man!

Share this post


Link to post
Share on other sites
Riden0001

Ä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????

Share this post


Link to post
Share on other sites
Mattatatta

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.

Share this post


Link to post
Share on other sites
Riden0001
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

Share this post


Link to post
Share on other sites
Seemann

it's an example of video background with the Hume. (video is not made by me).

Share this post


Link to post
Share on other sites
Darecki

Ehh, I have never succeed with applying video to menu dontgetit.gif

Share this post


Link to post
Share on other sites
hristobg
Is there a way to play sound? confused.gif

Share this post


Link to post
Share on other sites
Agent 86

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

 

user posted image

Share this post


Link to post
Share on other sites
Seemann

I've lost Hume sources ages ago, so can't help you with your request, sorry.

Share this post


Link to post
Share on other sites
Kojiro Yodobashi

i want the background music for start game menu

Share this post


Link to post
Share on other sites
Ingramsl

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

neXaQQv.pngFix it.

Share this post


Link to post
Share on other sites
Seemann

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

Fix it.

Roger that.

Share this post


Link to post
Share on other sites
Silent

Is it fixed yet?

 

 

How about now?

 

How about now?

 

How about now?

 

How about now?

 

How about now?

 

How about now?

Share this post


Link to post
Share on other sites
Niles Crane

Hour later and still no fix.

Share this post


Link to post
Share on other sites
lascha2nd
Posted (edited)

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.