[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110611":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":13,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":13,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":15,"starSnapshotCount":15,"syncStatus":13,"lastSyncTime":27,"discoverSource":28},110611,"GTAVCJ2ME","aidencantcode\u002FGTAVCJ2ME","aidencantcode","a Port of GTAVC for J2ME",null,"C",60,6,2,1,0,9,44.44,"MIT License",false,"main",true,[],"2026-11-02 05:23:31","2026-11-22 12:31:31","# GTA Vice City – J2ME port (Nokia E72)\n\nOpen-world Vice City for MIDP 2.0 \u002F CLDC 1.1, using its own software 3D renderer (no M3G).\n\n## Getting the JAR (built on GitHub)\nPush to `main` or `master`. The **Build JAR** workflow compiles, preverifies and packages the game, then publishes a Release with two builds:\n\n| File | Content | Size |\n|---|---|---|\n| `GTA_VC_J2ME.jar` | the whole map | about 36 MB |\n| `GTA_VC_J2ME_lite.jar` | Ocean Beach + Washington Beach only; the rest of the map is open sea | about 15–17 MB |\n\nTry the lite JAR first on the E72. The full one is big for an S60 phone.\nTo make a different region, change `MAP_REGION=i0,j0,i1,j1` in `.github\u002Fworkflows\u002Fbuild.yml`. Those are tile indices: tile = 100 m, x index = (GTA x + 1900) \u002F 100, y index = (GTA y + 2100) \u002F 100.\n\n## Controls\n| Key | On foot | Vehicle |\n|---|---|---|\n| D-pad | walk \u002F turn | throttle, brake\u002Freverse, steer |\n| Fire \u002F 5 | punch combo \u002F bat swing \u002F **hold to shoot** (pistol locks on to the nearest person) | throttle |\n| 2 \u002F 8, 4 \u002F 6 | camera tilt \u002F orbit | camera |\n| 0 | toggle **run \u002F walk** | handbrake (powerslide) |\n| 1 (hold) | sprint | – |\n| 3 | switch weapon (fists \u002F bat \u002F pistol) | – |\n| * | enter \u002F exit \u002F carjack | exit |\n| # \u002F soft keys | pause | pause |\n\nOn the E72 QWERTY keyboard, use **Fn** (or numeric lock) for the number keys.\n\n## Builds\n| JAR | for | content |\n|---|---|---|\n| `GTA_VC_J2ME.jar` | E72 \u002F big S60 phones | the whole map (~36 MB) |\n| `GTA_VC_J2ME_lite.jar` | | Ocean Beach + Washington Beach |\n| `GTA_VC_J2ME_legacy.jar` | Asha 311 class (S40) | Ocean Drive around the Ocean View Hotel, 4 cars, 5 peds, no intro movie, half resolution. On touch screens it shows transparent buttons. |\n\n## Controls (new)\n* **1**: tap toggles walk\u002Frun, hold to sprint.\n* **0**: jump (handbrake in a car).\n* **5 held with the pistol**: lock-on with a PS2-style reticle (green → red with the target's health).\n* **0 + \\***: debug\u002Ftrainer menu. Spawn any vehicle from the list, set the time of day, Tommy speed, game speed, god mode, clear wanted level, weapons + money, teleport to spawn.\n* **Options → ps2 filter**: warm colour grade, bloom and motion trails.\n\n## Save \u002F continue\nThe game saves to the phone (RMS record store) every 20 s, and whenever you pause, quit or the phone interrupts it. It keeps your money, your last position (where your car was, if you were driving), the clock, and the bat\u002Fpistol and ammo. **Continue** appears at the top of the main menu once a save exists.\n\n## New in this build\n* Dead peds drop cash about half the time (gang members drop more), and dead cops always drop their pistol. Dropped pickups vanish after 30 s.\n* Ped and Tommy textures fixed (the UVs were flipped twice).\n* Starts at night (22:00) with the white Admiral parked next to Tommy.\n* Cars use the real `handling.cfg` values (mass, traction, top speed, acceleration, brakes, steering lock).\n* Cars no longer get stuck on bridge ramps and kerbs: only steps over 1.1 m count as walls.\n* Damage takes much longer. Panels dent and then fall off, the engine smokes when damaged, and at 0 HP it catches fire. About 5 s later it explodes: it kills you if you're still inside and hurts anyone close.\n* The radar and pause map use your VC map picture (auto-aligned to the world). No ped or car blips, only flashing cops while you're wanted.\n\n## What's in it\n* **Full map**:\n  * The 1.5 M-triangle Blender export is cut into 1,216 tiles of 100 m. They stream in on a background thread with a near and a far version of each tile, and textures load on demand into a 512-slot cache.\n  * Ground uses a 2-layer height grid, so you can walk under bridges and stay on top of overpasses.\n  * Walls\u002Fsteps, lamps, palms and poles are solid.\n  * There is generated sea using `waterclear256`. Tommy still can't swim.\n* **Spawn**: in the alley beside `wshbuildws09` (Ken Rosenberg's office), with a pistol and a bat lying in the alley.\n* **Peds**: 102 Vice City peds converted from `gta3.img`, including Tommy (`player.dff`), cops, gangs and street peds.\n  * 12 models are loaded at a time and swapped every ~40 s, with about 22 peds on screen.\n  * Peds follow the pavement, sometimes cross, flee from cars and gunfire. Gang members and some others fight back.\n* **Vehicles**: 80 cars and bikes from `gta3.img` (every land vehicle except planes, boats, RC and the tank).\n  * 10 models are loaded at a time and swapped, with up to 8 in traffic.\n  * Panel damage (ok \u002F damaged \u002F falls off) and an explosion when wrecked.\n* **Car physics**:\n  * Velocity is now separate from the heading: grip pulls sideways speed down, the handbrake breaks rear grip, and yaw follows the steering with grip-limited response.\n  * Slopes add gravity, cars have mass in collisions, and the body pitches and rolls.\n  * The chase camera follows the direction of travel.\n  * Handling classes: car \u002F sports \u002F heavy \u002F bike \u002F slow.\n* **Cops**:\n  * 1 star: they try to arrest you, and only hit back if you fight.\n  * 2+ stars: they shoot, and police cars chase you (with siren).\n  * Stars fade after about 22 s out of sight.\n* **Sounds**: 15 effects pulled from `sfx.raw` (punch, colt45, bat, crash, doors, horn, pickup, explosion, splash, siren, engine idle\u002Frev loops).\n* **Screens**: real loading screens and title splash from the TXDs. The menu\u002FHUD use Pricedown (`assets\u002Ffonts\u002Fhud.otf`) and tips use regular Noto Sans. The menu now fades in after the intro movie instead of cutting.\n\n## Rebuilding assets (local, not in CI)\nThe sources are too large for GitHub, so keep them outside the repo:\n```\npython3 tools\u002Fmap_full_export.py \"path\u002FGTA Vice City Map Full.obj\"   # needs textures\u002F beside the .obj, ~10 min, ~1.5 GB RAM\npython3 tools\u002Fped_export.py   path\u002Fgta3.img\nCARS=dir_with_dff_txd python3 tools\u002Fcar_export.py admiral ...       # tools\u002Fimg_extract.py pulls them out of gta3.img\npython3 tools\u002Fweapon_export.py path\u002Fgta3.img\npython3 tools\u002Fsound_export.py  path\u002FAudio                             # sfx.RAW + sfx.SDT\npython3 tools\u002Fscreens_export.py path\u002Ftxd                              # LOADSC*.TXD, SPLASH1.TXD\npython3 tools\u002Ffx_export.py                                            # sprites + fonts\n```\nBuilding locally: JDK 17 + Python 3 → `bash tools\u002Fbuild.sh && python3 tools\u002Fpackage.py dist`.\n`tools\u002Ftest.sh Shots` runs a headless session with screenshots.\n","这是一个将《侠盗猎车手：罪恶都市》（GTA Vice City）移植到J2ME平台的开源项目，专为诺基亚E72等S60及S40功能机优化。项目基于C语言实现，内置轻量级纯软件3D渲染器（不依赖M3G），支持地图分区域构建、RMS本地存档、动态光照与PS2风格滤镜等特性。提供完整版（36MB）、精简版（15–17MB）和Legacy版（适配Asha 311等低端机型），并具备车辆物理模拟、锁定射击、调试菜单等核心玩法。适用于怀旧游戏开发研究、J2ME平台能力验证及老式手机游戏复刻场景。","2026-11-24 04:39:26","CREATED_QUERY"]