RF Citymap Creator

Scripts

RF CityMap Creator — Installation & User Guide

Install and activate RF CityMap Creator, capture your city, review and publish matching maps, update MLO areas, and manage postal labels and native GPS compatibility.
9 sections Updated November 8, 2026 View Product
01 Description Description
RF CityMap Creator creates a static, top-down map from the city your FiveM client actually loads. The resulting imagery appears on the native pause-menu map and minimap, with native GPS routes, map blips and player tracking drawn over the background artwork.

Capture a full baseline, review the generated map, and approve it before publishing. When an MLO or exterior changes, capture the affected area and build an update against the existing published baseline.

MAIN FEATURES
• Full-city captures and targeted area captures.
• Configurable coverage profiles and named MLO footprints.
• Resumable interrupted captures.
• Preview and approval before publication.
• Matching pause-map and minimap imagery.
• Independent postal-label visibility for each map.
• Optional nearest-postal HUD and postal waypoint command.
• Saved player display preferences.
• Adjustable contrast, sharpening, haze correction and ocean treatment.
• Framework-independent operation and ACE-protected capture commands.

HOW IT WORKS
1. A connected, authorized player captures the world in game.
2. A host-side Python worker builds the imagery and postal layers.
3. An operator reviews and approves the generated candidate.
4. The approved map is published to the display resource.

The map remains static until you capture, build and publish another update. Starting an MLO does not automatically rebuild the map.

Captures show loaded exterior geometry and rooftops. They do not generate indoor floor plans, road nodes or new GPS connections. No third-party map expansion, MLO, captured city map or postal dataset is included.

RF CityMap does not use ESX, QBCore or Qbox APIs. Separate dependencies still apply, and other HUD/map replacements must be configured so they do not conflict.

02 Installation Installation
These examples use Windows PowerShell. Replace every example path with your actual installation path. Do not enter PowerShell commands in FiveM's F8 console or game chat.

STEP 1 — EXTRACT THE PACKAGE
Extract RF CityMap into a permanent host-side folder, for example:
D:\RF-CityMap-0.3.0

Keep tools, documentation, dependency-lock.json and Start-Worker.ps1 in that package folder. Copy only the three RF resource folders into the server resources directory:
• rf_citymap_license
• rf_citymap_capture
• rf_citymap_display

Example server layout:
D:\YourServer\resources\[maps]\rf_citymap_license
D:\YourServer\resources\[maps]\rf_citymap_capture
D:\YourServer\resources\[maps]\rf_citymap_display

Keep these resource names unchanged. The capture and display directories must remain separate; do not nest one inside the other.

STEP 2 — INSTALL THE HOST TOOLS
Open PowerShell in the extracted package folder:
Set-Location -LiteralPath "D:\RF-CityMap-0.3.0"
python --version
python -m pip install -r tools/requirements.txt

The Python version must be 3.11 or newer. If your installation uses the py launcher, use py consistently in place of python and pass -Python py to Start-Worker.ps1.

STEP 3 — INSTALL THE DEPENDENCIES
Install screenshot-basic and your RF License runtime separately.

Create your chosen resource group if necessary, then install the pinned renderer:
python tools/install_renderer.py --destination "D:\YourServer\resources\[standalone]\extra-map-tiles"

The installer verifies the pinned files, retains the upstream license, and creates an empty example-tile configuration. It refuses to silently overwrite a modified existing dependency.

Only the external renderer should provide minimap_main_map.gfx. Disable other map-artwork replacements and move old test/backup renderer resources outside ensured folders. Keep your actual MLO, land, bridge and road-node resources enabled.

STEP 4 — CONFIGURE YOUR RF GAMING LICENSE
Add your CityMap purchase key to server.cfg or your normal server-side configuration:
set rf_license_citymap "YOUR_CITYMAP_LICENSE_KEY"

Use set, not setr or sets. Keep the key out of client files and shared screenshots. The internal RF Gaming product ID is citymap.

STEP 5 — GRANT CAPTURE PERMISSION
Add this ACE rule for your existing admin group:
add_ace group.admin rf.citymap.admin allow

If your administrator is not already assigned to that ACE group, add the appropriate principal using the player's actual FiveM identifier. Example:
add_principal identifier.license:YOUR_FIVEM_LICENSE_IDENTIFIER group.admin

Framework admin status alone does not necessarily assign a FiveM ACE group. Ordinary players do not need this permission to use the map or postal controls.

STEP 6 — CONFIGURE STARTUP ORDER
Start dependencies before RF CityMap:
ensure screenshot-basic
ensure extra-map-tiles
ensure rf-license
ensure rf_citymap_license
ensure rf_citymap_capture
ensure rf_citymap_display

If the three RF resources are already inside an ensured group, ensure that group after the dependencies instead of adding duplicate entries for those same resources.

On an already running server, editing server.cfg alone does not apply new convars or ACE rules immediately. Apply those settings through your normal server administration process before testing activation.

STEP 7 — PREPARE COVERAGE AND POSTALS
Configure the installed capture resource's config.json as described in Configuration.

The generic package contains no postal dataset. Supply a permitted dataset as rf_citymap_capture/postals.json, or generate an original grid from your configured bounds:
python tools/citymap.py grid-postals --config "D:\YourServer\resources\[maps]\rf_citymap_capture\config.json" --profile base --spacing 300 --output my-postals.json

For a fresh installation, copy that output to the installed capture resource as postals.json. Do not replace an established postal dataset with a newly numbered grid during routine updates.

STEP 8 — START THE OFFLINE WORKER
From the package folder, run:
.\Start-Worker.ps1 -Resource "D:\YourServer\resources\[maps]\rf_citymap_capture" -Display "D:\YourServer\resources\[maps]\rf_citymap_display"

Keep that terminal/process running for queued build and publish requests. Use one worker per capture resource. Closing PowerShell stops a foreground worker. The worker is separate from FXServer and is not started by an ensure line.

You can alternatively start it directly:
python tools/citymap.py worker --resource "D:\YourServer\resources\[maps]\rf_citymap_capture" --display "D:\YourServer\resources\[maps]\rf_citymap_display"

STEP 9 — VERIFY STARTUP
Start or refresh the installed resources through txAdmin/server console. Confirm the shared license adapter reports website authorization.

Join the game as an authorized capture operator. Begin with /mapupdate test, then follow Capturing & Updating Your Map to create the first full baseline.

Before the first map is published, a 'No map published' message is expected. The base game map remains visible until your first approved build is installed.

03 Dependencies Dependencies
RUNTIME DEPENDENCIES

1. FiveM and GTA V
A working FiveM server and a connected game client are required to capture the world.

2. RF License — resource name: rf-license
Install the RF Gaming licensing runtime supplied through your RF Gaming account/downloads. RF CityMap uses the existing website activation system at https://rfgaming.net.

3. Extra Map Tiles — resource name: extra-map-tiles
Use the pinned v3.0.1 revision selected by dependency-lock.json. This is the background renderer that allows native GPS routes to remain visible above the map imagery. Configure its example-tile table as config.tiles = {}.

Use the included installer instead of downloading the current main branch:
python tools/install_renderer.py --destination "D:\YourServer\resources\[standalone]\extra-map-tiles"

The pinned revision is:
3884a647ce64bc8a5c964982f8819cff172fa4cc

That revision includes an MIT license. Preserve its copyright and permission notice. Other revisions may have different terms. RF CityMap does not bundle the renderer binary.

To verify an existing installation without changing it:
python tools/install_renderer.py --destination "D:\YourServer\resources\[standalone]\extra-map-tiles" --check

CAPTURE DEPENDENCY

4. screenshot-basic — resource name: screenshot-basic
Required while capturing screenshots. Install it separately from:
https://github.com/citizenfx/screenshot-basic

BUILD-HOST REQUIREMENTS

5. Python 3.11 or newer, with pip
Required on the machine running the offline builder/worker. That process must have access to the installed capture and display folders. Those folders must be on the same filesystem/volume for atomic publication.

6. Pillow
Install the supported version using the supplied requirements file:
python -m pip install -r tools/requirements.txt

Players do not need Python or Pillow on their gaming computers. A hosting plan that does not allow a Python worker or access to the required server files may need a different hosting arrangement.

OPTIONAL INTEGRATIONS
nearest-postal is not required by RF CityMap. Keep it if ERS or another installed asset relies on its exports. RF CityMap's own postal export is not a drop-in replacement for nearest-postal's API.

Nights weather is not required. A supported client-side synchronization-pause adapter is available when that resource is present; other weather controllers may need their own compatible integration.

04 Permissions Permissions
RF CITYMAP PERMISSIONS

CAPTURE ADMINISTRATORS

RF CityMap uses FiveM ACE permissions. The default permission is:

rf.citymap.admin

Grant it to your existing admin group in server.cfg:

add_ace group.admin rf.citymap.admin allow

If an administrator is not already assigned to that ACE group, add their actual FiveM identifier:

add_principal identifier.license:YOUR_FIVEM_LICENSE_IDENTIFIER group.admin

Replace YOUR_FIVEM_LICENSE_IDENTIFIER with the player’s license identifier.

Framework administrator status does not automatically guarantee this ACE permission. Check your server’s principal/group assignments.


WHAT THIS PERMISSION ALLOWS

Authorized operators can use /mapupdate commands to:

• Run capture tests.
• Start full-city, area and registered-resource captures.
• Check capture status.
• Cancel or resume captures.
• Run configured repairs.
• Queue builds.
• Queue publication of reviewed builds.

Only one capture can run at a time.

Publication also requires an approved, valid build and the display resource to be stopped.


WEBSITE LICENSE REQUIREMENT

A valid CityMap website authorization is required in addition to ACE permission.

Adding an ACE rule does not bypass license activation. If authorization is lost during a capture, the capture stops and completed cells remain saved.


ORDINARY PLAYERS

Players do not need capture-admin permission to use:

• The pause-menu map and minimap.
• /mapsettings
• /mappostal POSTAL_CODE
• /postalhud

Display and postal features require the server’s CityMap license to be authorized.


BUILD-HOST ACCESS

The Python worker, review approval and offline publication tools run on the host outside FiveM’s ACE system.

Restrict access to the server files and build host to trusted operators. ACE permission alone does not provide filesystem access or authorize an in-game review approval command.


APPLYING CHANGES

Changes saved in server.cfg take effect when that configuration is loaded.

For a running server, apply the ACE/principal rules through your normal server-console administration process or restart the server.

The permission name can be changed through the ace field in rf_citymap_capture/config.json. If changed, update the corresponding ACE rules and restart the capture resource while no capture is running.
05 Exports Exports & Weather Bridge
WEATHER AND TIME INTEGRATION — RF CITYMAP 0.4.0

Standalone means CityMap does not require a framework or one particular weather
resource. Weather synchronization APIs differ. Built-in adapters cover the exact
interfaces below; custom adapters support other controllers with a local pause
mechanism. There is no universal FiveM export that pauses every third-party script.
Never substitute a server-wide weather command, stop a shared resource, or change
global weather just to capture a map. Normal players keep their synchronization.

1. CONFIGURATION

Edit resources/rf_citymap_capture/config.json while capture is idle. Inside
captureConditions use:

"captureConditions": {
  "weather": "EXTRASUNNY",
  "hour": 12,
  "minute": 0,
  "weatherBridge": {
    "mode": "auto",
    "providers": [],
    "assumeSyncEnabled": false
  }
}

This is a property inside the existing JSON object, not an additional whole file.
Keep fixedConditions=true to use the bridge. Restart ONLY rf_citymap_capture after
editing. Re-register companion adapters if the capture resource restarted.

auto: discover started qb-weathersync, night_natural_disasters and registered custom
controllers. Pause all discovered providers. Possible unknown controllers whose
names contain weather, vsync, timesync or time_sync stop capture with instructions.
Name detection is a warning aid: it cannot discover arbitrary controller names or
prove that every native-writing script is covered. Audit your installed controllers.
If none is found, capture refuses to guess; choose explicit or native mode.

explicit: declare every weather AND clock controller for the capturing client:
"weatherBridge": {
  "mode": "explicit",
  "providers": ["my_weather", "my_clock"],
  "assumeSyncEnabled": false
}
Every listed controller must be started and have a built-in or custom adapter.
An explicit list does not suppress unlisted controllers. Include them all. Resource
names must match exactly. Renamed QB/Nights resources require a custom adapter.

native: use only FiveM's local weather/time natives:
"weatherBridge": {"mode":"native","providers":[],"assumeSyncEnabled":false}
Choose this only when no external controller is writing weather/time on the capture
client, or your integration already suspends those writes. Native mode does not
magically prevent another script from overriding the client.

assumeSyncEnabled: stock QB and the existing Nights interface do not supply a
verified getter for their prior pause state. The default false avoids guessing.
For those built-ins, confirm the capture player has normal outdoor weather/time
sync enabled, then set this value to true. This is an operator assertion, not a
state query. Do not capture while another script has suspended sync for an interior,
character selection or private-time mode. A custom state-aware adapter is preferable
when that prerequisite cannot be guaranteed. An observed QB DisableSync state is
rejected even when this assertion is true.

fixedConditions=false skips the bridge and local fixed lighting. This deliberately
uses live conditions; it is not a compatibility fix for consistent map captures.

2. BUILT-IN INTERFACES

qb-weathersync:
  local TriggerEvent('qb-weathersync:client:DisableSync') to pause;
  local TriggerEvent('qb-weathersync:client:EnableSync') to restore normal sync.
Both control the capturing client. The upstream EnableSync handler requests that
client's current state from the server; CityMap does not broadcast weather changes.
CityMap waits 16 seconds before processing its first cell because stock QB can
already be inside a 15-second weather-transition sleep when disabled.
CityMap observes those events after its own startup, not events from before it
loaded. Stock QB's private disable flag has no public getter in the verified source.
Source: https://github.com/qbcore-framework/qb-weathersync/blob/main/client.lua

night_natural_disasters:
  exports['night_natural_disasters']:PauseSynchronization(true/false)
This is the existing RF server integration. An edition without that client export
needs a custom adapter. It is optional and is not a framework dependency.

Qbox, ESX, vSync, Renewed, cd_easytime, other commercial weather resources and forks
are not assumed to expose either of those APIs. Select the adapter for the actual
weather controller, independently of the framework. For example, a server using
stock qb-weathersync can use that adapter regardless of which framework it uses.

3. CUSTOM ADAPTER FILE — NO ADDITIONAL RESOURCE NEEDED

Edit resources/rf_citymap_capture/weather_custom.lua. RFWeatherAdapters is keyed by
the actual controller resource name. A custom definition also overrides a built-in.
This is an integration template: replace the marked functions with the actual
documented CLIENT API. The MyWeather functions below are placeholders, not exports
that CityMap supplies. Do not paste them unchanged and expect a controller to work.

RFWeatherAdapters = {
    my_weather = {
        pause = function(context)
            local previous = MyWeather.getLocalSyncEnabled() -- REPLACE
            -- Store previous state BEFORE the pause call, including on error.
            MyWeather.savedForCityMap = previous             -- REPLACE
            MyWeather.setLocalSyncEnabled(false)              -- REPLACE
            return { enabled = previous }
        end,
        resume = function(token, context)
            local previous = MyWeather.savedForCityMap        -- REPLACE
            if token then previous = token.enabled end
            if previous ~= nil then
                MyWeather.setLocalSyncEnabled(previous)      -- REPLACE
            end
            MyWeather.savedForCityMap = nil                   -- REPLACE
        end
    }
}

Choose explicit mode with providers ["my_weather"], or let auto discover this
registered controller. Restart rf_citymap_capture after editing the Lua file.
These trusted callbacks run locally. No extra network event is required.

4. CLIENT EXPORTS — OPTIONAL COMPANION RESOURCE

exports['rf_citymap_capture']:RegisterWeatherAdapter(controllerName, hooks)
  hooks.pause(context) returns an optional token. Returning false or throwing aborts
  capture and triggers rollback, including the partially failing adapter.
  hooks.resume(token, context) restores exactly the state acquired by pause.
  context = { jobId=string, weather=string, hour=number, minute=number }.
  Callbacks must be synchronous and must not Wait/yield or start asynchronous work
  that changes synchronization later. Keep a recovery snapshot before changing state.
  resume must tolerate a nil token after partial failure and must not enable sync
  which was disabled before capture. A callback that needs delayed acknowledgement
  requires an integration that makes its pause synchronous before returning.

exports['rf_citymap_capture']:UnregisterWeatherAdapter(controllerName)
  Returns true only for a registration owned by the calling resource. Adapter
  registration/replacement/unregistration is rejected while a weather lease is active.
  Another resource cannot replace an adapter owned by a different resource.

exports['rf_citymap_capture']:IsCaptureWeatherActive()
  Returns a local boolean. True while fixed capture owns the weather lease.

exports['rf_citymap_capture']:GetWeatherBridgeStatus()
  Returns { active=boolean, providers={...}, registered={...},
            qbState='unknown'|'enabled'|'disabled' }.
  This is local status, not server-wide weather state or a universal state getter.

These exports are CLIENT exports, not server exports. They do not grant capture
permission; website authorization and rf.citymap.admin ACE are still required.

A companion resource needs this manifest:

fx_version 'cerulean'
game 'gta5'
dependency 'rf_citymap_capture'
dependency 'my_weather'
client_script 'client.lua'

In its client.lua, define hooks as above using your actual local controller API:

local function register()
    if GetResourceState('rf_citymap_capture') == 'started' then
        exports['rf_citymap_capture']:RegisterWeatherAdapter('my_weather', hooks)
    end
end
AddEventHandler('onClientResourceStart', function(name)
    if name == GetCurrentResourceName() or name == 'rf_citymap_capture' then
        register()
    end
end)

The hooks variable must be the {pause=...,resume=...} table you implemented. Start
this companion after capture and the controller. Registration is runtime-only:
re-register when capture restarts. A stopped companion's registrations are removed.

5. WEATHER SCRIPTS WITH NO PAUSE API

If you can edit the controller, make its local weather/time-writing code cooperate:

local function cityMapOwnsWeather()
    if GetResourceState('rf_citymap_capture') ~= 'started' then return false end
    local ok, active = pcall(function()
        return exports['rf_citymap_capture']:IsCaptureWeatherActive()
    end)
    return ok and active
end

-- Inside the controller, guard BOTH weather and clock native writes:
if not cityMapOwnsWeather() then
    -- existing local weather/time native calls go here
end

Guard every write path, including delayed transitions and event handlers; checking
only at the top of a loop before a long Wait is insufficient. Continue receiving
server sync updates so normal local synchronization resumes with the latest state.
Do not guard or pause the controller's server broadcast loop.

Register a cooperative adapter in weather_custom.lua for that controller:
RFWeatherAdapters = {
    my_weather = {pause=function() return true end, resume=function() end}
}

The lease boolean itself suppresses the guarded local writes. After lease release
the controller must reapply its current normal local state. Implement that in its
loop/resume hook if it otherwise only writes when weather changes.
If the controller is encrypted and has neither a local pause API nor a supported
extension point, its author must expose one. CityMap cannot safely invent an API or
override uncooperative native writes reliably. Document that specific integration
requirement; do not claim untested automatic compatibility with every weather script.

6. CLEANUP, RESTARTS AND TESTING

All providers are validated before pausing any. A later pause failure rolls back
already acquired providers in reverse order, including the partial failure. Finish,
cancel, timeout, death, disconnect/resource shutdown paths attempt lease release.
Normal finish/cancel/timeout clears CityMap's local overrides and restores providers.
If an adapter throws during resume, other adapters and player restoration continue,
and F8 reports RESUME FAILED. Restore that controller's local synchronization before
another capture. If a controller/companion stops or a detected weather controller
starts during capture, capture aborts; verify its restart before trying again.
A hard game crash cannot execute Lua cleanup. Reconnect and confirm normal sync.

F8: mapweather (or /mapweather in game chat) prints local bridge status.
Run /mapupdate test, then a small /mapupdate area 100 capture. Test completion,
/mapupdate cancel, an intentional adapter failure, and restarting only the capture
resource. Check normal local weather/time returns and another player is unaffected.
Review the resulting images before building/approving/publishing a full map.

Changing captureConditions changes the lighting signature. Keep the old settings
for a legacy job you intend to resume/repair. The legacy weatherResource and
pauseWeatherSync shape is retained when weatherBridge is absent, including its old
native fallback; migrate to the explicit new bridge settings for new captures.
Never add weatherBridge to a partially captured job merely to bypass a mismatch.

Automated tests cover bridge selection, validation, rollback, tokens, local QB
events, resource lifecycle and prior observed QB state. Actual framework/controller
versions, in-game cleanup and visual lighting need acceptance testing before release.

06 Configuration Configuration
CAPTURE SETTINGS
File: rf_citymap_capture/config.json

This is JSON: use double quotes, lowercase true/false and valid commas. Do not add Lua comments or a trailing comma after the last item.

Configure these values before the first baseline:
• ace — capture administrator permission; default rf.citymap.admin.
• profiles — named capture rectangles using minX, maxX, minY and maxY.
• defaultProfile — profile selected if a full capture has no explicit profile argument.
• captureLimits — permitted outer capture envelope.
• areas — named footprints used by /mapupdate resource.
• camera — height, field of view, scene loading and settling settings.
• captureConditions / fixedConditions — client-local capture lighting.
• cartography — map contrast, color, brightness, sharpening, haze and water treatment.

COVERAGE PROFILES
The supplied configuration includes base, expanded, complete and offshore profiles. Inspect their bounds and select the one that fits your actual city. These are configurable coordinate envelopes; they do not include or automatically install an expansion such as Roxwood.

The expanded profile also defines the capture grid. Keep the grid definition stable after publication. Changing grid, resolution, camera or cartography settings can make an area patch incompatible with the published baseline and require a new full baseline.

A new full build replaces the baseline coverage. Capturing a smaller full profile can remove previously captured areas from the resulting map. Use area/resource updates when you intend to retain the rest of an existing baseline.

REGISTERING AN MLO FOOTPRINT
Replace or extend the areas object in config.json. Example:
"areas": {
  "my_custom_mlo": {
    "minX": 100,
    "maxX": 600,
    "minY": -700,
    "maxY": -200
  }
}

Use the real world bounds of your asset. The footprint must fit inside captureLimits. Include enough surrounding area to cover the exterior changes. Restart rf_citymap_capture after changing its capture configuration, while no capture is running.

Then use:
/mapupdate resource my_custom_mlo

This command selects the registered rectangle. It does not discover geometry automatically or start the MLO resource for you. Start the asset before capturing it.

CAMERA AND LIGHTING
The shipped camera profile uses a high overhead view with scene-loading and terrain-clearance checks. Run a one-cell test before a larger capture. Higher resolution, larger coverage and long loading times can increase capture cost.

Fixed capture conditions are applied to the capturing client. The optional weatherResource setting expects a compatible PauseSynchronization export. Do not point it at an arbitrary weather resource that lacks that API.

For native-only capture conditions without the Nights adapter, set weatherResource to an empty string and pauseWeatherSync to false inside captureConditions. A separate weather controller that continuously overrides the client may still need a compatible pause/integration method.

Do not change camera/lighting settings while resuming an interrupted job. Resume validation rejects incompatible saved conditions.

MAP APPEARANCE
cartography supports contrast, color, brightness, sharpen, dehazeBlackPoint, dehazeGain and waterStyle. Use consistent settings across the full map; per-tile adjustments can create joins.

A flat waterStyle produces consistent ocean coloring using configured water seeds. It is a map treatment, not a replacement for missing terrain. Review coastlines and offshore land before publication. The complete mosaic may be processed during water cleanup even when the capture update covers a small area.

POSTAL DATA
File: rf_citymap_capture/postals.json
Example:
[
  { "code": "1000", "x": 123.0, "y": 456.0 },
  { "code": "1001", "x": 400.0, "y": 600.0 }
]

Codes must be unique. Use strings to preserve leading zeros. Supported code characters are letters, digits, underscores and hyphens, up to 16 characters. Coordinates must be valid game-world X/Y positions.

A generated grid can include points over water or unwanted areas. Review it before the initial publication. Keep established codes and positions stable; append deliberate additions rather than renumbering the city.

Postal edits take effect after a new build, review and publication. The builder regenerates labels when the postal dataset changes. Do not edit generated display textures to maintain your source data.

PLAYER DISPLAY DEFAULTS
File: rf_citymap_display/config.lua
• settingsCommand: mapsettings
• mapPostalsDefault: true
• minimapPostalsDefault: true
• postalCommand: mappostal
• postalHudCommand: postalhud
• postalHudDefault: false
• postalHudX / postalHudY: HUD position

Restart rf_citymap_display after changing its Lua configuration. Existing saved player preferences override new default visibility values. /mapsettings changes each player's own preferences.

If an old config uses /postal and nearest-postal is running when RF CityMap starts, RF CityMap uses /mappostal to preserve the existing /postal command.

07 Commands Commands
PLAYER COMMANDS — GAME CHAT

/mapsettings
Open RF CityMap's settings panel. Independently control pause-map postal labels, minimap postal labels and RF CityMap's nearest-postal HUD. Preferences are saved on the player's client. This panel is separate from GTA's native Settings menu.

/mappostal POSTAL_CODE
Set a native waypoint to an existing RF CityMap postal. Replace POSTAL_CODE with a code from the published dataset. This does not create missing roads or traffic nodes.

/postalhud
Toggle RF CityMap's nearest-postal HUD. This controls RF CityMap's HUD, not another resource's postal display.

These command names can be changed in display/config.lua. If a legacy config selects /postal while nearest-postal is running, RF CityMap uses /mappostal to preserve nearest-postal's command.

CAPTURE/BUILD COMMANDS — AUTHORIZED OPERATORS
The website license and ACE permission are required.

/mapupdate help
Show command help.

/mapupdate test
Capture one nearby cell as a preflight check. A successful test is required within the default one-hour window before larger captures/resumes.

/mapupdate full base
Capture the configured base profile. Other supplied profiles include expanded, complete and offshore. Use a configured profile name that matches your city.

/mapupdate area 450
Capture around the current player using a radius of 450 metres. Supported radius values are 25–5000 metres, subject to captureLimits and maxCells. The default radius, when omitted, is 300 metres.

/mapupdate resource my_custom_mlo
Capture the footprint registered under that name in config.json areas. Start the actual MLO separately before capturing.

/mapupdate status
Show active capture progress. Build/publish results are reported by the worker and stored in private/results.

/mapupdate cancel
Stop the current capture. Completed cells remain saved; incomplete captures cannot be built.

/mapupdate resume JOB_ID
Resume a failed/cancelled job using compatible saved cells. A valid preflight test is still required.

/mapupdate repair COMPLETED_FULL_JOB_ID
Run the configured advanced coverage/water repair against a completed full capture.

/mapupdate build JOB_ID
Queue a completed capture for the offline worker. This does not approve or publish the result.

/mapupdate publish BUILD_ID
Queue publication of a reviewed build. Stop rf_citymap_display first. The worker must be running. For a migrated build without a capture-job manifest, use the offline publish command instead.

DIAGNOSTICS — F8

mapdebug
Print renderer initialization, bound tile counts, waypoint state and postal preferences.

maptexturetest
Show a captured texture briefly as a standalone diagnostic image. It is not a map overlay and does not confirm native map alignment.

COMMAND LOCATION RULES
Game chat: include the leading slash.
F8: omit the leading slash.
txAdmin/server console: run resource controls such as stop, ensure and refresh. It cannot capture without an in-game operator, although authorized build/publish administration can be queued there when the website license is active.
PowerShell: run the Python worker, review approval, dependency installer and migration tools.

EXAMPLE RESOURCE CONTROLS — TXADMIN/SERVER CONSOLE
stop rf_citymap_display
refresh
ensure rf_citymap_display

AFTER RESTARTING THE RENDERER DEPENDENCY
ensure extra-map-tiles
restart rf_citymap_display

Keep all job/build IDs exactly as reported. Do not include literal placeholder brackets, quote marks copied around an ID, or an MLO folder path where a registered area name is expected.

08 Custom Capturing & Updating Your Map
WHERE TO RUN COMMANDS
Game chat: include the slash, for example /mapupdate test.
F8: omit the slash, for example mapupdate test.
PowerShell: run Python tools and Start-Worker.ps1 on the build host.
txAdmin/server console: start and stop resources.

Replace JOB_ID and BUILD_ID examples with the actual IDs reported by your capture/worker. Do not type placeholder brackets around IDs.

1. PREPARE THE CAPTURE SESSION
Start all map/MLO resources that should appear. Join with an authorized operator who has both a valid website activation and the configured ACE permission.

Start alive, on foot and outdoors. Exit vehicles, interiors, noclip and modes that hide or freeze the character. The capture takes control of the session and may move the player to load each area. Use a test character/session and keep the client connected.

2. RUN THE ONE-CELL TEST
/mapupdate test

Wait for Capture complete. This validates the nearby capture and screenshot path. It is not a complete city map. The default configuration requires a successful test within the preceding hour before a larger capture or resume.

3. CAPTURE THE INITIAL BASELINE
/mapupdate full base

Use another configured profile if your intended city coverage requires it, for example:
/mapupdate full complete

Only one capture runs at a time. Monitor it with /mapupdate status. Capture time depends on coverage, client performance, asset loading and screenshot transfers; no fixed completion time is guaranteed.

4. BUILD THE COMPLETED CAPTURE
When the capture reports completion:
/mapupdate build JOB_ID

The Python worker must be running. 'Build queued' means the request was submitted, not that the candidate is ready. Watch the worker terminal and private/results for success or error details.

The worker reports the generated build directory. For composed repair captures, BUILD_ID can differ from the original capture JOB_ID.

5. REVIEW THE CANDIDATE
Open this file on the build host:
rf_citymap_capture/private/builds/BUILD_ID/preview.html

Check the complete footprint, MLO exteriors, mountain coverage, coastlines, offshore land, joins, water treatment and label readability. If reviewing from another machine, copy the complete review/build folder so its relative image paths remain available.

The current live map is not replaced by building or opening a preview.

6. RECORD APPROVAL
From the extracted package folder in PowerShell:
python tools/citymap.py review --build "D:\YourServer\resources\[maps]\rf_citymap_capture\private\builds\BUILD_ID" --approve

Approval records the candidate report hash. Changing generated files afterwards invalidates approval. There is no in-game review/approval command in this version.

7. STOP THE DISPLAY BEFORE PUBLISHING
In txAdmin/server console:
stop rf_citymap_display

Keep the capture resource, shared license adapter and worker available. The in-game publish command refuses to queue while the display resource is running.

8. PUBLISH THE APPROVED BUILD
In game chat:
/mapupdate publish BUILD_ID

Wait for the worker to report Published. Publication verifies approval, file integrity and the current baseline. A queued request alone does not confirm publication.

For migration builds, use the offline publish command instead, because migration IDs may not have a capture-job manifest:
python tools/citymap.py publish --resource "D:\YourServer\resources\[maps]\rf_citymap_capture" --job BUILD_ID --display "D:\YourServer\resources\[maps]\rf_citymap_display"

Keep display stopped during offline publication too.

9. START THE NEW MAP
In txAdmin/server console:
refresh
ensure rf_citymap_display

Reconnect clients to receive changed files. When first installing/changing the streamed background renderer, fully close and reopen FiveM once before reconnecting. Routine updates normally do not require a full server restart.

10. VERIFY THE RESULT
Check map/minimap alignment while driving. Set a waypoint directly on a nearby mainland road and confirm native GPS routes and blips remain visible on both maps. Test /mapsettings, toggle each postal layer independently, and reconnect to verify saved preferences.

ADDING OR CHANGING AN MLO
Start the new asset and go near its location. Run a fresh /mapupdate test if the previous test is no longer valid, then:
/mapupdate area 450

450 is the radius in metres around your current position. Alternatively, capture a footprint registered in config.json:
/mapupdate resource my_custom_mlo

Build, review, approve and publish using the same process above. Compatible area updates retain the other captured cells in the published baseline. Native routing still requires valid road/path data from the underlying asset.

INTERRUPTED CAPTURES
Use /mapupdate cancel to stop intentionally. Completed cells are retained, but an incomplete capture cannot be built.

After resolving the interruption, reconnect if necessary, run a successful test when required, and resume:
/mapupdate resume JOB_ID

Do not alter the saved job manifest or change the grid/camera/lighting to force a resume. Incompatible jobs must be replaced with a fresh capture.

ADVANCED COVERAGE REPAIR
/mapupdate repair COMPLETED_FULL_JOB_ID

This uses the configured complete profile and repair areas to select missing/problem cells from a completed full capture. It is not automatic MLO discovery. The worker composes repaired cells with the full source and reports the build ID to review and publish.

MIGRATING AN EXISTING APPROVED MAP
You do not need to recapture merely to change the display format:
python tools/citymap.py migrate --resource "D:\YourServer\resources\[maps]\rf_citymap_capture" --source OLD_BUILD_ID --output NEW_BUILD_ID

The source must already be reviewed. Migration preserves imagery and postal PNG bytes, creates a new candidate and rebases its saved cell catalog. Review/approve the new candidate, stop display, then use the offline publish command. Normal area updates can continue against the migrated baseline.

BACKUPS AND ROLLBACK
Publication backups are stored in rf_citymap_capture/private/deployments, outside ensured resource groups. Keep your private data and matching private/current.json baseline pointer backed up.

For a manual rollback, stop display and restore both the chosen display backup and the matching current.json baseline pointer from your server backup. Then refresh, start display and reconnect. Restoring imagery alone while retaining a different baseline pointer can break later area builds. Do not delete old cell builds that the current catalog still references.

09 Troubleshooting Troubleshooting
THE ORIGINAL GTA MAP IS STILL VISIBLE
• Before the first approved publication, this is expected.
• Confirm the CityMap website license is authorized and all required resources are started.
• Confirm the published build uses the current display format and the worker reported a successful publish.
• Run mapdebug in F8 and check initialization/tile counts.
• Verify the renderer using tools/install_renderer.py with --check.
• Keep only the intended external background renderer. Remove old streamed core-map replacements from conflicting resources.
• Fully close/reopen FiveM after initially installing/changing the renderer, then reconnect.

WEBSITE LICENSE IS NOT AUTHORIZED
• Confirm rf-license starts before rf_citymap_license.
• Confirm you are using a CityMap purchase key under the server-only convar rf_license_citymap.
• Apply configuration changes; merely saving server.cfg does not update a running convar.
• Check the existing rf-license logs/account status for activation, expiry or service errors. RF CityMap uses that runtime's normal policy.
• Do not publish your key when requesting support.

ACCESS DENIED: rf.citymap.admin
The operator does not have the configured ACE permission. Check the ACE rule and the player's actual principal/group membership. A framework admin role may need a corresponding FiveM ACE assignment. Website activation and ACE permission are separate requirements.

UNKNOWN PROFILE
Use an actual name from config.json profiles, such as:
/mapupdate full base
Do not type the entire example list [base|expanded] as one profile name.

CAPTURE WILL NOT START
Start alive, outdoors, on foot, visible and outside noclip/frozen modes. Ensure screenshot-basic is started, no other capture is running, and a recent /mapupdate test completed successfully.

SCREENSHOT TRANSFER FAILS OR CAPTURE TIMES OUT
Check F8 and the server log for screenshot-basic errors. Let the configured retry limit finish; successful saved cells remain available. Resolve the connection/loading issue, run a new preflight if required, then use /mapupdate resume JOB_ID.

SKY, VOID, BLACK FRAMES OR MISSING TERRAIN
Keep the relevant map assets running and allow the client time to load them. Review the failing cell diagnostics and camera/scene settings. Do not publish blank/missing geometry. Large camera/profile changes may require a fresh full baseline rather than a mixed partial resume.

BUILD QUEUED BUT NOTHING HAPPENS
The external Python worker must be running and pointed at the installed capture/display folders. Check its terminal and private/results. /mapupdate status reports capture progress, not offline build progress.

PYTHON OR POWERSHELL COMMAND NOT FOUND
Install Python 3.11+ and confirm its command works on the host. Use your installed interpreter consistently. Reinstall requirements with that interpreter.
If PowerShell blocks the launcher script, run the documented direct Python worker command instead of changing the computer's global execution policy.

WORKER LOCK EXISTS
Do not run two workers for the same capture resource. Stop all worker instances and confirm none remains active. Only then remove a stale private/worker.lock left by an interrupted process and restart one worker.

STOP DISPLAY BEFORE PUBLISHING
Run stop rf_citymap_display in txAdmin/server console before issuing the publish request. Keep the worker running. After it reports Published, run refresh and ensure rf_citymap_display, then reconnect.

BUILD IS UNREVIEWED OR FAILED INTEGRITY CHECKS
Review the correct preview.html and run the host-side review --approve command. If generated files changed after approval, investigate and review again before recording another approval. Do not edit approval hashes to bypass validation.

STALE CANDIDATE
Another build was published after this candidate was built. Do not force it over the newer baseline. Create a fresh capture/build against the current baseline and review it. The tools preserve existing candidate folders instead of silently overwriting them.

A PREVIOUSLY FAILED QUEUED REQUEST DOES NOT RETRY
Resolve the error and submit a new build/publish command. The worker records results and does not repeatedly execute the same failed request automatically.

POSTAL NOT FOUND OR LABELS ARE MISSING
• Use a code that exists in the published dataset, including any leading zeros or letter case.
• Check /mapsettings; pause-map and minimap visibility are independent.
• New default settings do not overwrite an existing player's saved preferences.
• Confirm postal edits were built, reviewed and published; editing the source JSON does not update the live map immediately.
• With nearest-postal installed, use /mappostal for RF CityMap's dataset.

GPS MARKER APPEARS BUT THE ROUTE DOES NOT
Enable GTA Settings → Display → GPS Route. Test in a vehicle with a waypoint directly on a nearby mainland road.
Temporarily stop rf_citymap_display and compare the original map. If routing works only with RF display stopped, check for old foreground loaders or conflicting map resources and verify the current background renderer.
If routing also fails with RF display stopped, investigate GPS settings, the destination and underlying road/path data. A screenshot of a new road does not create connected traffic nodes.

ERS REPORTS A MISSING nearest-postal EXPORT
Restore/start nearest-postal if your ERS integration requires it. RF CityMap's own nearest-postal functionality does not replace the other resource's API automatically.

CAMERA/STYLE/GRID DOES NOT MATCH THE BASELINE
Area updates require compatible capture/build settings. Restore the baseline settings or create a new full baseline. Do not mix cells captured under different camera or lighting conditions to force an update.

RECONNECTING DOES NOT RESTORE THE EXPECTED MAP
Confirm there is only one active core background renderer, the intended build is published, and all asset dependencies started correctly. Restart display after restarting its renderer dependency. For first installation/core-renderer changes, exit FiveM fully before reconnecting.

BACKUP RESTORED BUT LATER UPDATES FAIL
Restore the matching private/current.json pointer along with display artwork. Preserve cell builds referenced by that baseline. Keep backups outside ensured resource groups.

SUPPORT INFORMATION TO INCLUDE
Report the package/dependency versions, command used, job/build ID, relevant F8/server/worker errors, and whether the issue occurs with RF display stopped. Include a screenshot where useful. Remove license keys and unrelated private data.

Still stuck?

We can help.

Send the product name, the section you followed, and any console errors to store support.
Contact Support