[THUG2/THUGPRO][PC] How To Change Song Names

Tutorials for all THUG+ games goes here.
Forum rules
This forum is only for posting tutorials.
Specify what game it is for, and please take a look at this Template.
Post Reply
Skater1014
VIP
Posts: 183
Joined: Fri Apr 01, 2016 7:53 pm
Location: 'Murica!
Contact:

[THUG2/THUGPRO][PC] How To Change Song Names

Post by Skater1014 » Fri Dec 02, 2016 6:20 pm

This is just a tutorial on how to change the song names in the playlist menu of THUG2 for PC (or in THUGPRO if using my mod).

Things Needed:
- A hex editor of your choice (THUGPRO only, not needed for THUG2).
- A text editor (like Notepad, Wordpad, etc.).
- These files made by me for compiling purposes. (The "qbkeys to replace in skater_sfx.txt" file isn't needed & can be deleted.)
- A program to decompile & compile .qb files (links below).
http://www.mediafire.com/download/vmobz ... oq+CMD.zip
https://www.thmods.com/mod_tools/QB2.1.exe


FOR EDITING SONG NAMES IN THUG2:

1. Open "skater_sfx.txt" in a text editor and scroll until you see the song names.
Song names should look like this:

Code: Select all

:i $playlist_tracks$ = :a{
	:i :s{$band$ = %s(10,"25 Ta Life")$track_title$ = %s(14,"Over the Years")$genre$ = %i(2,00000002)$path$ = %s(24,"music\vag\songs\25TaLife"):s}
	:i :s{$band$ = %s(10,"Aesop Rock")$track_title$ = %s(24,"No Jumper Cables(re-mix)")$genre$ = %i(1,00000001)$path$ = %s(21,"music\vag\songs\Aesop"):s}
	:i :s{$band$ = %s(10,"Atmosphere")$track_title$ = %s(24,"Trying to Find a Balance")$genre$ = %i(1,00000001)$path$ = %s(26,"music\vag\songs\Atmosphere"):s}
	:i :s{$band$ = %s(9,"Audio Two")$track_title$ = %s(11,"Top Billin'")$genre$ = %i(1,00000001)$path$ = %s(24,"music\vag\songs\AudioTwo"):s}
	:i :s{$band$ = %s(12,"Brand Nubian")$track_title$ = %s(30,"Punks Jump Up To Get Beat Down")$genre$ = %i(1,00000001)$path$ = %s(22,"music\vag\songs\Nubian"):s}
	:i :s{$band$ = %s(7,"Camaros")$track_title$ = %s(10,"Cheesecake")$genre$ = %i(0,00000000)$path$ = %s(23,"music\vag\songs\Camaros"):s}
	:i :s{$band$ = %s(11,"Cut Chemist")$track_title$ = %s(13,"Drums of Fire")$genre$ = %i(1,00000001)$path$ = %s(26,"music\vag\songs\CutChemist"):s}
	:i :s{$band$ = %s(8,"Das Oath")$track_title$ = %s(12,"Awesome R***")$genre$ = %i(2,00000002)$path$ = %s(20,"music\vag\songs\Oath"):s}
	:i :s{$band$ = %s(9,"Dead Boys")$track_title$ = %s(13,"Sonic Reducer")$genre$ = %i(0,00000000)$path$ = %s(24,"music\vag\songs\DeadBoys"):s}
	:i :s{$band$ = %s(13,"Dead End Road")$track_title$ = %s(8,"Sin City")$genre$ = %i(2,00000002)$path$ = %s(27,"music\vag\songs\DeadEndRoad"):s}
	:i :s{$band$ = %s(9,"Disturbed")$track_title$ = %s(8,"Liberate")$genre$ = %i(2,00000002)$path$ = %s(25,"music\vag\songs\Disturbed"):s}
	:i :s{$band$ = %s(7,"Diverse")$track_title$ = %s(9,"Certified")$genre$ = %i(1,00000001)$path$ = %s(23,"music\vag\songs\Diverse"):s}
	:i :s{$band$ = %s(13,"Faith No More")$track_title$ = %s(14,"Midlife Crisis")$genre$ = %i(2,00000002)$path$ = %s(27,"music\vag\songs\FaithNoMore"):s}
	:i :s{$band$ = %s(4,"Fear")$track_title$ = %s(25,"I Love Livin' In The City")$genre$ = %i(0,00000000)$path$ = %s(20,"music\vag\songs\Fear"):s}
	:i :s{$band$ = %s(13,"Frank Sinatra")$track_title$ = %s(11,"That's Life")$genre$ = %i(2,00000002)$path$ = %s(21,"music\vag\songs\Frank"):s}
	:i :s{$band$ = %s(10,"Grand Puba")$track_title$ = %s(9,"I Like It")$genre$ = %i(1,00000001)$path$ = %s(25,"music\vag\songs\GrandPuba"):s}
	:i :s{$band$ = %s(21,"Handsome Boy...School")$track_title$ = %s(13,"Holy Calamity")$genre$ = %i(1,00000001)$path$ = %s(27,"music\vag\songs\HandsomeBoy"):s}
	:i :s{$band$ = %s(18,"Iggy & The Stooges")$track_title$ = %s(4,"1970")$genre$ = %i(0,00000000)$path$ = %s(26,"music\vag\songs\TheStooges"):s}
	:i :s{$band$ = %s(15,"Jimmy Eat World")$track_title$ = %s(4,"Pain")$genre$ = %i(0,00000000)$path$ = %s(21,"music\vag\songs\Jimmy"):s}
	:i :s{$band$ = %s(11,"Johnny Cash")$track_title$ = %s(12,"Ring of Fire")$genre$ = %i(2,00000002)$path$ = %s(26,"music\vag\songs\JohnnyCash"):s}
	:i :s{$band$ = %s(12,"Joy Division")$track_title$ = %s(6,"Warsaw")$genre$ = %i(0,00000000)$path$ = %s(20,"music\vag\songs\JoyD"):s}
	:i :s{$band$ = %s(11,"Lamb of God")$track_title$ = %s(11,"Black Label")$genre$ = %i(2,00000002)$path$ = %s(25,"music\vag\songs\LambofGod"):s}
	:i :s{$band$ = %s(14,"Less Than Jake")$track_title$ = %s(23,"That's Why They...Union")$genre$ = %i(0,00000000)$path$ = %s(20,"music\vag\songs\Jake"):s}
	:i :s{$band$ = %s(8,"Libretto")$track_title$ = %s(6,"Volume")$genre$ = %i(1,00000001)$path$ = %s(24,"music\vag\songs\Libretto"):s}
	:i :s{$band$ = %s(14,"Living Legends")$track_title$ = %s(13,"Night Prowler")$genre$ = %i(1,00000001)$path$ = %s(23,"music\vag\songs\LivingL"):s}
	:i :s{$band$ = %s(21,"Melbeatz f.Kool Savas")$track_title$ = %s(8,"Grind on")$genre$ = %i(1,00000001)$path$ = %s(24,"music\vag\songs\Melbeatz"):s}
	:i :s{$band$ = %s(7,"Melvins")$track_title$ = %s(20,"Sweet Willie Rollbar")$genre$ = %i(0,00000000)$path$ = %s(23,"music\vag\songs\Melvins"):s}
	:i :s{$band$ = %s(9,"Metallica")$track_title$ = %s(8,"Whiplash")$genre$ = %i(2,00000002)$path$ = %s(25,"music\vag\songs\Metallica"):s}
	:i :s{$band$ = %s(19,"Mike V and The Rats")$track_title$ = %s(13,"Never Give Up")$genre$ = %i(0,00000000)$path$ = %s(21,"music\vag\songs\MikeV"):s}
	:i :s{$band$ = %s(8,"Ministry")$track_title$ = %s(6,"No    ")$genre$ = %i(2,00000002)$path$ = %s(24,"music\vag\songs\Ministry"):s}
	:i :s{$band$ = %s(6,"Nebula")$track_title$ = %s(10,"So it Goes")$genre$ = %i(2,00000002)$path$ = %s(22,"music\vag\songs\Nebula"):s}
	:i :s{$band$ = %s(8,"Operatic")$track_title$ = %s(21,"Interested In Madness")$genre$ = %i(2,00000002)$path$ = %s(24,"music\vag\songs\Operatic"):s}
	:i :s{$band$ = %s(19,"Pete Rock&CL Smooth")$track_title$ = %s(15,"Soul Brother #1")$genre$ = %i(1,00000001)$path$ = %s(24,"music\vag\songs\PeteRock"):s}
	:i :s{$band$ = %s(6,"Rancid")$track_title$ = %s(14,"Fall Back Down")$genre$ = %i(0,00000000)$path$ = %s(22,"music\vag\songs\Rancid"):s}
	:i :s{$band$ = %s(21,"Red Hot Chili Peppers")$track_title$ = %s(21,"The Power of Equality")$genre$ = %i(0,00000000)$path$ = %s(23,"music\vag\songs\RedHots"):s}
	:i :s{$band$ = %s(11,"Steel Pulse")$track_title$ = %s(13,"Born Fe Rebel")$genre$ = %i(2,00000002)$path$ = %s(26,"music\vag\songs\SteelPulse"):s}
	:i :s{$band$ = %s(16,"Suicide Machines")$track_title$ = %s(12,"High Anxiety")$genre$ = %i(0,00000000)$path$ = %s(31,"music\vag\songs\SuicideMachines"):s}
	:i :s{$band$ = %s(14,"The Casualties")$track_title$ = %s(15,"Unknown Soldier")$genre$ = %i(0,00000000)$path$ = %s(29,"music\vag\songs\TheCasualties"):s}
	:i :s{$band$ = %s(10,"The D.O.C.")$track_title$ = %s(17,"Whirlwind Pyramid")$genre$ = %i(1,00000001)$path$ = %s(19,"music\vag\songs\DOC"):s}
	:i :s{$band$ = %s(14,"The Distillers")$track_title$ = %s(19,"Beat Your Heart Out")$genre$ = %i(0,00000000)$path$ = %s(26,"music\vag\songs\Distillers"):s}
	:i :s{$band$ = %s(9,"The Doors")$track_title$ = %s(16,"Break On Through")$genre$ = %i(2,00000002)$path$ = %s(24,"music\vag\songs\TheDoors"):s}
	:i :s{$band$ = %s(13,"The Explosion")$track_title$ = %s(9,"Here I Am")$genre$ = %i(0,00000000)$path$ = %s(28,"music\vag\songs\TheExplosion"):s}
	:i :s{$band$ = %s(9,"The Germs")$track_title$ = %s(13,"Lexicon Devil")$genre$ = %i(0,00000000)$path$ = %s(24,"music\vag\songs\TheGerms"):s}
	:i :s{$band$ = %s(8,"The Hiss")$track_title$ = %s(17,"Back on the Radio")$genre$ = %i(2,00000002)$path$ = %s(20,"music\vag\songs\Hiss"):s}
	:i :s{$band$ = %s(14,"The Living End")$track_title$ = %s(16,"End of the World")$genre$ = %i(2,00000002)$path$ = %s(25,"music\vag\songs\LivingEnd"):s}
	:i :s{$band$ = %s(11,"The Ramones")$track_title$ = %s(24,"Rock 'n Roll High School")$genre$ = %i(0,00000000)$path$ = %s(26,"music\vag\songs\TheRamones"):s}
	:i :s{$band$ = %s(18,"The Sugarhill Gang")$track_title$ = %s(16,"Rapper's Delight")$genre$ = %i(1,00000001)$path$ = %s(28,"music\vag\songs\TheSugarhill"):s}
	:i :s{$band$ = %s(21,"Three Inches of Blood")$track_title$ = %s(14,"Deadly Sinners")$genre$ = %i(2,00000002)$path$ = %s(27,"music\vag\songs\ThreeInches"):s}
	:i :s{$band$ = %s(18,"Ultramagnetic MC's")$track_title$ = %s(12,"Ego Trippin'")$genre$ = %i(1,00000001)$path$ = %s(29,"music\vag\songs\Ultramagnetic"):s}
	:i :s{$band$ = %s(14,"Violent Femmes")$track_title$ = %s(9,"Add It Up")$genre$ = %i(2,00000002)$path$ = %s(23,"music\vag\songs\VFemmes"):s}
	:i :s{$band$ = %s(4,"Ween")$track_title$ = %s(26,"It's Gonna Be a Long Night")$genre$ = %i(2,00000002)$path$ = %s(20,"music\vag\songs\Ween"):s}
	:i :s{$band$ = %s(1,"X")$track_title$ = %s(11,"Los Angeles")$genre$ = %i(2,00000002)$path$ = %s(19,"music\vag\songs\XLA"):s}
	:i :s{$band$ = %s(4,"ZEKE")$track_title$ = %s(18,"Long Train Runnin'")$genre$ = %i(2,00000002)$path$ = %s(20,"music\vag\songs\ZEKE"):s}
	:i :a}
2. Rename the song/band names to whatever you want (change the number before the name to match the correct number of characters in the name) & save the file after renaming your songs.
Example:

Code: Select all

	:i :s{$band$ = %s(10,"25 Ta Life")$track_title$ = %s(14,"Over the Years")$genre$ = %i(2,00000002)$path$ = %s(24,"music\vag\songs\25TaLife"):s
changes to

Code: Select all

	:i :s{$band$ = %s(5,"aaaaa")$track_title$ = %s(15,"This is a test.")$genre$ = %i(2,00000002)$path$ = %s(24,"music\vag\songs\25TaLife"):s
3. Move the .txt file you just edited/saved along with the "COMPILABLE skater_sfx.qb_table.qbi" file to the same place as "roq cmd 3.exe".

4. Compile the file with "roq cmd 3.exe". (Make sure the "Exe" tab has "QB2.1.exe" in the box.)

5. Rename the compiled qb file to "skater_sfx.qb" and place in Game/Data/scripts/game/skater. (Don't forget to backup the original!)

6. Enjoy!


FOR EDITING SONG NAMES IN THUGPRO:

1. Same as THUG2's step 1.

2. Same as THUG2's step 2.

3. Same as THUG2's step 3.

4. Same as THUG2's step 4.

5. Open the compiled qb file in a hex editor. Also open THUGPRO's default "skater_sfx.qb" file located in data/qb/game/skater.

6. Select & copy the song names (from the newly compiled file) from here...
Image
to here.
Image

7. Go to the THUGPRO "skater_sfx.qb" file and paste what you copied from step 6 in here.
Image

8. Scroll to the end of the pasted data and select from here...
Image
to here.
Image

9. Delete what you just selected.
Image

10. Save the file (that you pasted in) as "skater_sfx.qb" & place in data/qb/game/skater. (Don't forget to backup the original!)

11. Enjoy!
Last edited by Skater1014 on Fri Mar 16, 2018 3:00 pm, edited 2 times in total.

%.gone.
Global Moderator
Posts: 390
Joined: Sun Mar 07, 2010 5:12 pm

Re: [THUG2/THUGPRO][PC] How To Change Song Names

Post by %.gone. » Fri Dec 02, 2016 8:35 pm

How do you read a hex editor in that format? My goodness man.

Post Reply