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.

[V] Anyway to freeze time? (for night)


Zacattack4040
 Share

Recommended Posts

Zacattack4040

Hey everyone. I was wondering if there was anyway to freeze time? I really like the night in this game a lot and it would be nice if there was a way to freeze time so there wasn't limited time for night.

 

 

Or would I have to wait on a trainer or something?

Link to comment
Share on other sites

It'd be great if you specifically said which game this is for. I'm assuming GTA V, currently there is no way to freeze time yet, you'll have to wait.

Link to comment
Share on other sites

.text:00000001405C762C InternalSetTimeOfDay proc near          ; CODE XREF: CalculateHourMinuteSecond+16p.text:00000001405C762C                                         ; j_InternalSetTimeOfDayj ....text:00000001405C762C                 mov     eax, cs:dword_1421756E4.text:00000001405C7632                 movd    xmm1, r8d.text:00000001405C7637                 xorps   xmm0, xmm0.text:00000001405C763A                 mov     cs:GameHour, ecx.text:00000001405C7640                 mov     cs:GameMinute, edx.text:00000001405C7646                 mov     cs:GameSecond, r8d.text:00000001405C764D                 cvtsi2ss xmm0, rax.text:00000001405C7652                 mov     eax, dword ptr cs:qword_14296E3C0.text:00000001405C7658                 cvtdq2ps xmm1, xmm1.text:00000001405C765B                 mulss   xmm1, cs:dword_141760910.text:00000001405C7663                 mulss   xmm1, xmm0.text:00000001405C7667                 cvttss2si ecx, xmm1.text:00000001405C766B                 sub     eax, ecx.text:00000001405C766D                 mov     cs:dword_1421756EC, ecx.text:00000001405C7673                 mov     cs:dword_1421756E8, eax.text:00000001405C7679                 jmp     sub_1405BBBFC.text:00000001405C7679 InternalSetTimeOfDay endp------DECOMPILED--------int __fastcall InternalSetTimeOfDay(__int32 a1, __int32 a2, __int32 a3){  GameHour = a1;  GameMinute = a2;  GameSecond = a3;  dword_1421756EC = ffloor((a3 * 0.016666668) * dword_1421756E4);  dword_1421756E8 = qword_14296E3C0 - dword_1421756EC;  return sub_1405BBBFC();}// Static allocated gamehour/minute/second variables are located here.data:0000000141AE9990 ; __int32 GameHour.data:0000000141AE9990 GameHour        dd 11h                  ; DATA XREF: sub_140006630+18r.data:0000000141AE9990                                         ; sub_1400215F4+10Br ....data:0000000141AE9994 ; __int32 GameMinute.data:0000000141AE9994 GameMinute      dd 1Ah                  ; DATA XREF: sub_1400215F4+117r.data:0000000141AE9994                                         ; sub_14012DE10+29r ....data:0000000141AE9998 ; __int32 GameSecond.data:0000000141AE9998 GameSecond      dd 14h                  ; DATA XREF: sub_1400215F4+123r.data:0000000141AE9998                                         ; sub_14012DE10+32r ...
If you want to set the Time with, for example CheatEngine, use GTA5.exe+TheOffsetIn order to get the offset take your address.data:0000000141AE9990 GameHour        dd 11h                  ; DATA XREF: sub_140006630+18r 0x141AE9990 and substract the imagebase 0x140000000 = 0x1AE9990 

(So in Cheatengine use GTA5.exe+0x1AE9990 to get to the GameHour offset (you can simply modify it - the game will automaticly update the environment/world itself)).

A fix clock or disable timecycle function should be around here 0x1405C762C

  • Like 1
Link to comment
Share on other sites

I would love to be able to set a constant time in GTA V on PC.

Just check post above, tells you excatly what needs to be done.

Link to comment
Share on other sites

(VAR_IsClockPaused)BYTE 0x142175602[imagebase 0x140000000][GTA5.exe+0x2175602]. Set to 1 and the clock is paused(0 clock will process). How to set the time is explained above.

Link to comment
Share on other sites

AUS_Twisted

(VAR_IsClockPaused)BYTE 0x142175602[imagebase 0x140000000][GTA5.exe+0x2175602]. Set to 1 and the clock is paused(0 clock will process). How to set the time is explained above.

How about changing the time speed? the day cycles to fast for my liking and I'd like it to last twice as long.

Link to comment
Share on other sites

If you just want to mess around in the free roam, you can simply enter the director mode and freeze the game at midnight.

Link to comment
Share on other sites

Use the Simple Native Trainer for GTA V. The best way in my opinion is to use the trainer to sync ingame time to your system time. Just change your PC:s clock to the time of day you want, and then use Simple Native Trainer to sync the ingame time to your system time!

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.