May 05, 2024, 08:08:30 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Forum
Help
Search
Calendar
Login
Register
Forum
>
Sims 2 Community Downloads
>
Misc. Mods and Careers
>
Detect packages that were created with the old version of Pets EP Body Shop
Pages: [
1
]
2
« previous
next »
Print
Author
Topic: Detect packages that were created with the old version of Pets EP Body Shop (Read 12290 times)
0 Members and 1 Chinese Bot are viewing this topic.
albmont
Member
Posts: 95
Detect packages that were created with the old version of Pets EP Body Shop
«
on:
January 21, 2007, 01:28:53 pm »
I wrote a script in R that can detect which packages were created with the old (and wrong) version of the Pets EP Body Shop.
Thanks to Delphy (that guided me in the labirinth of the DBPF format) and dmchess (for his perl code).
The source code can be found in the Sims2 Wiki project, at
http://www.sims2wiki.info/wiki.php?title=Detect_Pets_Body_Shop_bug/Source_Code
Logged
ancienthighway
Member
Gender:
Posts: 2977
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #1 on:
January 22, 2007, 12:07:41 am »
Great job. I'm going to have to give this a shot. Just out of curiosity, since you can detect them, can you modify the program to fix them?
Logged
albmont
Member
Posts: 95
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #2 on:
January 22, 2007, 06:22:15 am »
Quote from: ancienthighway;539502
Great job. I'm going to have to give this a shot. Just out of curiosity, since you can detect them, can you modify the program to fix them?
That's the power of a collaborative effort - as Newton said, I just sat a little routine over the shoulders of giant efforts. But now I am in no condition to try to fix them - changing just one bit in a DBPF file will probably change everything. Try the instuctions in
http://www.modthesims2.com/showthread.php?p=1466927
to fix those files using SimPe. And don't forget that you have to delete groups.cache.
Logged
PiperK1980
Member
Gender:
Posts: 247
Abnormally Typical
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #3 on:
January 30, 2007, 10:47:26 pm »
Maybe I'm just dumb, but I've never heard of 'R'. What is it and how do I do this code you speak of?
Logged
Click
here
to join
The Animal Army
! It's good for what ails ya!!
X-Men Fan? Join today!
albmont
Member
Posts: 95
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #4 on:
January 31, 2007, 10:18:21 am »
Quote from: Piper1980;554372
Maybe I'm just dumb, but I've never heard of 'R'. What is it and how do I do this code you speak of?
R is nicknamed GNU/S, and it's the free source version of the S language. There's also a commercial version, SPlus, for this S language. It's purpose is handling statistical data, and it's optimized to do huge numerical computations (like mathlab and other vector-oriented languages).
But it's generic, and can easily handle those horrid dbpf packages, or create jpeg images as if it's a plotting language. The Windows version (which I use at work) and the Linux version (which I use at home) are almost 100% compatible, so when I play with dbpf at home I am doing something useful to improve my working skills, and when I work hard developing statistical analyses at work I am also improving my modding skills :-)
The syntax of R is very simple, anyone who knows C, fortran, mathlab, basic or any modern language may learn its basics in a few minutes.
Using R is very simple too. Just start the interpreter (in Linux, just type R at the command prompt, in Windows, click wherever you installed it), load the source file using the command source(name_of_filename.r), and run the function by typing its name.
For example, if you saved the script as "r_sims2_package.r", and you want to find which *.package files have the Pets Ep Bug, you do this:
(1) start R
#
# this is a comment in R - now you are using R!
#
# (2) load the source file
#
source("/path/path/path/r_sims2_package.r")
#
# (3) set the default working directory to the Downloads package of The Sims 2
#
setwd("/windows/Documents and Settings/TheSims/My Documents/EA Games/The Sims 2/Downloads")
#
# (4) run the script
#
find_pets_ep_bug()
#
# The script will list all *.package files that have the Pets Ep Bug.
#
# (5) Exit R
#
q()
Logged
BeosBoxBoy
Silent
Gender:
Posts: 5021
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #5 on:
January 31, 2007, 11:43:37 am »
Piper1980:
"GNU/S" or "R" is a fourth generation programming language that will have little use for the average computer user;
with no disrespect to albmont
, albmont is doing work that is needed, but is in a form that most users will not be able to comprehend or willing to use. Most computer users are completely lost without a graphical user interface, so albmont's posts are directed at those computer users who are comfortable with a more or less technical user of a computer rather than a casual user. Whereas I find no difficulty in using his scripts or R-language, I have every confidence that it is quite beyond most people, like quantuum physics.
Logged
"There is a certain elegance in wasting time. Any fool can waste money, but when you waste time you waste what is priceless."
-- Maugham, W. Somerset.
Ashenden: Or the British Agent
.
albmont
Member
Posts: 95
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #6 on:
January 31, 2007, 08:55:42 pm »
Quote from: beosboxboy;554933
Piper1980:
"GNU/S" or "R" is a fourth generation programming language that will have little use for the average computer user;
with no disrespect to albmont
, albmont is doing work that is needed, but is in a form that most users will not be able to comprehend or willing to use. Most computer users are completely lost without a graphical user interface, so albmont's posts are directed at those computer users who are comfortable with a more or less technical user of a computer rather than a casual user. Whereas I find no difficulty in using his scripts or R-language, I have every confidence that it is quite beyond most people, like quantuum physics.
Now you are hurting my feelings [let's suppose for the sake of argument that I have any
]!!! Do you think those scripts would be more user-friendly if they had a GUI? That's something that could be done with a little work. R can use Tcl/Tk.
Logged
BeosBoxBoy
Silent
Gender:
Posts: 5021
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #7 on:
February 01, 2007, 11:22:11 am »
albmont, like I said above, I mean no disrespect, but after spending the past 5 years as an instructor at a mid-sized US university, I have discovered that even college level people get that slack face and blank stare when you start talking about code and languages. My first years invariably think I am satan for even suggesting they do something without a GUI. Perhaps 1 in 200 has used a DOS batch file or done anything from the command line in LINUX or another OS.
It is a common problem for us sort that do things like this and think it "normal" to know and do this sort of thing to assume that everyone will be comfortable with this level of use. The sad reality is we are not "normal" by a long shot. Probably more than 95% of all computer users have no experience of anything without a GUI, save perhaps they have seen the BIOS boot screen or whatever occurs before the OS loads.
I have been using computers since the days before GUIs were common, so I can say with some strong belief that GUIs made computers vastly more user-friendly. So try to remember that The Sims 2 has a fan base of some millions of people drawn from all levels of computer experience, but the vast majority are not technologically erudite; indeed, for most of them, if it does not come with an installer and a desktop icon to start the programme, it is useless to them.
And truth be told, for most people, trying to sort through the R-language site to figure out how to install the language support files would be an exercise in futility. So I assumed you understood and knew all this, and have likewise assumed your software was never intended for the common user.
«
Last Edit: February 01, 2007, 01:59:22 pm by ~Marvine~
»
Logged
"There is a certain elegance in wasting time. Any fool can waste money, but when you waste time you waste what is priceless."
-- Maugham, W. Somerset.
Ashenden: Or the British Agent
.
albmont
Member
Posts: 95
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #8 on:
February 01, 2007, 06:55:35 pm »
Quote from: beosboxboy;556299
albmont, like I said above, I mean no disrespect, but after spending the past 5 years as an instructor at a mid-sized US university, I have discovered that even college level people get that slack face and blank stare when you start talking about code and languages. My first years invariably think I am satan for even suggesting they do something without a GUI. Perhaps 1 in 200 has used a DOS batch file or done anything from the command line in LINUX or another OS.
This is scary. Maybe I deal with an elite minority, or maybe they can hide quite well the ignorance, but most people seem to understand when I suggest things done from the command line. But I never tried to teach computer stuff to a huge and unknown horde...
Quote from: beosboxboy;556299
It is a common problem for us sort that do things like this and think it "normal" to know and do this sort of thing to assume that everyone will be comfortable with this level of use. The sad reality is we are not "normal" by a long shot. Probably more than 95% of all computer users have no experience of anything without a GUI, save perhaps they have seen the BIOS boot screen or whatever occurs before the OS loads.
And with the increasing popularization of computers, this number tends to grow. But then how can I blame computer-challenged people, when I am cell-phone-challenged? I am absolutely unable to do even simple things, like disabling the alarm or setting the correct time in cell phones. (the number of people with cell phones is alarming; last year I saw a homeless beggar pick up an alluminium can and make a cell-phone call. I guess he was asking about the price of allumium in the Chicago Futures Market...)
Quote from: beosboxboy;556299
I have been using computers since the days before GUIs were common, so I can say with some strong belief that GUIs made computers vastly more user-friendly. So try to remember that The Sims 2 has a fan base of some millions of people drawn from all levels of computer experience, but the vast majority are not technologically erudite; indeed, for most of them, if it does not come with an installer and a desktop icon to start the programme, it is useless to them.
Some things were made easier with GUIs, while other things are much harder. I hate to click deeper and deeper inside obscure and badly designed menus just to get what I could with a single command line. Windows is getting worse at each new version, with less functions that can be done with the command line.
But all those programs and tutorials are not for the vast majority of Sims users, they are for the tiny elite that knows how to download files, how to extract files to the The Sims 2/Downloads folder, and knows how to use SimPE to edit them.
Quote from: beosboxboy;556299
And truth be told, for most people, trying to sort through the R-language site to figure out how to install the language support files would be an exercise in futility. So I assumed you understood and knew all this, and have likewise assumed your software was never intended for the common user.
It was intended for the user that has enough computer wisdom to install and run SimPE. It's simpler to install and run R than to install and run SimPE.
So, here I will ask again: if I can rewrite the R script so that it has some GUI interface, will it increase the utility of the scripts? Alternatively, I can pour my energy into other projects, like mapping useful information inside the packages.
Logged
albmont
Member
Posts: 95
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #9 on:
February 01, 2007, 07:08:57 pm »
And just to show how annoyed I am for having my feelings hurt [is this a correct English sentence?], I have just uploaded an image of myself with a GUN!!! :-)))))))))))))))))
Logged
BeosBoxBoy
Silent
Gender:
Posts: 5021
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #10 on:
February 06, 2007, 02:55:36 am »
Your English is mostly perfect, better than most of my American students. :lol:
*hugs* albmont - don't be hurt. You are doing great and much needed work. Besides, I like guns, they're sexy :lol:
But all kidding aside, a GUI would make this easier for the average Sim player (keep in mind most are 14-15 year old girls according to EA/Maxis)
Logged
"There is a certain elegance in wasting time. Any fool can waste money, but when you waste time you waste what is priceless."
-- Maugham, W. Somerset.
Ashenden: Or the British Agent
.
albmont
Member
Posts: 95
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #11 on:
February 06, 2007, 08:19:04 am »
Quote from: beosboxboy;565063
Your English is mostly perfect, better than most of my American students. :lol:
That's because it's a learned language, that I write almost as much as I write my own mother tongue (Portuguese). That's Globalization :-)
Quote from: beosboxboy;565063
*hugs* albmont - don't be hurt. You are doing great and much needed work. Besides, I like guns, they're sexy :lol:
Guns are a kind of ultimate Evil here in Brazil. The laws treat gun ownership almost as hard as drug dealing, abortion or pedophily. Of couse these laws don't prevent gun shootings (nor drug use, etc).
Quote from: beosboxboy;565063
But all kidding aside, a GUI would make this easier for the average Sim player (keep in mind most are 14-15 year old girls according to EA/Maxis)
Ok, maybe tomorrow I will start working on it. It will be a nice passtime, as I get back to work (today is my last vacation day), and I can use the (real) excuse that learing to make a GUI will be useful for my work projects in R :-)
Logged
PiperK1980
Member
Gender:
Posts: 247
Abnormally Typical
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #12 on:
February 14, 2007, 07:17:07 pm »
Thanks for all your help..........
I found the program, but how do I save the code? I know my way around the computer in and out but this program....grrrrr. I actually copy and pasted it into the workspace and when I put in the find pets bug it told me 12files processed. But it won't show me the files and I know I have more than 12. I changed the working directory. Is there anyway someone could message me in Yahoo Messenger, Windows Messenger or AIM or take the time over phone (I'll call cause I have unlimited long distance) and go through this with me? There doesn't seem to be many people doing this. Or I could just pay someone to take my clothing and hair and do it. I'm desperate. I'm about to get a new computer and I want those fixed.
«
Last Edit: February 14, 2007, 07:23:22 pm by PiperK1980
»
Logged
Click
here
to join
The Animal Army
! It's good for what ails ya!!
X-Men Fan? Join today!
albmont
Member
Posts: 95
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #13 on:
February 25, 2007, 10:38:46 am »
Quote from: PiperK1980;579391
Thanks for all your help..........
I found the program, but how do I save the code? I know my way around the computer in and out but this program....grrrrr. I actually copy and pasted it into the workspace and when I put in the find pets bug it told me 12files processed. But it won't show me the files and I know I have more than 12. I changed the working directory. Is there anyway someone could message me in Yahoo Messenger, Windows Messenger or AIM or take the time over phone (I'll call cause I have unlimited long distance) and go through this with me? There doesn't seem to be many people doing this. Or I could just pay someone to take my clothing and hair and do it. I'm desperate. I'm about to get a new computer and I want those fixed.
Sorry to take so long to reply!
If the script said 12 files processed, and no file had the pets ep bug, then it means
that it scanned only 12 package files, and all of them were ok.
Where were those 12 files? I can't believe you have only 12 files in the Downloads
folder! Probably you must do this:
setwd("/path1") # set the path to where you placed the r script
source("filename.r") # load the r script
setwd("/Documents and Settings/TheSims2/My Documents/EA Games/The Sims 2/Downloads") # replace it with your Downloads folder
find_pets_ep_bug()
I will soon do a minor update in the Sims2 Wiki, but this should work.
Logged
PiperK1980
Member
Gender:
Posts: 247
Abnormally Typical
Detect packages that were created with the old version of Pets EP Body Shop
«
Reply #14 on:
February 25, 2007, 04:31:20 pm »
I'm pretty sure they were in my Downloads folder. I wasn't able to get it to work right. I'm not computer illiterate by any means, but this program is a bit advanced for my knowledge. I was able to fix the items, but I had to start the game in debug, and make a new sim. When I flipped through the catalog, it displayed the files names of the items needed to be fixed (it did that with all items). I wrote them down and manually did it in SimPE. I have no naked bodies, but I do have a few items that shows the female/male adult defaults in just outfits, tops and bottoms. I'm assuming I'm missing a mesh or recolor. I know who there from, just don't know which outfits they are so I can redownload them. I should just delete them. I have 13,000+ some in my dnld folder. WOW!!!
Logged
Click
here
to join
The Animal Army
! It's good for what ails ya!!
X-Men Fan? Join today!
Pages: [
1
]
2
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Welcome to insimenator.org
-----------------------------
=> Rules, News & Announcements
=> Issues & Suggestions
=> Updates
=> The Welcome Wagon
-----------------------------
Simmers' Paradise
-----------------------------
=> General Sims 2 Discussion
===> Sims 2 Apartment Life Chat
===> Sims 2 Pictures
=====> I Want My Own Thread
===> Contests & Challenges
===> Sims Stories
=====> Anecdote Assistance
===> Sims 2 Videos
=> General Sims 2 Help
===> Apartment Life Help
===> FreeTime Help
===> Sims 2 FAQ's
===> Mac-Users Only Peer Support
===> Sims Life Stories Help
=> Requests
===> Sims
===> Clothing & Body Mesh's
===> Genetics & Makeup
=====> Hair
=====> Skintones
=====> Eyes
=====> Facial Items
=====> Accessories
===> Objects & Recolors
===> Pets
===> Mods & Careers
===> Lots & Neighborhoods
=> Where Can I Find...?
=> Sims 2 Web
=> My Game, My Way
===> Tutorials
===> Modding Database
===> Content Creation & Recoloring Help
=====> Resource Corner
=====> The Shape of Stuff to Come
-----------------------------
A Safe Haven
-----------------------------
=> General Discussion
===> Forum Games
===> Quizzes
=> Teen Discussion
-----------------------------
The Sims 4
-----------------------------
=> Sims 4 Buzz
=> Sims 4 Help
=> The Sims 4 Pictures
=> The Sims 4 Downloads
=> Sims 4 Requests
=> The Sims 4 WCIF
=> The Sims 4 Web
-----------------------------
Sims 2 Community Downloads
-----------------------------
=> Custom Sims
===> Self-Sims
===> Sim Families & Groups
===> Sim Hunks
===> Sim Honeys
===> Sim Celebrities
=> Custom Pets
===> Cats
===> Dogs
===> Pet Genetics
=> Custom Clothing
===> Elder/Adult
=====> Women
=====> Men
===> Teen/Young Adult
=====> Misses
=====> Junior
===> Child/Toddler
=====> Girl
=====> Boy
===> Multi-Age
=====> Female
=====> Male
===> Mixed Clothing
=> Custom Genetics & Make-up
===> Hair
=====> Female Hair
=====> Male Hair
=====> Mixed Sets/Unisex
===> Skintones
===> Eyes
===> Make Up
===> Facial Hair
===> Accessories
=> Custom Objects & Recolors
===> Walls, Floors & Murals
=> Misc. Mods and Careers
===> CAS Scenes & Music
=> Residential/Community Lots & Neighborhoods
===> Residential
===> Community
===> Neighborhoods
===> Apartment Buildings
=> InSIMenator Group Projects
===> April Foolery
===> The Trashed Set
===> Happy Holidays
===> The Glorious People's Revolution Project
=> Insimenator - UNSUPPORTED
-----------------------------
Resident Creators
-----------------------------
=> KarialSim, Enchantress and WadeB's Parlour
===> Places
===> And Things
===> The Closet
=====> People
=====> The Salon
=> Oneblondemomma & Franciele's Boutique
===> Clothes
=====> Curvaceous Women
=====> Tailored Men
=====> Trendy Teens
=====> Misc. Designs
=====> Meshes
=> ReginaS's Sims
===> ReginaS's Sims
=> Skye's Creations
===> Skye Chat
===> Objects
===> Homes
===> Other Lots
===> Clothing
===> Sims
=====> Celebrity Watch
=====> Everyday Folk
=====> Fairytales
=====> Goth & Fantasy
=> Squinge's Mods
===> Squinge's Mods
=====> EP1 Mods
=====> EP2 Mods
=====> EP3 Mods
=====> EP4 Mods
=====> EP5 Mods
=====> EP6 Mods
=====> EP7 Mods
=====> EP8 Mods
===> Squinge's Sims 4 Mods
===> Squinge's Mod Help Section
===> Mod Requests
=> The Consortium
===> Meshes
=====> Requests
===> Clothes
===> Guest Recolors
=> Urban Decay by Riverofjazz and DivaJai
===> Grown & Sexy Clothing
=====> Diva's
=====> Urban Male
===> Teens Flygear
=====> Misses
=====> Junior
===> SugarNSpice & Puppydog tails
=====> Lilgirls
=====> Lilboys
===> Glam & Glitter
===> Meshes
===> Models
=> Wirelessguy's Wired Up Endeavours
===> Clothing for...
=====> Bodybuilder Guys
=====> Marvine's Athletic Guys
=====> Marvine's Slimmer Bodybuilder
=====> Super Hero Meshes
=====> All The Other Sims
===> Wirelessguy's Lucky Dip
=====> Object Recolours
=======> Old 2nd Hand Objects
=======> Shiny Objects
-----------------------------
Retired Creators
-----------------------------
=> Amun-RA's Dark Obsession
===> Amun-RA's Dark Obsession
=> Arcia's Specials
===> Arcia's Babylon
===> Arcias Specials
=> BlooM's Base
===> Adults - Elders
=====> Meshes
=====> Guest Recolors
===> Teens - Kids
=====> Meshes
=====> Guest Recolors
===> Miscellaneous Bits & Pieces
=====> Accessoires
=====> Objects
=====> Cars
===> SexyFeet Replacements
===> Custom Bodyshapes
=====> Bigger Pregnancy Belly
=====> Handicapped
=====> Neanderthal
=====> Rubens
=====> Classic Pinupgirl
=====> Fashionmodel
=====> Rengal
=====> Rio
=====> Punkjunkie
=====> Others
=> Enayla's Escapades
===> Eyes for the Eyeless
===> Skins for the Skinless
=> Jay's Home for Fallen Angels
===> Celestial Clothing
===> Objects of Virtue
===> Seraphic Sets
===> Stained Glass
===> Sublime Floors, Walls, Terrains
=> Marvine & BeosBoxBoy's Projects
===> Custom Body Meshes
=====> *NEW* Huge Bodybuilder
=====> Bodybuilder
=======> Bodybuilder Base Meshes & Linked Skintones
=======> Casual : Vêtements décontractés
=======> Formal : Tenues de soirée
=======> Underwear : Sous-vêtements
=======> Sleepwear : Vêtements de nuit
=======> Swimwear : Maillots de bain
=======> Activewear : Vêtements de sport
=======> Fantasy : Fantastique - Mythologie
=======> Season EP Apparel | vêtements d'extérieur pour Au fil des saisons
=====> Slim Bodybuilder
=====> Athlete : Athlète
=====> Superhero : Super héros
=====> Bodybuilder & Athlete Requests
=====> Satyr Project : Projet des Satyres
=====> Merfolk Project:Le Peuple de la Mer
=====> Teen Titans - Bodybuilder Teens
=====> Female Projects
=====> Not-so-Average Joes
=====> Square Pegs: Le tiroir du bas
=====> SynapticSim's Lean BB
===> Custom Genetics & Miscellaneous Mayhem
=====> Custom Hair, Eyes, Etc.
=====> Le musée des Arts Douteux
=====> The Post-Modernist Collection
=====> Maxis-Matching & Modifications
===> TBW_459, BBM Teen Project
===> Guest recolours & add-ons
=====> The Dark Project (off-site link)
=====> Male
=====> Female
=====> Fit Couples
=====> Merfolk Additions
=====> Alexasrosa's Fantasies
=====> Howard's Clothing & Smallwear
=> Netra Creations
===> Big Girls
===> Thick Madames
===> Teen Divas
===> Genetics
===> Other
=> Warlokk's Tower
===> Female Bodyshape Variety Project
===> Female Hi-Res Bodyshape Project
=====> Classic Pinup
=====> Renaissance Gal
=====> Fashion Model
=====> PowerGirl
=====> Booty Gal
=====> Rio
=====> ToonGal
=====> Voluptuous
=====> Faerie
===> Guest Bodyshape Add-ons
=====> Classic Pinup
=====> Renaissance Gal
=====> Fashion Model
=====> PowerGirl
=====> Booty Gal
=====> Rio
=====> ToonGal
=====> Voluptuous
=====> Faerie
=====> Multi-shape
=====> Poppeboy's Fitchick
===> BodyShape Requests
-----------------------------
The Sims 3
-----------------------------
=> Sims 3 Buzz
=> Sims 3 Pictures
=> Sims 3 Help
=> Sims 3 Web
=> Sims 3 Community Downloads
===> Pudding Exchange
===> Pudding Wrappers
===> Pudding Containers
===> Pudding Flavours
===> Pudding Improvements
===> Pudding WCIF
===> Pudding Requests
=> Sims Medieval
Loading...
SimplePortal 2.1.1